/* ============================================================
   AuraLens AI — Main Design System
   Color Palette: Deep Emerald × Champagne × Obsidian
   ============================================================ */

/* ------- Custom Properties ------- */
:root {
  /* Backgrounds */
  --bg-void:       #050811;
  --bg-deep:       #080d1a;
  --bg-mid:        #0d1424;
  --bg-surface:    #121b30;
  --bg-surface2:   #18243c;
  --bg-glass:      rgba(18, 27, 48, 0.7);

  /* Accent — Champagne / Warm Gold */
  --champagne:     #d4a855;
  --champagne-lt:  #f0ca80;
  --champagne-dk:  #a07830;

  /* Accent 2 — Emerald */
  --emerald:       #2a7a5e;
  --emerald-lt:    #3ec994;
  --emerald-dk:    #1b503d;

  /* Text */
  --text-bright:   #f8faff;
  --text-body:     #bcc6d6;
  --text-muted:    #7e8ba8;
  --text-white:    #ffffff;

  /* Borders */
  --border:        rgba(212, 168, 85, 0.12);
  --border-bright: rgba(212, 168, 85, 0.35);

  /* Gradients */
  --g-champ:       linear-gradient(135deg, #a07830 0%, #f0ca80 45%, #d4a855 100%);
  --g-emerald:     linear-gradient(135deg, #1b503d 0%, #3ec994 55%, #2a7a5e 100%);
  --g-bg:          linear-gradient(160deg, #050811 0%, #080d1a 50%, #0d1424 100%);
  --g-card:        linear-gradient(145deg, rgba(18,27,48,0.92), rgba(8,13,26,0.97));

  /* Shadows */
  --shadow-champ:  0 0 40px rgba(212, 168, 85, 0.18);
  --shadow-card:   0 12px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow:   0 0 80px rgba(212, 168, 85, 0.1);
  --shadow-em:     0 0 30px rgba(62, 201, 148, 0.15);

  /* Typography */
  --f-display:     'Playfair Display', Georgia, serif;
  --f-body:        'DM Sans', -apple-system, sans-serif;

  /* Spacing Scale */
  --s-xs:   0.5rem;
  --s-sm:   1rem;
  --s-md:   1.5rem;
  --s-lg:   2rem;
  --s-xl:   3rem;
  --s-2xl:  4rem;
  --s-3xl:  6rem;

  /* Border Radius */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.35s ease;
  --t-slow:   0.6s ease;
  --t-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-void);
  color: var(--text-body);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--f-body); }

/* ------- Typography ------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1rem; font-family: var(--f-body); font-weight: 600; }

/* Gradient text utility */
.grad-text {
  background: var(--g-champ);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-em {
  background: var(--g-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ------- Layout ------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.section { padding: var(--s-3xl) 0; }

/* ------- Navigation ------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: var(--s-md) 0;
  transition: all var(--t-base);
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: var(--s-sm) 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--s-lg);
  display: flex;
  align-items: center;
  gap: var(--s-lg);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-gem {
  width: 150px; /* Increase from 32px */
  height: 50px;  /* Adjust height to maintain aspect ratio */
  position: relative;
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.logo-gem svg {
  width: 100%; height: 100%;
}

.logo-wordmark {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-bright);
}

.logo-wordmark span {
  background: var(--g-champ);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  margin-left: auto;
}

.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color var(--t-base);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--g-champ);
  border-radius: var(--r-pill);
  transition: width var(--t-base);
}

.nav-item:hover,
.nav-item.active {
  color: var(--champagne-lt);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--champagne);
  border-radius: var(--r-pill);
  transition: var(--t-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 2.2rem;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--t-bounce);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--t-base);
}

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

.btn-primary {
  background: var(--g-champ);
  color: #1a1000;
  box-shadow: 0 4px 22px rgba(212, 168, 85, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 168, 85, 0.48);
}

.btn-outline {
  background: transparent;
  color: var(--champagne-lt);
  border: 1.5px solid rgba(212, 168, 85, 0.4);
}

.btn-outline:hover {
  border-color: var(--champagne);
  background: rgba(212, 168, 85, 0.07);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(212, 168, 85, 0.15);
}

.btn-nav {
  background: var(--g-champ);
  color: #1a1000;
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  box-shadow: 0 3px 14px rgba(212, 168, 85, 0.28);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 168, 85, 0.44);
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-radius: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.btn-text:hover { color: var(--champagne-lt); }

/* ------- Section Headers ------- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em; /* Expanded spacing makes short labels feel more luxurious */
  text-transform: uppercase;
  color: var(--champagne);
  padding: 0.4rem 1.2rem;
  background: rgba(212, 168, 85, 0.08);
  margin-bottom: var(--s-md);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--s-2xl);
}

.section-head h2 { margin-bottom: var(--s-sm); }

