/* ═══════════════════════════════════════════════════
   Automate Up AI — Shared Stylesheet
   Brand: #111111 | #C9A227 · #E8D58B | #F8F6F1 | #7A7A7A
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ─── Variables ─── */
:root {
  --black:      #111111;
  --gold:       #C9A227;   /* Luxury Metallic Gold — buttons, icons, highlights */
  --champagne:  #E8D58B;   /* Champagne Gold — hover, subtle gradients */
  --gold-grad:  linear-gradient(120deg, #C9A227 0%, #E8D58B 50%, #C9A227 100%);
  --white:      #F8F6F1;
  --slate:      #7A7A7A;
  --gold-dim:   rgba(201,162,39,0.12);
  --gold-mid:   rgba(201,162,39,0.28);
  --gold-glow:  rgba(201,162,39,0.08);
  --card-bg:    rgba(248,246,241,0.03);
  --card-bdr:   rgba(201,162,39,0.14);
  --alt-bg:     rgba(248,246,241,0.018);
}

/* ─── Gold gradient title text ─── */
.gold, .grad-gold {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 6%;
  transition: padding .4s ease, background .4s ease, backdrop-filter .4s ease;
}
nav.scrolled {
  padding: .75rem 6%;
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-bdr);
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: .05em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-logo { display: inline-flex; align-items: center; }
.brand-logo-img { height: 46px; width: auto; display: block; }
.footer-logo-img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--slate); font-size: .875rem; font-weight: 500;
  letter-spacing: .03em; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: .5rem 1.25rem; border-radius: 6px;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem !important;
  letter-spacing: .04em;
  transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85 !important; }

/* Mobile hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 1px solid var(--card-bdr);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--gold); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.page-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 10rem 6% 6rem;
  position: relative; overflow: hidden;
}
/* Grid pattern */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}
/* Ambient orbs */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb-1 {
  width: 520px; height: 520px;
  background: rgba(201,162,39,.14);
  top: -100px; right: -80px;
  animation: drift1 9s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px;
  background: rgba(201,162,39,.07);
  bottom: 60px; left: -60px;
  animation: drift2 12s ease-in-out infinite;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,40px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-30px)} }

/* Eyebrow badge */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-dim); border: 1px solid var(--gold-mid);
  color: var(--gold); font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 100px;
  margin-bottom: 1.75rem; position: relative; z-index: 1;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.65)} }

/* Headline */
.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em; max-width: 820px;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.hero-headline .gold {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Sub */
.hero-sub {
  font-size: 1.1rem; color: var(--slate);
  max-width: 580px; line-height: 1.8;
  margin-bottom: 2.5rem; position: relative; z-index: 1;
}

/* Button row */
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  position: relative; z-index: 1;
}

/* ════════════════════════════════
   BUTTONS
════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--black);
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: .9rem; letter-spacing: .03em;
  padding: .9rem 2rem; border-radius: 8px;
  border: none; cursor: pointer;
  transition: transform .2s, background .3s, box-shadow .3s;
  animation: cta-pulse 3s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(201,162,39,.35); }
  50%    { box-shadow: 0 0 0 14px rgba(201,162,39,0); }
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(120deg, var(--gold), var(--champagne));
  box-shadow: 0 8px 26px rgba(201,162,39,.28);
}

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--white);
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: .9rem; padding: .9rem 2rem; border-radius: 8px;
  border: 1px solid rgba(248,246,241,.18); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-dim); }

/* ════════════════════════════════
   SECTION BASE
════════════════════════════════ */
.section { padding: 7rem 6%; }
.section-alt {
  background: var(--alt-bg);
  border-top: 1px solid var(--card-bdr);
  border-bottom: 1px solid var(--card-bdr);
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-center { text-align: center; }

.section-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 1.1rem;
}
.section-sub {
  color: var(--slate); font-size: 1rem;
  max-width: 560px; line-height: 1.75;
}
.section-center .section-sub { margin: 0 auto; }

