@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --teasy-font-display: 'Sora', 'Inter', sans-serif;
  --teasy-font-ui: 'Inter', system-ui, sans-serif;

  --teasy-deep-teal: #0E4B4D;
  --teasy-accent: #35E0D0;
  --teasy-mint: #55E6A8;
  --teasy-highlight: #DDFFFB;
  --teasy-gradient: linear-gradient(120deg, #35E0D0 0%, #55E6A8 100%);

  --teasy-background-dark: #061F22;
  --teasy-surface-dark: #0A3235;
  --teasy-surface-raised-dark: #10474A;
  --teasy-text-primary-dark: #F4FFFD;
  --teasy-text-secondary-dark: #B7D8D4;
  --teasy-muted-dark: #6FA8A6;
  --teasy-border-dark: #2C6668;

  --teasy-background-light: #F7FFFE;
  --teasy-surface-light: #EAFAF6;
  --teasy-text-primary-light: #062C2E;
  --teasy-text-secondary-light: #416B6B;
  --teasy-muted-light: #6E9997;
  --teasy-border-light: #B7ECE6;

  --teasy-success: #46D99A;
  --teasy-warning: #F4C95D;
  --teasy-error: #FF6B7A;
  --teasy-info: #51C6FF;
  --teasy-ink: #062C2E;
  --teasy-ink-soft: #041F21;

  --teasy-space-1: 4px;
  --teasy-space-2: 8px;
  --teasy-space-3: 12px;
  --teasy-space-4: 16px;
  --teasy-space-6: 24px;
  --teasy-space-8: 32px;
  --teasy-space-12: 48px;
  --teasy-space-16: 64px;

  --teasy-radius-sm: 12px;
  --teasy-radius-md: 16px;
  --teasy-radius-lg: 24px;
  --teasy-radius-squircle: 28px;
  --teasy-radius-pill: 999px;

  --teasy-glow-soft: 0 0 24px rgba(53, 224, 208, 0.22);
  --teasy-shadow-card: 0 12px 32px rgba(0, 15, 17, 0.18);

  --deep: var(--teasy-deep-teal);
  --deep-2: var(--teasy-background-dark);
  --elev: var(--teasy-surface-dark);
  --ink: var(--teasy-ink);
  --cyan: var(--teasy-accent);
  --mint: var(--teasy-mint);
  --hi: var(--teasy-highlight);
  --mist: var(--teasy-background-light);
  --fg: var(--teasy-text-primary-dark);
  --fg-2: var(--teasy-text-secondary-dark);
  --fg-mut: var(--teasy-muted-dark);
  --grad: var(--teasy-gradient);
  --border: var(--teasy-border-dark);
  --radius: var(--teasy-radius-md);
  --squircle: var(--teasy-radius-squircle);
  --shadow: var(--teasy-shadow-card);
  --maxw: 1120px;
}

*,
::before,
::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--teasy-font-ui);
  color: var(--fg);
  background: var(--deep-2);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, .brandtype {
  font-family: var(--teasy-font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.14;
}

p {
  margin: 0;
}

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

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1250px 720px at 12% -12%, rgba(53, 224, 208, 0.18), transparent 60%),
    radial-gradient(1100px 620px at 88% 2%, rgba(85, 230, 168, 0.14), transparent 56%),
    radial-gradient(900px 960px at 50% 115%, rgba(53, 224, 208, 0.12), transparent 62%),
    var(--deep-2);
}

.aurora::before {
  content: '';
  position: absolute;
  inset: -25% -15% auto auto;
  width: 80%;
  height: 60%;
  background: radial-gradient(circle at 50% 50%, rgba(53, 224, 208, 0.2), transparent 68%);
  filter: blur(42px);
  opacity: 0.65;
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  from { transform: translate3d(-4%, -2%, 0) rotate(-2.2deg); }
  to { transform: translate3d(4%, 3%, 0) rotate(2.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora::before,
  .store-badge,
  .btn {
    transition: none;
    animation: none;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--hi);
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 12px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header / nav */
nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(6, 31, 34, 0.76), rgba(6, 31, 34, 0.48));
  border-bottom: 1px solid var(--border);
}

.nav-in {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  width: auto;
  height: 34px;
  display: block;
}

.brand-wordmark--footer {
  height: 26px;
}

.brand-wordmark--hero {
  width: clamp(112px, 22vw, 152px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 15px;
  color: var(--fg-2);
}

.nav-links a:hover {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--teasy-font-ui);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--grad);
  color: var(--ink);
  box-shadow: var(--teasy-glow-soft);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(11, 44, 46, 0.35);
  color: var(--cyan);
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(62px, 10vw, 90px) 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  gap: 30px;
  align-items: center;
}

.hero-emblem-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-emblem {
  width: clamp(140px, 18vw, 172px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(53, 224, 208, 0.42));
}

