:root {
  --primary: #6335E0;
  --primary-light: #7c52ec;
  --primary-glow: rgba(99, 53, 224, 0.4);
  --primary-soft: rgba(99, 53, 224, 0.05);
  --secondary: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --border-light: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-soft);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-light);
  height: 70px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--secondary);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.logo-icon,
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.btn-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-lang:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
}

.hero-gradient-bg {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1000px;
  background: radial-gradient(circle at 50% 30%, rgba(99, 53, 224, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.badge-container {
  margin-bottom: 24px;
}

.badge {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(99, 53, 224, 0.1);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item i {
  color: #10b981;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

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

.step-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.step-icon-wrap {
  position: relative;
  margin-bottom: 24px;
}

.step-num {
  position: absolute;
  top: -10px;
  right: -0;
  font-size: 4rem;
  font-weight: 800;
  color: var(--bg-soft);
  z-index: 0;
  line-height: 1;
}

.step-card i {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-card p {
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-soft);
  border-color: var(--border-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Pricing */
.pricing-section {
  background-color: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
  z-index: 2;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.price-wrap {
  margin-bottom: 8px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.period {
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

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

.pricing-features i {
  color: var(--primary);
}

.pricing-features li.feature-unavailable {
  color: var(--text-muted);
  opacity: 0.7;
}

.pricing-features li.feature-unavailable i {
  color: var(--text-muted);
}

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

.pricing-footer {
  text-align: center;
  margin-top: 64px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Legal pages (privacy, terms, refund) */
.legal-page main h1 {
  margin-bottom: 12px;
}

.legal-page main .updated {
  margin-bottom: 32px;
}

.legal-page main p {
  margin-bottom: 20px;
}

.legal-page main section {
  margin-top: 64px;
}

.legal-page main section:first-of-type {
  margin-top: 56px;
}

.legal-page main section h2 {
  margin-bottom: 24px;
}

.legal-page main section ul {
  margin: 16px 0 24px 24px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Footer */
.footer {
  background: var(--bg-soft);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 24px;
}

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

.footer-support {
  margin-top: 20px;
}

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

.footer-email {
  font-size: 0.9375rem;
  color: var(--primary);
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 0.875rem;
  color: var(--secondary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.featured {
    transform: none;
  }

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

@media (max-width: 768px) {

  .desktop-nav,
  .hide-mobile {
    display: none;
  }

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

  .hero-cta {
    flex-direction: column;
    padding: 0 40px;
  }

  .steps-grid,
  .features-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

.hero-content {
  animation: fadeInDown 0.8s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps-grid .reveal-visible:nth-child(2) {
  transition-delay: 0.1s;
}

.steps-grid .reveal-visible:nth-child(3) {
  transition-delay: 0.2s;
}

.features-grid .reveal-visible:nth-child(2) {
  transition-delay: 0.1s;
}

.features-grid .reveal-visible:nth-child(3) {
  transition-delay: 0.2s;
}

.features-grid .reveal-visible:nth-child(4) {
  transition-delay: 0.3s;
}

.features-grid .reveal-visible:nth-child(5) {
  transition-delay: 0.4s;
}

.features-grid .reveal-visible:nth-child(6) {
  transition-delay: 0.5s;
}

.pricing-grid .reveal-visible:nth-child(2) {
  transition-delay: 0.1s;
}

.pricing-grid .reveal-visible:nth-child(3) {
  transition-delay: 0.2s;
}

.pricing-grid .reveal-visible:nth-child(4) {
  transition-delay: 0.3s;
}