/* ================================================================
   OPTIGO AI — Premium Jewellery × AI Page Styles
   Sections: Hero · Features · Flow · Future · CTA · Footer Layout
   NAV & FOOTER colours → main.css (untouched here)
   ================================================================ */

/* ── Google Font extra weights ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold-light : #f5c842;
  --gold-mid   : #d4a017;
  --gold-dark  : #a07810;
  --gold-glow  : rgba(212, 160, 23, 0.22);
  --navy       : #06091a;
  --navy-mid   : #0d1230;
  --navy-card  : rgba(255,255,255,0.045);
  --purple     : #7c3aed;
  --purple-soft: #a78bfa;
  --white      : #ffffff;
  --text-muted : rgba(255,255,255,0.55);
  --border     : rgba(255,255,255,0.08);
  --radius-lg  : 20px;
  --radius-xl  : 28px;
  --shadow-gold: 0 8px 40px rgba(212,160,23,0.28);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
}

/* ── Base resets ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

img { display: block; max-width: 100%; }

section { padding: 100px 0; }


/* ================================================================
   SHARED: Section Label + Title
   ================================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '✦';
  font-size: 0.6rem;
}

.title {
  text-align: center;
  margin-bottom: 64px;
}

.title .section-label { margin-bottom: 16px; }

.title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.title h2 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ================================================================
   SHARED: Button — hero only (nav buttons untouched)
   ================================================================ */
.hero .btn,
.cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero .btn::after,
.cta .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}

.hero .btn:hover::after,
.cta .btn:hover::after { opacity: 1; }

.hero .btn:hover,
.cta .btn:hover { transform: translateY(-3px); }


/* ================================================================
   01  HERO
   ================================================================ */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(212,160,23,0.12) 0%, transparent 55%),
    linear-gradient(160deg, #06091a 0%, #0d1230 50%, #080c1f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Gold particle dots */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(212,160,23,0.55) 1px, transparent 1px),
    radial-gradient(circle, rgba(212,160,23,0.3) 1px, transparent 1px);
  background-size: 80px 80px, 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.18;
  pointer-events: none;
}

/* Decorative ring */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -220px;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.12);
  box-shadow: inset 0 0 80px rgba(212,160,23,0.06);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LEFT */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 28px;
}

.hero-eyebrow span { font-size: 0.55rem; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero h1 .gold {
  background: linear-gradient(90deg, var(--gold-light) 0%, #fde68a 40%, var(--gold-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Underline shimmer on gold text */
.hero h1 .gold::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  border-radius: 2px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.hero .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}

.hero .btn-ghost:hover {
  border-color: rgba(212,160,23,0.5);
  color: var(--gold-light);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-trust-item {
  text-align: center;
}

.hero-trust-item .big {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-trust-item .small {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-trust-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* RIGHT — image */
.hero-right {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,160,23,0.15),
    0 32px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(212,160,23,0.08);
  animation: floatY 6s ease-in-out infinite;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gold sheen overlay on image */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(212,160,23,0.08) 0%,
    transparent 50%,
    rgba(124,58,237,0.06) 100%);
  pointer-events: none;
}

/* Floating stat badge */
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -28px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.hero-badge .badge-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.hero-badge .badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 3px;
}

.hero-badge .badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}


/* ================================================================
   02  HOW RPSS AI HELPS — Feature Cards
   ================================================================ */
.section-features {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,160,23,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #080c1f 0%, #06091a 100%);
  position: relative;
}

/* Thin gold top line */
.section-features::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Hover shimmer line */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card:hover::before { transform: scaleX(1); }

/* Corner glow */
.card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(212,160,23,0.1) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,160,23,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,160,23,0.07);
}

.card:hover::after { opacity: 1; }

.card .icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(212,160,23,0.15), rgba(212,160,23,0.08));
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* Gold checkmark */
.card ul li::before {
  content: '✦';
  color: var(--gold-light);
  font-size: 0.55rem;
  flex-shrink: 0;
}

/* Strip original ✓ (it will sit after our pseudo) */
.card ul li {
  font-variant-numeric: tabular-nums;
}


/* ================================================================
   03  AI SALES FLOW
   ================================================================ */
