/* ══════════════════════════════════════════════════════════
   Next Chance Solutions — Demo Site
   Black & Gold | Modern | Sleek
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black: #0A0A0A;
  --black-light: #141414;
  --black-card: #1A1A1A;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9E7D2A;
  --white: #F5F0E8;
  --white-pure: #FFFFFF;
  --gray: #888888;
  --gray-dark: #444444;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
p { color: var(--gray); font-size: 1.05rem; }

.gold-text { color: var(--gold); }
.white-text { color: var(--white); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--black-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold); color: var(--black);
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gold); color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold); color: var(--black);
  transform: translateY(-3px);
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}

/* Hero with background image + heavy fade */
.hero-img {
  position: relative; overflow: hidden;
}
.hero-img .hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 65%; z-index: 0;
  background-size: cover; background-position: center top;
}
.hero-img .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right,
    var(--black) 0%,
    rgba(10,10,10,0.97) 8%,
    rgba(10,10,10,0.88) 18%,
    rgba(10,10,10,0.7) 30%,
    rgba(10,10,10,0.45) 45%,
    rgba(10,10,10,0.2) 60%,
    rgba(10,10,10,0.05) 80%,
    transparent 100%
  );
}
.hero-img .hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.1) 12%, transparent 25%, transparent 80%, var(--black) 100%);
}

/* Page hero banner with image */
.page-hero {
  min-height: 50vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 120px; padding-bottom: 60px;
}
.page-hero .page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.page-hero .page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 60%, var(--black) 100%);
}
.page-hero .container { position: relative; z-index: 1; }

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 8px 20px; border-radius: 50px;
  font-size: 0.85rem; color: var(--gold);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal; color: var(--gold);
  position: relative;
}
.hero h1 em::after {
  content: ''; position: absolute; bottom: 4px; left: 0;
  width: 100%; height: 3px; background: var(--gold); opacity: 0.3;
}

.hero p { font-size: 1.15rem; max-width: 520px; margin-bottom: 36px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}

.hero-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.score-display {
  text-align: center; padding: 24px 0;
}
.score-number {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.score-label { color: var(--gray); font-size: 0.9rem; margin-top: 8px; }
.score-bar {
  height: 8px; border-radius: 4px; background: var(--gray-dark);
  margin-top: 20px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  width: 0; transition: width 2s ease-out;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 24px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.5rem; font-weight: 700; color: var(--white); }
.stat-label { font-size: 0.75rem; color: var(--gray); }

/* ── Cards ── */
.card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(201, 168, 76, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  color: var(--gold);
}

.card h3 { margin-bottom: 12px; color: var(--white); }
.card p { font-size: 0.95rem; }

.card-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.02));
}

/* ── Service Cards ── */
.service-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.1);
}

.service-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.service-tag {
  display: inline-block; padding: 4px 12px;
  border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.tag-credit { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.tag-rental { background: rgba(76, 175, 130, 0.15); color: #4CAF82; }
.tag-bundle { background: rgba(168, 85, 247, 0.15); color: #A855F7; }

.service-body { padding: 24px 32px 32px; }
.service-features { list-style: none; margin-bottom: 24px; }
.service-features li {
  padding: 8px 0; color: var(--gray);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem;
}
.service-features li::before {
  content: '✓'; color: var(--gold); font-weight: 700;
  width: 20px; flex-shrink: 0;
}

.service-price {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700; color: var(--white);
}
.service-price span { font-size: 1rem; color: var(--gray); font-family: var(--font-body); }

/* ── Product Cards (Shop) ── */
.product-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.product-mockup {
  height: 200px; position: relative;
  background: linear-gradient(135deg, var(--black-light), var(--black-card));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-mockup::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), transparent);
}

.mockup-book {
  width: 100px; height: 140px; position: relative;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 4px 12px 12px 4px;
  box-shadow: -4px 4px 16px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  transform: perspective(800px) rotateY(-10deg);
  transition: var(--transition);
  z-index: 1;
}
.product-card:hover .mockup-book {
  transform: perspective(800px) rotateY(-5deg) translateY(-4px);
}
.mockup-book span {
  font-family: var(--font-display); font-size: 0.7rem;
  color: var(--black); text-align: center; font-weight: 700;
  line-height: 1.3;
}

.product-info { padding: 20px; }
.product-info h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.product-info p { font-size: 0.85rem; margin-bottom: 16px; }
.product-price {
  display: flex; justify-content: space-between; align-items: center;
}
.product-price .price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; color: var(--gold);
}
.product-price .free {
  background: rgba(76, 175, 130, 0.15); color: #4CAF82;
  padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}

/* ── Steps ── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  counter-increment: step;
  transition: var(--transition);
}
.step:hover { padding-left: 12px; }
.step:last-child { border-bottom: none; }

.step-number {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  color: var(--gold); font-size: 1.1rem;
}
.step-number::before { content: counter(step); }

.step h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--white); }
.step p { font-size: 0.95rem; }

/* ── About ── */
.about-image {
  width: 100%; aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--black-card), var(--black-light));
  border: 1px solid rgba(201, 168, 76, 0.15);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-image .initials {
  font-family: var(--font-display);
  font-size: 6rem; font-weight: 700;
  color: var(--gold); opacity: 0.15;
}
.about-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%; background: linear-gradient(transparent, rgba(10,10,10,0.8));
}

.about-quote {
  position: relative; padding: 24px 0 24px 24px;
  border-left: 3px solid var(--gold);
  font-style: italic; color: var(--gray);
  font-size: 1.1rem; line-height: 1.8;
}

.value-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 32px;
}
.value-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.value-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: 1.1rem;
}
.value-item h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--white); }
.value-item p { font-size: 0.85rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.contact-info-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(201, 168, 76, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: 1.2rem;
}

.booking-embed {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px; text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--black-light);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { max-width: 300px; font-size: 0.9rem; margin-top: 12px; }

.footer h4 {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--gray); text-decoration: none; font-size: 0.9rem;
  transition: var(--transition);
}
.footer ul a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: var(--gray-dark); }

.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201, 168, 76, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none;
  transition: var(--transition);
  font-size: 1.1rem;
}
.social-link:hover { background: var(--gold); color: var(--black); }

/* ── Animations ── */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* ── Gold Line Decoration ── */
.gold-line {
  width: 60px; height: 3px; background: var(--gold);
  border-radius: 2px; margin-bottom: 24px;
}
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 968px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black-light); padding: 24px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Marquee Banner ── */
.marquee-banner {
  background: var(--gold);
  padding: 12px 0; overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex; gap: 48px;
  animation: marquee 20s linear infinite;
}
.marquee-inner span {
  font-weight: 600; font-size: 0.85rem; color: var(--black);
  text-transform: uppercase; letter-spacing: 2px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Subtle grain texture ── */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
