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

:root {
  --bg: #f7f7f9;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --border: #e6e6ec;
  --border-hover: #d4d4dd;
  --text: #0a0a0f;
  --text-secondary: #52525b;
  --text-muted: #8a8a96;
  --accent: #0052ff;
  --accent-hover: #0040cc;
  --accent-subtle: rgba(0, 82, 255, 0.08);
  --nav-bg: rgba(247, 247, 249, 0.8);
  --mobile-nav-bg: rgba(247, 247, 249, 0.97);
  --hover: rgba(0, 0, 0, 0.04);
  --hover-subtle: rgba(0, 0, 0, 0.025);
  --shadow-menu: 0 20px 60px rgba(0, 0, 0, 0.12);
  --logo-filter: none;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07070a;
    --bg-card: #111115;
    --bg-elevated: #18181d;
    --border: #1f1f26;
    --border-hover: #2e2e38;
    --text: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #63637a;
    --accent-hover: #2970ff;
    --accent-subtle: rgba(0, 82, 255, 0.12);
    --nav-bg: rgba(7, 7, 10, 0.82);
    --mobile-nav-bg: rgba(7, 7, 10, 0.96);
    --hover: rgba(255, 255, 255, 0.05);
    --hover-subtle: rgba(255, 255, 255, 0.03);
    --shadow-menu: 0 20px 60px rgba(0, 0, 0, 0.5);
    --logo-filter: brightness(0) invert(1);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #07070a;
  --bg-card: #111115;
  --bg-elevated: #18181d;
  --border: #1f1f26;
  --border-hover: #2e2e38;
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #63637a;
  --accent-hover: #2970ff;
  --accent-subtle: rgba(0, 82, 255, 0.12);
  --nav-bg: rgba(7, 7, 10, 0.82);
  --mobile-nav-bg: rgba(7, 7, 10, 0.96);
  --hover: rgba(255, 255, 255, 0.05);
  --hover-subtle: rgba(255, 255, 255, 0.03);
  --shadow-menu: 0 20px 60px rgba(0, 0, 0, 0.5);
  --logo-filter: brightness(0) invert(1);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

main section[id] {
  scroll-margin-top: 84px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0.75rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo img {
  height: 30px;
  width: auto;
  filter: var(--logo-filter);
}

.logo-full {
  display: block;
}

.logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex: 1;
  margin-left: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 200ms var(--ease);
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
}

.language-selector {
  position: relative;
  margin: 0 0.75rem 0 1rem;
}

.language-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
  white-space: nowrap;
}

.language-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-secondary);
}

#current-lang-flag {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
}

#current-lang {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
}

.language-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}

.language-toggle.active svg:last-child {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-menu);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  z-index: 1001;
  overflow: hidden;
}

.language-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: background 120ms var(--ease), color 120ms var(--ease);
  text-align: left;
}

.lang-option:hover {
  background: var(--hover);
  color: var(--text);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-option .flag {
  font-size: 1.1rem;
  min-width: 22px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 120ms var(--ease), box-shadow 200ms var(--ease);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(0, 82, 255, 0.25);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 120ms var(--ease);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--hover);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-nav {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 120ms var(--ease);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--accent-hover);
}

.btn-nav:active {
  transform: scale(0.97);
}

.btn-cta {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms var(--ease), opacity 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta:hover {
  opacity: 0.93;
}

.btn-cta:active {
  transform: scale(0.97);
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color 200ms var(--ease), color 200ms var(--ease), transform 120ms var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle .icon-sun {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  transition: opacity 200ms var(--ease);
}

.mobile-menu-btn:hover {
  opacity: 0.7;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  padding: 0.75rem 0;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 12px 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  transition: color 150ms var(--ease), background 150ms var(--ease), border-color 150ms var(--ease);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text);
  background: var(--hover-subtle);
  border-left-color: var(--accent);
}

.mobile-nav-divider {
  display: none;
}

.mobile-theme-toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms var(--ease), background 150ms var(--ease);
  text-align: left;
}

.mobile-theme-toggle:hover {
  color: var(--text);
  background: var(--hover-subtle);
}

.mobile-theme-toggle .icon-sun {
  display: none;
}

.mobile-theme-toggle svg {
  flex-shrink: 0;
}

.mobile-language-section {
  display: none;
  padding: 0.25rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.mobile-language-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 150ms var(--ease);
  text-align: left;
}

.mobile-language-toggle:hover {
  color: var(--text);
}

.mobile-language-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}

.mobile-language-toggle.active svg {
  transform: rotate(180deg);
}

#mobile-current-lang-flag {
  font-size: 1rem;
  line-height: 1;
}

#mobile-current-lang {
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mobile-language-menu {
  display: none;
  flex-direction: column;
}

.mobile-language-menu.active {
  display: flex;
}

.mobile-lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 10px 24px 10px 44px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 150ms var(--ease), background 150ms var(--ease);
  text-align: left;
}

.mobile-lang-option:hover {
  color: var(--text);
  background: var(--hover-subtle);
}

.mobile-lang-option.active {
  color: var(--accent);
  font-weight: 600;
}

.mobile-lang-option .flag {
  font-size: 1.1rem;
  min-width: 22px;
}

.btn-mobile-cta {
  display: none;
  width: calc(100% - 48px);
  margin: 0.75rem 24px;
}

.hero {
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 480px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #4d8bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: var(--radius-lg);
}

.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trust-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.trust-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
}

.trust-stars svg {
  width: 22px;
  height: 22px;
  color: #f59e0b;
  flex-shrink: 0;
}

.benefits {
  padding: 96px 0 80px;
}

.benefits h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.benefits .subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: border-color 250ms var(--ease), background 250ms var(--ease), transform 250ms var(--ease);
}

.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.benefit-card:nth-child(1),
.benefit-card:nth-child(4),
.benefit-card:nth-child(5) {
  grid-column: span 2;
}

.benefit-icon {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefit-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  line-height: 1.4;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.875rem;
}

.faq {
  padding: 80px 0;
}

.faq h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.faq .subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 200ms var(--ease);
  text-align: left;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 250ms var(--ease);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease), opacity 250ms var(--ease);
  opacity: 0;
}

.faq-answer.active {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

.cta {
  padding: 80px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #0040cc 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  overflow: hidden;
  position: relative;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-text p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.cta-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-content img {
  height: 26px;
  width: auto;
  filter: var(--logo-filter);
  opacity: 0.8;
}

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

  .language-selector {
    display: none !important;
  }

  .theme-toggle {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-theme-toggle {
    display: flex;
  }

  .mobile-nav-divider {
    display: block;
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
  }

  .mobile-language-section {
    display: block;
  }

  .btn-mobile-cta {
    display: block;
  }

  .hero {
    padding: 100px 0 56px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: 40px;
    right: -80px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons button {
    width: 100%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card:nth-child(1),
  .benefit-card:nth-child(4),
  .benefit-card:nth-child(5) {
    grid-column: span 1;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .trust-value {
    font-size: 1.2rem;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .cta-text h2 {
    font-size: 2rem;
  }

  .cta-image {
    display: none;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 88px 0 44px;
  }

  .hero-text h1 {
    font-size: 1.85rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .benefits,
  .faq,
  .cta {
    padding: 64px 0;
  }

  .benefits h2,
  .faq h2 {
    font-size: 1.75rem;
  }

  .trust-bar {
    padding: 32px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-label {
    font-size: 0.7rem;
  }

  .trust-value {
    font-size: 1.05rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1rem 0;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-inner {
    padding: 2rem;
  }

  .cta-text h2 {
    font-size: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
