*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #faf9f7;
  color: #1a1a1a;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Page layout */
.page {
  min-height: 100vh;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-bottom: 3px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #1a1a1a;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #c77b2e;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #1a1a1a;
}

.lang-dropdown {
  position: relative;
  font-size: 12px;
  flex-shrink: 0;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: transparent;
  color: #888;
  font-weight: 500;
  font-size: 11px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-trigger:hover {
  color: #1a1a1a;
  border-color: #bbb;
}

.lang-caret {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 4px;
  min-width: 80px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
}

.lang-item:hover {
  background: #f5f3f0;
  color: #1a1a1a;
}

.lang-item.is-active {
  color: #1a1a1a;
  font-weight: 600;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #c77b2e;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-text {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

/* Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.card-subtitle {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.card .button {
  margin-top: auto;
}

.badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f5f3f0;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}

.badge.success {
  background: #e8f5e9;
  color: #2e7d32;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: #f4efe8;
  border: 1px solid #e7e1da;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #c77b2e;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Steps */
.steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 280px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.pricing-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: #c77b2e;
  box-shadow: 0 0 0 1px #c77b2e;
}

.price {
  font-size: 36px;
  font-weight: 700;
}

.price span {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}

.pricing-card ul {
  margin: 0;
  padding-left: 20px;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.pricing-card .button {
  margin-top: auto;
}

/* CTA */
.cta {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.cta p {
  margin: 0 0 32px;
  color: #aaa;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.button {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button.primary {
  background: #1a1a1a;
  color: #fff;
}

.button.primary:hover {
  background: #333;
}

.button.secondary {
  background: #f5f3f0;
  color: #1a1a1a;
}

.button.secondary:hover {
  background: #ebe8e4;
}

.button.ghost {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #ddd;
}

.button.ghost:hover {
  border-color: #bbb;
  background: #fafafa;
}

.button.disabled {
  background: #f5f3f0;
  color: #aaa;
  cursor: not-allowed;
}

.button.light {
  background: #fff;
  color: #1a1a1a;
}

.button.light:hover {
  background: #f5f5f5;
}

.button.ghost.light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.ghost.light:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid #eee;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: #666;
}

.footer-links a:hover {
  color: #1a1a1a;
}

.footer-note {
  color: #999;
  font-size: 13px;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive - Tablet */
@media (max-width: 960px) {
  .nav-inner {
    padding: 14px 20px;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    padding: 60px 20px 80px;
  }

  .section {
    padding: 60px 20px;
  }

  .cards {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .pricing-cards {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 10px;
  }

  .logo {
    order: 1;
    font-size: 16px;
  }

  .logo-icon {
    width: 18px;
    height: 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 12px;
    font-size: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .lang-dropdown {
    order: 2;
    margin-left: auto;
  }

  .lang-trigger {
    padding: 4px 8px;
    font-size: 10px;
  }

  .hero {
    padding: 40px 16px 50px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 15px;
  }

  .section {
    padding: 40px 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 32px 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
  .nav-links {
    justify-content: space-between;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
