:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  padding: 6px 12px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.85rem;
}

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

/* Hero */
.hero {
  padding: 180px 0 100px;
  background: var(--gradient);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 16px;
}

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

section.alt {
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 40px;
  background: var(--light);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.7;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
  padding: 30px;
}

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

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step p {
  color: var(--gray);
}

/* CTA Section */
.cta-section {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

/* Footer */
footer {
  padding: 60px 0;
  background: var(--dark);
  color: white;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.pricing-card {
  padding: 40px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(99,102,241,0.1);
}

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

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 30px 0;
}

.pricing-card ul li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
  color: var(--gray);
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li::before {
  content: '✓ ';
  color: var(--secondary);
  font-weight: 700;
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-btn {
    display: block;
    margin: 10px auto;
    max-width: 300px;
  }
  
  .cta-btn.secondary {
    margin-left: auto;
  }
}

/* Language visibility */
[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

span[data-lang].active,
a[data-lang].active {
  display: inline;
}
