/* =========================================================
   XpertAi — Landing
   Branding tokens mirror the app theme (Vuetify dark):
   background #101828 · surface #18202e · primary #fc4201 · secondary #ff8c42
   ========================================================= */

:root {
  --bg:            #101828;
  --bg-deep:       #0a0e14;
  --surface:       #18202e;
  --surface-2:     #131b29;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 140, 66, 0.35);
  --primary:       #fc4201;
  --secondary:     #ff8c42;
  --text:          #f0f8ff;
  --text-dim:      rgba(240, 248, 255, 0.66);
  --text-faint:    rgba(240, 248, 255, 0.42);

  --radius:   16px;
  --radius-lg: 24px;
  --maxw:     1180px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.25);
  --shadow-2: 0 8px 24px rgba(0,0,0,.35);
  --shadow-glow: 0 14px 48px rgba(252, 66, 1, .28);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  vertical-align: middle;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

a { color: inherit; text-decoration: none; }

/* ============ Animated orange blobs ============ */
.blob-field { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  will-change: transform;
}
.blob--1 {
  width: 520px; height: 520px; top: -120px; left: -80px;
  background: radial-gradient(circle at 30% 30%, var(--secondary), transparent 70%);
  animation: float1 18s var(--ease) infinite;
}
.blob--2 {
  width: 620px; height: 620px; top: 18%; right: -180px;
  background: radial-gradient(circle at 50% 50%, var(--primary), transparent 68%);
  opacity: .4;
  animation: float2 22s var(--ease) infinite;
}
.blob--3 {
  width: 460px; height: 460px; bottom: -140px; left: 28%;
  background: radial-gradient(circle at 50% 50%, var(--secondary), transparent 70%);
  opacity: .35;
  animation: float3 26s var(--ease) infinite;
}
@keyframes float1 { 50% { transform: translate(80px, 60px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-70px, 80px) scale(1.08); } }
@keyframes float3 { 50% { transform: translate(60px, -70px) scale(1.12); } }

/* ============ App bar ============ */
.appbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 24, 40, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.appbar__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.appbar__nav { display: flex; gap: 28px; margin-left: 32px; margin-right: auto; }
.appbar__nav a { color: var(--text-dim); font-size: .95rem; font-weight: 500; transition: color .2s; }
.appbar__nav a:hover { color: var(--text); }

.brand { display: inline-flex; align-items: center; font-size: 1.4rem; font-weight: 900; letter-spacing: -.5px; }
.brand__logo { height: 32px; width: auto; display: block; }
.brand__mark { color: var(--text); }
.brand__ai { color: var(--primary); }

.footer .brand__logo { height: 28px; opacity: .9; }

.btn__icon { width: 24px; height: 24px; flex: 0 0 auto; }

/* ============ Buttons (Material-ish) ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 500; font-size: .95rem;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 10px 20px; transition: transform .15s var(--ease), box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--filled {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--filled:hover { transform: translateY(-2px); box-shadow: 0 18px 56px rgba(252,66,1,.42); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn--outline:hover { background: rgba(255,140,66,.1); transform: translateY(-2px); }
.btn--text { background: transparent; color: var(--text-dim); }
.btn--text:hover { color: var(--text); }

/* ============ Eyebrow ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary);
  background: rgba(255,140,66,.1);
  border: 1px solid var(--border-strong);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .material-symbols-rounded { font-size: 18px; }
.eyebrow--center { margin-inline: auto; }

.grad {
  background: linear-gradient(100deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============ Hero ============ */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 80px; padding-bottom: 80px;
}
.hero__title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 900; letter-spacing: -1.5px; }
.hero__sub { margin-top: 22px; font-size: 1.15rem; color: var(--text-dim); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust { display: flex; align-items: center; gap: 24px; margin-top: 44px; }
.hero__trust strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--text); }
.hero__trust span { font-size: .85rem; color: var(--text-faint); }
.hero__trust .divider { width: 1px; height: 38px; background: var(--border); }

