/* ===== FUTPLAY LANDING - MODERN DESIGN v3.0 ===== */

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

:root {
  /* Brand Colors */
  --primary: #00A859;
  --primary-dark: #008A48;
  --primary-light: #00D46A;
  --primary-50: #ECFDF5;
  --primary-100: #D1FAE5;
  --primary-200: #A7F3D0;

  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Accent Colors - Yellow/Orange */
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent-light: #FCD34D;
  --accent-50: #FFFBEB;
  --accent-100: #FEF3C7;
  --accent-gradient: linear-gradient(135deg, #F59E0B, #F97316);

  /* Semantic */
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --warning: #F59E0B;
  --success: #10B981;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--gray-600);
  line-height: 1.7;
}

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

.section {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section { padding: 120px 0; }
}

.section-gray {
  background: var(--gray-50);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all 0.3s var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon i,
.logo-icon svg {
  width: 20px;
  height: 20px;
}

.logo span {
  color: var(--primary);
}

/* Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-out);
}

.nav-links a:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
}

/* Nav CTA */
.nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--gray-700);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

.mobile-menu-btn i {
  font-size: 24px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  padding: 100px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  overflow-y: auto;
  display: none;
}

@media (max-width: 1023px) {
  .mobile-menu { display: block; }
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.mobile-menu-links a:hover {
  background: var(--gray-100);
}

.mobile-menu-links a.active {
  background: var(--primary-50);
  color: var(--primary);
}

.mobile-menu-links a.active i {
  color: var(--primary);
}

.mobile-menu-links a i {
  font-size: 20px;
  color: var(--gray-400);
}

.mobile-menu-cta {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn i {
  font-size: 18px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 0 0 0 var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgb(0 168 89 / 0.4);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-accent {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #D97706, #EA580C);
  box-shadow: 0 4px 12px rgb(245 158 11 / 0.4);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-xl);
}

.btn-full {
  width: 100%;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-badge i,
.section-badge svg {
  width: 16px;
  height: 16px;
}

.section-badge.accent {
  background: var(--accent-50);
  color: var(--accent-dark);
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.hero-badge i,
.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 480px;
}

@media (min-width: 1024px) {
  .hero-desc { margin-left: 0; margin-right: 0; }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-cta { justify-content: flex-start; }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-features { justify-content: flex-start; }
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.hero-feature i,
.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 1023px) {
  .hero-visual { order: -1; }
}

/* Phone mockup with app screen */
.app-preview {
  width: 280px;
  height: 560px;
  background: #1f1f1f;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-2xl);
  animation: float 5s ease-in-out infinite;
}

.app-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #007A42 100%);
  border-radius: 36px;
  overflow: hidden;
  padding: 48px 16px 16px;
  color: white;
}

.app-header {
  text-align: center;
  margin-bottom: 16px;
}

.app-header h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 4px;
}

.app-header p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.app-balance {
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.app-balance-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.app-balance-value {
  font-size: 28px;
  font-weight: 700;
}

.app-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-stat {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.app-stat-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 4px;
}

.app-stat-icon i,
.app-stat-icon svg {
  width: 20px;
  height: 20px;
}

.app-stat-value {
  font-size: 20px;
  font-weight: 700;
}

.app-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-icon i,
.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-icon.accent {
  background: var(--accent-50);
  color: var(--accent-dark);
}

.trust-icon.success {
  background: #ECFDF5;
  color: var(--success);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-text strong {
  font-size: 15px;
  color: var(--gray-900);
}

.trust-text span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== PROBLEMS ===== */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .problems-grid { grid-template-columns: repeat(4, 1fr); }
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.problem-card:hover {
  border-color: var(--danger);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  width: 64px;
  height: 64px;
  background: var(--danger-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--danger);
}

.problem-icon i,
.problem-icon svg {
  width: 32px;
  height: 32px;
}

.problem-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 15px;
  color: var(--gray-500);
}

/* ===== SOLUTION ===== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .solution-grid { grid-template-columns: 1fr 1fr; }
}

.solution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .solution-cards { grid-template-columns: repeat(2, 1fr); }
}

.solution-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all 0.3s var(--ease-out);
}

.solution-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.solution-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.solution-card-icon i,
.solution-card-icon svg {
  width: 24px;
  height: 24px;
}

.solution-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.solution-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Solution Visual */
.solution-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-illustration {
  position: relative;
  width: 300px;
  height: 300px;
}

.solution-illustration svg {
  width: 100%;
  height: 100%;
}

.solution-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.solution-floating-card i,
.solution-floating-card svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

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

.solution-floating-card.card-2 {
  bottom: 60px;
  left: -40px;
  animation-delay: 1s;
}

.solution-floating-card.card-3 {
  bottom: 20px;
  right: 0;
  animation-delay: 2s;
}

/* ===== DEMO SECTION ===== */
.demo-section {
  background: linear-gradient(135deg, var(--accent-50) 0%, var(--primary-50) 100%);
  border-top: 4px solid var(--accent);
  border-bottom: 4px solid var(--primary);
}

.demo-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.demo-badge i,
.demo-badge svg {
  width: 18px;
  height: 18px;
}

.demo-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.demo-desc strong {
  color: var(--gray-900);
}

.demo-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--gray-700);
}

.demo-feature i,
.demo-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.demo-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .demo-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.demo-hint {
  font-size: 14px;
  color: var(--gray-500);
}

/* Store Buttons */
.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--gray-900);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: all 0.2s var(--ease-out);
}

