/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #4ade80;
  --green-bg: #f0fdf4;
  --green-glow: rgba(34, 197, 94, 0.25);
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--green); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-dark);
  background: var(--green-bg);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 640px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--slate-900); }

.nav-cta {
  background: var(--slate-900);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--slate-800);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  gap: 5px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--slate-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: #fff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}
.btn-secondary:hover {
  border-color: var(--slate-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 280px;
  height: 280px;
  border-radius: 48px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px var(--green-glow);
  position: relative;
}

.hero-logo img {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
}

.hero-logo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 56px;
  border: 2px solid rgba(34, 197, 94, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.5; }
}

.hero-stat {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.hero-stat .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-stat-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}
.hero-stat-2 {
  bottom: 15%;
  left: -10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-dark);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ===== Auth Methods ===== */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.method-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.method-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
}

.method-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.method-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.method-card p {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ===== Screenshots / How It Works ===== */
.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.screenshot-card {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.screenshot-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--slate-100);
}

.screenshot-card .caption {
  padding: 20px 0px;
  border-top: 1px solid var(--slate-100);
}

.screenshot-card .caption h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.screenshot-card .caption p {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ===== Video ===== */
.video-wrapper {
  margin-top: 48px;
  position: relative;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.video-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--slate-200);
  transition: all 0.3s;
  background: #fff;
}

.video-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--green);
  transform: translateY(-2px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-900);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.video-card:hover .video-play-btn {
  background: var(--green);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  margin-left: 4px;
}

.video-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: var(--slate-500);
  font-size: 0.9rem;
  border-top: 1px solid var(--slate-200);
}

.video-info svg {
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ===== Target Audience ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.audience-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.audience-card:hover {
  border-color: var(--green);
  background: var(--green-bg);
}

.audience-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
}

.audience-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.audience-card p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ===== Privacy ===== */
.privacy-box {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.privacy-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.privacy-box p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-subtitle {
  color: var(--slate-400);
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 48px 0 32px;
}

footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

footer h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

footer p, footer a {
  font-size: 0.85rem;
  line-height: 1.8;
}

footer a {
  display: block;
  color: var(--slate-400);
}
footer a:hover { color: var(--green); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  margin-top: 24px;
  font-size: 0.8rem;
  text-align: center;
}

/* ===== Go to Top Button ===== */
.go-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--slate-900);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
}

.go-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.go-to-top:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 24px var(--green-glow);
  transform: translateY(-2px);
}

.go-to-top:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .go-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero::before, .hero::after { display: none; }

  .hero-stat-1 { right: 0; }
  .hero-stat-2 { left: 0; }

  .screenshots-grid { grid-template-columns: 1fr; }

  .privacy-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .privacy-icon { margin: 0 auto; }

  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
  }

  .hero { padding: 120px 0 60px; }
  .section { padding: 60px 0; }
  .hero-logo { width: 200px; height: 200px; }
  .hero-logo img { width: 130px; height: 130px; border-radius: 26px; }
}
