:root {
  --primary: #6C63FF;
  --primary-dark: #4A42D8;
  --secondary: #FF6584;
  --bg: #0F0F1A;
  --bg-card: #1A1A2E;
  --bg-card2: #16213E;
  --text: #F0F0F0;
  --text-muted: #9090A8;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-logo span { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* MOCKUP STRIP */
.mockup-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 2rem 4rem;
  overflow: hidden;
}

.mockup-frame {
  width: 220px;
  aspect-ratio: 9/19.5;
  background: var(--bg-card);
  border-radius: 28px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup-frame:nth-child(even) { margin-top: 2.5rem; }

.mockup-inner {
  width: 88%;
  height: 88%;
  border-radius: 18px;
  background: var(--bg-card2);
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  gap: 0.6rem;
}

.mock-header {
  height: 8px;
  width: 55%;
  background: var(--primary);
  border-radius: 99px;
  opacity: 0.8;
}

.mock-sub {
  height: 5px;
  width: 35%;
  background: var(--text-muted);
  border-radius: 99px;
  opacity: 0.4;
}

.mock-card {
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mock-card-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.mock-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.mock-line { height: 4px; background: var(--text-muted); border-radius: 99px; opacity: 0.3; flex: 1; }
.mock-line.accent { background: var(--primary); opacity: 0.6; width: 40%; flex: none; }

.mock-tag {
  height: 14px;
  width: 50px;
  background: rgba(108,99,255,0.3);
  border-radius: 99px;
}

.mock-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-top: 0.3rem;
}

.mock-cal-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}

.mock-cal-cell.active { background: var(--primary); opacity: 0.7; }
.mock-cal-cell.today { background: var(--secondary); opacity: 0.8; }

/* SECTION */
section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 3rem;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-3px); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(108,99,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* TWO SIDES */
.two-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.side-card.pro { border-color: rgba(108,99,255,0.25); }
.side-card.consumer { border-color: rgba(255,101,132,0.25); }

.side-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.side-badge.pro { background: rgba(108,99,255,0.15); color: var(--primary); }
.side-badge.consumer { background: rgba(255,101,132,0.15); color: var(--secondary); }

.side-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.side-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--text-muted); }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.side-card.consumer .feature-list li::before { color: var(--secondary); }

/* STORES */
.stores-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(108,99,255,0.05), transparent);
}

.store-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all .2s;
  font-size: 0.95rem;
}

.store-btn:hover { border-color: var(--primary); color: var(--text); transform: translateY(-2px); }
.store-btn-icon { font-size: 1.6rem; }
.store-btn-text { text-align: left; line-height: 1.3; }
.store-btn-text small { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.store-btn-text strong { font-size: 1rem; font-weight: 700; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* LEGAL PAGES */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-page .legal-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 3rem; }
.legal-page h2 { font-size: 1.15rem; font-weight: 700; margin: 2.5rem 0 0.75rem; color: var(--primary); }
.legal-page p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-page ul { padding-left: 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.legal-page ul li { margin-bottom: 0.4rem; }
.legal-page a { color: var(--primary); }

/* SUPPORT */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.support-card .support-icon { font-size: 2rem; margin-bottom: 1rem; }
.support-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.support-card p { color: var(--text-muted); font-size: 0.9rem; }
.support-card a { display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .two-sides { grid-template-columns: 1fr; }
  .mockup-strip .mockup-frame:nth-child(n+4) { display: none; }
  nav .nav-links { display: none; }
  footer { justify-content: center; text-align: center; }
}