.store-button:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-button svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-button div {
  text-align: left;
}

.store-button small {
  font-size: 11px;
  color: var(--gray-400);
  display: block;
}

.store-button strong {
  font-size: 16px;
  font-weight: 600;
}

.store-button.light {
  background: white;
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
}

.store-button.light:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.store-button.light small {
  color: var(--gray-500);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 0 -24px;
  padding: 0 24px;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
  background: var(--gray-50);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table th.highlight {
  background: var(--primary-50);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--gray-700);
}

.comparison-table td.highlight {
  background: var(--primary-50);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: var(--gray-400);
  vertical-align: middle;
}

.comparison-table .check {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.comparison-table .cross {
  width: 24px;
  height: 24px;
  color: var(--gray-300);
}

.comparison-table .partial {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.comparison-table .pricing-row td {
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--gray-50);
}

.comparison-table .pricing-row td.highlight {
  background: var(--primary-100);
}

.comparison-table .price-highlight {
  color: var(--primary);
  font-size: 18px;
}

.provider-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.provider-badge .recommended {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: var(--primary-100);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.table-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

/* ===== PRICING TIERS ===== */
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .pricing-tiers {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.pricing-tier-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.tier-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 32px;
  text-align: center;
  color: white;
}

.tier-header h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.tier-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.tier-table {
  padding: 8px;
}

.tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}

.tier-row:hover {
  background: var(--gray-50);
}

.tier-row.featured {
  background: var(--primary-50);
}

.tier-row.featured:hover {
  background: var(--primary-100);
}

.tier-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tier-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 15px;
}

.tier-range {
  font-size: 13px;
  color: var(--gray-500);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.tier-footer {
  padding: 20px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.tier-footer p {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-footer i {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
}

.tier-footer a {
  color: var(--primary);
  font-weight: 500;
}

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

/* Pricing Extras */
.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 1024px) {
  .pricing-extras {
    grid-template-columns: 1fr;
  }
}

.extra-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}

.extra-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.extra-icon i,
.extra-icon svg {
  width: 24px;
  height: 24px;
}

.extra-icon.green {
  background: var(--primary-50);
  color: var(--primary);
}

.extra-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.extra-card p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== CALCULATOR ===== */
.calculator-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.calculator-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .calculator-inputs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-input-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.calc-input-group label i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.calc-input-group input[type="range"] {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 168, 89, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 3px solid white;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 168, 89, 0.5);
}

.calc-input-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 168, 89, 0.3);
}

.slider-value {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
}

.calculator-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .calculator-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-result {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.calc-result.highlight {
  background: var(--primary-50);
  border-color: var(--primary-200);
}

.calc-result-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 16px;
}

.calc-result-icon.secondary {
  background: var(--gray-200);
  color: var(--gray-600);
}

