/* Color Tokens & Reset */
:root {
  --bg-primary: #0E1310;
  --bg-secondary: #161E1A;
  --bg-card: rgba(22, 30, 26, 0.75);
  --text-main: #F1F5F9;
  --text-muted: #94A399;
  --primary: #1E4528;
  --primary-light: #81C784;
  --primary-hover: #2F663C;
  --primary-glow: rgba(129, 199, 132, 0.25);
  --accent: #10B981;
  --expense: #E11D48;
  --border-color: #243029;
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 30px rgba(129, 199, 132, 0.2);
}

.light {
  --bg-primary: #F9FAFB;
  --bg-secondary: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-main: #111827;
  --text-muted: #374151;
  --primary: #1E4528;
  --primary-light: #2F663C;
  --primary-hover: #16331E;
  --primary-glow: rgba(30, 69, 40, 0.15);
  --accent: #059669;
  --expense: #E11D48;
  --border-color: #E5E7EB;
  --glass-border: rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 10px 30px rgba(30, 69, 40, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

.text-gradient {
  background: linear-gradient(135deg, #81C784 0%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(129, 199, 132, 0.4);
}

.coming-soon-btn-wrapper {
  display: inline-flex;
}

.coming-soon-btn {
  position: relative;
  overflow: visible;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #F59E0B;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.light .coming-soon-badge {
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: #B45309;
}

.btn.disabled {
  opacity: 0.85;
  cursor: default;
}

.btn.disabled:hover {
  transform: none;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-icon {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-select {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-select-mobile {
  display: none;
}

.lang-select:hover {
  border-color: var(--primary-light);
}

.lang-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

.sun-icon { display: none; }
.light .sun-icon { display: block; }
.light .moon-icon { display: none; }

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

.light .navbar {
  background: rgba(248, 250, 252, 0.85);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

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

.nav-download-btn {
  padding: 10px;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  animation: slideDown 0.2s ease forwards;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light .mobile-nav-links a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--primary-glow);
  border: 1px solid rgba(129, 199, 132, 0.4);
  font-size: 0.875rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.highlight-item svg {
  color: var(--accent);
}

/* Unified Reusable Phone Mockup Component */
.phone-mockup {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #000000;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.1), var(--shadow-glow);
  overflow: hidden;
  margin: 0 auto;
}

/* Dynamic Island / Hardware Camera Notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 20px;
  background: #000000;
  border-radius: 10px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  display: block;
}

/* Section Common */
.section {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 199, 132, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(129, 199, 132, 0.12);
  border: 1px solid rgba(129, 199, 132, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.light .feature-icon {
  background: rgba(30, 69, 40, 0.08);
  border: 1px solid rgba(30, 69, 40, 0.15);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Advanced Reports Section */
.advanced-reports-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(129, 199, 132, 0.06) 0%, transparent 60%);
}

.advanced-reports-stage {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto;
}

.advanced-reports-visual {
  display: flex;
  justify-content: center;
}

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

.report-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.report-feature-item:hover {
  transform: translateX(6px);
  border-color: rgba(129, 199, 132, 0.4);
  box-shadow: 0 10px 30px -10px rgba(129, 199, 132, 0.15);
}

.report-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(129, 199, 132, 0.12);
  border: 1px solid rgba(129, 199, 132, 0.25);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.light .report-feature-icon {
  background: rgba(30, 69, 40, 0.08);
  border: 1px solid rgba(30, 69, 40, 0.15);
  color: var(--primary);
}

.report-feature-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.report-feature-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* App Showcase Tabs */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.showcase-stage {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-details {
  padding: 40px;
}

.showcase-details h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.showcase-details p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-main);

}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Calculator */
.calc-box {
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.calc-body {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.result-card {
  background: var(--bg-secondary);
  padding: 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.result-card.highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.result-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.result-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 16px 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.btn-full {
  width: 100%;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Download / CTA Section */
.cta-section {
  position: relative;
}

.cta-card {
  padding: 60px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 69, 40, 0.4) 0%, rgba(16, 185, 129, 0.15) 100%);
}

.cta-logo {
  margin-bottom: 20px;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 700px;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 280px;
}

.footer-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: right;
}

/* Responsiveness */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title { font-size: 2.25rem; }
  .hero-cta-group { justify-content: center; }
  .hero-highlights { align-items: center; }
  .advanced-reports-stage { grid-template-columns: 1fr; text-align: left; gap: 40px; }
  .showcase-stage { grid-template-columns: 1fr; text-align: center; }
  .calc-body { grid-template-columns: 1fr; }
  .nav-links.desktop-only { display: none; }
  .navbar .brand-name { display: none; }
  .lang-select-desktop { display: none; }
  .lang-select-mobile { display: inline-block; }
  .lang-select {
    padding: 2px 6px;
    font-size: 0.75rem;
    height: 28px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: block;
  }
  .nav-download-btn {
    padding: 8px;
    border-radius: 50%;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
  .footer-brand {
    max-width: 100%;
    align-items: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-copy {
    text-align: center;
  }
}

/* Privacy Policy Section */
.privacy-section {
  padding: 100px 0 60px;
}

.privacy-card {
  padding: 48px;
}

.privacy-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.back-link {
  display: inline-block;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.8;
}

.privacy-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.privacy-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.privacy-body {
  line-height: 1.7;
}

.privacy-intro {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--text-main);
}

.privacy-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary-light);
}

.privacy-body p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.privacy-body a {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .privacy-card {
    padding: 24px;
  }
  .privacy-title {
    font-size: 1.75rem;
  }
}

/* Embedded Form / Custom Contact Form */
.embedded-form-wrapper {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
}

.embedded-form-iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  display: block;
}

.custom-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin-top: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-actions {
  margin-top: 8px;
}

