/* ===== CSS Variables ===== */
:root {
  /* Warm color palette */
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --secondary: #0891B2;
  --secondary-light: #22D3EE;
  --cta: #EA580C;
  --cta-hover: #C2410C;
  --bg-warm: #FFFBEB;
  --bg-light: #FEF3C7;
  --text-dark: #78350F;
  --text-muted: #92400E;
  --success: #059669;
  --border: #FDE68A;
  --white: #FFFFFF;

  /* Spacing */
  --container-max: 1280px;
  --section-padding: 4rem;
  --section-padding-lg: 6rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  opacity: 0.9;
}

.btn-outline {
  background: var(--bg-light);
  color: var(--text-dark);
}

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

.btn-text {
  color: var(--text-muted);
}

.btn-text:hover {
  opacity: 0.8;
}

.btn-white {
  background: var(--white);
  color: var(--cta);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 0.75rem;
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--primary);
  margin-left: 0.25rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: opacity var(--transition);
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: opacity var(--transition);
}

.lang-toggle:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  color: var(--text-muted);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

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

.mobile-menu a {
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-menu-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

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

  .nav-actions {
    display: flex;
  }

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero-bg-circle-1 {
  top: 5rem;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: var(--primary);
  opacity: 0.3;
}

.hero-bg-circle-2 {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: var(--secondary);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary-dark);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-badge svg {
  color: var(--cta);
}

.hero-title {
  margin-bottom: 1rem;
}

.hero-title-main {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-title-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-description {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-visual {
  max-width: 64rem;
  margin: 4rem auto 0;
  padding: 0 1rem;
}

.hero-visual-inner {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.1;
}

.hero-visual-icon {
  position: relative;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 1rem;
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
  margin-bottom: 1rem;
}

.hero-visual p {
  position: relative;
  font-weight: 500;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .hero-cta .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 6rem;
  }

  .hero-title-main {
    font-size: 3.75rem;
  }

  .hero-title-sub {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 4rem;
  }

  .stat-value {
    font-size: 2.25rem;
  }
}

/* ===== Section Common ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-badge-cyan {
  background: rgba(8, 145, 178, 0.2);
  color: var(--secondary);
}

.section-badge-orange {
  background: rgba(234, 88, 12, 0.2);
  color: var(--cta);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ===== Features Section ===== */
.features {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 1rem;
  transition: all var(--transition-slow);
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card-highlight {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.03);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition);
}

.feature-icon-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.feature-icon-secondary {
  background: linear-gradient(135deg, var(--secondary), #0E7490);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .features {
    padding: var(--section-padding-lg) 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Use Cases Section ===== */
.use-cases {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.use-case-card {
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 1rem;
  transition: all var(--transition-slow);
}

.use-case-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.use-case-card:hover .use-case-icon {
  transform: scale(1.1);
}

.use-case-visual {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-warm), var(--bg-light));
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.use-case-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  border-radius: 1rem;
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
  transition: transform var(--transition);
}

.use-case-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.use-case-card p {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .use-cases {
    padding: var(--section-padding-lg) 0;
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Pricing Section ===== */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 1rem;
  transition: all var(--transition-slow);
}

.pricing-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card-popular {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.popular-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pricing-price {
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.price-unit {
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-features li::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23059669'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .pricing {
    padding: var(--section-padding-lg) 0;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .pricing-card-popular {
    transform: scale(1.05);
  }
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg-circle {
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.1;
}

.cta-bg-circle-1 {
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
}

.cta-bg-circle-2 {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 12rem;
  height: 12rem;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-icon {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.cta-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-section {
    padding: var(--section-padding-lg) 0;
  }

  .cta-section h2 {
    font-size: 2.25rem;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.footer-contact h4,
.footer-lang h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

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