:root {
  --primary: #14253f;
  --primary-light: #1e3a5f;
  --secondary: #0B7A75;
  --secondary-light: #0d9e97;
  --background: #F0F3F5;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-light: #5a6170;
  --text-muted: #8b92a0;
  --error: #e14f62;
  --border: #dde1e6;
  --shadow-sm: 0 1px 3px rgba(20,37,63,.08);
  --shadow-md: 0 4px 16px rgba(20,37,63,.1);
  --shadow-lg: 0 8px 32px rgba(20,37,63,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Montserrat', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ─── HEADER ────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .header-logo-white { display: none; }
.site-header.scrolled .header-logo-dark  { display: block; }
.site-header:not(.scrolled) .header-logo-white { display: block; }
.site-header:not(.scrolled) .header-logo-dark  { display: none; }

.header-logo img { height: 36px; width: auto; }
.header-logo { display: flex; align-items: center; gap: 8px; }

.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .2s;
}
.site-header:not(.scrolled) .desktop-nav a { color: rgba(255,255,255,.85); }
.site-header:not(.scrolled) .desktop-nav a:hover { color: #fff; }
.site-header.scrolled .desktop-nav a { color: var(--text-light); }
.site-header.scrolled .desktop-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all .2s;
  cursor: pointer;
  background: none;
}
.site-header:not(.scrolled) .lang-switch { color: #fff; border-color: rgba(255,255,255,.3); }
.site-header.scrolled .lang-switch { color: var(--primary); border-color: var(--border); }
.lang-switch:hover { border-color: var(--secondary); color: var(--secondary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
  padding: 12px 28px;
}
.btn-primary:hover { background: var(--secondary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--secondary);
  padding: 11px 27px;
  border: 2px solid var(--secondary);
}
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn-white {
  background: #fff;
  color: var(--primary);
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  padding: 16px 36px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); }
.btn-link {
  background: none;
  padding: 12px 16px;
}
.btn-login {
  background: transparent;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
}
.btn-login:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.site-header.scrolled .btn-login {
  color: var(--primary);
  border-color: var(--primary);
}
.site-header.scrolled .btn-login:hover {
  background: var(--primary);
  color: #fff;
}
.mobile-nav .btn-login {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.mobile-nav .btn-login:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,.1);
}
.site-header:not(.scrolled) .btn-link { color: rgba(255,255,255,.85); }
.site-header:not(.scrolled) .btn-link:hover { color: #fff; }
.site-header.scrolled .btn-link { color: var(--text-light); }
.site-header.scrolled .btn-link:hover { color: var(--primary); }
.mobile-nav .btn-link { color: rgba(255,255,255,.8); }
.mobile-nav .btn-link:hover { color: #fff; }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  transition: all .3s;
}
.site-header:not(.scrolled) .mobile-menu-toggle span { background: #fff; }
.site-header.scrolled .mobile-menu-toggle span { background: var(--primary); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 80px 24px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 24px;
}
.mobile-nav a:hover { color: var(--secondary-light); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.mobile-nav-close:hover { color: #fff; }
.mobile-nav-divider {
  width: 40px;
  border: none;
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 4px 0;
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a3a5c 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(11,122,117,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-content { color: #fff; }
.hero-badge {
  display: inline-block;
  background: rgba(11,122,117,.25);
  color: var(--secondary-light);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-bullets {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}
.hero-bullets li::before {
  content: '';
  width: 24px; height: 24px;
  min-width: 24px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M3 7l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-microcopy {
  margin-top: 14px;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
}
.cta-microcopy {
  margin-top: 16px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .02em;
}
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

/* ─── SECTIONS ──────────────────────────────── */
section { padding: 100px 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--primary);
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ─── FEATURES ──────────────────────────────── */
.features { background: var(--background); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(11,122,117,.1), rgba(11,122,117,.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--secondary);
}
.feature-icon img { width: 32px; height: 32px; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ──────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.step-card { text-align: center; counter-increment: step; position: relative; }
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(11,122,117,.3);
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.step-card p {
  font-size: .9rem;
  color: var(--text-light);
  max-width: 300px;
  margin: 0 auto;
}
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--border);
}

/* ─── STATS ─────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 8px;
  color: var(--secondary-light);
}
.stat-item p {
  font-size: .95rem;
  color: rgba(255,255,255,.75);
}

/* ─── SHOWCASE (image + text) ───────────────── */
.showcase .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.showcase-content h2 {
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.15;
}
.showcase-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}
.showcase-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text);
}
.showcase-list li::before {
  content: '';
  width: 22px; height: 22px;
  min-width: 22px;
  margin-top: 2px;
  background: var(--secondary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── SECURITY ──────────────────────────────── */
.security { background: var(--background); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.security-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.security-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.security-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(20,37,63,.08), rgba(20,37,63,.03));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.security-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ──────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f0b429; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
}
.testimonial-role {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ─── FAQ ───────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--secondary);
  transition: transform .3s;
  min-width: 24px;
  text-align: center;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
}

/* ─── CTA SECTION ───────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  max-width: 520px;
  margin: 0 auto 40px;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta-content { text-align: left; }
.cta-content h2 { text-align: left; }
.cta-content p { margin-left: 0; }
.cta-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────── */
.site-footer {
  background: #0c1825;
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: .9rem;
  padding: 4px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--secondary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom a { margin-left: 24px; }
.footer-bottom a:hover { color: var(--secondary-light); }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1050px) {
  :root { --header-height: 64px; }
  .desktop-nav { display: none; }
  .header-actions { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 32px;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-bullets { align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 320px; width: auto; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .step-card:not(:last-child)::after { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase .container { grid-template-columns: 1fr; gap: 40px; }
  .showcase-image { order: -1; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-content { text-align: center; }
  .cta-content h2 { text-align: center; }
  .cta-content p { margin-left: auto; margin-right: auto; }
  .cta-buttons { justify-content: center; }
  .cta-image { order: -1; }
  .cta-image img { max-height: 280px; margin: 0 auto; }
  .security-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom a { margin-left: 0; margin-right: 16px; }
  section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .cta-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .btn-lg, .btn-white, .btn-ghost { padding: 14px 24px; font-size: .9rem; }
  .stat-item h3 { font-size: 2rem; }
}
