/* ===== ROOT VARIABLES ===== */
:root {
  /* Dark Theme (Default) */
  --bg: #0f172a;
  --panel: #1e293b;
  --muted: #94a3b8;
  --text: #f1f5f9;
  --accent1: #f59e0b;
  --accent2: #3b82f6;
  --accent3: #10b981;
  --gradient: linear-gradient(135deg, #f59e0b, #3b82f6);
  --gradient-subtle: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.1));
  --glass: rgba(255, 255, 255, 0.05);
  --radius: 16px;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --muted: #64748b;
  --text: #0f172a;
  --accent1: #f59e0b;
  --accent2: #3b82f6;
  --accent3: #10b981;
  --gradient: linear-gradient(135deg, #f59e0b, #3b82f6);
  --gradient-subtle: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(59, 130, 246, 0.05));
  --glass: rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Vazir', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===== ACCESSIBILITY ===== */
.skip-to-main {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--accent2);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition-normal);
}

.skip-to-main:focus {
  top: 10px;
}

*:focus {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

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

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

[data-theme="light"] .navbar {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.navbar.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--muted);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: var(--accent2);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  border-radius: 2px;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--text);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
}

[data-theme="light"] .navbar-toggler {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--accent2);
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: var(--gradient);
  color: white;
  background-size: 200% 100%;
  animation: gradient-shift 3s ease infinite;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 30px #f59e0b;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-outline {
  border: 2px solid var(--accent2);
  color: var(--accent2);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent2);
  color: white;
  transform: translateY(-3px);
}

.btn-outline-teleg {
  border-color: #0088cc;
  color: #0088cc;
}

.btn-outline-teleg:hover {
  background: #0088cc;
  color: white;
}

.btn-outline-demo {
  border-color: var(--accent3);
  color: var(--accent3);
}

.btn-outline-demo:hover {
  background: var(--accent3);
  color: white;
}

.btn-telegram {
  background: #0088cc;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-telegram:hover {
  background: #006699;
  color: white;
  transform: translateY(-3px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
  z-index: -2;
}

[data-theme="light"] .hero::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: bg-shimmer 8s ease infinite;
  z-index: -1;
}

[data-theme="light"] .hero-bg-animation {
  background: linear-gradient(45deg, transparent 30%, rgba(15, 23, 42, 0.03) 50%, transparent 70%);
}

@keyframes bg-shimmer {
  0% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.hero-card {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: transform var(--transition-normal);
}

[data-theme="light"] .hero-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.hero-card:hover {
  transform: translateY(-10px);
}

.cta-row {
  gap: 1rem;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .trust-badges {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge-item i {
  color: var(--accent3);
}

.mockup-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow);
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.mockup-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.ping-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.9rem;
}

.ping-dot {
  width: 8px;
  height: 8px;
  background: var(--accent3);
  border-radius: 50%;
  animation: ping-pulse 2s ease infinite;
}

@keyframes ping-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ===== STATISTICS ===== */
.stats {
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.stat-card {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .stat-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.stat-card:hover::before {
  transform: translateX(0);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-percent,
.stat-unit {
  font-size: 1.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent2);
  opacity: 0.8;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 0;
}

.feature-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .feature-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

[data-theme="light"] .feature-card::after {
  background: linear-gradient(45deg, transparent, rgba(15, 23, 42, 0.05), transparent);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent2);
}

.feature-card:hover::after {
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent2);
  margin-bottom: 1.5rem;
  background: var(--gradient-subtle);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-badge {
  display: inline-block;
  background: var(--gradient-subtle);
  color: var(--accent2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ===== STEPS ===== */
.steps-container {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

[data-theme="light"] .steps-container {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.step-track {
  position: relative;
}

.step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
}

[data-theme="light"] .step {
  background: rgba(248, 250, 252, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.step:hover {
  transform: translateX(-10px);
  border-color: var(--accent2);
  background: rgba(15, 23, 42, 0.8);
}

[data-theme="light"] .step:hover {
  background: rgba(248, 250, 252, 0.8);
}

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

.step-content {
  flex-grow: 1;
}

.step-content h5 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-content p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.step-arrow {
  color: var(--accent2);
  opacity: 0.5;
}

/* ===== SIGNUP CARD ===== */
.signup-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

[data-theme="light"] .signup-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.signup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.signup-header h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.signup-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .signup-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--gradient-subtle);
}

.testimonial-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  height: 100%;
}

[data-theme="light"] .testimonial-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent2);
}

.testimonial-info h5 {
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  color: var(--accent1);
}

.testimonial-body {
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-right: 1.5rem;
}

.testimonial-body::before {
  content: '"';
  position: absolute;
  top: -1rem;
  right: 0;
  font-size: 4rem;
  color: var(--accent2);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-footer {
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

[data-theme="light"] .testimonial-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

/* ===== DEMO SLIDER ===== */
.demo-slider {
  background: var(--bg);
}

.carousel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-inner {
  border-radius: var(--radius);
}

.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  right: 2rem;
  left: auto;
  bottom: 2rem;
  width: auto;
}

.carousel-caption h5 {
  color: white;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev {
  left: 2rem;
}

.carousel-control-next {
  right: 2rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
}

.carousel-indicators button.active {
  background: var(--accent2);
}

/* ===== SUPPORT CARDS ===== */
.support {
  background: var(--bg);
}

.support-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
}

[data-theme="light"] .support-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.support-card.popular {
  border: 2px solid var(--accent2);
  transform: scale(1.05);
}

.support-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.support-card.premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.1));
  border-color: var(--accent1);
}

