:root {
  --bg-main: #0a0c10;
  --bg-card: #12161f;
  --bg-card-hover: #181d28;
  --bg-input: #1a202c;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.4);
  
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-dim: rgba(16, 185, 129, 0.14);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.nav-container,
.hero-container,
.section-container,
.footer-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  color: var(--accent-emerald);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-accent {
  color: var(--accent-emerald-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-google-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-google-nav:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-emerald);
  color: #032514;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary-nav:hover {
  background: var(--accent-emerald-light);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 820px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

/* Ownership Callout Card */
.ownership-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: left;
}

.ownership-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ownership-text {
  font-size: 13px;
  color: #d1fae5;
  line-height: 1.45;
}

.ownership-text strong {
  color: #ffffff;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto 50px;
}

.btn-google-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #1f2937;
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.2s;
}

.btn-google-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn-hero-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-hero-demo:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mockup */
.mockup-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  background: #0f1218;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-address {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 10px;
}

.mockup-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-card {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
}

.mock-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mock-ex-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-prev-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-emerald-light);
  background: var(--accent-emerald-dim);
  padding: 3px 8px;
  border-radius: 4px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.mock-set-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 6px 8px;
  border-radius: 6px;
}

.mock-stepper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-rir {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 6px 10px;
  border-radius: 6px;
}

.mock-check {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-emerald);
  color: #032514;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.mock-timer-bar {
  background: linear-gradient(135deg, #131924 0%, #17231c 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mock-timer-digits {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.mock-timer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.mock-timer-status {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-emerald-light);
  letter-spacing: 0.6px;
}

.mock-timer-sound {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-timer-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
}

/* Sections General */
.splits-section,
.features-section,
.comparison-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-emerald-light);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Splits Grid */
.splits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.split-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s;
}

.split-card.highlight {
  border-color: var(--border-highlight);
  background: linear-gradient(180deg, #131b22 0%, #12161f 100%);
}

.split-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  background: var(--bg-input);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.split-badge.active {
  color: var(--accent-emerald-light);
  background: var(--accent-emerald-dim);
}

.split-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.split-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.45;
}

.split-features {
  list-style: none;
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}

.btn-split {
  display: block;
  text-align: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.split-card.highlight .btn-split {
  background: var(--accent-emerald);
  color: #032514;
  border-color: var(--accent-emerald);
}

.btn-split:hover {
  transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.comparison-table th {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #0f131a;
}

.comparison-table .col-highlight {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-emerald-light);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  background: #08090d;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: var(--accent-emerald-light);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.auth-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  background: var(--bg-input);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-emerald);
  color: #032514;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-step b {
  font-size: 13px;
  color: var(--text-primary);
  display: block;
}

.auth-step p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-modal-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--accent-emerald);
  color: #032514;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--radius-lg);
  margin-top: 18px;
}

/* Tablet and Desktop Responsiveness */
@media (min-width: 640px) {
  .hero-title {
    font-size: 46px;
    letter-spacing: -1.6px;
  }

  .hero-actions {
    flex-direction: row;
    max-width: none;
  }

  .splits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 54px;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Google Auth Profile Elements */
.user-nav-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px 10px 4px 6px;
  border-radius: 30px;
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-signout {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

.btn-signout:hover {
  color: #ef4444;
}

/* User Hero Card */
.user-hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
}

.user-hero-info {
  text-align: left;
}

.user-hero-welcome {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.user-hero-email {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-hero-launch {
  background: var(--accent-emerald);
  color: #032514;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-left: 10px;
  transition: all 0.2s;
}

.btn-hero-launch:hover {
  background: var(--accent-emerald-light);
  transform: translateY(-1px);
}

