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

:root {
  --green:        #22c55e;
  --green-dark:   #16a34a;
  --green-glow:   rgba(34, 197, 94, 0.15);
  --green-subtle: rgba(34, 197, 94, 0.08);
  --bg:           #080808;
  --bg-card:      #101010;
  --bg-card2:     #161616;
  --bg-card3:     #1c1c1c;
  --border:       rgba(255,255,255,0.07);
  --border-med:   rgba(255,255,255,0.12);
  --text:         #f0f0f0;
  --text-muted:   #888;
  --text-dim:     #444;
  --radius:       20px;
  --radius-sm:    12px;
  --radius-xs:    8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn-small {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  background: var(--green);
  color: #000;
  letter-spacing: 0;
}
.btn-small:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: #000;
  width: 100%;
  font-size: 15px;
  font-weight: 700;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
  width: 100%;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.25); color: var(--text); background: var(--bg-card2); }

.app-store-btn { display: inline-block; }
.app-store-btn img { height: 50px; transition: opacity 0.2s; }
.app-store-btn:hover img { opacity: 0.8; }

/* ===========================
   NAV
=========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border-med);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
  50% { opacity: 0.6; box-shadow: 0 0 12px var(--green); }
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-title-accent {
  color: var(--green);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-dim);
}
.hero-meta-dot { color: var(--text-dim); }

/* PHONE FRAME */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 270px;
  height: 560px;
  background: #111;
  border-radius: 46px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 100px rgba(0,0,0,0.7),
    0 0 60px rgba(34,197,94,0.06);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 100px;
  z-index: 2;
}

.hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating cards */
.hero-float {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: float-bob 4s ease-in-out infinite;
}

.hero-float--1 {
  bottom: 80px;
  left: -30px;
  animation-delay: 0s;
}

.hero-float--2 {
  top: 100px;
  right: -20px;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  animation-delay: 2s;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-float-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-float-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
}

.hero-float-icon {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #000;
  font-weight: 800;
  flex-shrink: 0;
}

/* ===========================
   TICKER
=========================== */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--text-dim) !important;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   SECTION SHARED
=========================== */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.features .section-eyebrow { margin-bottom: 12px; }
.features .section-title   { margin-bottom: 12px; }
.features .section-subtitle{ margin-bottom: 64px; }

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Wide feature card (screenshot + text side by side) */
.feature-card--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card--wide:hover {
  border-color: var(--border-med);
  transform: translateY(-2px);
}

.feature-card--flip {
  direction: rtl;
}
.feature-card--flip > * { direction: ltr; }

.feature-card-content {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.feature-icon {
  font-size: 36px;
  line-height: 1;
}

.feature-card-content h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.feature-card-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 380px;
}

.feature-card-img {
  overflow: hidden;
  background: var(--bg-card2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 24px 0;
  border-left: 1px solid var(--border);
}

.feature-card--flip .feature-card-img {
  border-left: none;
  border-right: 1px solid var(--border);
}

.feature-card-img img {
  width: 100%;
  max-width: 220px;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* Small card row */
.feature-card-small-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card-small {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.feature-card-small:hover {
  border-color: var(--border-med);
  transform: translateY(-2px);
}

.feature-icon-sm {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card-small h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

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

/* ===========================
   SCREENSHOTS
=========================== */
.screenshots {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.screenshots .container {
  margin-bottom: 52px;
}

.screenshots .section-subtitle { margin-bottom: 0; }

.screenshot-scroll {
  overflow-x: auto;
  padding: 12px 24px 32px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.screenshot-scroll::-webkit-scrollbar { height: 3px; }
.screenshot-scroll::-webkit-scrollbar-track { background: transparent; }
.screenshot-scroll::-webkit-scrollbar-thumb { background: var(--border-med); border-radius: 4px; }

.screenshot-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}

.screenshot-phone {
  width: 200px;
  height: 420px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 2px solid var(--border-med);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-phone:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(34,197,94,0.2);
}

.screenshot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.screenshot-item span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ===========================
   PRICING
=========================== */
.pricing {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.pricing .section-eyebrow { margin-bottom: 12px; }
.pricing .section-title   { margin-bottom: 12px; }
.pricing .section-subtitle{ margin-bottom: 60px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  max-width: 700px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card--featured {
  border-color: rgba(34,197,94,0.4);
  background: linear-gradient(160deg, rgba(34,197,94,0.05) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.15), 0 20px 60px rgba(34,197,94,0.08);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-tier-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-yearly-note {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 28px;
}

.pricing-list {
  list-style: none;
  margin-bottom: 28px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pricing-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card:not(.pricing-card--featured) .pricing-list li::before {
  background-color: var(--bg-card3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.pricing-sub-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ===========================
   CTA
=========================== */
.cta {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

/* ===========================
   ANIMATIONS
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 64px 24px 80px;
    min-height: auto;
    gap: 56px;
  }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions  { justify-content: center; }
  .hero-visual   { order: -1; }
  .phone-frame   { width: 220px; height: 456px; }
  .hero-float--1 { bottom: 40px; left: -10px; }
  .hero-float--2 { top: 60px; right: 0; }

  .feature-card--wide {
    grid-template-columns: 1fr;
  }
  .feature-card-img {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--border);
    padding: 20px 20px 0;
    max-height: 200px;
    overflow: hidden;
  }
  .feature-card-img img { max-width: 160px; border-radius: 12px 12px 0 0; }
  .feature-card--flip { direction: ltr; }
  .feature-card-content { padding: 32px 28px; }

  .feature-card-small-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .feature-card-small-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .pricing-grid { max-width: 100%; }
}