.support-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .support-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.support-header h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.support-price {
  margin-top: 1rem;
}

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

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

.support-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.support-body li {
  padding: 0.75rem 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .support-body li {
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.support-body li:last-child {
  border-bottom: none;
}

.support-body li i.fa-check {
  color: var(--accent3);
}

.support-body li i.fa-times {
  color: #ef4444;
  opacity: 0.7;
}

.support-footer {
  text-align: center;
}

/* ===== TELEGRAM CTA ===== */
.telegram-cta {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(59, 130, 246, 0.1));
}

.telegram-card {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

[data-theme="light"] .telegram-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.telegram-content h3 {
  margin-bottom: 1rem;
}

.telegram-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.stat i {
  color: var(--accent2);
}

/* ===== FOOTER ===== */
footer {
  background: var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.footer-brand h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 50%;
  transition: all var(--transition-fast);
  text-decoration: none;
}

[data-theme="light"] .social-links a {
  background: rgba(15, 23, 42, 0.1);
}

.social-links a:hover {
  background: var(--accent2);
  color: white;
  transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.footer-contact i {
  color: var(--accent2);
  width: 20px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

[data-theme="light"] .footer-divider {
  border-color: rgba(15, 23, 42, 0.1);
}

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

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

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-payment {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-payment i {
  font-size: 1.5rem;
  color: var(--muted);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent2);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent1);
  transform: translateY(-5px);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent2);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: all var(--transition-normal);
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.pulse {
  animation: pulse 2s ease infinite;
}

/* ===== LOADING SKELETON ===== */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.skeleton-loading {
  background: linear-gradient(90deg, 
    var(--panel) 25%, 
    color-mix(in srgb, var(--panel) 50%, var(--muted) 50%) 50%, 
    var(--panel) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .carousel-item {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-card {
    padding: 2rem;
  }
  
  .steps-container,
  .signup-card {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .support-card.popular {
    transform: scale(1);
  }
  
  .support-card.popular:hover {
    transform: translateY(-10px);
  }
  
  .telegram-card {
    padding: 2rem;
  }
  
  .theme-toggle {
    bottom: 5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 5rem 0 2rem;
  }
  
  .hero-card {
    padding: 1.5rem;
  }
  
  .mockup-container {
    transform: none;
    margin-top: 2rem;
  }
  
  .mockup-container:hover {
    transform: none;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .carousel-caption {
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: 1rem;
  }
  
  .carousel-control-next {
    right: 1rem;
  }
  
  .footer-payment {
    justify-content: flex-start;
    margin-top: 1rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .theme-toggle {
    bottom: 5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.8rem 1.5rem;
  }
  
  .cta-row {
    flex-direction: column;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  
  .telegram-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat {
    justify-content: center;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .step-arrow {
    display: none;
  }
}

/* ===== SYSTEM PREFERENCE ===== */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f8fafc;
    --panel: #ffffff;
    --muted: #64748b;
    --text: #0f172a;
    --glass: rgba(15, 23, 42, 0.05);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .cta-row,
  .btn,
  .carousel-controls,
  .social-links,
  .back-to-top,
  .theme-toggle {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-card,
  .feature-card,
  .testimonial-card,
  .support-card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
  }
  
  .gradient-text {
    background: none !important;
    color: black !important;
    -webkit-text-fill-color: black !important;
  }
}

#surveyContainer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px; /* Add some padding on mobile */
    box-sizing: border-box;
  }
  
  /* Make the iframe responsive */
  #o4EGCGe2 iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 15px;
    border: none !important;
  }
  
  /* Responsive adjustments for mobile */
  @media (max-width: 768px) {
    #surveyContainer {
      padding: 8px;
    }
    
    #o4EGCGe2 {
      min-height: 400px !important; /* Reduce height on mobile */
    }
  }
  
  @media (max-width: 480px) {
    #surveyContainer {
      padding: 5px;
    }
    
    #o4EGCGe2 {
      min-height: 350px !important; /* Further reduce for very small screens */
    }
    
    #o4EGCGe2 iframe {
      border-radius: 10px; /* Smaller radius on mobile */
    }
  }
/* ===== PRICING CALCULATOR ===== */
.pricing-calculator {
  background: var(--gradient-subtle);
  position: relative;
  overflow: hidden;
}

.calculator-container {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

[data-theme="light"] .calculator-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.calculator-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.calculator-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .calculator-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.calculator-description {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.calculator-body {
  padding: 2rem;
}

/* Slider Styles - Dark Theme Compatible */
.slider-section {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

[data-theme="light"] .slider-section {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.slider-label {
  color: var(--muted);
  font-weight: 500;
}

.slider-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent2);
  min-width: 60px;
  text-align: center;
}

.slider-unit {
  color: var(--muted);
  font-size: 0.9rem;
}

#hoursSlider {
  width: 100%;
  height: 10px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, 
    rgba(59, 130, 246, 0.3), 
    var(--accent2));
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

#hoursSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent2);
  border: 4px solid var(--panel);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

[data-theme="light"] #hoursSlider::-webkit-slider-thumb {
  border: 4px solid var(--bg);
}

#hoursSlider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent2);
}

#hoursSlider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent2);
  border: 4px solid var(--panel);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Result Cards - Dark Theme Compatible */
.result-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .result-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent2);
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.result-card:hover::before {
  transform: translateX(0);
}