/* ============ Placeholders (swap with real art) ============ */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 70% 10%, rgba(255,140,66,.12), transparent 60%),
    var(--surface-2);
  color: var(--text-dim); padding: 28px;
}
.placeholder .material-symbols-rounded { font-size: 56px; color: var(--secondary); }
.placeholder p { font-weight: 700; color: var(--text); }
.placeholder small { font-size: .82rem; color: var(--text-faint); max-width: 360px; }
.placeholder--hero { aspect-ratio: 1 / 1; box-shadow: var(--shadow-2); }
.placeholder--split { aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.placeholder--steps { aspect-ratio: 16 / 10; grid-column: 1 / -1; margin-top: 12px; }
.placeholder--logo {
  display: inline-flex; padding: 14px 24px; border-radius: 12px;
  border-style: solid; border-color: var(--border); background: var(--surface-2);
  color: var(--text-faint); font-weight: 700; font-size: .85rem; aspect-ratio: auto;
}

/* ============ Illustrations ============ */
.art { display: block; max-width: 100%; height: auto; }
/* SVG illustrations: let them breathe, gentle float */
.art--hero,
.art--split {
  width: 100%;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, .45));
  animation: artFloat 9s var(--ease) infinite;
}
.art--split { animation-delay: -2s; }
@keyframes artFloat { 50% { transform: translateY(-12px); } }

/* feedback.png is a screenshot → frame it like a product window */
.art-frame {
  grid-column: 1 / -1; margin-top: 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 70% 10%, rgba(255, 140, 66, .12), transparent 60%),
    var(--surface-2);
  padding: 14px; box-shadow: var(--shadow-2); overflow: hidden;
}
.art--steps {
  width: 100%; border-radius: 12px; display: block;
}

/* ============ Word cloud / reasons mosaic ============ */
.cloud { text-align: center; padding-block: 36px 16px; }
.cloud__lead {
  color: var(--text-dim); font-size: 1rem; font-weight: 500;
  margin-bottom: 28px; letter-spacing: .01em;
}
.cloud__field {
  padding: 5px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 14px; max-width: 880px; margin-inline: auto;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 72%, transparent 100%);
          mask-image: radial-gradient(120% 120% at 50% 50%, #000 72%, transparent 100%);
}
.tag {
  display: inline-block; border-radius: 999px; line-height: 1;
  font-weight: 700; white-space: nowrap;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), color .25s, border-color .25s, background .25s;
  cursor: default;
  animation: tagFloat 7s var(--ease) infinite;
}
.tag:hover { transform: translateY(-3px) scale(1.04); color: var(--text); border-color: var(--border-strong); }
.tag--sm { font-size: .85rem;  padding: 7px 14px;  opacity: .7;  }
.tag--md { font-size: 1.05rem; padding: 9px 18px;  opacity: .85; }
.tag--lg { font-size: 1.4rem;  padding: 11px 22px; }
.tag--xl { font-size: 1.9rem;  padding: 13px 28px; letter-spacing: -.5px; }
.tag--accent {
  color: #fff; opacity: 1;
  background: linear-gradient(135deg, rgba(252,66,1,.22), rgba(255,140,66,.14));
  border-color: var(--border-strong);
}
.tag--accent.tag--xl { box-shadow: var(--shadow-glow); }
/* stagger the float so it breathes instead of pulsing in unison */
.tag:nth-child(3n)   { animation-delay: -1.2s; }
.tag:nth-child(3n+1) { animation-delay: -3.4s; }
.tag:nth-child(4n)   { animation-duration: 9s; }
@keyframes tagFloat { 50% { transform: translateY(-6px); } }

/* ============ Generic section ============ */
.section { padding-block: 84px; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -1px; }
.section__head p { margin-top: 14px; color: var(--text-dim); font-size: 1.1rem; }

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,140,66,.12); border: 1px solid var(--border-strong); margin-bottom: 18px;
}
.card__icon .material-symbols-rounded { font-size: 28px; color: var(--secondary); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .98rem; }

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-glow);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .96rem; }

/* ============ Split feature ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.ticks li { display: flex; gap: 12px; color: var(--text-dim); font-size: 1.05rem; }
.ticks .material-symbols-rounded { color: var(--secondary); font-size: 24px; flex: none; }

/* ============ Final CTA ============ */
.cta { padding-block: 40px 100px; }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 64px 32px;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(252,66,1,.22), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-2);
}
.cta__inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 900; letter-spacing: -1px; }
.cta__inner p { margin-top: 12px; color: var(--text-dim); font-size: 1.15rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding-block: 28px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--text-faint); font-size: .88rem; }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .hero__art { display: none; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .appbar__nav { display: none; }
}
@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .hero__trust { flex-wrap: wrap; gap: 16px; }
  .btn--text { display: none; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .blob, .tag { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


.icon-svg-bg {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('assets/whatsapp.svg');
  background-repeat: no-repeat;
  background-size: contain;
  color:white
}
