/* ===== @font-face — DM Sans (local) ===== */
@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../font/DMSans_18pt-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ===== Custom Properties ===== */
:root {
  --color-bg: #08091a;
  --color-bg-2: #0d0e2e;
  --color-bg-deep: #050508;
  --color-blue: #121984;
  --color-blue-light: #2d35c9;
  --color-indigo: #6366f1;
  --color-lilac: #f0f0f7;
  --color-white: #ffffff;
  --color-gray: #4A4A4C;
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --radius: 2px;
  --transition: 0.3s ease;
  --font-stack: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background-color: var(--color-bg);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

/* ===== Texture Overlay ===== */
.texture {
  position: relative;
}

.texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}


/* ===== Typography Upgrades ===== */
.section__title,
.hero__title,
.cta-section__title,
.page-header__title,
.demo__title {
  letter-spacing: -0.03em;
}

body {
  letter-spacing: 0.012em;
  line-height: 1.75;
}

.pricing__amount,
.how__number {
  font-variant-numeric: tabular-nums;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue-light);
}

/* ===== Custom Cursor ===== */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.3s ease;
  will-change: top, left;
}

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease,
              background 0.3s ease;
  will-change: top, left;
}

.cursor-dot--hidden,
.cursor-aura--hidden {
  opacity: 0;
}

/* Hover: interactive elements */
.cursor-dot--pointer {
  transform: translate(-50%, -50%) scale(0);
}

.cursor-aura--pointer {
  width: 60px;
  height: 60px;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Hover: headings */
.cursor-aura--heading {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

/* Light sections */
.cursor-dot--light {
  background: #08091a;
}

.cursor-aura--light {
  border-color: rgba(8, 9, 26, 0.2);
  box-shadow: 0 0 20px rgba(8, 9, 26, 0.1);
}

.cursor-aura--pointer.cursor-aura--light {
  border-color: rgba(8, 9, 26, 0.4);
  box-shadow: 0 0 30px rgba(8, 9, 26, 0.2);
}

.cursor-aura--heading.cursor-aura--light {
  border-color: rgba(8, 9, 26, 0.1);
  background: rgba(8, 9, 26, 0.03);
}

/* Click pulse */
@keyframes cursorClick {
  0%, 100% { scale: 1; }
  50% { scale: 0.75; }
}

.cursor-aura--click {
  animation: cursorClick 0.3s ease;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* — Wordmark — */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__logo svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.navbar__logo span {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
}

/* — Center links — */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}

.navbar__links a::before {
  content: '·';
  font-size: 18px;
  line-height: 1;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-blue-light);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar__links a:hover {
  opacity: 1;
}

.navbar__links a.active {
  opacity: 1;
}

.navbar__links a.active::after {
  transform: scaleX(1);
}

/* — Auth buttons — */
.navbar__auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__btn {
  font-family: var(--font-stack);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-white);
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.navbar__btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar__btn--outline:hover {
  border-color: var(--color-white);
}

.navbar__btn--filled {
  background: linear-gradient(135deg, #1a2285, #121984);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 16px rgba(18, 25, 132, 0.4);
}

.navbar__btn--filled:hover {
  background: linear-gradient(135deg, #2d35c9, #1a2285);
  border-color: rgba(99, 102, 241, 0.5);
}

/* — Language toggle pill — */
.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 72px;
  height: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  flex-shrink: 0;
}

.lang-toggle__option {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-stack);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-white);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease, font-weight 0.3s ease;
  user-select: none;
  height: 100%;
}

.lang-toggle__option--active {
  opacity: 1;
  font-weight: 600;
}

.lang-toggle__indicator {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.lang-toggle--en .lang-toggle__indicator {
  transform: translateX(100%);
}

/* — Hamburger — */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* — Mobile overlay — */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  background: rgba(8, 9, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.navbar__mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar__mobile a {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.8;
  transition: opacity var(--transition);
}

.navbar__mobile a:hover {
  opacity: 1;
}

.navbar__mobile a.active {
  opacity: 1;
}

.navbar__mobile .navbar__btn {
  font-size: 16px;
  padding: 12px 28px;
}

/* ===== Footer ===== */
.footer {
  background: #e8e8f0;
  color: var(--color-bg);
  padding: 64px 40px 32px;
  border-top: 1px solid rgba(8, 9, 26, 0.07);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* — Footer logo column — */
.footer__brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-gray);
  max-width: 260px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__brand-logo svg {
  width: 22px;
  height: 22px;
}

.footer__brand-logo span {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-bg);
}

/* — Footer link columns — */
.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-bg);
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 14px;
  color: var(--color-gray);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--color-bg);
}