.calc-result-icon i,
.calc-result-icon svg {
  width: 24px;
  height: 24px;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.calc-result.highlight .calc-result-value {
  color: var(--primary);
}

.calc-result-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.calc-result small {
  font-size: 12px;
  color: var(--gray-500);
}

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

.calculator-footer p {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calculator-footer i {
  width: 16px;
  height: 16px;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s var(--ease-out);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.card-icon i,
.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.card-text {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i,
.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.testimonial-avatar i,
.testimonial-avatar svg {
  width: 24px;
  height: 24px;
}

.testimonial-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.testimonial-badge svg {
  width: 100%;
  height: 100%;
}

.testimonial-card:hover .testimonial-badge {
  transform: scale(1.1) rotate(-5deg);
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--gray-900);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

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

.stat-label {
  font-size: 15px;
  color: var(--gray-500);
}

/* ===== PRICING TABLE (legacy) ===== */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.pricing-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 40px 32px;
  text-align: center;
  color: white;
}

.pricing-header h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-header p {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-body {
  padding: 32px;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-item:last-child {
  border-bottom: none;
}

.pricing-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pricing-item-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.pricing-item-icon i,
.pricing-item-icon svg {
  width: 24px;
  height: 24px;
}

.pricing-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pricing-item p {
  font-size: 14px;
  color: var(--gray-500);
}

.pricing-item-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.pricing-item-value.free {
  color: var(--primary);
}

.pricing-footer {
  padding: 24px 32px;
  background: var(--gray-50);
  text-align: center;
}

.pricing-footer p {
  font-size: 15px;
  color: var(--gray-600);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-icon i,
.faq-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: white;
}

.faq-item.active .faq-icon i,
.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out);
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 80px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-section { padding: 100px 0; }
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: var(--shadow-lg);
}

.cta-section .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-secondary span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-social a i {
  font-size: 20px;
}

.footer-column h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 14px;
}

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

.footer-legal a {
  color: var(--gray-500);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border-radius: 48px;
  padding: 12px;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-light);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.float {
  animation: float 4s ease-in-out infinite;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

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

@media (max-width: 768px) {
  .md\:grid-cols-1 { grid-template-columns: 1fr; }
}

.hidden { display: none; }

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
}

/* ===== ADVANCED ANIMATIONS v4.0 ===== */

/* Pulse glow effect */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 168, 89, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 168, 89, 0.6), 0 0 60px rgba(0, 168, 89, 0.3); }
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Bounce in */
@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Slide in from left */
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Slide in from right */
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Rotate float */
@keyframes rotateFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(2deg); }
  50% { transform: translateY(-15px) rotate(0deg); }
  75% { transform: translateY(-8px) rotate(-2deg); }
}

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Sparkle */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== GLOW EFFECTS ===== */
.glow-primary {
  box-shadow: 0 0 30px rgba(0, 168, 89, 0.4);
}

.glow-accent {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 168, 89, 0.4);
}

.btn-accent:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

/* ===== ANIMATED GRADIENT BACKGROUNDS ===== */
.gradient-animated {
  background: linear-gradient(-45deg, #00A859, #34D399, #00D46A, #00A859);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.gradient-hero {
  background: linear-gradient(135deg,
    rgba(236, 253, 245, 1) 0%,
    rgba(209, 250, 229, 0.5) 50%,
    rgba(255, 255, 255, 1) 100%);
  position: relative;
  overflow: hidden;
}

.gradient-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 168, 89, 0.08) 0%, transparent 70%);
  animation: rotateFloat 20s linear infinite;
}

/* ===== CARD HOVER EFFECTS ===== */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg);
}

/* ===== ICON ANIMATIONS ===== */
.icon-bounce:hover i {
  animation: bounceIn 0.6s ease;
}

.icon-spin:hover i {
  animation: spin 0.6s ease;
}

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

.icon-pulse:hover .card-icon {
  animation: pulseGlow 1s ease infinite;
}

