/* ============================================
   IRON BEAST FITNESS - MAIN STYLESHEET
   Premium Dark/Light Theme - Complete Rebuild
   ============================================ */

/* ---------- CSS Variables - DARK THEME (Default) ---------- */
:root {
  --primary:       #E53935;
  --primary-dark:  #c62828;
  --primary-light: #ff5449;
  --primary-glow:  rgba(229, 57, 53, 0.3);
  --bg-main:       #0B0B0B;
  --bg-card:       #141414;
  --bg-elevated:   #1a1a1a;
  --bg-input:      rgba(255,255,255,0.04);
  --border-color:  rgba(255,255,255,0.08);
  --border-hover:  rgba(255,255,255,0.15);
  --text-main:     #FFFFFF;
  --text-dim:      #9ca3af;
  --text-muted:    #6b7280;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --info:          #3b82f6;
  --font-head:     'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;
  --radius-lg:     24px;
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --shadow-sm:     0 4px 12px rgba(0,0,0,0.2);
  --shadow:        0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.4);
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ---------- CSS Variables - LIGHT THEME ---------- */
body.light-mode {
  --primary-glow:  rgba(229, 57, 53, 0.2);
  --bg-main:       #f5f5f7;
  --bg-card:       #ffffff;
  --bg-elevated:   #fafafa;
  --bg-input:      #f0f0f2;
  --border-color:  rgba(0,0,0,0.08);
  --border-hover:  rgba(0,0,0,0.15);
  --text-main:     #111111;
  --text-dim:      #555555;
  --text-muted:    #888888;
  --shadow-sm:     0 4px 12px rgba(0,0,0,0.06);
  --shadow:        0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  font-weight: 800;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 44px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
  margin-bottom: 16px;
  color: var(--text-dim);
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 560px;
  line-height: 1.7;
}

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 30px var(--primary-glow);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(229, 57, 53, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="url"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 15px;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.form-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

body.light-mode select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-help {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  height: 72px;
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  background: rgba(11, 11, 11, 0.95);
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

body.light-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(229, 57, 53, 0.05);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 20px !important;
  background: var(--primary);
  color: #fff !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 968px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    align-items: stretch;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    padding: 12px 16px;
    width: 100%;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.3) 0%, rgba(11,11,11,0.85) 100%);
  z-index: 1;
}

body.light-mode .hero-bg-overlay {
  background: linear-gradient(180deg, rgba(245,245,247,0.3) 0%, rgba(245,245,247,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(229, 57, 53, 0.3);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat-number {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding-top: 100px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s, visibility 0.6s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-logo {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}

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

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}

body.light-mode .loader-bar {
  background: rgba(0,0,0,0.08);
}

.loader-fill {
  width: 0;
  height: 100%;
  background: var(--primary);
  border-radius: 100px;
  animation: loaderFill 1.5s ease-in-out forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.05);
  z-index: 9999;
}

body.light-mode .scroll-progress {
  background: rgba(0,0,0,0.05);
}

.scroll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  width: 0;
  transition: width 0.1s;
}

/* ---------- Custom Cursor (Desktop only) ---------- */
.cursor, .cursor-follower {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
  }
  .cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: all 0.2s;
  }
  body.light-mode .cursor,
  body.light-mode .cursor-follower {
    display: none;
  }
}

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--text-main);
  font-size: 14px;
  box-shadow: var(--shadow);
  min-width: 240px;
  max-width: 380px;
  animation: toastSlide 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-info { border-left: 3px solid var(--info); }

@keyframes toastSlide {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- Pricing Cards ---------- */
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.05), var(--bg-card));
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
}

.pricing-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-description {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-dim);
}

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-features li i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Trainer Card ---------- */
.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.trainer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.trainer-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
  transform: scale(1.05);
}

.trainer-info {
  padding: 24px;
  text-align: center;
}

.trainer-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.trainer-role {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.trainer-bio {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.trainer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.trainer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  color: var(--text-dim);
  border-radius: 50%;
  transition: var(--transition);
}

.trainer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Feature Card ---------- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-description {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Testimonial Card ---------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.testimonial-quote {
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

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

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-main);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-dim);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 12px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

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

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

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  color: #fff;
  padding: 60px 0 24px;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
}

body.light-mode .site-footer {
  background: #050505;
}

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

.footer-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
}

.footer-text {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #9ca3af;
  font-size: 14px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #9ca3af;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.badge-info { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.badge-primary { background: var(--primary-glow); color: var(--primary); }

/* ---------- Table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.data-table th {
  background: var(--bg-elevated);
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 14px;
}

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

.data-table tr:hover {
  background: var(--bg-elevated);
}

@media (max-width: 768px) {
  .data-table { font-size: 13px; }
  .data-table th,
  .data-table td { padding: 10px 8px; }
}

/* ---------- Alert ---------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}
.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

/* ---------- Spinner ---------- */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

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

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle-btn {
  position: fixed;
  top: 92px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(15deg);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .theme-toggle-btn {
    top: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.hidden { display: none !important; }

/* ---------- Blog Card ---------- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.blog-link:hover {
  gap: 10px;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-elevated);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------- Light Theme Specific Fixes ---------- */
body.light-mode {
  background: var(--bg-main);
  color: var(--text-main);
}

body.light-mode .hero-bg {
  background:
    radial-gradient(ellipse at top, rgba(229, 57, 53, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(229, 57, 53, 0.04), transparent 60%);
}

body.light-mode .glass-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .cursor,
body.light-mode .cursor-follower {
  display: none;
}

body.light-mode .btn-secondary {
  color: var(--text-main);
  border-color: var(--border-color);
}

body.light-mode .btn-secondary:hover {
  background: rgba(229, 57, 53, 0.05);
  border-color: var(--primary);
}

body.light-mode .data-table {
  background: var(--bg-card);
  border-color: var(--border-color);
}

body.light-mode .data-table th {
  background: var(--bg-elevated);
}

body.light-mode .pricing-card.featured {
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.03), var(--bg-card));
}

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

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.25);
}

/* ---------- Selection ---------- */
::selection {
  background: var(--primary);
  color: #fff;
}

/* ---------- Print Styles ---------- */
@media print {
  .navbar, .footer, .whatsapp-float, .theme-toggle-btn,
  .cursor, .cursor-follower, .scroll-progress, .page-loader {
    display: none !important;
  }
}