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

:root {
  /* App-inspired colors (ELWEAR) */
  --primary-color: #6b87e3;
  --primary-light: #a4b9ff;
  --bg-app: #f4f8ff;
  --surface-app: #ffffff;
  --text-main: #222222;
  --text-secondary-app: #666666;
  --text-muted-app: #999999;

  /* Gradients */
  --primary-gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  --secondary-gradient: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary-color) 100%
  );
  --accent-gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #3bb272 100%
  );
  --dark-gradient: linear-gradient(135deg, #1f2335 0%, #272d45 100%);

  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  --text-primary: var(--text-main);
  --text-secondary: #111827;
  --text-light: var(--text-muted-app);
  --bg-primary: var(--bg-app);
  --bg-secondary: var(--surface-app);

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Playfair Display", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Glass Button Styles */
.glass-btn {
  position: relative;
  padding: 12px 24px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

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

.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.glass-btn.primary {
  background: var(--primary-gradient);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-btn.large {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 16px;
}

.glass-btn.full-width {
  width: 100%;
  justify-content: center;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(107, 135, 227, 0.18);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 14px auto;
  padding: 10px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 10px 25px rgba(107, 135, 227, 0.55));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.nav-cta {
  border-radius: 999px;
  padding-inline: 20px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #f9fafb;
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.65);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.8);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(244, 248, 255, 0.9) 0%,
      rgba(244, 248, 255, 0.1) 45%,
      transparent 60%
    ),
    linear-gradient(145deg, var(--primary-color) 0%, #4858b8 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xxl) var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: white;
}

.gradient-text {
  /* Фирменный градиент ELWEAR */
  background: linear-gradient(90deg, #e2e8fa 0%, #c3d4fb 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.play-icon {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.phone-mockup {
  position: relative;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.phone-screen {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 300px;
  width: 100%;
  height: auto;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
  overflow: hidden;
}

.floating-card img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  left: -30px;
  animation-delay: 1s;
}

.card-3 {
  bottom: 20%;
  right: -10px;
  animation-delay: 2s;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  /* Более мягкий фон блока с возможностями в фирменных цветах */
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 55%, #f4f8ff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-card--with-video {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.feature-card--with-video .feature-text {
  flex: 1 1 auto;
  max-width: 60%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: white;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-inline-video {
  max-width: 150px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.feature-inline-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* How It Works Section (Путь до образа) */
.how-it-works {
  padding: var(--spacing-xxl) 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(164, 185, 255, 0.16),
      transparent 55%
    ),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 55%, #f4f8ff 100%);
}

.how-it-works .section-header {
  margin-bottom: var(--spacing-xl);
}

.how-it-works .section-subtitle {
  color: var(--text-secondary);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-xl);
}

.how-step {
  position: relative;
  padding: var(--spacing-xl);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.how-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 4px solid transparent;
  background: linear-gradient(90deg, var(--primary-color), #45b7d1) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.how-step-number {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: var(--spacing-xs);
}

.how-step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: var(--spacing-sm);
}

.how-step-text {
  color: var(--text-secondary);
}

/* Platforms Section */
.platforms {
  padding: var(--spacing-xxl) 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(164, 185, 255, 0.22),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.platforms-header {
  max-width: 720px;
  margin: 0 auto var(--spacing-xxl);
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.platform-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: var(--spacing-xl);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--primary-gradient);
  opacity: 0.08;
  z-index: -1;
}

.platform-card--android::after,
.platform-card--ios::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
  z-index: -1;
}

.platform-card--android::after {
  right: -60px;
  bottom: -80px;
  background: radial-gradient(circle, #4ecdc4 0%, transparent 70%);
}

.platform-card--ios::after {
  right: -60px;
  bottom: -80px;
  background: radial-gradient(circle, #6b87e3 0%, transparent 70%);
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
}

.platform-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.platform-card--ios .platform-badge::before {
  background: #6366f1;
}

.platform-card--ios .glass-btn.secondary {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.platform-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #111827;
}

.platform-text {
  color: #111827;
  max-width: 420px;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--spacing-md);
}

.platform-list li {
  position: relative;
  padding-left: 20px;
  color: #111827;
  font-size: 0.98rem;
}

.platform-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--primary-color);
}

.platform-hint {
  margin-top: var(--spacing-sm);
  font-size: 0.9rem;
  color: #6b7280;
}

/* Testimonials Section — современный блок отзывов */
.testimonials {
  padding: var(--spacing-xxl) 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(107, 135, 227, 0.08),
      transparent 50%
    ),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.testimonials .section-title {
  color: #0f172a;
  background: none;
  -webkit-text-fill-color: #0f172a;
}

.testimonials .section-subtitle {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  align-items: stretch;
}