/* ===== SHIMMER LOADING EFFECT ===== */
.shimmer {
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ===== FLOATING ELEMENTS ===== */
.float-slow {
  animation: float 6s ease-in-out infinite;
}

.float-medium {
  animation: float 4s ease-in-out infinite;
}

.float-fast {
  animation: float 3s ease-in-out infinite;
}

.float-delay-1 { animation-delay: 0.5s; }
.float-delay-2 { animation-delay: 1s; }
.float-delay-3 { animation-delay: 1.5s; }

/* ===== PARALLAX EFFECT ===== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== DECORATIVE PATTERNS ===== */
.pattern-dots {
  background-image: radial-gradient(rgba(0, 168, 89, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(0, 168, 89, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 89, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
  position: relative;
  overflow: hidden;
}

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

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

/* Magnetic button effect */
.btn-magnetic {
  transition: transform 0.3s ease;
}

/* ===== ENHANCED HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 168, 89, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== ENHANCED CARDS ===== */
.card {
  position: relative;
  overflow: hidden;
}

.card::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.5s;
}

.card:hover::before {
  left: 100%;
}

/* Card icon enhanced */
.card-icon {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

/* ===== ENHANCED SECTION BADGES ===== */
.section-badge {
  position: relative;
  overflow: hidden;
}

.section-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

/* ===== ENHANCED FAQ ===== */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(8px);
}

.faq-question {
  position: relative;
  overflow: hidden;
}

.faq-question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-question::before {
  transform: scaleY(1);
}

/* ===== ENHANCED TESTIMONIALS ===== */
.testimonial-card {
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-stars i,
.testimonial-stars svg {
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-stars i,
.testimonial-card:hover .testimonial-stars svg {
  animation: bounceIn 0.5s ease forwards;
}

.testimonial-card:hover .testimonial-stars i:nth-child(1),
.testimonial-card:hover .testimonial-stars svg:nth-child(1) { animation-delay: 0s; }
.testimonial-card:hover .testimonial-stars i:nth-child(2),
.testimonial-card:hover .testimonial-stars svg:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:hover .testimonial-stars i:nth-child(3),
.testimonial-card:hover .testimonial-stars svg:nth-child(3) { animation-delay: 0.1s; }
.testimonial-card:hover .testimonial-stars i:nth-child(4),
.testimonial-card:hover .testimonial-stars svg:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card:hover .testimonial-stars i:nth-child(5),
.testimonial-card:hover .testimonial-stars svg:nth-child(5) { animation-delay: 0.2s; }

/* ===== ENHANCED COMPARISON TABLE ===== */
.comparison-table tr {
  transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
  background: var(--primary-50);
}

.comparison-table .check {
  transition: transform 0.3s ease;
}

.comparison-table tr:hover .check {
  transform: scale(1.3);
}

/* ===== ENHANCED PRICING TIERS ===== */
.tier-row {
  transition: all 0.3s ease;
}

.tier-row:hover {
  background: var(--primary-50);
  transform: scale(1.02);
  border-radius: var(--radius-lg);
}

.pricing-tier-card {
  transition: all 0.4s ease;
}

.pricing-tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 168, 89, 0.2);
}

/* ===== ENHANCED FEATURE CARDS ===== */
.feature-card,
.problem-card,
.solution-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover,
.problem-card:hover,
.solution-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* ===== FLOATING CARD ANIMATIONS ===== */
.solution-floating-card {
  animation: rotateFloat 5s ease-in-out infinite;
}

.solution-floating-card.card-1 {
  animation-delay: 0s;
}

.solution-floating-card.card-2 {
  animation-delay: 1s;
}

.solution-floating-card.card-3 {
  animation-delay: 2s;
}

/* ===== CURSOR EFFECTS ===== */
.cursor-pointer {
  cursor: pointer;
}

.interactive-element {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.interactive-element:hover {
  transform: scale(1.05);
}

.interactive-element:active {
  transform: scale(0.95);
}

/* ===== TEXT ANIMATIONS ===== */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== NUMBER COUNTER ANIMATION ===== */
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 2s ease-in-out infinite;
}

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

/* ===== DARK MODE READY ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(30, 30, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}

/* ===== ENHANCED MOBILE MENU ===== */
.mobile-menu-links a {
  transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
  transform: translateX(10px);
  color: var(--primary);
}

/* ===== ENHANCED FOOTER ===== */
.footer-social a {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.1);
}

.footer-column a {
  transition: all 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===== ENHANCED STORE BUTTONS ===== */
.store-button {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== HERO APP PREVIEW ENHANCEMENT ===== */
.app-preview {
  animation: float 5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.app-preview:hover {
  transform: scale(1.05);
}

/* ===== TRUST BADGES ENHANCEMENT ===== */
.trust-badge-item {
  transition: all 0.3s ease;
}

.trust-badge-item:hover {
  transform: translateY(-5px);
}

.trust-badge-item:hover .trust-icon {
  animation: bounceIn 0.5s ease;
}

/* ===== DEMO SECTION ENHANCEMENT ===== */
.demo-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
}


/* ===== EXTRA CARD ENHANCEMENT ===== */
.extra-card {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.extra-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-200);
  box-shadow: 0 15px 30px rgba(0, 168, 89, 0.15);
}

.extra-card:hover .extra-icon {
  animation: bounceIn 0.5s ease;
}

/* ===== PHONE MOCKUP - DEMO SECTION ===== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.3),
    0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screen-header {
  background: var(--primary);
  padding: 40px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-logo {
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.demo-tag {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.screen-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.screen-card {
  background: white;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-100);
  transition: transform 0.3s ease;
}

.screen-card:hover {
  transform: scale(1.02);
}

.screen-card i {
  width: 36px;
  height: 36px;
  background: var(--primary-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.screen-card.success i {
  background: #d1fae5;
  color: #059669;
}

.screen-card.warning i {
  background: #fef3c7;
  color: #d97706;
}

.screen-card div {
  display: flex;
  flex-direction: column;
}

.screen-card strong {
  font-size: 14px;
  color: var(--gray-900);
  font-weight: 600;
}

.screen-card small {
  font-size: 11px;
  color: var(--gray-500);
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 168, 89, 0.15) 0%, transparent 70%);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demo-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }
}

/* ===== PROBLEM CARDS - MODERN STYLE ===== */
.problem-card {
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.problem-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: var(--gray-300);
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.problem-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gray-500);
  transition: all 0.3s ease;
}

.problem-icon i {
  width: 28px;
  height: 28px;
}

.problem-card:hover .problem-icon {
  background: var(--accent-100);
  color: var(--accent-dark);
}

/* ===== FEATURES GRID - COMPREHENSIVE ===== */
.features-comprehensive {
  padding: 80px 0;
}

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

.feature-mega-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-mega-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.4s ease;
}

.feature-mega-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-200);
}

