@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #62c2c3;
  --primary-dark: #4fa2a3;
  --primary-light: #e8f7f7;
  --primary-ultra-light: #f0fafa;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f0fafa 50%, #e8f7f7 100%);
  --shadow-sm: 0 2px 8px rgba(98, 194, 195, 0.08);
  --shadow-md: 0 8px 24px rgba(98, 194, 195, 0.12);
  --shadow-lg: 0 16px 48px rgba(98, 194, 195, 0.15);
  --shadow-xl: 0 24px 64px rgba(98, 194, 195, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 100;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand.small .brand-logo {
  width: 48px;
  height: 48px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--primary);
  padding: 4px;
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  padding: 4px;
  gap: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--primary-ultra-light);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-ultra-light);
  box-shadow: var(--shadow-md);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(98, 194, 195, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-ultra-light);
  border-radius: 20px;
  border: 1px solid var(--primary-light);
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 17px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.hero-art {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.hero-card.soft {
  background: linear-gradient(135deg, var(--primary-ultra-light) 0%, var(--white) 100%);
}

.hero-card img {
  max-width: 200px;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.hero-card:hover img {
  transform: scale(1.05);
}

.hero-card-text h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.hero-card-text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 90px 0;
  position: relative;
}

.section.alt {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

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

.feature-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-ultra-light) 100%);
  color: var(--primary);
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 24px;
}

.image-stack img {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.image-stack img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.text-stack h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-stack p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 16px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.checklist li {
  padding-left: 32px;
  position: relative;
  font-weight: 600;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: absolute;
  left: 0;
  top: 2px;
}

/* ============================================
   STATS
   ============================================ */

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

.stat {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat span {
  display: block;
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

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

.footer-note {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-art {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col .image-stack {
    order: -1;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    /* Center align header for mobile */
    gap: 16px;
    padding: 14px 0;
  }

  .brand {
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    /* Center actions */
    gap: 12px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .hero-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    align-items: center;
  }

  /* Fix: Maintain the max-width 200px rule but ensure it adapts */
  .hero-card img {
    max-width: 160px;
    /* Slightly smaller for mobile but not tiny */
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92vw;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .lang-toggle {
    width: 100%;
    justify-content: center;
  }

  .brand-text {
    align-items: center;
  }

  .stat {
    padding: 24px;
  }
}