/* ════════════════════════════════
   STATS BAR
════════════════════════════════ */
.stats-bar {
  padding: 4.5rem 6%;
  border-top: 1px solid var(--card-bdr);
  border-bottom: 1px solid var(--card-bdr);
  display: flex; justify-content: center;
  gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1; margin-bottom: .5rem;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label {
  font-size: .75rem; color: var(--slate);
  letter-spacing: .07em; text-transform: uppercase;
}

/* ════════════════════════════════
   PROBLEM SECTION
════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.1rem; margin-top: 3rem;
}
.problem-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 10px; padding: 1.1rem 1.4rem;
  transition: border-color .3s, background .3s;
}
.problem-card:hover {
  border-color: rgba(201,162,39,.35);
  background: rgba(201,162,39,.04);
}
.problem-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.problem-text { font-size: .9rem; color: var(--slate); line-height: 1.65; }

.problem-close {
  margin-top: 2.5rem;
  padding: 1.4rem 2rem;
  background: var(--gold-dim); border: 1px solid var(--gold-mid);
  border-radius: 10px; color: var(--white);
  font-size: 1rem; font-style: italic; text-align: center;
  line-height: 1.6;
}

/* ════════════════════════════════
   HOW IT WORKS — 4-Step Process
════════════════════════════════ */
.process-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 4rem; position: relative;
}
/* Connecting line */
.process-track::before {
  content: '';
  position: absolute; top: 27px;
  left: calc(12.5% + 2rem); right: calc(12.5% + 2rem);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: .4;
}
.process-step { text-align: center; padding: 0 .5rem; }
.step-circle {
  width: 54px; height: 54px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1rem; color: var(--black);
  margin: 0 auto 1.25rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--gold-dim);
}
.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 700; margin-bottom: .5rem;
}
.step-desc { font-size: .83rem; color: var(--slate); line-height: 1.65; }

/* ════════════════════════════════
   FEATURES GRID
════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 3.5rem;
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 12px; padding: 1.75rem;
  transition: border-color .3s, background .3s, transform .3s;
}
.feature-card:hover {
  border-color: rgba(201,162,39,.45);
  background: rgba(201,162,39,.05);
  transform: translateY(-4px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim); border: 1px solid var(--gold-mid);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem; margin-bottom: 1rem;
}
.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 700; margin-bottom: .5rem;
}
.feature-desc { font-size: .85rem; color: var(--slate); line-height: 1.65; }

/* ════════════════════════════════
   BENEFITS
════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem; margin-top: 3.5rem;
}
.benefit-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 10px; transition: border-color .3s;
}
.benefit-item:hover { border-color: rgba(201,162,39,.4); }
.benefit-check {
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--black); font-weight: 700;
  margin-top: .15rem;
}
.benefit-body {}
.benefit-text { font-size: .9rem; color: var(--white); font-weight: 600; line-height: 1.45; }
.benefit-sub { font-size: .8rem; color: var(--slate); margin-top: .3rem; line-height: 1.55; }

/* ════════════════════════════════
   INDUSTRIES
════════════════════════════════ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem; margin-top: 3.5rem;
}
.industry-card {
  background: var(--card-bg); border: 1px solid var(--card-bdr);
  border-radius: 10px; padding: 1.25rem 1rem;
  text-align: center; cursor: default;
  transition: border-color .3s, background .3s, transform .25s;
}
.industry-card:hover {
  border-color: rgba(201,162,39,.4);
  background: var(--gold-dim); transform: translateY(-2px);
}
.industry-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.industry-name { font-size: .78rem; font-weight: 600; letter-spacing: .03em; }

/* ════════════════════════════════
   FAQ ACCORDION
════════════════════════════════ */
.faq-list { max-width: 780px; margin: 3.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--card-bdr); }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--white); text-align: left;
  font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600;
  padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; cursor: pointer; transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-arrow { flex-shrink: 0; font-size: .9rem; color: var(--gold); transition: transform .35s ease; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: .875rem; color: var(--slate); line-height: 1.8;
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding-bottom .4s ease;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 1.4rem; }

