:root {
  /* Fonts */
  --font-primary: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Color Palette - Vibrant Gradients */
  --color-primary-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-accent: #ec4899;
  --color-dark-bg: #030712;
  
  /* Glassmorphism Design Tokens */
  --glass-bg: rgba(15, 15, 25, 0.45);
  --glass-bg-hover: rgba(25, 25, 40, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.4);
  --glass-blur: blur(20px) saturate(180%);
  
  /* Light Glassmorphism Tokens (for some content readability) */
  --light-glass-bg: rgba(255, 255, 255, 0.05);
  --light-glass-bg-hover: rgba(255, 255, 255, 0.1);
  --light-glass-border: rgba(255, 255, 255, 0.1);
  
  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-highlight: #f472b6;
  
  /* Dimensions & Spacing */
  --border-radius-xl: 32px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-dark-bg);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.25;
  pointer-events: none;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: #6366f1;
  top: -100px;
  left: -150px;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: #ec4899;
  top: 400px;
  right: -200px;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: #a855f7;
  bottom: 200px;
  left: 10%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Glass Panels */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary-grad);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--light-glass-bg);
  border: 1px solid var(--light-glass-border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--light-glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: var(--border-radius-md);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 100;
  border-radius: var(--border-radius-md);
  padding: 12px 24px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 180px 24px 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 24px;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--color-primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Mockup Frame */
.hero-mockup-container {
  perspective: 1000px;
}

.mockup-frame {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.mockup-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(168, 85, 247, 0.25);
}

.mockup-header {
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 2px 30px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-body {
  width: 100%;
  line-height: 0;
  background: #111;
}

.mockup-image {
  width: 100%;
  height: auto;
}

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

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Features Section */
.features-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 40px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: var(--border-radius-lg);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--color-primary-grad);
  border-color: transparent;
  transform: scale(1.1);
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* Promo Banner Section */
.promo-banner-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-banner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  overflow: hidden;
}

.promo-banner-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-banner-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.promo-banner-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.promo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.promo-banner-image-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
}

.promo-banner-image {
  width: 100%;
  display: block;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.pricing-card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: flex-start;
}

.pricing-tier-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.premium-badge {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
  color: #f472b6;
}

.pricing-tier-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.price-display {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.currency {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-main);
  align-self: flex-start;
  margin-right: 2px;
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

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

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 300;
}

.pricing-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

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

.pricing-cta {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  text-align: center;
}

/* Premium Highlights */
.premium-highlight {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.1);
}

.premium-highlight::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing-toggle-container {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: 100%;
}

.pricing-toggle-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pricing-toggle-btn.active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.faq-section {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding-top: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  font-weight: 300;
}

/* Active FAQ Item */
.faq-item.active {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.faq-item.active .faq-arrow {
  transform: rotate(-180deg);
  color: var(--color-accent);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
}

/* Footer */
.footer {
  background: #02040a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 24px 40px 24px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-left {
  max-width: 320px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) rotateY(-5deg) rotateX(5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(-5deg) rotateX(5deg);
  }
}

.animate-fade-in {
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-text-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .mockup-frame {
    transform: none !important;
  }
  
  .promo-banner-container {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .pricing-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .header {
    width: calc(100% - 24px);
    top: 12px;
  }
  
  .nav {
    display: none; /* simple hidden nav for mobile */
  }
}

/* Language Selector */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-select {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.lang-select:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}

.lang-select option {
  background: #030712;
  color: #cbd5e1;
}