.testimonial-card {
  background: #ffffff;
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: 20px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(107, 135, 227, 0.12);
  border-color: rgba(107, 135, 227, 0.15);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px 0 0 4px;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.quote-icon {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
  opacity: 0.7;
  flex-shrink: 0;
}

.quote-icon svg {
  width: 28px;
  height: 28px;
}

.testimonial-content p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1e293b;
  font-style: normal;
  margin: 0;
  position: relative;
  flex: 1;
}

.rating {
  display: flex;
  gap: 4px;
  margin-bottom: var(--spacing-md);
}

.star {
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
  margin-top: auto;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.testimonial-card:hover .author-avatar {
  border-color: rgba(107, 135, 227, 0.3);
}

.author-info {
  min-width: 0;
}

.author-name {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
  font-size: 0.95rem;
  line-height: 1.3;
}

.author-role {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #4858b8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-md);
}

.cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.cta-features {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

.cta-icon {
  color: #3bb272;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 4px;
  width: 32px;
  height: 32px;
}

/* Footer */
.footer {
  background:
    radial-gradient(
      circle at top right,
      rgba(164, 185, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #0f172a;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  border-top: 1px solid rgba(107, 135, 227, 0.18);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo-text {
  color: #0f172a;
  background: none;
  -webkit-text-fill-color: var(--primary-color);
}

.footer-description {
  color: #475569;
  margin-top: var(--spacing-sm);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
}

.footer-title {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: #0f172a;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--spacing-xs);
}

.footer-link {
  color: #334155;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(107, 135, 227, 0.2);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  color: #64748b;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes starGlow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Simplified animations only */

/* Enhanced animation classes - Simplified */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.bounce-in {
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
  opacity: 1;
  transform: scale(1);
}

.rotate-in {
  opacity: 0;
  transform: rotate(-180deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0deg);
}

/* Hover animations for cards - Simplified */
.feature-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

/* Staggered animations */
.features-grid .feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.features-grid .feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.features-grid .feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.features-grid .feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.features-grid .feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.features-grid .feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Continuous animations - simplified */
.floating-card {
  animation: float 4s ease-in-out infinite;
}

/* Button press animation */
.glass-btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(107, 135, 227, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(107, 135, 227, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Loading animation for buttons */
.glass-btn.loading {
  position: relative;
  color: transparent;
}

.glass-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Parallax elements */
.parallax-element {
  will-change: transform;
}

/* Smooth reveal for sections */
.section-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-xl);
  }

  .slider-controls {
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding-top: 40px;
  }
  .nav-container {
    margin: 0;
    padding: 10px 10px;
  }
  .platform-card {
    padding: var(--spacing-lg);
  }
  .how-step {
    padding: var(--spacing-lg);
  }
  .nav-menu {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--with-video {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card--with-video .feature-text {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--spacing-sm);
    row-gap: var(--spacing-sm);
    align-items: center;
    max-width: 100%;
  }

  .feature-card--with-video .feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .feature-card--with-video .feature-title {
    margin-bottom: 0;
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .feature-card--with-video .feature-description {
    grid-column: 1 / -1;
  }

  .feature-inline-video {
    max-width: 100%;
    width: 100%;
  }

  .testimonials-slider {
    margin: 0 var(--spacing-sm);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--spacing-lg);
    min-height: auto;
  }

  .slider-controls {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .trial-card {
    padding: var(--spacing-lg);
  }

  .guarantee-items {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-features {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-container {
    padding: var(--spacing-xxl) var(--spacing-sm);
  }

  .floating-card {
    display: none;
  }

  .phone-mockup {
    transform: none;
  }

  .feature-card,
  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .testimonial-card {
    padding: var(--spacing-md);
  }

  .author-avatar {
    width: 44px;
    height: 44px;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .slider-dots {
    gap: var(--spacing-xs);
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .plan-price .price {
    font-size: 2.5rem;
  }

  .trial-icon {
    width: 60px;
    height: 60px;
  }

  /* Fix mobile button sizes */
  .glass-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .glass-btn.large {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .hero-cta .glass-btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-buttons .glass-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(107, 135, 227, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107, 135, 227, 0.4);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* Additional animation styles */
.testimonial-card {
  will-change: transform;
}

.feature-icon {
  will-change: transform;
  transition: transform 0.3s ease;
}

.step-number {
  will-change: transform;
  transition: transform 0.3s ease;
}

/* Enhanced button animations */
.glass-btn {
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

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

.glass-btn:active::after {
  width: 300px;
  height: 300px;
}

/* Improved card hover effects */
.feature-card,
.testimonial-card {
  will-change: transform, box-shadow;
}

/* Smooth transitions for all interactive elements */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Performance optimizations */
.hero-visual,
.floating-card,
.parallax-element {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-card {
    animation: none !important;
  }

  .slider-track {
    transition: none !important;
  }
}

/* Focus styles for better accessibility */
.glass-btn:focus,
.slider-btn:focus,
.dot:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glass-btn {
    border: 2px solid currentColor;
  }

  .testimonial-card {
    border: 1px solid currentColor;
  }
}
