:root {
  --fp-bg: #07101e;
  --fp-bg-soft: #0b1627;
  --fp-surface: #101d30;
  --fp-card: rgba(17, 31, 51, 0.74);
  --fp-line: rgba(148, 163, 184, 0.15);
  --fp-text: #f7f9fc;
  --fp-muted: #91a0b6;
  --fp-blue: #4f8cff;
  --fp-blue-soft: #7db0ff;
  --fp-violet: #9b7cff;
  --fp-green: #68d6ad;
  --fp-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

[data-theme="light"] {
  --fp-bg: #f6f8fc;
  --fp-bg-soft: #edf2fa;
  --fp-surface: #ffffff;
  --fp-card: rgba(255, 255, 255, 0.82);
  --fp-line: rgba(15, 23, 42, 0.1);
  --fp-text: #111827;
  --fp-muted: #5f6e82;
  --fp-blue: #2867e7;
  --fp-blue-soft: #3978ed;
  --fp-violet: #7256da;
  --fp-shadow: 0 30px 70px rgba(42, 70, 112, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; overflow-x: hidden; color: var(--fp-text); background: var(--fp-bg); font-family: "Poppins", sans-serif; }
a { color: inherit; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.fp-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  min-height: 780px;
  padding: 145px max(24px, calc((100vw - 1240px) / 2)) 86px;
  overflow: hidden;
  background:
    linear-gradient(rgba(92, 140, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 140, 216, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 69% 32%, rgba(45, 104, 224, 0.19), transparent 31%);
  background-size: 44px 44px, 44px 44px, auto;
}

.fp-hero::after { position: absolute; inset: auto 0 0; height: 190px; z-index: -1; background: linear-gradient(transparent, var(--fp-bg)); content: ""; }
.hero-aura { position: absolute; z-index: -2; border-radius: 50%; filter: blur(12px); opacity: 0.5; }
.aura-one { width: 420px; height: 420px; right: -180px; top: 120px; background: rgba(74, 67, 215, 0.24); }
.aura-two { width: 250px; height: 250px; left: -140px; bottom: 60px; background: rgba(25, 119, 197, 0.18); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--fp-blue-soft); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow > span { width: 20px; height: 1px; background: currentColor; }
.hero-copy h1 { max-width: 670px; margin: 19px 0 22px; font-size: clamp(3rem, 5.7vw, 5.65rem); line-height: 0.98; letter-spacing: -0.064em; }
.hero-copy h1 em { color: transparent; background: linear-gradient(110deg, #5f9bff, #ac86ff 70%); background-clip: text; font-family: "DM Serif Display", serif; font-weight: 400; }
.hero-lead { max-width: 585px; margin: 0; color: var(--fp-muted); font-size: clamp(0.96rem, 1.4vw, 1.08rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 0.8rem; font-weight: 600; text-decoration: none; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(120deg, #2877ee, #7455e5); box-shadow: 0 13px 30px rgba(52, 99, 220, 0.3); }
.button-primary:hover { box-shadow: 0 17px 36px rgba(52, 99, 220, 0.4); }
.button-ghost { border-color: var(--fp-line); color: var(--fp-text); background: var(--fp-card); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--fp-muted); font-size: 0.67rem; }
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.hero-notes b { color: var(--fp-blue-soft); font-size: 0.6rem; }

.hero-stage { position: relative; min-width: 0; padding: 30px 0; }
.stage-caption { display: flex; align-items: center; gap: 8px; margin: 0 0 10px 16px; color: var(--fp-muted); font-size: 0.66rem; }
.stage-caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--fp-green); box-shadow: 0 0 0 5px rgba(104, 214, 173, 0.12); }
.browser-card { position: relative; overflow: hidden; border: 1px solid rgba(148, 177, 221, 0.22); border-radius: 19px; background: #e8e0d3; box-shadow: var(--fp-shadow); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 35px; padding: 0 13px; background: #0e1725; }
.browser-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #49566a; }
.browser-bar p { margin: 0 auto; padding-right: 30px; color: #8491a4; font-size: 0.54rem; }
.demo-site { min-height: 425px; color: #231d19; background: linear-gradient(90deg, rgba(232, 224, 211, 0.98) 0 53%, rgba(215, 202, 184, 0.44)), linear-gradient(135deg, #ddd1bf, #9c826b); }
.demo-site::after { position: absolute; right: -4%; bottom: 0; width: 50%; height: calc(100% - 35px); opacity: 0.82; background: linear-gradient(140deg, transparent 40%, rgba(40, 28, 20, 0.17)), radial-gradient(ellipse at 50% 25%, #846d5d 0 8%, transparent 9%), linear-gradient(125deg, transparent 30%, #b5a088 31% 56%, #6d5949 57% 66%, transparent 67%); content: ""; }
.demo-nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; font-size: 0.55rem; }
.demo-nav strong { font-family: "DM Serif Display"; font-size: 1.15rem; }
.demo-nav div { display: flex; align-items: center; gap: 15px; }
.demo-nav b { padding: 7px 10px; border: 1px solid rgba(35, 29, 25, 0.35); border-radius: 99px; font-weight: 600; }
.demo-hero { position: relative; z-index: 2; width: 62%; padding: 53px 28px 25px; }
.demo-hero p { font-size: 0.48rem; letter-spacing: 0.16em; }
.demo-hero h2 { margin: 11px 0; font-family: "DM Serif Display"; font-size: clamp(2.2rem, 4vw, 3.65rem); font-weight: 400; line-height: 0.93; letter-spacing: -0.04em; }
.demo-hero > span { display: block; max-width: 220px; font-size: 0.58rem; line-height: 1.6; }
.demo-hero button { margin-top: 19px; padding: 9px 13px; border: 0; border-radius: 99px; color: #fff; background: #29211c; font: 600 0.52rem Poppins; }
.demo-projects { position: relative; z-index: 2; display: flex; gap: 7px; width: 58%; padding: 3px 28px 24px; }
.demo-projects article { flex: 1; padding: 8px; border-top: 1px solid rgba(35, 29, 25, 0.25); }
.demo-projects small, .demo-projects strong { display: block; font-size: 0.46rem; }
.demo-projects small { opacity: 0.56; }.demo-projects strong { margin-top: 2px; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border: 1px solid var(--fp-line); border-radius: 13px; color: var(--fp-text); background: color-mix(in srgb, var(--fp-surface) 88%, transparent); box-shadow: 0 16px 38px rgba(0,0,0,.2); backdrop-filter: blur(15px); }
.floating-card > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--fp-blue-soft); background: rgba(79, 140, 255, 0.13); font-size: 0.7rem; }
.floating-card small, .floating-card strong { display: block; }.floating-card small { color: var(--fp-muted); font-size: 0.54rem; }.floating-card strong { margin-top: 2px; font-size: 0.67rem; }
.floating-result { top: 12px; right: -25px; }.floating-device { bottom: 4px; left: -30px; }

.niche-strip { padding: 27px 24px; overflow: hidden; border-block: 1px solid var(--fp-line); background: var(--fp-bg-soft); text-align: center; }
.niche-strip > p { margin: 0 0 16px; color: var(--fp-muted); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; }
.niche-strip div { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 36px); white-space: nowrap; }
.niche-strip span { font-family: "DM Serif Display"; font-size: clamp(1rem, 1.8vw, 1.45rem); }.niche-strip i { color: var(--fp-blue); font-size: 0.55rem; }

.intro-section { padding-block: 115px; }
.section-kicker { margin-bottom: 28px; color: var(--fp-blue-soft); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.intro-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 70px; align-items: end; }
.intro-grid h2, .process-heading h2, .showcase-copy h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -0.05em; }
.intro-grid h2 span { color: var(--fp-blue-soft); }
.intro-copy p { margin: 0 0 22px; color: var(--fp-muted); font-size: 0.9rem; line-height: 1.8; }
.intro-copy a { display: inline-flex; gap: 9px; color: var(--fp-text); font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.intro-copy a span { color: var(--fp-blue-soft); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 65px; }
.value-grid article { position: relative; min-height: 245px; padding: 26px; overflow: hidden; border: 1px solid var(--fp-line); border-radius: 18px; background: var(--fp-card); transition: transform 0.25s ease, border-color 0.25s ease; }
.value-grid article:hover { transform: translateY(-5px); border-color: rgba(79, 140, 255, 0.45); }
.value-number { position: absolute; right: 20px; top: 16px; color: var(--fp-muted); font-size: 0.58rem; }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 42px; border-radius: 14px; color: var(--fp-blue-soft); background: var(--fp-bg-soft); font-size: 1.1rem; }
.value-grid h3 { margin: 0 0 9px; font-size: 1rem; }.value-grid p { margin: 0; color: var(--fp-muted); font-size: 0.77rem; line-height: 1.7; }

.process-section { padding: 105px 0; background: var(--fp-bg-soft); }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.process-heading .eyebrow { margin-bottom: 17px; }.process-heading > p { max-width: 370px; margin: 0 0 7px; color: var(--fp-muted); font-size: 0.86rem; line-height: 1.75; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process-card { min-width: 0; padding: 25px; border: 1px solid var(--fp-line); border-radius: 19px; background: var(--fp-surface); }
.process-card.featured { border-color: rgba(79, 140, 255, 0.45); box-shadow: 0 18px 55px rgba(30, 76, 161, 0.12); }
.step-top { display: flex; justify-content: space-between; color: var(--fp-muted); font-size: 0.58rem; }.step-top span { color: var(--fp-blue-soft); font-weight: 700; }.step-top i { font-style: normal; }
.mini-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 26px 0 29px; }
.mini-options span, .mini-options b { padding: 9px; border: 1px solid var(--fp-line); border-radius: 8px; font-size: 0.54rem; font-weight: 500; text-align: center; }.mini-options b { border-color: var(--fp-blue); color: #fff; background: #2f6fe1; }
.style-swatch { display: grid; grid-template-columns: 1fr 0.7fr 0.42fr; gap: 5px; height: 71px; margin: 26px 0 29px; }.style-swatch span { border-radius: 8px; background: #2d60b7; }.style-swatch span:nth-child(2) { background: #8b70da; }.style-swatch span:nth-child(3) { background: #d7c7b6; }
.result-window { position: relative; height: 71px; margin: 26px 0 29px; padding: 17px; overflow: hidden; border-radius: 8px; color: #1b2430; background: #edf0ed; }.result-window span { display: block; width: 22%; height: 3px; margin-bottom: 13px; background: #262e38; }.result-window strong { position: relative; z-index: 2; font-family: "DM Serif Display"; font-size: 0.85rem; }.result-window i { position: absolute; right: -12px; bottom: -23px; width: 82px; height: 82px; border-radius: 50%; background: #aac7b9; }
.process-card h3 { margin: 0 0 9px; font-size: 1rem; }.process-card p { margin: 0; color: var(--fp-muted); font-size: 0.74rem; line-height: 1.7; }
.process-action { display: flex; flex-direction: column; align-items: center; margin-top: 42px; }.process-action p { margin: 10px 0 0; color: var(--fp-muted); font-size: 0.63rem; }

.showcase-section { display: grid; grid-template-columns: 0.83fr 1.17fr; gap: clamp(60px, 9vw, 120px); align-items: center; padding-block: 125px; }
.showcase-copy .eyebrow { margin-bottom: 18px; }.showcase-copy h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }.showcase-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--fp-muted); font-size: 0.85rem; line-height: 1.8; }
.showcase-copy ul { display: grid; gap: 11px; padding: 0; list-style: none; color: var(--fp-muted); font-size: 0.75rem; }.showcase-copy li::before { margin-right: 9px; color: var(--fp-green); content: "✓"; }
.showcase-stack { position: relative; min-height: 510px; }.stack-card { position: absolute; width: min(410px, 76%); height: 315px; padding: 22px; overflow: hidden; border-radius: 17px; box-shadow: var(--fp-shadow); }
.stack-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; font-size: 0.58rem; }.stack-nav b { font-size: 0.92rem; }.stack-nav span { padding: 6px 10px; border: 1px solid currentColor; border-radius: 99px; }
.stack-card > p { position: relative; z-index: 2; margin: 60px 0 8px; font-size: 0.48rem; letter-spacing: .18em; }.stack-card h3 { position: relative; z-index: 2; margin: 0; font-family: "DM Serif Display"; font-size: 2.3rem; font-weight: 400; line-height: 0.96; }
.card-food { top: 22px; left: 0; z-index: 2; color: #fff8ef; background: linear-gradient(135deg, #6a2d1f, #bd7047); transform: rotate(-4deg); }.card-food i { position: absolute; right: -40px; bottom: -80px; width: 250px; height: 250px; border: 34px solid rgba(255, 214, 164, 0.22); border-radius: 50%; box-shadow: inset 0 0 0 20px rgba(42,18,12,.22); }
.card-health { right: 0; bottom: 15px; color: #1f453e; background: linear-gradient(140deg, #e8f2ed, #b8dbcd); transform: rotate(4deg); }.card-health .health-shape { position: absolute; right: -20px; bottom: -40px; width: 220px; height: 245px; border-radius: 55% 45% 0 0; background: linear-gradient(155deg, rgba(255,255,255,.45), rgba(57, 117, 102, .4)); }.card-health h3 { font-family: Poppins; font-size: 2rem; font-weight: 700; letter-spacing: -.05em; }
.stack-tag { position: absolute; z-index: 4; left: 34%; bottom: 4px; padding: 13px 17px; border: 1px solid var(--fp-line); border-radius: 12px; background: color-mix(in srgb, var(--fp-surface) 88%, transparent); box-shadow: 0 15px 30px rgba(0,0,0,.18); backdrop-filter: blur(12px); color: var(--fp-muted); font-size: .64rem; }.stack-tag b { color: var(--fp-text); }

.final-cta { position: relative; isolation: isolate; width: min(1180px, calc(100% - 48px)); margin: 0 auto 100px; padding: clamp(65px, 8vw, 100px) 30px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(130deg, #1c61cc, #5247ce 58%, #7552c5); text-align: center; }
.final-cta::before { position: absolute; inset: 0; z-index: -1; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.4) 1px,transparent 1px); background-size: 38px 38px; content: ""; }
.cta-orb { position: absolute; z-index: -1; right: -120px; bottom: -260px; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.03); }
.final-cta p { margin: 0 0 12px; font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }.final-cta h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.7rem); letter-spacing: -.055em; }.final-cta > span { display: block; max-width: 560px; margin: 15px auto 28px; color: #dbeafe; font-size: .88rem; line-height: 1.7; }.button-light { color: #1e3a8a; background: #fff; box-shadow: 0 13px 30px rgba(17, 24, 39, .22); }

@media (max-width: 1050px) {
  .fp-hero { grid-template-columns: 1fr 0.9fr; gap: 45px; }.floating-result { right: 0; }.floating-device { left: -12px; }
  .showcase-section { gap: 50px; }
}

@media (max-width: 860px) {
  .fp-hero { grid-template-columns: 1fr; padding-top: 130px; }.hero-copy { max-width: 690px; }.hero-stage { width: min(680px, 100%); margin-inline: auto; }
  .intro-grid, .showcase-section { grid-template-columns: 1fr; }.intro-copy { max-width: 600px; }.value-grid, .process-grid { grid-template-columns: 1fr 1fr; }.value-grid article:last-child, .process-card:last-child { grid-column: 1 / -1; }
  .process-heading { display: block; }.process-heading > p { margin-top: 24px; }.showcase-copy { max-width: 650px; }.showcase-stack { width: min(650px, 100%); margin: 0 auto; }
}

@media (max-width: 620px) {
  .section-shell, .final-cta { width: min(100% - 32px, 1180px); }
  .fp-hero { min-height: auto; padding: 115px 20px 65px; }.hero-copy h1 { font-size: clamp(3rem, 14vw, 4.5rem); }.hero-actions .button { width: 100%; }.hero-notes { display: grid; gap: 9px; }
  .browser-card { transform: none; }.demo-site { min-height: 340px; }.demo-nav { padding: 16px; }.demo-nav div span { display: none; }.demo-hero { width: 76%; padding: 38px 18px 20px; }.demo-hero h2 { font-size: 2.35rem; }.demo-projects { width: 70%; padding-inline: 18px; }.floating-card { display: none; }
  .niche-strip div { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }.intro-section, .showcase-section { padding-block: 80px; }.intro-grid { gap: 25px; }.value-grid, .process-grid { grid-template-columns: 1fr; }.value-grid article:last-child, .process-card:last-child { grid-column: auto; }.value-grid { margin-top: 42px; }.value-grid article { min-height: 220px; }.process-section { padding-block: 80px; }
  .showcase-stack { min-height: 400px; }.stack-card { height: 255px; padding: 17px; }.stack-card > p { margin-top: 38px; }.stack-card h3 { font-size: 1.8rem; }.card-health h3 { font-size: 1.6rem; }.stack-tag { left: 17%; }.final-cta { margin-bottom: 65px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }.button, .value-grid article { transition: none; }
}
