﻿:root {
  --surface: rgba(14, 21, 25, 0.45);
  --surface-strong: rgba(14, 21, 25, 0.75);
  --surface-glass: rgba(18, 28, 33, 0.2);
  --text: #f0f6fc;
  --text-muted: #8b9eb5;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #0dfbb6;
  --brand-strong: #00e09e;
  --brand-muted: rgba(13, 251, 182, 0.15);
  --radius-xl: 32px;
  --radius-lg: 20px;
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.5;
  overflow: hidden;
  background-color: #070a0d;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(13, 251, 182, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(76, 114, 255, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 120%,
      rgba(13, 251, 182, 0.1) 0%,
      transparent 50%
    );
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

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

.page {
  width: min(1280px, calc(100% - 2rem));
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(0.5rem, 1vh, 1rem) 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: float 20s infinite ease-in-out alternate;
}

.ambient-a {
  width: 400px;
  height: 400px;
  background: var(--brand);
  left: -150px;
  top: -5%;
  animation-duration: 25s;
}

.ambient-b {
  width: 350px;
  height: 350px;
  background: #2f8fff;
  right: -100px;
  top: 20%;
  animation-duration: 28s;
  animation-delay: -5s;
}

.ambient-c {
  width: 300px;
  height: 300px;
  background: #ff5e98;
  right: 30%;
  bottom: -150px;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-top-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.58rem 0.78rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  font-weight: 700;
}

.brand img {
  width: clamp(32px, 4vw, 44px);
  height: clamp(32px, 4vw, 44px);
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  background: linear-gradient(118deg, #ffffff 0%, #a2b1c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-center-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-center-nav a,
.footer-center-nav .footer-link-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.38rem 0.52rem;
  transition: all 0.2s ease;
}

.footer-center-nav .footer-link-btn {
  font-family: inherit;
  background: transparent;
  cursor: pointer;
}

.footer-center-nav a:hover,
.footer-center-nav .footer-link-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.support-dialog {
  width: min(420px, calc(100% - 2rem));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(12, 18, 22, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.support-dialog::backdrop {
  background: rgba(3, 6, 9, 0.7);
}

.support-dialog-card {
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.support-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.support-dialog-head h2 {
  font-size: 1.05rem;
}

.support-close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.support-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.support-intro {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.support-contact {
  font-size: 0.9rem;
}

.support-contact strong {
  color: #dbe8f7;
}

.support-contact a {
  color: var(--brand);
}

.support-contact a:hover {
  text-decoration: underline;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.48rem 0.78rem;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #000;
  box-shadow: 0 4px 14px rgba(13, 251, 182, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.header-cta:hover,
.btn-primary:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 251, 182, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-single {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(0.55rem, 1vw, 0.9rem);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: clamp(0.2rem, 1vh, 0.4rem);
  padding: 0;
  min-height: 0;
}

.hero-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--brand);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #a2b1c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0;
  justify-content: center;
}

.glow-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.glow-btn:hover::after {
  opacity: 0.15;
  transform: scale(1);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s;
  margin-left: 0.3rem;
}
.glow-btn:hover .arrow {
  transform: translateX(4px);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(80px, 100px);
  gap: clamp(0.4rem, 1vw, 0.6rem);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.bento-card {
  position: relative;
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(0.6rem, 1.2vw, 1rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1rem;
}

/* Grid Spans */
.col-span-2 { grid-column: span 2; }
.col-span-1 { grid-column: span 1; }
.row-span-2 { grid-row: span 2; }
.row-span-1 { grid-row: span 1; }

.bento-header h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  margin-bottom: 0.3rem;
}
.bento-header p {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  line-height: 1.4;
}

.icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: auto;
}
.bento-icon {
  width: 18px;
  height: 18px;
}

.feature-privacy h3, .feature-chat h3 {
  font-size: 1.1rem;
}
.feature-privacy p, .feature-chat p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.row-flex {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.row-flex h3 {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}
.row-flex p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.bento-btn {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Phone specific styling within Bento */
.phone-display {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(14, 21, 25, 0.8) 0%, rgba(13, 251, 182, 0.05) 100%);
}

.phone-mockup-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin: -0.8rem -0.8rem -0.8rem 0;
}

.bento-phone {
  transform: rotate(-4deg) translateY(10px) scale(0.65);
  transform-origin: bottom right;
  width: 200px;
  box-shadow: -10px 10px 30px rgba(0,0,0,0.6);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-card:hover .bento-phone {
  transform: rotate(0deg) translateY(0) scale(0.65);
}

.phone-shell {
  align-self: center;
  width: min(220px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.52rem;
  background: linear-gradient(150deg, #18242a 0%, #0a1114 100%);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.45);
}

.phone-notch {
  width: 36%;
  height: 15px;
  margin: 0 auto 0.38rem;
  border-radius: 0 0 11px 11px;
  background: #000;
}

.phone-screen {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #0d1418;
  padding: 0.5rem;
  display: grid;
  gap: 0.42rem;
}

.mock-header {
  font-size: 0.66rem;
  font-weight: 800;
  color: #0d5f42;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mock-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--surface-strong);
  padding: 0.45rem;
  transition: transform 0.2s ease;
}
.mock-card:hover { transform: translateY(-2px); }

.mock-card.alt {
  background: var(--surface);
}

.mock-tag {
  width: fit-content;
  border-radius: 999px;
  background: var(--brand-muted);
  color: var(--brand);
  font-size: 0.56rem;
  font-weight: 800;
  padding: 0.13rem 0.35rem;
}

.mock-card h3 {
  margin-top: 0.4rem;
  font-size: 0.72rem;
}

.mock-card p {
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

.mock-input {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.34rem 0.44rem;
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  border: 1px solid var(--line);
  border-top-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 0.46rem 0.64rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  justify-self: start;
}

.footer-links {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.footer-links .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.social-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.68s cubic-bezier(0.2, 0.72, 0.25, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page {
    width: calc(100% - 1.2rem);
  }

  .hero-single {
    grid-template-columns: 1fr;
  }

  .hero-side {
    display: none;
  }

  .hero-copy h1 {
    max-width: 15ch;
  }
}

@media (max-width: 640px) {
  .page {
    width: calc(100% - 0.8rem);
    padding: 0.45rem 0;
    gap: 0.45rem;
  }

  .site-header {
    padding: 0.48rem 0.58rem;
  }

  .header-cta {
    font-size: 0.72rem;
    padding: 0.4rem 0.58rem;
  }

  .hero-copy {
    padding: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.2rem, 7vw, 1.65rem);
    max-width: none;
  }

  .lead {
    font-size: 0.77rem;
  }

  .hero-actions .btn {
    font-size: 0.72rem;
    padding: 0.42rem 0.62rem;
  }

  .signal-chip:nth-child(n + 3) {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0.42rem 0.56rem;
  }

  .site-footer p,
  .footer-center-nav a,
  .footer-center-nav .footer-link-btn,
  .footer-links a {
    font-size: 0.68rem;
  }

  .site-footer p,
  .footer-center-nav,
  .footer-links {
    justify-self: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icon,
  .social-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .header-cta {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}