/* — Bottom bar — */
.footer__bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(8, 9, 26, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-gray);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 13px;
  color: var(--color-gray);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--color-bg);
}

/* ===== Section Dividers ===== */
.hero,
.demo,
.how,
.features,
.cta-section,
.faq,
.values {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Shared ===== */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section__title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-stack);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--filled {
  background: linear-gradient(135deg, #1a2285, #121984);
  color: var(--color-white);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 16px rgba(18, 25, 132, 0.4);
}

.btn--filled:hover {
  background: linear-gradient(135deg, #2d35c9, #1a2285);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 6px 24px rgba(18, 25, 132, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

/* White button variant */
.btn--white {
  background: var(--color-white);
  color: var(--color-blue);
  border-color: var(--color-white);
  font-weight: 600;
}

.btn--white:hover {
  background: var(--color-lilac);
  border-color: var(--color-lilac);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 40px 64px;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #1a1f6e 0%, #0a0f2e 40%, #000008 100%);
}

/* Scan lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.008) 2px,
    rgba(255, 255, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Blob 1 — top right */
.hero__gradient::before {
  content: '';
  position: absolute;
  top: 5%;
  right: -5%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1f6e 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.6;
}

/* Blob 2 — center left */
.hero__gradient::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d1b69 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.4;
}

/* Blob 3 via box-shadow on gradient div */
.hero__blob3 {
  position: absolute;
  bottom: 5%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #0d3b8c 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__title {
  font-size: 76px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 0 0 120px rgba(99, 102, 241, 0.25);
}

.hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-white);
  opacity: 0.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

/* — Logo bar — */
.hero__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__logos-label {
  font-size: 12px;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero__logos-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero__pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* — SIP label — */
.hero__sip-label {
  position: absolute;
  right: 40px;
  bottom: 64px;
  font-size: 12px;
  opacity: 0.4;
  text-align: right;
  max-width: 200px;
  line-height: 1.4;
  z-index: 2;
}

/* ===== Demo Section ===== */
.demo {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(180deg, #050508 0%, #0a0f2e 50%, #050508 100%);
  background-attachment: fixed;
}

.demo__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.demo__gradient::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1f6e 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.3;
}

.demo__gradient::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d1b69 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
}

.demo__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

/* — Phone icon with pulse ring — */
.demo__phone-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.demo__phone-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-indigo);
}

.demo__pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  animation: pulseRing 2.4s ease-out infinite;
}

.demo__pulse-ring--delay {
  animation-delay: 1.2s;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.demo__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-blue-light);
  opacity: 0.8;
  margin-bottom: 20px;
}

.demo__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.demo__sub {
  font-size: 16px;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* — Form — */
.demo__form {
  position: relative;
}

.demo__input-group {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.demo__input-group:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.demo__prefix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  user-select: none;
}

.demo__input {
  flex: 1;
  min-width: 0;
  padding: 16px 16px;
  font-family: var(--font-stack);
  font-size: 15px;
  color: var(--color-white);
  background: transparent;
  border: none;
  outline: none;
}

.demo__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.demo__btn {
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* — Error — */
.demo__error {
  position: absolute;
  left: 0;
  bottom: -30px;
  font-size: 13px;
  color: #ef4444;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.demo__form--error .demo__error {
  opacity: 1;
}

.demo__form--error .demo__input-group {
  border-color: #ef4444;
  animation: shake 0.4s ease;
}

/* — Loading dots — */
.demo__dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}

.demo__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-white);
  animation: dotPulse 1s ease-in-out infinite;
}

.demo__dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.demo__dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

