/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #f5f6f9;
  color: #1a1f2e;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* === VARIABLES === */
:root {
  --primary: #3366cc;
  --primary-fg: #fff;
  --bg: #f5f6f9;
  --bg-alt: #edf0f5;
  --card: #e8eaf0;
  --fg: #1a1f2e;
  --muted: #6b7280;
  --border: #dde1e8;
  --accent-bg: #dce4f5;
  --accent-fg: #2952a3;
  --radius: 0.75rem;
}

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 768px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-alt { background: var(--bg-alt); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.875rem; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s;
  text-align: center; justify-content: center;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: var(--card); color: var(--fg); }
.btn-secondary:hover { background: var(--border); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--card); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-block { display: block; width: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,246,249,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--fg); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-lang {
  padding: 0.375rem 0.75rem; border-radius: 0.5rem; border: none;
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
  background: transparent; cursor: pointer; transition: all 0.2s;
}
.btn-lang:hover { background: var(--card); color: var(--fg); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--fg); margin: 5px 0; transition: 0.3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-menu a { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.mobile-menu a:hover { color: var(--fg); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
}

/* === HERO === */
.hero { padding: 8rem 1.5rem 5rem; }
.badge {
  display: inline-block; padding: 0.375rem 1rem; border-radius: 50px;
  background: var(--accent-bg); color: var(--accent-fg);
  font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  line-height: 1.15; max-width: 800px; margin: 0 auto;
}
.hero-subtitle { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* === VIDEO MODAL === */
.video-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8); z-index: 1000;
  align-items: center; justify-content: center;
}
.video-overlay.open { display: flex; }
.video-modal {
  position: relative; width: 90%; max-width: 900px;
  background: #000; border-radius: var(--radius); overflow: hidden;
}
.video-close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer; z-index: 10;
}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; }
.video-container iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* === SECTIONS === */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.section-header p { margin-top: 1rem; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }

/* === FEATURES === */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-icon { font-size: 1.5rem; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; background: var(--accent-bg); border-radius: 0.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; position: relative;
}
.pricing-card.highlighted { border-color: var(--primary); background: var(--accent-bg); box-shadow: 0 8px 32px rgba(51,102,204,0.12); }
.popular-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--primary-fg); font-size: 0.75rem;
  font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 50px;
}
.pricing-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; }
.pricing-desc { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
.pricing-price { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; margin: 1.5rem 0; }
.price-period { font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.pricing-card ul { flex: 1; margin-bottom: 1.5rem; }
.pricing-card li { font-size: 0.875rem; padding: 0.375rem 0; color: var(--fg); }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; } }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.quote-icon { font-size: 1.5rem; color: rgba(51,102,204,0.3); margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-author strong { display: block; font-size: 0.875rem; }
.testimonial-author span { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; padding: 1rem 1.5rem; background: transparent; border: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.9375rem; font-weight: 600; color: var(--fg); cursor: pointer; text-align: left;
}
.faq-arrow { font-size: 0.75rem; transition: transform 0.3s; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s;
  padding: 0 1.5rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 200px; padding: 0 1.5rem 1rem; }
.faq-item.open { background: var(--card); }

/* === CONTACT === */
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; max-width: 600px; margin: 0 auto;
}
.contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-icon { font-size: 1.25rem; margin-top: 0.125rem; }
.contact-primary { font-weight: 500; }
.contact-secondary { font-size: 0.875rem; color: var(--muted); }
.contact-cta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.125rem; }
.footer-desc { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--fg); }
.footer-bottom { margin-top: 2.5rem; padding: 1.5rem 0; border-top: 1px solid var(--border); text-align: center; font-size: 0.75rem; color: var(--muted); }

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