.hero h1 {
  font-size: clamp(44px, 7.6vw, 76px);
  margin: 0;
}

.hero p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--fg-2);
  font-size: clamp(17px, 2.3vw, 20px);
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-badge {
  min-width: 188px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(10, 50, 53, 0.7);
  border: 1px solid var(--border);
  color: var(--fg);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 224, 208, 0.5);
}

.store-badge small {
  display: block;
  color: var(--fg-mut);
  font-size: 11px;
  line-height: 1.15;
}

.store-badge b {
  display: block;
  font-family: var(--teasy-font-display);
  font-weight: 600;
  font-size: 15px;
}

.store-badge .label {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(6, 46, 49, 0.72);
  border: 1px solid rgba(53, 224, 208, 0.22);
}

.store-badge .label.icon-apple {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  font-size: 14px;
  line-height: 1;
  color: var(--fg-2);
}

.store-badge .label.icon-play {
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  transform: translateX(0.5px);
  color: var(--fg-2);
}

.store-badge .label.icon-apple,
.store-badge .label.icon-play {
  line-height: 1;
  color: var(--fg-2);
}

.hero-panel {
  margin-top: 36px;
  width: min(100%, 296px);
  margin-inline: auto;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(14, 75, 77, 0.95), rgba(10, 50, 53, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 70px rgba(53, 224, 208, 0.1);
}

.screen {
  border-radius: 32px;
  background: var(--deep);
  padding: 16px;
  min-height: 420px;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.chat-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--grad);
}

.chat-title {
  font-family: var(--teasy-font-display);
  font-weight: 600;
  font-size: 15px;
}

.chat-sub {
  color: var(--fg-mut);
  font-size: 12px;
}

.chat-msg {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 16px;
  margin: 12px 0;
  font-size: 14px;
}

.chat-msg.in {
  background: var(--elev);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
  margin-right: auto;
}

.chat-msg.out {
  margin-left: auto;
  background: var(--grad);
  color: var(--ink);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}

/* Sections */
section {
  padding: clamp(64px, 11vw, 94px) 0;
}

.eyebrow {
  text-align: center;
  color: var(--cyan);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sec-title {
  text-align: center;
  margin-top: 10px;
  font-size: clamp(32px, 4.7vw, 44px);
}

.sec-sub {
  text-align: center;
  color: var(--fg-2);
  max-width: 620px;
  margin: 14px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.feature-card {
  background: linear-gradient(160deg, rgba(10, 50, 53, 0.55), rgba(8, 44, 47, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--squircle);
  padding: 28px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(53, 224, 208, 0.12);
  border: 1px solid var(--border);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-family: var(--teasy-font-display);
  line-height: 1.2;
}

.feature-soon {
  opacity: 0.6;
  font-size: 0.65em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p {
  color: var(--fg-2);
  font-size: 15px;
}

.privacy-block {
  background: linear-gradient(180deg, rgba(10, 50, 53, 0.55), rgba(8, 46, 49, 0.5));
  border: 1px solid var(--border);
  border-radius: var(--squircle);
  padding: 44px;
  text-align: center;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--cyan);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.privacy-block h2 {
  font-size: clamp(30px, 4.6vw, 40px);
  margin-bottom: 10px;
}

.privacy-block p {
  color: var(--fg-2);
  max-width: 720px;
  margin-inline: auto;
}

.band {
  text-align: center;
  background: radial-gradient(620px 300px at 50% 0%, rgba(53, 224, 208, 0.2), transparent 62%);
}

.band h2 {
  font-size: clamp(30px, 5.7vw, 52px);
}

.band p {
  margin-top: 12px;
  color: var(--fg-2);
}

.cta-offset {
  margin-top: 24px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  color: var(--fg-mut);
  font-size: 14px;
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links {
  display: flex;
  gap: 22px;
}

.foot-links a:hover {
  color: var(--cyan);
}

/* Legal pages */
.legal-shell {
  max-width: 820px;
}

.legal {
  padding: 48px 0 72px;
}

.legal-shell h1,
.legal-shell h2 {
  font-family: var(--teasy-font-display);
}

.legal-shell h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 8px;
}

.legal-shell .updated {
  color: var(--fg-mut);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal-shell h2 {
  font-size: 22px;
  margin: 30px 0 10px;
  color: var(--hi);
}

.legal-shell p,
.legal-shell li {
  color: var(--fg-2);
  margin-bottom: 12px;
}

.legal-shell ul {
  padding-left: 22px;
}

.legal-note {
  background: rgba(18, 62, 64, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--fg-2);
}

.footer-link {
  margin-top: 24px;
}

.footer-link a:hover {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero-panel {
    order: 1;
  }
}

@media (max-width: 720px) {
  .brand-wordmark {
    height: 30px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .privacy-block {
    padding: 34px 24px;
  }

  .wrap {
    padding-inline: 18px;
  }
}
