/* =============================================
   ASCENDIGIT — Premium AI Automation Agency
   Design System & Global Styles
   ============================================= */

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

:root {
  --bg-black:      #050709;
  --bg-dark:       #090c12;
  --bg-card:       #0e1320;
  --bg-card-hover: #131926;
  --bg-input:      #0e1320;
  --border:        rgba(255,255,255,0.08);
  --border-hover:  rgba(99,179,237,0.35);

  --blue-primary:  #3b82f6;
  --blue-light:    #60a5fa;
  --blue-dark:     #1d4ed8;
  --blue-glow:     rgba(59,130,246,0.18);
  --blue-glow-2:   rgba(99,179,237,0.08);
  --cyan:          #22d3ee;
  --indigo:        #6366f1;

  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;

  --white:         #ffffff;
  --green:         #22c55e;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 16px 64px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 40px rgba(59,130,246,0.25);

  --transition:    0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-lg: 0.45s cubic-bezier(0.4,0,0.2,1);

  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Syne', 'Inter', sans-serif;

  --max-w:         1200px;
  --nav-h:         72px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--dark { background: var(--bg-dark); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; color: var(--white); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text-secondary); line-height: 1.75; }
em { font-style: normal; color: var(--blue-light); }

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.1rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.section-cta { text-align: center; margin-top: 56px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn--primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(59,130,246,0.4);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 0 30px rgba(59,130,246,0.45);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-light);
}
.btn--lg  { font-size: 1rem; padding: 14px 32px; }
.btn--xl  { font-size: 1.1rem; padding: 18px 40px; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5,7,9,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(5,7,9,0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 9px;
  flex-shrink: 0;
  transition: transform var(--transition-lg);
}
.nav__logo:hover .logo-mark {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
}
.logo-mark rect {
  transform-origin: bottom;
  animation: barRise 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.logo-mark rect:nth-child(1) { animation-delay: 0.05s; }
.logo-mark rect:nth-child(2) { animation-delay: 0.18s; }
.logo-mark rect:nth-child(3) { animation-delay: 0.31s; }
@keyframes barRise {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav__link {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 1.5rem;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 12px; }
.nav__mobile a { font-size: 1rem; font-weight: 500; color: var(--text-secondary); padding: 8px 0; display: block; }
.nav__mobile a:hover { color: var(--white); }
.nav__mobile.open { display: block; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  bottom: 0; right: -100px;
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 920px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero__headline { margin-bottom: 1.5rem; }
.hero__sub {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
}
.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
}
.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll-hint span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}

/* --- TRUSTED --- */
.trusted {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-dark);
}
.trusted__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-pill {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}
.logo-pill:hover { border-color: var(--blue-primary); color: var(--blue-light); }

/* --- PROBLEMS --- */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.problem-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }

/* --- SERVICES --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  display: block;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.2);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.88rem; margin-bottom: 1.25rem; }
.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-light);
}

/* --- PROCESS --- */
.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.process-step:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
}
.process-step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(59,130,246,0.25);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.85rem; }
.process-connector {
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(59,130,246,0.5), rgba(59,130,246,0.2));
  margin-top: 52px;
}

/* --- BENEFITS --- */
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.benefit-item:first-child { border-top: 1px solid var(--border); }
.benefit-item__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.benefit-item h4 { margin-bottom: 6px; font-size: 1rem; }
.benefit-item p { font-size: 0.88rem; }

/* --- WHATSAPP FEATURE CALLOUT --- */
.feature-callout__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* --- WHATSAPP MOCKUP --- */
.whatsapp-mockup {
  background: #0e1320;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(59,130,246,0.1);
  max-width: 400px;
  margin-left: auto;
}
.wm__header {
  background: #128C7E;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wm__avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.wm__name { font-weight: 700; color: white; font-size: 0.95rem; }
.wm__status { font-size: 0.75rem; color: rgba(255,255,255,0.75); }
.wm__messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0a0f1a;
  min-height: 320px;
}
.wm__msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.wm__msg--in {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-self: flex-start;
  border-radius: 4px 16px 16px 16px;
}
.wm__msg--out {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--text-primary);
  align-self: flex-end;
  border-radius: 16px 4px 16px 16px;
  text-align: right;
}
.wm__time {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- TESTIMONIALS --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-3px);
}
.testimonial-card__stars {
  color: #f59e0b;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.testimonial-card p {
  font-size: 0.93rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-primary), var(--indigo));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-card__author strong { display: block; font-size: 0.9rem; color: var(--white); }
