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

:root {
  --bg: #0F172A;
  --bg2: #1E293B;
  --bg3: #0B1120;
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --blue: #3B82F6;
  --blue-dark: #1D4ED8;
  --blue-deeper: #1E3A8A;
  --green: #059669;
  --red: #E11D48;
  --purple: #7C3AED;
  --border: #1E293B;
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: #2563EB; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255,255,255,0.08); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-right: auto;
}
.logo-pr { color: var(--blue); }
.logo-dot { color: var(--text-dim); font-weight: 300; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-proof {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0;
}

/* ===== SECTIONS ===== */
section { padding: 64px 0; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}

/* ===== WHO IT'S FOR ===== */
.for-section { background: var(--bg3); }
.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.for-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.for-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }
.for-icon { font-size: 28px; margin-bottom: 14px; }
.for-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.for-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== ROOMS ===== */
.features { background: var(--bg); }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.room-card {
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s;
}
.room-card:hover { transform: translateY(-3px); }
.room-blue { background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 100%); }
.room-red { background: linear-gradient(135deg, #9F1239 0%, #E11D48 100%); }
.room-green { background: linear-gradient(135deg, #065F46 0%, #059669 100%); }
.room-purple { background: linear-gradient(135deg, #4C1D95 0%, #7C3AED 100%); }
.room-icon { font-size: 32px; margin-bottom: 12px; }
.room-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
}
.room-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.room-card p { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.room-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.room-features li { color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; }
.room-features li::before { content: "✓ "; opacity: 0.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg3); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.step { flex: 1; min-width: 200px; }
.step-num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.step-arrow { font-size: 28px; color: var(--text-dim); padding-top: 12px; flex-shrink: 0; }

/* ===== PRICING ===== */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid-4 { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-featured {
  background: linear-gradient(160deg, #1E3A8A 0%, #1D4ED8 100%);
  border-color: rgba(59,130,246,0.5);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 10px; }
.pricing-featured .plan-name { color: rgba(255,255,255,0.7); }
.plan-price { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin-bottom: 8px; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.pricing-featured .plan-price span { color: rgba(255,255,255,0.6); }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.pricing-featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text-muted); }
.pricing-featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan-gen-badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.plan-gen-featured {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.pricing-annual {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
.pricing-annual a {
  color: var(--blue);
  font-weight: 600;
}
.pricing-annual a:hover { text-decoration: underline; }

/* ===== FAQ ===== */
.faq { background: var(--bg3); }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.faq-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 60%, #7C3AED 100%);
  text-align: center;
  padding: 64px 24px;
}
.cta-section h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 40px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a { color: var(--text-dim); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-dim); font-size: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 72px 24px 60px; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .pricing-featured { transform: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin-left: 0; }
}

/* ===== SCREENSHOT SECTION ===== */
.screenshot-section {
  padding: 48px 0 56px;
  background: var(--bg3);
  text-align: center;
  overflow: hidden;
}

.screenshot-section .section-sub {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.phone-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 340px;
  background: #0a0a0f;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px #2a2a3a,
    0 0 0 4px #1a1a2a,
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(99,102,241,0.15);
}

.phone-notch {
  width: 90px;
  height: 24px;
  background: #0a0a0f;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0F172A;
  aspect-ratio: 9 / 19.5;
  width: 100%;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
}

@media (max-width: 600px) {
  .phone-frame { width: 260px; }
  .phone-screen { height: 500px; }
}

/* ===== PRICING GUARANTEE ===== */
.pricing-guarantee {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 32px;
  padding: 14px 24px;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 12px;
  background: rgba(99,102,241,0.05);
  display: inline-block;
}
.pricing > .container { text-align: center; }
.pricing .section-title, .pricing .section-label { text-align: center; }

/* Hero tagline and CTA note */
.hero-tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero-cta-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 8px;
  margin-bottom: 2px;
}

/* Hero competitive line */
.hero-competitive {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.hero-competitive strong {
  color: var(--text);
}

/* ===== DEVICE SHOWCASE ===== */
.device-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.desktop-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 2;
  max-width: 680px;
}

.mobile-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 320px;
}

.device-label {
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Desktop browser frame */
.desktop-frame {
  background: #0a0a0f;
  border-radius: 10px;
  border: 1px solid #2a2a3a;
  box-shadow:
    0 0 0 1px #1a1a2a,
    0 30px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(99,102,241,0.1);
  overflow: hidden;
  width: 100%;
}

.desktop-bar {
  background: #111827;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #1f2937;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.desktop-screenshot {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .desktop-frame { width: 100%; max-width: 500px; }
  .device-showcase { gap: 32px; }
}

@media (max-width: 600px) {
  .desktop-showcase { display: none; }
}

/* ===== DEVICE TAG ===== */
.device-tag {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: block;
  width: 100%;
}

/* ===== DESKTOP PREVIEW ===== */
.desktop-section {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

.desktop-preview-frame {
  background: #0a0a0f;
  border-radius: 10px;
  border: 2px solid #334155;
  box-shadow:
    0 0 0 1px #1e293b,
    0 24px 60px rgba(0,0,0,0.6),
    0 0 0 6px rgba(51,65,85,0.4),
    0 0 50px rgba(99,102,241,0.12);
  overflow: hidden;
}

.desktop-preview-bar {
  background: #111827;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #1f2937;
}

.desktop-preview-img {
  width: 100%;
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== RESPONSIVE DESKTOP SCREENSHOT ===== */
@media (max-width: 600px) {
  .desktop-section { padding: 0 8px; }
  .desktop-preview-bar { padding: 6px 10px; }
  .dot { width: 8px; height: 8px; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  user-select: none;
}

.nav-dropdown-trigger:hover { color: var(--text); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--text);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 12px 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}

/* ===== INTRO PRICE BADGE ===== */
.intro-badge {
  display: inline-block;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #A78BFA;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.intro-badge-featured {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.5);
  color: #C4B5FD;
}
