/* index.css — Modern Green, White, and Yellow Premium Design System */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f4fbf7;
  --bg-tertiary: #e6f7ed;
  
  --primary-green: #10b981;
  --primary-dark: #047857;
  --accent-yellow: #f59e0b;
  --accent-yellow-light: #fef3c7;
  
  --text-primary: #064e3b;
  --text-secondary: #4b5563;
  --text-light: #9ca3af;
  
  --border-color: rgba(16, 185, 129, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(6, 78, 59, 0.06);
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input {
  font-family: inherit;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 5px;
}

/* Typography & Layout */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.highlight-green {
  color: var(--primary-green);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-green);
}

.nav-links a.active {
  font-weight: 600;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 2px;
}

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

/* Buttons */
.btn-login-outline {
  padding: 10px 20px;
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-green);
  background: transparent;
}

.btn-login-outline:hover {
  background: var(--primary-green);
  color: white;
}

.btn-register-solid {
  padding: 10px 22px;
  background: var(--primary-green);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-register-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 10% 20%, rgba(230, 247, 237, 0.4) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 160px 24px 100px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn-hero-primary {
  padding: 16px 32px;
  background: var(--primary-green);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

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

.btn-hero-secondary {
  padding: 16px 32px;
  background: var(--accent-yellow);
  color: white;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.btn-hero-secondary:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* App Mockup Screen */
.hero-visual {
  flex: 1;
}

.mockup-screen {
  background: #ffffff;
  border: 6px solid var(--text-primary);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(6, 78, 59, 0.15);
  overflow: hidden;
}

.mockup-header {
  background: var(--bg-tertiary);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: auto;
}

.mockup-body {
  display: flex;
  height: 300px;
}

.mockup-sidebar {
  width: 120px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bar-item {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.bar-item.active {
  background: var(--primary-green);
  color: white;
}

.mockup-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: auto;
}

.mockup-card {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-badge {
  background: var(--accent-yellow-light);
  color: #b45309;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-light);
}

.sync-status {
  color: var(--primary-green);
  font-weight: 600;
}

/* Features Grid */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

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

/* Download Center */
.download-center {
  background: var(--bg-primary);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.download-card {
  background: var(--bg-secondary);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.download-card.highlight-border {
  border: 2px solid var(--primary-green);
  background: radial-gradient(circle at top, #e6f7ed 0%, #ffffff 100%);
}

.os-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.version-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-tertiary);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 4px;
  margin: 12px 0;
}

.download-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-download {
  display: block;
  padding: 14px 28px;
  background: var(--primary-green);
  color: white;
  font-weight: 700;
  border-radius: 8px;
}

.btn-download:hover {
  background: var(--primary-dark);
}

.btn-download.btn-yellow {
  background: var(--accent-yellow);
}

.btn-download.btn-yellow:hover {
  background: #d97706;
}

/* Pricing Grid */
.pricing {
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.pricing-toggle span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.pricing-toggle span.active {
  color: var(--text-primary);
}

.badge-saving {
  background: var(--accent-yellow);
  color: white;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 4px;
}

/* Switch toggle element styling */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: var(--primary-green);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pricing-card {
  background: #ffffff;
  padding: 48px 36px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  border: 2px solid var(--accent-yellow);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-yellow);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.price-box .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-box .price-val {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 4px;
}

.price-box .period {
  color: var(--text-light);
}

.plan-desc {
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-features li {
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--bg-secondary);
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  font-weight: 700;
}

.btn-plan:hover {
  background: var(--primary-green);
  color: white;
}

.btn-plan.btn-yellow {
  background: var(--accent-yellow);
  color: white;
  border: none;
}

.btn-plan.btn-yellow:hover {
  background: #d97706;
}

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

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #ffffff;
}

.faq-answer p {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* Cookie Banner */
.cookie-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(8px);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1001;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.btn-cookie-accept {
  background: var(--accent-yellow);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-accept:hover {
  background: #d97706;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: #e6f7ed;
  padding: 80px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #a7f3d0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  color: white !important;
  transform: translateY(-3px);
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: #a7f3d0;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-yellow);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: #a7f3d0;
}

/* Info Strip */
.info-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 24px;
}

.strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.strip-item h3 {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.strip-item p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Status Dot */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-dot.green {
  background: var(--primary-green);
  box-shadow: 0 0 8px var(--primary-green);
}

/* Responsive Grid Adjustments */
@media (max-width: 968px) {
  .hero-container {
    flex-direction: column;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