.testimonial-card__author span  { font-size: 0.78rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(59,130,246,0.3); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}
.faq-item__q:hover { color: var(--blue-light); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue-primary);
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item__a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-item.open .faq-item__a { display: block; }

/* --- FINAL CTA --- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-cta__glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.final-cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.25rem; }
.final-cta p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.final-cta__actions { margin-top: 2.5rem; }
.final-cta__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.final-cta__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
  padding: 14px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: inline-flex;
}
.final-cta__guarantee p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
}
.footer__brand p {
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(59,130,246,0.15);
  border-color: var(--blue-primary);
  color: var(--blue-light);
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.footer__col a:hover { color: var(--blue-light); }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  top: 0; left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail__inner.reverse { direction: rtl; }
.service-detail__inner.reverse > * { direction: ltr; }
.service-detail__text { }
.service-detail__icon-lg {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}
.service-detail__text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.service-detail__text p { margin-bottom: 1.25rem; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 1.5rem;
}
.detail-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.detail-box h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.detail-box ul { display: flex; flex-direction: column; gap: 6px; }
.detail-box ul li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.detail-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-size: 0.7rem;
}

.service-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, transparent 60%);
}
.service-visual-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.service-visual h3 {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}
.service-visual p {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
}
.metric-card span { font-size: 0.82rem; color: var(--text-muted); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
}
.value-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); }
.team-card__avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--blue-primary), var(--indigo));
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.82rem; color: var(--blue-light); font-weight: 600; }
.team-card p { font-size: 0.82rem; margin-top: 10px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.why-item:hover { border-color: rgba(59,130,246,0.3); }
.why-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: 0.85rem; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.contact__info p { margin-bottom: 2rem; font-size: 1.05rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.contact-detail__icon {
  width: 40px; height: 40px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.88rem; color: var(--white); margin-bottom: 2px; }
.contact-detail span { font-size: 0.85rem; color: var(--text-muted); }
.contact__social {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg-card); }

.booking-section {
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(99,102,241,0.06) 100%);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  margin-top: 80px;
}
.booking-section h2 { margin-bottom: 1rem; }
.booking-section p { max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.booking-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.booking-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.booking-feature span:first-child { color: var(--green); font-size: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { flex-direction: column; align-items: stretch; }
  .process-connector { display: none; }
  .benefits__inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-callout__inner { grid-template-columns: 1fr; }
  .whatsapp-mockup { max-width: 100%; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .about-story__inner { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .service-detail__inner { grid-template-columns: 1fr; }
  .service-detail__inner.reverse { direction: ltr; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .hero__stats { gap: 16px; }
  .stat { padding: 0 16px; }
  .stat-divider { display: none; }
  .problems__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .booking-section { padding: 36px 24px; }
  .detail-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .section { padding: 72px 0; }
  .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .team__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 20px; }
}

/* =============================================
   PREMIUM ENHANCEMENT LAYER
   3D · Bubbles · Smooth Transitions · Depth
   ============================================= */

/* --- Page enter transition --- */
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageIn 0.5s ease-out; }

/* --- Smooth global motion polish --- */
a, .btn, .service-card, .problem-card, .value-card, .testimonial-card,
.process-step, .team-card, .why-item, .detail-box, .metric-card {
  will-change: transform;
}

/* --- Brand tagline under logo (hero/footer) --- */
.brand-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-top: 4px;
  opacity: 0.85;
}

/* --- 3D Hero Orb Scene --- */
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1000px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,0.55), rgba(37,99,235,0.15) 55%, transparent 75%);
  box-shadow: 0 0 80px rgba(59,130,246,0.35), inset 0 0 60px rgba(255,255,255,0.06);
  filter: blur(0.5px);
  animation: orbFloat 14s ease-in-out infinite;
}
.orb--1 { width: 240px; height: 240px; top: 14%; left: 8%;  animation-delay: 0s; }
.orb--2 { width: 150px; height: 150px; top: 58%; left: 16%; animation-delay: -3s; opacity: 0.7; }
.orb--3 { width: 320px; height: 320px; top: 20%; right: 6%; animation-delay: -6s; opacity: 0.55; }
.orb--4 { width: 110px; height: 110px; bottom: 18%; right: 20%; animation-delay: -9s; opacity: 0.65; }
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(20px,-30px,40px) scale(1.08); }
  66%      { transform: translate3d(-15px,20px,-20px) scale(0.94); }
}