.section-head p {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta-row {
  text-align: center;
  margin-top: var(--s-2xl);
}

/* ------- Page Hero Banner (inner pages) ------- */
.page-banner {
  padding: 10rem 0 5.5rem;
  background: var(--g-bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(ellipse at center, rgba(62,201,148,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(ellipse, rgba(212,168,85,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner h1 { margin-bottom: var(--s-md); }

.page-banner p {
  color: var(--text-body);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ------- Footer ------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: var(--s-3xl);
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: var(--s-2xl);
  padding-bottom: var(--s-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: var(--s-md);
  max-width: 270px;
  line-height: 1.75;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: var(--s-md);
}

.soc-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base);
}

.soc-btn svg { width: 15px; height: 15px; }

.soc-btn:hover {
  border-color: var(--champagne);
  color: var(--champagne);
  background: rgba(212, 168, 85, 0.09);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--text-bright);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--f-body);
  margin-bottom: var(--s-md);
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--t-base);
}
.footer-col ul li a:hover { color: var(--champagne-lt); }

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-contact-list li svg {
  width: 15px; height: 15px;
  color: var(--champagne);
  flex-shrink: 0;
}

.footer-contact-list li a {
  color: var(--text-muted);
  transition: color var(--t-base);
}

.footer-contact-list li a:hover { color: var(--champagne-lt); }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: var(--s-md) 0;
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bar-inner a {
  color: var(--text-muted);
  transition: color var(--t-base);
}
.footer-bar-inner a:hover { color: var(--champagne-lt); }

/* ------- Scroll Reveal Animations ------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal="up"]    { transform: translateY(44px); }
[data-reveal="down"]  { transform: translateY(-32px); }
[data-reveal="left"]  { transform: translateX(50px); }
[data-reveal="right"] { transform: translateX(-50px); }
[data-reveal="scale"] { transform: scale(0.9); }

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ------- Diamond Divider ------- */
.diamond-divider {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  max-width: 180px;
  margin: var(--s-lg) auto;
}

.diamond-divider::before,
.diamond-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-bright);
  opacity: 0.5;
}

.diamond-divider i {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--champagne);
  flex-shrink: 0;
}

/* ------- CTA Banner ------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 400px;
  background: radial-gradient(ellipse, rgba(212,168,85,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-content h2 { margin-bottom: var(--s-sm); }
.cta-banner-content p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: var(--s-xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-btns {
  display: flex;
  gap: var(--s-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ------- Responsive ------- */
@media (max-width: 1024px) {
  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(5, 8, 17, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--s-lg);
    gap: var(--s-md);
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }
  .nav-menu.open { display: flex; }
  .nav-item { font-size: 1rem; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .footer-layout { grid-template-columns: 1fr; gap: var(--s-xl); }
  .footer-bar-inner { flex-direction: column; gap: var(--s-xs); text-align: center; }
  .logo-gem {
    width: 120px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  :root {
    --s-3xl: 4rem;
    --s-2xl: 2.5rem;
  }
  .container { padding: 0 var(--s-md); }
}

/* Consistent Icon Styling */
.lucide {
  width: 28px;
  height: 28px;
  stroke: var(--champagne);
  stroke-width: 1.5;
  margin-bottom: var(--s-sm);
}

.feat-card:hover .lucide {
  stroke: var(--emerald-lt);
  transform: scale(1.1);
  transition: all var(--t-bounce);
}

.hero-description {
  font-size: 1.125rem; /* Slightly larger for the primary hook */
  line-height: 1.85;
  color: var(--text-body);
  max-width: 520px; /* Optimal "line length" for reading speed (50-75 characters) */
}

/* COMP-LIST: Better spacing in the "Traditional vs AI" section */
.comp-list li {
  padding: 0.75rem 0; /* More vertical space between list items */
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ BODY: Standardized spacing for answers */
.faq-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* WhatsApp Floating Action Button */
.whatsapp-fab {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    display: flex;
    align-items: center;
    background-color: #25d366; /* WhatsApp Green */
    color: white !important;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999999 !important; /* Keep it above footer and all other elements */
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif; /* Matches your brand aesthetic */
}

.wa-text {
    display: flex;
    flex-direction: column;
    margin-right: 12px;
    text-align: right;
    line-height: 1.2;
}

.wa-label {
    font-size: 14px;
    font-weight: 700;
}

.wa-number {
    font-size: 11px;
    opacity: 0.9;
}

/* Positioning the icon to the right of the text */
.whatsapp-fab svg {
    order: 2;
}

/* Hover Effects */
.whatsapp-fab:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Mobile Responsive adjustments */
@media (max-width: 480px) {
    .wa-number {
        display: none; /* Simplifies for very small screens */
    }
    .whatsapp-fab {
        bottom: 20px !important;
        right: 20px !important;
        padding: 8px 14px;
    }
}

/* css/main.css */
.logo-gem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Prevents stretching */
}

.navbar.scrolled .logo-gem {
  width: 130px; /* Slightly smaller but still readable on scroll */
  height: 40px;
}

/* Update the container size in the footer */
.footer-brand .logo-gem {
  width: 160px !important; /* Increased from 28px to fit full logo */
  height: auto !important; /* Allow height to scale naturally */
  margin-bottom: 1rem;
}

/* Ensure the image inside fills the new width */
.footer-brand .logo-gem img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .footer-brand .logo-gem {
    width: 140px !important; /* Slightly smaller for mobile footer */
    margin-left: auto;
    margin-right: auto; /* Centers logo on mobile if text is centered */
  }
}

.navbar .logo-gem {
  width: 180px !important; /* Increased from 150px to make it more prominent */
  height: 60px !important;  /* Adjusted height for a larger vertical presence */
  margin-right: 10px;
}

.navbar .logo-gem img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the logo image maintains its aspect ratio */
}

.navbar.scrolled .logo-gem {
  width: 160px !important; /* Slightly smaller than the initial state but still large */
  height: 50px !important;
}