/* Base */
:root {
  --brand-orange: #FF6A3D;
  --brand-sun: #FFC857;
  --brand-teal: #2EC4B6;
  --brand-navy: #0c1729;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #0f172a; /* slate-900 */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1600px 800px at 75% 50%, rgba(46,196,182,0.95) 0%, rgba(12,115,128,0.92) 35%, rgba(9,84,97,0.95) 60%, #083f4a 100%) fixed, #083f4a;
  background-attachment: fixed;
  overflow-y: auto; /* allow scroll */
  overflow-x: hidden; /* prevent sideways scroll from decorative circle */
}

.page-frame {
  min-height: 100svh;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85)) padding-box;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  position: relative;
  isolation: isolate; /* create stacking context for bg semicircle */
}

/* Header */
.site-header {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25)); }
.brand-name { font-weight: 800; letter-spacing: 0.01em; color: var(--brand-navy); }
.brand-img { height: 28px; width: auto; display: block; }

.nav { display: none; gap: 24px; }
.nav-link { color: #0f172a; text-decoration: none; font-weight: 500; opacity: 0.8; }
.nav-link:hover { opacity: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 10px 18px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-outline { border: 2px solid rgba(15,23,42,0.15); color: #0f172a; background: transparent; }
.btn-outline:hover { border-color: rgba(15,23,42,0.35); }
.btn-primary { background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal)); color: white; border: 0; box-shadow: 0 10px 24px rgba(46,196,182,0.35); }
.btn-primary { background-size: 200% 100%; transition: filter .2s ease, transform .2s ease, background-position 1.2s ease; }
.btn-primary:hover { filter: saturate(1.05) brightness(1.02); background-position: 100% 0; transform: translateY(-1px); }
.btn-dark { background: #111827; color: #fff; border: 0; }
.btn-dark:hover { filter: brightness(1.05); }
.btn-soft { background: rgba(46,196,182,0.15); color: #0a6770; border: 1px solid rgba(46,196,182,0.35); }
.btn-soft:hover { filter: brightness(0.98); }

/* Hero */
.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}

.eyebrow { color: #37a6ff; font-weight: 900; font-size: clamp(48px, 6.8vw, 80px); letter-spacing: 0.01em; margin: 0 0 6px; line-height: 1; }
.hero-title { font-size: clamp(28px, 4.6vw, 48px); line-height: 1.1; margin: 0 0 14px; }
.hero-title .accent { background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ai-accent { background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: 900; }
.hero-subtitle { max-width: 58ch; color: #20293a; opacity: 0.85; font-size: 16px; line-height: 1.7; }

.gradient-text { background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-logo { width: min(520px, 70vw); height: auto; display: block; margin: 0 0 10px 0; }

.notify {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 20px 0 12px;
  max-width: 480px;
}
.notify input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 16px;
}
.notify input:focus { outline: 3px solid rgba(58,166,255,0.25); border-color: #60a5fa; }
.cta-row { display: flex; gap: 14px; margin-top: 10px; }
.form-note { min-height: 22px; color: #065f46; font-weight: 600; }

/* Art side */
.hero-art {
  position: relative;
  height: min(72vh, 680px);
  display: grid;
  place-items: center;
  perspective: 900px;
}
.page-frame::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%; /* left edge anchored at page center */
  width: 200vh; /* large diameter ensures coverage */
  height: 200vh;
  transform: translateY(-50%);
  border-radius: 50%;
  /* Brand radial: teal-focused gradient */
  background: radial-gradient(120% 120% at 35% 50%, rgba(191, 243, 234, 0.95) 0%, rgba(46, 196, 182, 0.96) 42%, rgba(12, 115, 128, 0.98) 85%);
  box-shadow: inset 0 20px 60px rgba(0,0,0,0.25), inset 0 -20px 60px rgba(255,255,255,0.08), 0 30px 80px rgba(2,6,23,0.35);
  z-index: -1;
}

.badge {
  position: absolute;
  top: 80px;
  left: 40px;
  color: white;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 6px 40px rgba(0,0,0,0.25);
}

.device { position: relative; z-index: -1; }
.box { width: min(50vw, 520px); height: auto; filter: drop-shadow(0 28px 40px rgba(2,6,23,0.35)); transform-origin: 50% 60%; transform-style: preserve-3d; }
.box-img { width: min(50vw, 520px); height: auto; filter: drop-shadow(0 28px 40px rgba(2,6,23,0.35)); }

.arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190vh;
  height: 190vh;
  transform: translateY(-50%);
  border: 2px solid rgba(255,255,255,0.35);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 999px; /* full circle outline with two quadrants hidden */
  z-index: 0;
}
.arc .dot { position: absolute; width: 14px; height: 14px; background: white; border-radius: 999px; box-shadow: 0 0 0 6px rgba(255,255,255,0.18); animation: pulse 2.4s ease-in-out infinite; }
.arc .dot.start { left: -6px; top: 20px; }
.arc .dot.end { right: 16px; bottom: -6px; }

@keyframes float-y {
  0%, 100% { transform: rotate(-12deg) translateX(20px) translateY(0); }
  50% { transform: rotate(-12deg) translateX(20px) translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255,255,255,0.18); }
  50% { box-shadow: 0 0 0 12px rgba(255,255,255,0.08); }
}

@keyframes spin-y { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* Rotate around Z axis while maintaining a persistent 3D tilt */
@keyframes spin-z3d {
  from { transform: rotateX(16deg) rotateY(-24deg) rotateZ(0deg); }
  to { transform: rotateX(16deg) rotateY(-24deg) rotateZ(360deg); }
}

/* Footer */
.site-footer { margin-top: 40px; display: flex; justify-content: center; color: #475569; }

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Info section */
.info { margin-top: 36px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info .section-title { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); }
.info .section-title { background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.info p { color: #1f2937; opacity: 0.9; }
.bullets, .features, .numbered { margin: 10px 0 0; padding-left: 18px; }
.bullets li { margin: 6px 0; }
.bullets .stat { color: var(--brand-navy); }
.numbered { list-style: decimal; }
.features { columns: 2; column-gap: 24px; }
.features li { break-inside: avoid; margin: 6px 0; }
.highlight { font-weight: 600; color: #0b3e4a; }

/* Numbered steps (hero) */
.steps { counter-reset: step; display: block; row-gap: 0; margin: 16px 0 0; padding: 6px 0; }
.steps li { list-style: none; position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; }
.steps li + li { margin-top: 8px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); flex: 0 0 56px; text-align: center; font-weight: 900; font-size: 36px; line-height: 1; color: var(--brand-navy); text-shadow: 0 2px 8px rgba(2,6,23,0.15); }
.steps li::after { content: ""; position: absolute; left: calc(56px + 7px); top: 4px; bottom: 4px; width: 1px; background: rgba(15,23,42,0.28); border-radius: 1px; }
.steps .step-text { display: flex; flex-direction: column; }
.steps h3 { margin: 0 0 2px 0; font-size: 16px; font-weight: 800; letter-spacing: 0.02em; }
.steps p { margin: 0; font-size: 13px; opacity: 0.85; }

/* Responsive */
@media (min-width: 880px) {
  .nav { display: inline-flex; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; height: 360px; }
  .badge { top: 24px; left: 24px; }
  .device { transform: rotate(-10deg); }
  .info-grid { grid-template-columns: 1fr; }
  .features { columns: 1; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-frame { padding: 16px; }
  .eyebrow { font-size: clamp(28px, 10vw, 36px); }
  .hero-title { font-size: clamp(22px, 6vw, 28px); }
  .hero-logo { width: 84vw; }
  .notify { grid-template-columns: 1fr; }
  .cta-row { flex-wrap: wrap; }
  /* move and resize background circle for small screens */
  .page-frame::before { left: 60%; top: 55%; width: 140vh; height: 140vh; }
  .arc { display: none; }
  .hero-art { height: 300px; }
  .box-img { width: 68vw; }
  .steps { grid-template-columns: 1fr; }
  /* Match badge text color to brand text on mobile */
  .badge { 
    background: linear-gradient(45deg, var(--brand-orange), var(--brand-sun), var(--brand-teal));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    text-shadow: none;
  }
}

/* Larger desktop: scale typography and artwork slightly up */
@media (min-width: 1200px) {
  .hero { gap: 36px; }
  .eyebrow { font-size: clamp(64px, 7vw, 96px); }
  .hero-title { font-size: clamp(34px, 5vw, 56px); }
  .hero-subtitle { font-size: 18px; }
  .brand-img { height: 32px; }
  .hero-logo { width: min(600px, 60vw); }
  .box-img { width: min(56vw, 680px); }
  .steps li::before { flex-basis: 68px; font-size: 44px; }
  .steps li::after { left: calc(68px + 8px); }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 14px; }
}

/* Subtle entrance animation and motion */
.hero-copy > * { opacity: 0; animation: reveal-up .7s ease-out forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }

.badge { opacity: 0; animation: reveal-up .8s ease-out .35s forwards; }
.box-img { animation: float-y-soft 7s ease-in-out infinite; }

@keyframes reveal-up {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float-y-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