/* --- Floating chat/text bubbles in hero --- */
.hero__bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.float-bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(14,19,32,0.7);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.03);
  white-space: nowrap;
  opacity: 0;
  animation: bubbleFloat 7s ease-in-out infinite;
}
.float-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: rgba(14,19,32,0.7);
  border-right: 1px solid rgba(96,165,250,0.25);
  border-bottom: 1px solid rgba(96,165,250,0.25);
  transform: rotate(45deg);
}
.float-bubble .fb-emoji { font-size: 1rem; }
.float-bubble .fb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.float-bubble--1 { top: 22%;  left: 5%;  animation-delay: 0.4s; }
.float-bubble--2 { top: 38%;  right: 4%; animation-delay: 1.6s; }
.float-bubble--3 { bottom: 24%; left: 9%; animation-delay: 2.8s; }
.float-bubble--4 { bottom: 30%; right: 8%; animation-delay: 2.0s; }
@keyframes bubbleFloat {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  12%  { opacity: 1; transform: translateY(0) scale(1); }
  50%  { opacity: 1; transform: translateY(-14px) scale(1); }
  88%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(16px) scale(0.94); }
}
@media (max-width: 768px) {
  .hero__bubbles, .orb--2, .orb--4 { display: none; }
}

/* --- 3D Tilt cards --- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.tilt > * { transform: translateZ(0.01px); }
.tilt__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(96,165,250,0.18), transparent 60%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tilt:hover .tilt__glow { opacity: 1; }

/* --- Animated gradient text --- */
.grad-text {
  background: linear-gradient(120deg, #60a5fa, #818cf8, #22d3ee, #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* --- Hero headline word reveal --- */
.hero__headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(40deg);
  transform-origin: bottom;
  animation: wordReveal 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* --- Magnetic primary button shimmer --- */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn--primary:hover::after { left: 130%; }

/* --- Section fade-up for whole sections --- */
.section { position: relative; }

/* --- Marquee for trusted logos --- */
.trusted__logos.is-marquee {
  flex-wrap: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.trusted__track {
  display: flex;
  gap: 12px;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
  padding-right: 12px;
}
.trusted__logos.is-marquee:hover .trusted__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 2000;
  background: linear-gradient(90deg, #3b82f6, #22d3ee, #818cf8);
  box-shadow: 0 0 12px rgba(59,130,246,0.6);
  transition: width 0.1s linear;
}

/* --- Floating WhatsApp-style chip on mockup --- */
.whatsapp-mockup {
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.feature-callout__visual:hover .whatsapp-mockup {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(59,130,246,0.22);
}
.wm__msg {
  opacity: 0;
  transform: translateY(8px);
  animation: msgPop 0.5s ease forwards;
}
.wm__messages .wm__msg:nth-child(1) { animation-delay: 0.2s; }
.wm__messages .wm__msg:nth-child(2) { animation-delay: 0.7s; }
.wm__messages .wm__msg:nth-child(3) { animation-delay: 1.2s; }
.wm__messages .wm__msg:nth-child(4) { animation-delay: 1.7s; }
@keyframes msgPop {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Stat count shimmer --- */
.stat strong { transition: transform 0.3s ease; }
.hero__stats:hover .stat strong { transform: scale(1.05); }

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .orb, .float-bubble, .hero__headline .word { animation: none; opacity: 1; transform: none; }
  .float-bubble { opacity: 1; }
  .whatsapp-mockup { transform: none; }
}

/* --- Privacy / Terms legal pages --- */
.legal {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  max-width: 860px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.legal__updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 3rem; }
.legal h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--blue-light); }
.legal p, .legal li { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.8; }
.legal ul { margin: 1rem 0 1rem 1.25rem; list-style: disc; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--blue-light); text-decoration: underline; }
.legal strong { color: var(--text-primary); }

/* --- Single founder spotlight --- */
.founder {
  max-width: 720px;
  margin: 0 auto;
}
.founder-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at top right, rgba(59,130,246,0.1), transparent 60%);
}
.founder-card__avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-primary), var(--indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 12px 40px rgba(59,130,246,0.3);
  position: relative;
  z-index: 1;
}
.founder-card__info { position: relative; z-index: 1; }
.founder-card__info h3 { font-size: 1.6rem; margin-bottom: 4px; }
.founder-card__role { color: var(--blue-light); font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }
.founder-card__info p { font-size: 0.95rem; }
.founder-card__socials { display: flex; gap: 10px; margin-top: 1.25rem; }
@media (max-width: 640px) {
  .founder-card { flex-direction: column; text-align: center; padding: 36px 24px; }
}