.feature-mega-card:hover::before {
  height: 100%;
}

.feature-mega-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.feature-mega-card:hover .feature-mega-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.feature-mega-icon i,
.feature-mega-icon svg {
  width: 28px;
  height: 28px;
}

.feature-mega-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-mega-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 12px;
}

.feature-tag.exclusive {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.feature-tag.new {
  background: var(--accent-gradient);
  color: white;
}

.feature-tag.coming {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ===== ROLE SECTIONS ===== */
.role-sections {
  padding: 80px 0;
  background: var(--gray-50);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.role-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.role-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.role-card.school {
  border-color: var(--primary-200);
}

.role-card.school:hover {
  border-color: var(--primary);
}

.role-card.parent {
  border-color: #ddd6fe;
}

.role-card.parent:hover {
  border-color: #8b5cf6;
}

.role-card.coach {
  border-color: #fde68a;
}

.role-card.coach:hover {
  border-color: #f59e0b;
}

.role-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.role-card.school .role-icon {
  background: var(--primary-50);
  color: var(--primary);
}

.role-card.parent .role-icon {
  background: #ede9fe;
  color: #8b5cf6;
}

.role-card.coach .role-icon {
  background: #fef3c7;
  color: #d97706;
}

.role-icon i,
.role-icon svg {
  width: 40px;
  height: 40px;
}

.role-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.role-card > p {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.role-features {
  text-align: left;
  list-style: none;
}

.role-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.role-features li:last-child {
  border-bottom: none;
}

.role-features li i {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.role-card.school .role-features li i {
  color: var(--primary);
}

.role-card.parent .role-features li i {
  color: #8b5cf6;
}

.role-card.coach .role-features li i {
  color: #d97706;
}

@media (max-width: 992px) {
  .role-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}