/* ════════════════════════════════
   FINAL CTA
════════════════════════════════ */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,162,39,.1) 0%, transparent 68%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto;
}
.final-cta-inner .section-title { margin-bottom: 1.25rem; }
.final-cta-inner .section-sub { margin: 0 auto 2.5rem; }

/* ════════════════════════════════
   ABOUT PAGE
════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-photo { position: relative; }
/* Decorative gold frame glow */
.about-photo::before {
  content: '';
  position: absolute; inset: -12px;
  background: var(--gold-grad);
  border-radius: 50%; opacity: .20;
  filter: blur(24px); z-index: 0;
}
.about-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 50%; display: block;
  border: 2px solid var(--gold-mid);
}
/* Placeholder shown until a real photo is added */
.photo-placeholder {
  position: relative; z-index: 1;
  aspect-ratio: 4/5;
  border: 1.5px dashed var(--gold-mid);
  border-radius: 16px; background: var(--card-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem; text-align: center; padding: 2rem;
}
.photo-icon {
  font-size: 2.5rem;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-mid);
  display: flex; align-items: center; justify-content: center;
}
.photo-note {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--white);
}
.photo-hint {
  font-size: .8rem; color: var(--slate);
  line-height: 1.6; max-width: 240px;
}
.about-body .eyebrow { margin-bottom: 1.25rem; }
.about-name {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1; margin-bottom: 1.5rem;
}
.about-lead {
  font-size: 1.05rem; color: var(--white);
  line-height: 1.8; margin-bottom: 1.25rem;
}
.about-text {
  font-size: .98rem; color: var(--slate);
  line-height: 1.85; margin-bottom: 1.1rem;
}
.about-highlight {
  font-size: 1rem; color: var(--white); font-style: italic;
  line-height: 1.7; padding: 1.1rem 1.4rem; margin: 1.5rem 0;
  background: var(--gold-dim); border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.about-signoff {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1.05rem; margin: 1.75rem 0 2rem;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { max-width: 380px; margin: 0 auto; }
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  border-top: 1px solid var(--card-bdr);
  padding: 2.5rem 6%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: .05em;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.footer-links { display: flex; gap: 1.75rem; list-style: none; }
.footer-links a { color: var(--slate); font-size: .8rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--slate); font-size: .75rem; }

/* ════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════ */
.fade-up   { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.fade-right{ opacity: 0; transform: translateX(36px);  transition: opacity .7s ease, transform .7s ease; }
.scale-in  { opacity: 0; transform: scale(.92);         transition: opacity .65s ease, transform .65s ease; }
.is-visible { opacity: 1 !important; transform: none !important; }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }
.delay-7 { transition-delay: .7s; }

/* Hero entrance */
.hero-headline, .hero-sub, .hero-btns, .eyebrow {
  opacity: 0; animation: hero-in .8s ease forwards;
}
.eyebrow      { animation-delay: .1s; }
.hero-headline{ animation-delay: .25s; }
.hero-sub     { animation-delay: .4s; }
.hero-btns    { animation-delay: .55s; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track::before { display: none; }
}

/* ─── Mobile navigation (hamburger dropdown) ─── */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(17,17,17,.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-bdr);
    padding: .25rem 6% 1.1rem;
    max-height: 0; overflow: hidden;
    opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .3s ease, padding .3s ease;
  }
  .nav-links.open { max-height: 85vh; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%; padding: .95rem 0; font-size: 1rem;
    border-bottom: 1px solid rgba(248,246,241,.06);
  }
  .nav-links .nav-cta {
    text-align: center; margin-top: .9rem; border-bottom: none;
    padding: .85rem 1.25rem !important; font-size: .95rem !important;
  }
}

@media (max-width: 640px) {
  .brand-logo-img { height: 38px; }
  .footer-logo-img { height: 34px; }
  .process-track { grid-template-columns: 1fr; }
  .section { padding: 5rem 6%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .stats-bar { gap: 2rem; }
  .hero-btns { width: 100%; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { flex: 1 1 auto; text-align: center; }
}