/* — Success — */
.demo__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.demo__success.visible {
  display: flex;
  animation: fadeInUp 0.5s ease forwards;
}

.demo__check {
  width: 48px;
  height: 48px;
  color: #22c55e;
}

.demo__success p {
  font-size: 17px;
  font-weight: 500;
  opacity: 0.9;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ===== How It Works ===== */
.how {
  background: linear-gradient(135deg, #08091a 0%, #0c0e24 50%, #08091a 100%);
  background-attachment: fixed;
}

.how__steps {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.how__step {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.how__step:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.how__number {
  display: block;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-blue-light);
}

/* Watermark number */
.how__step::before {
  content: attr(data-step);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.06;
  color: var(--color-white);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.how__step-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.how__step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.how__divider {
  display: none;
}

/* ===== Features ===== */
.features {
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(18, 25, 132, 0.15) 0%, transparent 70%),
    #050508;
  background-attachment: fixed;
  border-radius: 0;
  padding-left: 40px;
  padding-right: 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.features__card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  padding: 32px;
  cursor: pointer;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.features__card::after {
  content: '\2192';
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 16px;
  color: var(--color-indigo);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
}

.features__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.features__card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.features__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-indigo);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
}

.features__icon svg {
  width: 24px;
  height: 24px;
}

.features__card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.features__card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #0d1244 0%, #050508 70%);
  background-attachment: fixed;
}

.cta-section__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(18, 25, 132, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(107, 33, 168, 0.45) 0%, transparent 55%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section__sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-section__form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-section__input {
  flex: 1;
  padding: 14px 20px;
  font-family: var(--font-stack);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--color-white);
  outline: none;
}

.cta-section__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-section__form .btn {
  border-radius: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== Page Header (sub-pages) ===== */
.page-header {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 40px 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, #1a1f6e 0%, #0a0f2e 40%, #000008 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-header__gradient::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1f6e 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.5;
}

.page-header__gradient::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d1b69 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.35;
}

.page-header__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-header__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-header__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.page-header--tall {
  min-height: 60vh;
}

/* ===== Pricing Toggle ===== */
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.pricing__toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  cursor: pointer;
}

.pricing__toggle-label--active {
  color: var(--color-white);
}

.pricing__switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  cursor: pointer;
  padding: 0;
}

.pricing__switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.pricing__switch.active .pricing__switch-knob {
  transform: translateX(22px);
}

.pricing__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--color-blue-light);
  color: var(--color-white);
  letter-spacing: 0.02em;
}