.result-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--accent2);
  margin-bottom: 1rem;
}

.result-title {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.result-unit {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Quick Selection - Dark Theme Compatible */
.quick-selection {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .quick-selection {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.quick-selection-title {
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-quick {
  padding: 0.75rem 1.5rem;
  background: var(--panel);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.9rem;
  min-width: 80px;
}

[data-theme="light"] .btn-quick {
  border: 2px solid rgba(15, 23, 42, 0.1);
}

.btn-quick:hover {
  background: var(--accent2);
  color: white;
  border-color: var(--accent2);
  transform: translateY(-2px);
}

.btn-quick.active {
  background: var(--accent2);
  color: white;
  border-color: var(--accent2);
}

/* Calculator Footer - Dark Theme Compatible */
.calculator-footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

[data-theme="light"] .calculator-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.calculator-note {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calculator-note i {
  color: var(--accent3);
}

/* ===== RESPONSIVE DESIGN FOR CALCULATOR ===== */
@media (max-width: 768px) {
  .calculator-body {
    padding: 1.5rem;
  }
  
  .calculator-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .calculator-footer {
    padding: 1.5rem;
  }
  
  .slider-header {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .slider-value {
    font-size: 2rem;
  }
  
  .result-card {
    padding: 1.25rem;
  }
  
  .result-value {
    font-size: 2rem;
  }
  
  .result-icon {
    font-size: 2rem;
  }
  
  .quick-buttons {
    gap: 0.5rem;
  }
  
  .btn-quick {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-width: 70px;
  }
}

@media (max-width: 576px) {
  .calculator-card {
    border-radius: calc(var(--radius) * 0.8);
  }
  
  .calculator-body {
    padding: 1rem;
  }
  
  .slider-section {
    padding: 1rem;
  }
  
  .slider-value {
    font-size: 1.8rem;
  }
  
  .result-value {
    font-size: 1.8rem;
  }
  
  .result-card {
    padding: 1rem;
  }
  
  .quick-selection {
    padding: 1rem;
  }
  
  .quick-buttons {
    gap: 0.4rem;
  }
  
  .btn-quick {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    min-width: 60px;
  }
  
  .calculator-footer .btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

/* Additional fix for survey container */
#surveyContainer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] #surveyContainer {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

#o4EGCGe2 iframe {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: var(--radius) !important;
  border: none !important;
}

/* Fix for carousel controls position */
.carousel-control-prev {
  right: 15px !important;
  left: auto !important;
}

.carousel-control-next {
  left: 15px !important;
  right: auto !important;
}

@media (max-width: 768px) {
  .carousel-control-prev {
    right: 10px !important;
  }
  
  .carousel-control-next {
    left: 10px !important;
  }
  
  #surveyContainer {
    padding: 8px;
  }
  
  #o4EGCGe2 {
    min-height: 400px !important;
  }
}

@media (max-width: 480px) {
  #surveyContainer {
    padding: 5px;
  }
  
  #o4EGCGe2 {
    min-height: 350px !important;
  }
  
  #o4EGCGe2 iframe {
    border-radius: calc(var(--radius) * 0.8) !important;
  }
}