.section-flow {
  background: linear-gradient(135deg, #0a0d22 0%, #0e1228 100%);
  position: relative;
  overflow: hidden;
}

.section-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: flow;
}

/* Connecting dashed line */
.flow::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(212,160,23,0.5) 0px,
    rgba(212,160,23,0.5) 8px,
    transparent 8px,
    transparent 18px
  );
  z-index: 0;
}

.flow > div {
  counter-increment: flow;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

/* Numbered circle */
.flow > div::before {
  content: counter(flow);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), #151c3b);
  border: 2px solid rgba(212,160,23,0.4);
  box-shadow:
    0 0 0 6px rgba(212,160,23,0.05),
    0 8px 32px rgba(0,0,0,0.5);
  color: var(--gold-light);
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.flow > div:hover::before {
  transform: scale(1.1);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 8px rgba(212,160,23,0.1), 0 8px 40px rgba(212,160,23,0.3);
}

/* Step label text */
.flow > div {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* Arrow between steps */
.flow > div:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 28px;
  right: -10px;
  color: rgba(212,160,23,0.5);
  font-size: 1.2rem;
  z-index: 2;
}


/* ================================================================
   04  UPCOMING AI MODULES (Future / Dark premium)
   ================================================================ */
.future {
  background:
    radial-gradient(ellipse 70% 50% at 30% 50%, rgba(124,58,237,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(212,160,23,0.1) 0%, transparent 55%),
    linear-gradient(160deg, #030508 0%, #07091a 100%);
  position: relative;
  overflow: hidden;
}

/* Large decorative ring */
.future::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.05);
  pointer-events: none;
}

.future .title h2,
.future .title h2[style] {
  color: var(--white) !important;
}

.future .cards {
  gap: 24px;
  position: relative;
  z-index: 1;
}

.future .card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(212,160,23,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 32px;
  gap: 16px;
}

.future .card:hover {
  border-color: rgba(212,160,23,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 50px rgba(212,160,23,0.08);
}

.future .card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.future .card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* "Coming Soon" pill */
.future .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-top: 8px;
}

.future .card-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}


/* ================================================================
   05  CTA SECTION
   ================================================================ */
.section-cta {
  background: var(--navy);
  padding: 80px 0 100px;
}

.cta {
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(212,160,23,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(124,58,237,0.14) 0%, transparent 55%),
    linear-gradient(135deg, #0d1433 0%, #13193e 100%);
  border: 1px solid rgba(212,160,23,0.18);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

/* Gold shimmer border top */
.cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

/* Decorative diamond */
.cta::after {
  content: '✦';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: var(--gold-light);
  font-size: 0.8rem;
  background: #0d1433;
  padding: 0 10px;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  max-width: 660px;
  margin: 0 auto 40px;
  letter-spacing: -0.3px;
}

.cta h2 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta .btn {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-mid) 100%);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  padding: 18px 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.3px;
}

.cta .btn:hover {
  box-shadow: 0 12px 48px rgba(212,160,23,0.5);
  transform: translateY(-4px);
}


/* ================================================================
   06  FOOTER LAYOUT (colours in main.css)
   ================================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-grid > div h3 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-grid > div p,
.footer-grid > div a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  line-height: 1.65;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-grid > div a:hover { color: var(--gold-light); }


/* ================================================================
   07  SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for cards */
.cards .card:nth-child(1) { transition-delay: 0s; }
.cards .card:nth-child(2) { transition-delay: 0.1s; }
.cards .card:nth-child(3) { transition-delay: 0.2s; }

.flow > div:nth-child(1) { transition-delay: 0s; }
.flow > div:nth-child(2) { transition-delay: 0.12s; }
.flow > div:nth-child(3) { transition-delay: 0.24s; }
.flow > div:nth-child(4) { transition-delay: 0.36s; }


/* ================================================================
   08  RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-left { align-items: center; }
  .hero p   { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-badge { display: none; }
  .hero::after { display: none; }

  .cards { grid-template-columns: 1fr; }

  .flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .flow::before { display: none; }
  .flow > div:not(:last-child)::after { display: none; }

  .cta { padding: 52px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .title h2 { font-size: 1.7rem; }
  .flow { grid-template-columns: 1fr; }
  .cta h2 { font-size: 1.6rem; }
}
