/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a1f36;
  --navy-light: #252b48;
  --white: #ffffff;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --light-gray: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --green: #059669;
  --red: #dc2626;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

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

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 31, 54, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: 2px 6px;
  border-radius: 4px;
  transition: all var(--transition);
}

.lang-switcher a:hover,
.lang-switcher .lang-active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0f172a 100%);
  color: var(--white);
  padding: 160px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.0625rem;
}

.btn-full {
  width: 100%;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-light {
  background: var(--light-gray);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-sub {
  color: var(--gray-400);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* ===== Grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

/* ===== Problem Cards ===== */
.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.problem-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== Service Cards ===== */
.service-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}

.service-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-badge-alt {
  background: var(--green);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--gray-400);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.service-card ul {
  margin-bottom: 32px;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--gray-300);
  font-size: 0.9375rem;
}

.service-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.section-dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ===== Steps ===== */
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.step-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ===== Form ===== */
.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 10px;
}

.form-group select,
.form-group input[type="email"],
.form-group input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.form-group input::placeholder {
  color: var(--gray-500);
}

.required {
  color: var(--red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
}

.radio-label:hover,
.checkbox-label:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.radio-label input,
.checkbox-label input {
  accent-color: var(--accent);
}

.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid var(--green);
  color: #6ee7b7;
}

.form-message.error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid var(--red);
  color: #fca5a5;
}

/* ===== Pricing ===== */
.pricing-category {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  margin-top: 56px;
  color: var(--navy);
}

.pricing-category:first-of-type {
  margin-top: 0;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.savings {
  background: rgba(5, 150, 105, 0.1);
  color: var(--green);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8125rem;
}

.pricing-card ul {
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ===== Trust ===== */
.trust-block {
  padding-right: 40px;
}

.trust-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.trust-block p {
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.trust-item {
  background: var(--navy-light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}

.trust-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  color: var(--gray-400);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact {
  color: var(--accent);
  font-weight: 500;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8125rem;
}

/* ===== Chat Widget ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  transition: all var(--transition);
}

.chat-button:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.chat-tooltip {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.chat-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: var(--navy);
  transform: rotate(45deg);
}

.chat-widget:hover .chat-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .trust-block {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .price {
    font-size: 2.5rem;
  }

  .pricing-card {
    padding: 32px 24px;
  }
}