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

:root {
  --primary: #14162F;
  --primary-mid: #1e2050;
  --primary-light: #0f2b87;
  --accent: #4FD664;
  --accent-dark: #3ab84f;
  --teal: #00CAA6;
  --blue: #258AFF;
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-dark: #eef1f8;
  --text: #14162F;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --header-h: 72px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: 'Montserrat', Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header { background: var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,.2); }
.nav { display: flex; align-items: center; height: var(--header-h); gap: 32px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 32px; width: auto; max-width: 160px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a { color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; padding: 4px; line-height: 1; order: 99; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropdown > a::after { content: '▾'; font-size: 10px; }
.dropdown-panel { position: absolute; top: 100%; left: 0; margin-top: 0; padding-top: 8px; display: none; min-width: 200px; z-index: 1000; }
.dropdown-panel-inner { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px 0; border: 1px solid rgba(0,0,0,.06); }
.dropdown-panel a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; transition: background .15s; }
.dropdown-panel a:hover { background: var(--surface); color: var(--primary-light); }
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }

/* LANG SWITCHER */
.lang-switcher { position: relative; }
.lang-switcher .lang-btn { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.lang-switcher .lang-btn:hover { background: rgba(255,255,255,.18); }
.lang-panel { position: absolute; top: 100%; right: 0; margin-top: 0; padding-top: 8px; display: none; min-width: 140px; z-index: 1001; }
.lang-panel-inner { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px 0; border: 1px solid rgba(0,0,0,.06); }
.lang-panel a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; transition: background .15s; white-space: nowrap; }
.lang-panel a:hover { background: var(--surface); }
.lang-panel a.active { color: var(--accent-dark); font-weight: 600; }
.lang-switcher:hover .lang-panel,
.lang-switcher:focus-within .lang-panel { display: block; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-lg); font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,214,100,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-cta { background: var(--accent); color: var(--primary); }
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0f2b87 60%, #1a3a9e 100%); color: var(--white); padding: var(--space-xl) 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/hero-bg.jpg') center/cover; opacity: .08; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(79,214,100,.2); color: var(--accent); border: 1px solid rgba(79,214,100,.4); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 32px; line-height: 1.6; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 12px; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.4); aspect-ratio: 4/3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* TRUST BAR */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--surface-dark); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.trust-item .icon { font-size: 22px; }

/* SECTION */
section { padding: var(--space-lg) 0; }
.section-label { font-size: 13px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.2; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; line-height: 1.7; }
.section-head { margin-bottom: 48px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--surface-dark); border-radius: var(--radius-md); padding: 28px; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--accent), var(--teal)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* SPLIT ROW */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.split-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* CHECKLIST */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-muted); }
.checklist li::before { content: '✓'; color: var(--accent-dark); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

/* STATS BAND */
.stats-band { background: var(--primary); color: var(--white); padding: var(--space-md) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 12px; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.pricing-card { background: var(--white); border: 2px solid var(--surface-dark); border-radius: var(--radius-lg); padding: 36px; position: relative; transition: box-shadow .2s; }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--accent); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--primary); padding: 4px 20px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-name { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--primary-light); line-height: 1; }
.pricing-price span { font-size: 18px; font-weight: 600; color: var(--text-muted); }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.pricing-billed { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-save { display: inline-block; background: rgba(79,214,100,.12); color: var(--accent-dark); border-radius: 4px; padding: 3px 10px; font-size: 12px; font-weight: 700; margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.pricing-features li::before { content: '✓'; color: var(--accent-dark); font-weight: 700; flex-shrink: 0; }
.pricing-guarantee { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 16px; }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--primary) 0%, #0f2b87 100%); color: var(--white); padding: var(--space-lg) 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.cta-wrap { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--surface-dark); border-radius: var(--radius-md); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--text); background: var(--white); }
.faq-q::after { content: '+'; font-size: 22px; color: var(--accent-dark); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding: 0 24px 20px; color: var(--text-muted); line-height: 1.7; background: var(--white); }
.faq-item.open .faq-a { display: block; }

/* PLATFORM GRID */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card { background: var(--white); border: 1px solid var(--surface-dark); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; transition: all .2s; }
.platform-card:hover { box-shadow: var(--shadow-card); border-color: var(--accent); transform: translateY(-2px); }
.platform-icon { font-size: 40px; margin-bottom: 12px; }
.platform-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.platform-card p { font-size: 13px; color: var(--text-muted); }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step-num { width: 60px; height: 60px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: var(--primary); margin: 0 auto 20px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* TESTIMONIALS */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--surface); border-radius: var(--radius-md); padding: 24px; }
.review-stars { color: #f59e0b; font-size: 18px; margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 700; color: var(--text); }

/* FOOTER */
.site-footer { background: var(--primary); color: rgba(255,255,255,.75); padding: var(--space-lg) 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { height: 28px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; }
.footer-lang a { font-size: 13px; color: rgba(255,255,255,.6); margin-left: 16px; }
.footer-lang a:hover { color: var(--white); }
.footer-lang a.active { color: var(--accent); font-weight: 600; }

/* PAGE HERO (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, #0f2b87 100%); color: var(--white); padding: 60px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto 28px; }

/* PROSE */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 24px 0 10px; }
.prose p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.prose ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.prose ul li { color: var(--text-muted); line-height: 1.7; }

/* CONTACT */
.contact-form { background: var(--white); border: 1px solid var(--surface-dark); border-radius: var(--radius-lg); padding: 40px; max-width: 600px; margin: 0 auto; box-shadow: var(--shadow-card); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid var(--surface-dark); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-dark); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* DOWNLOAD PAGE */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download-card { background: var(--white); border: 1px solid var(--surface-dark); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: all .2s; }
.download-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.download-icon { font-size: 52px; margin-bottom: 16px; }
.download-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.download-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* SECTION ALT */
.section-alt { background: var(--surface); }

/* IMAGE STRIP */
.image-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.image-strip-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.image-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  :root { --space-lg: 48px; --space-xl: 60px; }

  .nav { position: relative; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: center; height: auto; max-height: none; overflow: visible; background: var(--primary); box-shadow: 0 8px 16px rgba(0,0,0,.2); padding: 12px 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 14px 24px; font-size: 16px; color: rgba(255,255,255,.9); }
  .nav-links .dropdown { width: 100%; }
  .nav-links .dropdown > a { justify-content: center; }
  .nav-links .dropdown-panel { position: static; display: block; padding-top: 0; }
  .nav-links .dropdown-panel-inner { box-shadow: none; border: none; border-radius: 0; background: rgba(255,255,255,.05); }
  .nav-links .dropdown-panel a { color: rgba(255,255,255,.75); text-align: center; }
  .nav-links .lang-switcher { width: 100%; display: flex; justify-content: center; padding: 12px 0; }
  .nav-links .lang-switcher .lang-btn { background: rgba(255,255,255,.1); }
  .nav-links .lang-switcher .lang-panel { right: auto; left: 50%; transform: translateX(-50%); }
  .nav-links .lang-switcher .lang-panel-inner { min-width: 140px; }
  .nav { padding-right: 8px; }
  .nav-right { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-img { display: none; }
  .hero-inner > * { min-width: 0; }
  .hero-cta { display: flex !important; flex-direction: column; align-items: center; width: 100% !important; max-width: calc(100vw - 48px) !important; box-sizing: border-box; gap: 12px; }
  .hero-stats { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .split-row { grid-template-columns: 1fr; gap: 32px; }
  .split-row.reverse { direction: ltr; }
  .split-image { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .download-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .image-strip { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 24px; }

  .btn-cta, .cta-button { display: block; margin-left: auto; margin-right: auto; text-align: center; width: max-content; max-width: 90%; }
  .cta-wrap { display: flex; justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
}
