:root {
  --navy: #0b1c2d;
  --navy-2: #12263a;
  --accent: #3b82f6;
  --accent-soft: #60a5fa;
  --gold: #f59e0b;
  --teal: #14b8a6;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px -4px rgba(11, 28, 45, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(11, 28, 45, 0.12);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  z-index: 100;
  padding: 0.85rem 0;
}
.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray);
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }

/* Language switcher */
.lang-switch {
  display: flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-btn {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray);
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s;
}
.lang-btn.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  font-family: inherit;
}
.btn-primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 8px rgba(11,28,45,0.15);
}
.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: white;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* Hero */
.hero {
  margin-top: 64px;
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0b1c2d 0%, #12263a 50%, #0f2744 100%);
  color: white;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/hero.jpg') center/cover no-repeat;
  opacity: 0.35;
  mix-blend-mode: luminosity;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59,130,246,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4.5rem 0 4rem;
}
.hero-badge {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.3rem;
  color: rgba(255,255,255,0.9);
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
}
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Sections */
section { padding: 5rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.section-title p {
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.6rem 1.8rem 2.4rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: 0;
  transition: opacity 0.25s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.benefit-card:hover::before { opacity: 1; }
.benefit-card img {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}
.benefit-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.benefit-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Results */
.results { background: var(--bg); }
.results-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.chart-box {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.chart-box img { border-radius: 10px; }
.results-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.results-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.disclaimer {
  font-size: 0.8rem;
  color: var(--gray-light);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1.5rem;
  line-height: 1.55;
}

/* Pricing */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 2.6rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.toggle-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.2s;
  font-family: inherit;
}
.toggle-btn.active {
  background: white;
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.price-card {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2.1rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
.plan-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.price {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.5rem 0 0.35rem;
}
.price span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0;
}
.price-note {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.7rem;
}
.features {
  text-align: left;
  margin: 0 0 1.9rem;
  list-style: none;
}
.features li {
  padding: 0.48rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--navy-2);
}
.features li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #dcfce7;
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2316a34a'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.about-text h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.b2b-box {
  background: linear-gradient(160deg, var(--navy) 0%, #152a42 100%);
  color: white;
  border-radius: var(--radius);
  padding: 2.1rem;
  box-shadow: var(--shadow-lg);
}
.b2b-box h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.b2b-box ul { list-style: none; }
.b2b-box li {
  padding: 0.42rem 0;
  opacity: 0.9;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.b2b-box li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-soft);
  border-radius: 50%;
  flex-shrink: 0;
}
.b2b-box p {
  margin-top: 1.2rem;
  font-size: 0.87rem;
  opacity: 0.75;
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.8rem;
}
.footer-logo {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}
.footer-logo span { color: var(--accent-soft); }
.footer-desc {
  opacity: 0.7;
  font-size: 0.93rem;
  max-width: 280px;
  line-height: 1.55;
}
.footer-links strong {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.9;
}
.footer-links a {
  display: block;
  opacity: 0.65;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  opacity: 0.55;
  text-align: center;
}
.legal-disclaimer {
  max-width: 820px;
  margin: 1.3rem auto 0;
  font-size: 0.73rem;
  line-height: 1.55;
  opacity: 0.6;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 45, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: white;
  border-radius: 20px;
  width: min(440px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 1.85rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.modal .sub {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}
.close-btn {
  position: absolute;
  top: 1.05rem; right: 1.15rem;
  background: #f1f5f9;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn:hover { background: #e2e8f0; }

.selected-plan {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  margin-bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.selected-plan .label {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
}
.selected-plan .value {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}
.selected-plan .price-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: white;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy-2);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafbfc;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
  background: white;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  margin-bottom: 0.7rem;
  color: var(--gray);
}
.checkbox-group input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}
.form-actions { margin-top: 1.3rem; }
.form-actions .btn { width: 100%; padding: 0.82rem; border-radius: 12px; }

.captcha-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.captcha-box .captcha-question {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}
.captcha-box input {
  width: 80px;
  padding: 0.5rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  text-align: center;
}
.captcha-box input:focus {
  outline: none;
  border-color: var(--accent);
}

.success-msg {
  display: none;
  text-align: center;
  padding: 1rem 0 0.4rem;
}
.success-msg .icon {
  width: 54px;
  height: 54px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.5rem;
}
.success-msg h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.success-msg p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .results-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-right .btn-primary { display: none; }

  .hero { min-height: auto; }
  .hero-content { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero p { font-size: 1.02rem; }

  section { padding: 3.8rem 0; }
  .section-title { margin-bottom: 2.2rem; }

  .price { font-size: 2.7rem; }
  .modal { padding: 1.7rem 1.4rem; }
}

@media (max-width: 480px) {
  .lang-switch { font-size: 0.75rem; }
  .lang-btn { padding: 0.28rem 0.55rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.2rem 1.4rem;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.active { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 1rem;
}