/* ===== Pricing Cards ===== */
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.pricing__card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pricing__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* Featured card */
.pricing__card--featured {
  background: linear-gradient(160deg, #1a2285 0%, #0d1244 60%, #080d30 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 44px 32px;
  position: relative;
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(18, 25, 132, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing__card--featured:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 0 80px rgba(18, 25, 132, 0.5), 0 32px 64px rgba(0, 0, 0, 0.5);
}

.pricing__card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--color-white);
  color: var(--color-blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pricing__card-head {
  margin-bottom: 24px;
}

.pricing__card-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing__card-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

.pricing__card--featured .pricing__card-sub {
  color: rgba(255, 255, 255, 0.65);
}

/* Price */
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing__amount {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: opacity 0.2s ease;
}


.pricing__period {
  font-size: 14px;
  color: var(--color-text-muted);
}

.pricing__card--featured .pricing__period {
  color: rgba(255, 255, 255, 0.6);
}

/* Feature list */
.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing__features li {
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.check {
  color: var(--color-blue-light);
  font-size: 15px;
  flex-shrink: 0;
}

.pricing__card--featured .check {
  color: rgba(255, 255, 255, 0.85);
}

.dash {
  color: rgba(255, 255, 255, 0.2);
  font-size: 15px;
  flex-shrink: 0;
}

/* CTA */
.pricing__cta {
  width: 100%;
  text-align: center;
}

/* ===== Comparison Table ===== */
.compare__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare__table thead {
  position: sticky;
  top: 64px;
  z-index: 10;
}

.compare__table th {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 20px;
  text-align: center;
  background: var(--color-bg-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare__table th:first-child {
  text-align: left;
}

.compare__th--featured {
  color: var(--color-blue-light);
}

.compare__table td {
  font-size: 14px;
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.compare__table td:first-child {
  text-align: left;
  color: var(--color-white);
  font-weight: 500;
}

.compare__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.compare__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.compare__table .check {
  color: var(--color-blue-light);
}

.compare__table .dash {
  color: rgba(255, 255, 255, 0.15);
}

/* ===== FAQ Accordion ===== */
.faq {
  background: linear-gradient(135deg, #0a0f2e 0%, #0c1138 50%, #0a0f2e 100%);
  background-attachment: fixed;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-stack);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--color-blue-light);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding-bottom: 20px;
}

/* ===== Mission Block ===== */
.mission {
  background: #eeeef5;
  padding: 100px 40px;
  text-align: center;
  color: var(--color-bg);
  border-top: 1px solid rgba(8, 9, 26, 0.07);
  border-bottom: 1px solid rgba(8, 9, 26, 0.07);
}

.mission__quote {
  max-width: 720px;
  margin: 0 auto;
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-bg);
  letter-spacing: -0.02em;
}

/* ===== Values ===== */
.values {
  background: linear-gradient(135deg, #08091a 0%, #0c0e24 50%, #08091a 100%);
  background-attachment: fixed;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.values__card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.values__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.values__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-light);
}

.values__icon svg {
  width: 32px;
  height: 32px;
}

.values__card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.values__card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ===== Tech Stack ===== */
.stack {
  background: var(--color-lilac);
  padding: 100px 40px;
}

.stack__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stack__title {
  color: var(--color-bg);
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stack__item {
  background: var(--color-white);
  border: 1px solid rgba(8, 9, 26, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stack__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(8, 9, 26, 0.1);
}

.stack__item-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}

.stack__item-icon svg {
  width: 28px;
  height: 28px;
}

.stack__item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-bg);
  margin-bottom: 8px;
}

.stack__item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-gray);
}

/* ===== Auth Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal__card {
  position: relative;
  background: #0d0e2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 40px;
  width: 420px;
  max-width: calc(100vw - 40px);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s ease;
}

.modal.open .modal__card {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 22px;
  line-height: 1;
  opacity: 0.5;
  cursor: pointer;
  padding: 4px;
  transition: opacity var(--transition);
}

.modal__close:hover {
  opacity: 1;
}

/* — Steps — */
.modal__step {
  display: none;
}

.modal__step.active {
  display: block;
}

.modal__step--success.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__sub {
  font-size: 14px;
  opacity: 0.55;
  line-height: 1.55;
  margin-bottom: 28px;
}

/* — Phone input (Step 1) — */
.modal__input-group {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}

.modal__input-group:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
}

.modal__prefix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  user-select: none;
}

.modal__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--font-stack);
  font-size: 15px;
  color: var(--color-white);
  background: transparent;
  border: none;
  outline: none;
}

.modal__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  font-family: var(--font-stack);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-blue);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition);
}

.modal__submit:hover:not(:disabled) {
  background: var(--color-blue-light);
}

.modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal__error {
  font-size: 13px;
  color: #ef4444;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal__step--error .modal__error {
  opacity: 1;
}

.modal__step--error .modal__input-group {
  border-color: #ef4444;
  animation: shake 0.4s ease;
}

/* — OTP inputs (Step 2) — */
.modal__otp {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.modal__otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: var(--font-stack);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  outline: none;
  transition: border-color var(--transition);
}

.modal__otp-digit:focus {
  border-color: var(--color-blue-light);
}

.modal__resend {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.5;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-stack);
  transition: opacity var(--transition);
}

.modal__resend:hover {
  opacity: 0.8;
}

/* — Success (Step 3) — */
.modal__check {
  width: 56px;
  height: 56px;
  color: #22c55e;
  margin-bottom: 20px;
}

.modal__check circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  animation: drawCircle 0.5s ease forwards;
}

.modal__check polyline {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: drawCheck 0.3s 0.4s ease forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* — Loading dots (reuse demo pattern) — */
.modal__dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
}

.modal__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-white);
  animation: dotPulse 1s ease-in-out infinite;
}

