@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --primary: #1E293B;
  --secondary: #006E2F;
  --tertiary: #FACC15;
  --neutral: #64748B;
  --neutral-light: #F1F5F9;
  --neutral-dark: #0F172A;
  --white: #FFFFFF;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.08);

  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--neutral);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--primary);
  font-weight: 800;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.section-subtitle {
  max-width: 580px;
  margin: 16px auto 48px;
  font-size: 18px;
  line-height: 1.7;
}

/* --- Header --- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.main-header.scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.main-header.compact {
  padding: 12px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.logo {
  height: 32px;
  width: auto;
}

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

.language-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.language-picker-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral);
}

.language-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
}

.selector-caret {
  font-size: 12px;
  opacity: 0.8;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

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

.lang-option {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lang-option:hover,
.lang-option.active {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

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

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

.btn-primary:hover {
  background-color: #334155;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #008538;
}

.btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background-color: rgba(0, 110, 47, 0.1);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--primary);
  transition: all 0.2s ease, transform 0.2s ease;
}

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

/* --- Hero Section --- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-section h1,
.hero-section .section-subtitle {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-section h1 {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-section .section-subtitle {
  opacity: 0.9;
}

.hero-section .btn {
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-a {
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-glow-b {
  bottom: -80px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: var(--tertiary);
  opacity: 0.15;
}

/* --- Glance Section --- */
.glance-section {
  padding: 48px 0 16px;
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.glance-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glance-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.glance-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.glance-card p {
  font-size: 14px;
  line-height: 1.6;
}

.glance-card-sonai {
  border: 2px solid var(--secondary);
}

.glance-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--tertiary);
  color: var(--neutral-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.glance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--neutral-light);
  color: var(--neutral);
  margin-bottom: 14px;
}

.glance-icon .material-symbols-outlined {
  font-size: 22px;
}

.glance-icon-sonai {
  background: rgba(0, 110, 47, 0.1);
  color: var(--secondary);
}

@media (min-width: 860px) {
  .glance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- Comparison Section --- */
.comparison-section {
  background-color: var(--neutral-light);
  padding: 80px 0;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--white);
  text-align: left;
}

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

.comparison-table thead tr {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.comparison-table thead th {
  font-family: var(--font-headline);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.comparison-table thead th.col-sonai {
  color: var(--tertiary);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--neutral-light);
}

.comparison-table tbody tr:hover {
  background-color: rgba(0, 110, 47, 0.05);
}

.comparison-table tbody th {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

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

.comparison-table .col-sonai {
  background-color: rgba(0, 110, 47, 0.08);
  color: var(--secondary);
  font-weight: 700;
}

.comparison-table tbody tr:nth-child(even) .col-sonai {
  background-color: rgba(0, 110, 47, 0.12);
}

.row-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.cell-icon {
  display: block;
  margin: 0 auto 2px;
  font-size: 20px;
}

.cell-text {
  display: block;
  font-size: 13px;
}

.comparison-table td {
  text-align: center;
}

.icon-check {
  color: var(--secondary);
}

.icon-cross {
  color: #94a3b8;
}

.icon-warning {
  color: #f59e0b;
}

.price-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
}

.comparison-note {
  margin-top: 24px;
  font-weight: 600;
  color: var(--primary);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 72px 0;
  border-radius: 24px;
  margin: 64px auto;
  max-width: 1140px;
  box-shadow: var(--shadow-soft);
}

.cta-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: var(--secondary);
  opacity: 0.25;
  filter: blur(70px);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin: 16px auto 32px;
  max-width: 500px;
}

/* --- Footer --- */
.main-footer-bottom {
  padding: 48px 0;
  border-top: 1px solid var(--neutral-light);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo p {
  font-size: 14px;
  color: var(--neutral);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--neutral);
}

@media (max-width: 720px) {
  .header-actions {
    margin-left: auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-picker {
    min-width: 0;
  }

  .language-picker-label {
    display: none;
  }
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  .hero-section,
  .comparison-section {
    padding: 56px 0;
  }

  .cta-section {
    padding: 48px 0;
    margin: 40px auto;
  }

  .glance-section {
    padding: 32px 0 8px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  h2 {
    font-size: 28px;
  }

  .comparison-table {
    min-width: 460px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links a {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}