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

:root {
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-header: rgba(15, 23, 42, 0.92);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── HEADER ─────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  gap: 16px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:hover {
  color: var(--accent);
  background: rgba(56,189,248,0.08);
}

#langSwitcher {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
}

#langSwitcher:focus {
  border-color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV DRAWER ───────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px 5% 24px;
  gap: 4px;
  z-index: 999;
  animation: slideDown 0.2s ease;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(56,189,248,0.08);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 5%;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(56,189,248,0.12) 0%, transparent 70%);
}

.hero-text {
  flex: 1;
  max-width: 580px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 36px;
  max-width: 480px;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: clamp(180px, 28vw, 340px);
  filter: drop-shadow(0 0 40px rgba(56,189,248,0.25));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  padding: 13px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: 0.85; }

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(56,189,248,0.35);
}

.primary:hover {
  box-shadow: 0 8px 28px rgba(56,189,248,0.5);
}

.secondary {
  border: 2px solid rgba(56,189,248,0.5);
  background: rgba(56,189,248,0.06);
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.secondary:hover {
  border-color: var(--accent);
  background: rgba(56,189,248,0.12);
}

/* ─── STATS ───────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 60px 5%;
  background: linear-gradient(180deg, transparent, rgba(30,41,59,0.5));
}

.stat-box {
  background: var(--bg-card);
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.stat-box:hover {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-4px);
}

.stat-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ─── SECTION TITLE ───────────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── FEATURES ────────────────────────────────────────── */
.features {
  padding: 80px 5%;
  background: rgba(30,41,59,0.35);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #818cf8);
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover {
  border-color: rgba(56,189,248,0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── TESTIMONIALS ────────────────────────────────────── */
.testimonials {
  padding: 80px 5%;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-card);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-top: 12px;
}

.testimonial h4 {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ─── PRICING ─────────────────────────────────────────── */
.pricing {
  padding: 80px 5%;
  background: rgba(30,41,59,0.35);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
  border-color: rgba(56,189,248,0.35);
}

.price-card:last-child {
  border-color: rgba(56,189,248,0.4);
  background: linear-gradient(135deg, rgba(56,189,248,0.08), rgba(129,140,248,0.06));
  position: relative;
}

.price-card:last-child::after {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #818cf8);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.price-card h1 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.price-card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ─── FAQ ─────────────────────────────────────────────── */
.faq {
  padding: 80px 5%;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(56,189,248,0.25);
}

.faq-item h3 {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item h3::after {
  content: '+';
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── CONTACT ─────────────────────────────────────────── */
.contact {
  padding: 80px 5%;
  background: rgba(30,41,59,0.35);
}

.contact form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact input,
.contact textarea {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--text-muted);
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.12);
}

.contact textarea {
  height: 140px;
  resize: vertical;
  min-height: 100px;
}

.contact .btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 4px;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  padding: 32px 5%;
  text-align: center;
  background: #0b1120;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  nav { display: none; }

  /* Hero stacks vertically */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 5%;
    gap: 40px;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text p {
    max-width: 100%;
  }

  .buttons {
    justify-content: center;
  }

  .hero-image img {
    width: min(240px, 70vw);
  }

  /* Compact header on small screens */
  header {
    padding: 0 4%;
  }

  /* Stats: 1 per row on very small, 2+ on medium */
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 40px 4%;
  }

  .stat-box {
    padding: 24px 16px;
  }

  /* Features */
  .features,
  .testimonials,
  .pricing,
  .faq,
  .contact {
    padding: 60px 4%;
  }

  .section-title {
    margin-bottom: 32px;
  }

  /* Pricing single column */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* FAQ */
  .faq-list {
    max-width: 100%;
  }
}

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

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  header {
    height: 60px;
  }

  .mobile-nav {
    top: 60px;
  }
  }
  