.modal__dots span:nth-child(2) { animation-delay: 0.15s; }
.modal__dots span:nth-child(3) { animation-delay: 0.3s; }

/* — Modal responsive — */
@media (max-width: 480px) {
  .modal__card {
    padding: 32px 24px;
  }

  .modal__otp-digit {
    width: 42px;
    height: 50px;
    font-size: 20px;
  }

  .modal__otp {
    gap: 6px;
  }
}

/* — Feature detail modal — */
.modal__card--wide {
  max-width: 560px;
}

.modal__feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-blue-light);
}

.modal__feature-icon svg {
  width: 32px;
  height: 32px;
}

.modal__body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  background: #0d0e2e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hiding {
  transform: translateY(100%);
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
  flex: 1;
  min-width: 0;
}

.cookie-banner__link {
  color: var(--color-blue-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-stack);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.cookie-banner__btn--outline {
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--outline:hover {
  border-color: var(--color-white);
}

.cookie-banner__btn--filled {
  color: var(--color-white);
  background: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.cookie-banner__btn--filled:hover {
  background: var(--color-blue-light);
  border-color: var(--color-blue-light);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }
}

/* ===== Scroll-to-top ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 9, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-blue-light);
  border-color: var(--color-blue-light);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive — 1024px (tablet landscape) ===== */
@media (max-width: 1024px) {
  .section {
    padding: 80px 32px;
  }

  .cta-section {
    padding: 80px 32px;
  }

  .mission {
    padding: 80px 32px;
  }

  .stack {
    padding: 80px 32px;
  }

  .demo {
    padding: 80px 32px;
  }

  .demo__title {
    font-size: 34px;
  }

  .hero__title {
    font-size: 56px;
  }

  .section__title {
    font-size: 40px;
  }

  .cta-section__title {
    font-size: 44px;
  }

  .features {
    padding-left: 32px;
    padding-right: 32px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

/* ===== Responsive — 768px (tablet portrait / mobile) ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar__links,
  .navbar__auth {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 0 20px 48px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__gradient {
    width: 100%;
    right: -10%;
    top: 20%;
  }

  .hero__sip-label {
    display: none;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* Demo */
  .demo {
    padding: 60px 20px;
  }

  .demo__title {
    font-size: 28px;
  }

  .demo__input-group {
    flex-direction: column;
    border: none;
    gap: 0;
  }

  .demo__prefix {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px 4px 0 0;
    justify-content: center;
    padding: 12px 16px;
  }

  .demo__input {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: none;
  }

  .demo__btn {
    border-radius: 0 0 4px 4px;
  }

  .demo__form--error .demo__prefix,
  .demo__form--error .demo__input {
    border-color: #ef4444;
  }

  /* Section shared */
  .section {
    padding: 60px 20px;
  }

  .section__title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  /* How */
  .how__steps {
    flex-direction: column;
    gap: 40px;
  }


  /* Features */
  .features {
    padding-left: 20px;
    padding-right: 20px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* CTA */
  .cta-section {
    padding: 60px 20px;
  }

  .cta-section__title {
    font-size: 28px;
  }

  .cta-section__form {
    flex-direction: column;
    border: none;
    gap: 12px;
  }

  .cta-section__input {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
  }

  .cta-section__form .btn {
    border-radius: 4px;
  }

  /* Page header */
  .page-header {
    min-height: 40vh;
    padding: 64px 20px 0;
  }

  .page-header--tall {
    min-height: 50vh;
  }

  .page-header__title {
    font-size: 32px;
  }

  /* Mission */
  .mission {
    padding: 60px 20px;
  }

  .mission__quote {
    font-size: 22px;
  }

  /* Values */
  .values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Tech Stack */
  .stack {
    padding: 60px 20px;
  }

  .stack__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Pricing cards */
  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .pricing__card--featured {
    transform: none;
  }

  .pricing__card--featured:hover {
    transform: translateY(-4px);
  }

  /* Comparison table */
  .compare__table th,
  .compare__table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  /* FAQ */
  .faq__question {
    font-size: 15px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer {
    padding: 48px 20px 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Scroll-top */
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 34px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .mission__quote {
    font-size: 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
