/* ========================================
   APEX VERSE - Premium Author Services
   ======================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #222230;
  
  --purple: #7b2d8e;
  --purple-light: #9d4fb0;
  --cyan: #00d9c0;
  --cyan-light: #4af0d8;
  
  --text-primary: #ffffff;
  --text-secondary: #b8b8c8;
  --text-muted: #7a7a8a;
  
  --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  --gradient-text: linear-gradient(135deg, var(--purple-light) 0%, var(--cyan-light) 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(123, 45, 142, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* Light Mode Variables - IMPROVED */
[data-theme="light"] {
  --bg-primary: #f5f7fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  
  --purple: #7b2d8e;
  --purple-light: #9d4fb0;
  --cyan: #00a896;
  --cyan-light: #00d9c0;
  
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #6a6a7a;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(123, 45, 142, 0.15);
}

/* Light mode specific overrides */
[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--text-primary);
  background: rgba(123, 45, 142, 0.1);
}

[data-theme="light"] .card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .card:hover {
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .portfolio-item {
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .testimonial-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .review-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .partner-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pricing-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .feature-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .timeframe-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}
read-more-btn
[data-theme="light"] .policy-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .payment-plan {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-info-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-form-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cta-section {
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-social a {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

[data-theme="light"] .tab-btn {
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .tab-btn:hover {
  background: var(--bg-card-hover);
}

[data-theme="light"] .btn-secondary {
  border: 2px solid rgba(0, 0, 0, 0.2);
  color: var(--text-primary);
}

[data-theme="light"] .btn-secondary:hover {
  border-color: var(--cyan);
}

[data-theme="light"] .hero-bg {
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(123, 45, 142, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 217, 192, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .page-header-bg {
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(123, 45, 142, 0.12) 0%, transparent 50%);
}

[data-theme="light"] .portfolio-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 60%);
}

[data-theme="light"] .portfolio-tag {
  background: rgba(0, 169, 150, 0.15);
  color: #008a7a;
}

[data-theme="light"] ::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
}

/* Logo drop shadow for light theme - makes it visible on white bg */
[data-theme="light"] .logo img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.582)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.575));
  transition: filter 0.3s ease;
}

[data-theme="light"] .logo:hover img {
  filter: drop-shadow(0 4px 8px rgb(0, 0, 0)) drop-shadow(0 8px 16px rgb(0, 0, 0));
}

[data-theme="light"] .footer-logo {
  filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 0.582)) drop-shadow(0 4px 8px rgb(0, 0, 0, 0.575));
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 4px; }

::selection { background: var(--purple); color: white; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

a { color: var(--cyan); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--cyan-light); }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   THEME TOGGLE
   ======================================== */
.theme-toggle {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

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

.theme-toggle i {
  font-size: 1.25rem;
  color: var(--cyan);
  transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
  display: none;
}

[data-theme="light"] .theme-toggle {
  border: 1px solid rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .theme-toggle .fa-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .fa-sun {
  display: block;
  color: #f7b731;
}

/* ========================================
   OFFER POPUP BANNER
   ======================================== */
.offer-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  padding: 1rem 2rem;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: slideDown 0.5s ease;
}

.offer-popup.active {
  display: flex;
}

.offer-popup-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.offer-popup i {
  font-size: 1.25rem;
  animation: pulse 2s infinite;
}

.offer-popup-text {
  font-weight: 500;
}

.offer-popup-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.offer-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) rotate(90deg);
}

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

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

/* ========================================
   OFFER ANIMATION (Home Page)
   ======================================== */
.offer-animation-container {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.offer-anim-item {
  position: absolute;
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.6;
  text-shadow: 0 0 10px rgba(0, 217, 192, 0.5);
}

.offer-percent {
  top: 15%;
  left: 10%;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--purple-light);
  animation: floatOffer 4s ease-in-out infinite;
}

.offer-percent-2 {
  top: 25%;
  right: 15%;
  font-size: 2rem;
  font-weight: bold;
  color: var(--cyan);
  animation: floatOffer 3.5s ease-in-out infinite 0.5s;
}

.offer-dove {
  top: 20%;
  left: 25%;
  font-size: 1.8rem;
  color: var(--purple-light);
  animation: flyDove 6s ease-in-out infinite;
}

.offer-dove-2 {
  top: 35%;
  right: 25%;
  font-size: 1.5rem;
  color: var(--cyan);
  animation: flyDove 5s ease-in-out infinite 1s;
}

.offer-tag {
  top: 45%;
  left: 8%;
  font-size: 1.6rem;
  color: var(--purple);
  animation: floatOffer 4.5s ease-in-out infinite 0.3s;
}

.offer-gift {
  top: 30%;
  right: 8%;
  font-size: 1.8rem;
  color: var(--cyan-light);
  animation: floatOffer 3.8s ease-in-out infinite 0.7s;
}

.offer-sparkle {
  top: 50%;
  left: 20%;
  font-size: 1.2rem;
  color: #ffd700;
  animation: sparkle 2s ease-in-out infinite;
}

.offer-star {
  top: 40%;
  right: 12%;
  font-size: 1.3rem;
  color: #ffd700;
  animation: sparkle 2.5s ease-in-out infinite 0.5s;
}

.offer-discount {
  top: 55%;
  right: 20%;
  font-size: 1rem;
  font-weight: bold;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  animation: floatOffer 3s ease-in-out infinite 0.2s;
}

.offer-off {
  top: 60%;
  left: 15%;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
  background: var(--gradient-primary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  animation: floatOffer 3.2s ease-in-out infinite 0.8s;
}

@keyframes floatOffer {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-15px) rotate(5deg); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-25px) rotate(0deg); 
    opacity: 1;
  }
  75% { 
    transform: translateY(-10px) rotate(-5deg); 
    opacity: 0.8;
  }
}

@keyframes flyDove {
  0%, 100% { 
    transform: translateX(0) translateY(0); 
    opacity: 0.5;
  }
  25% { 
    transform: translateX(30px) translateY(-10px); 
    opacity: 0.8;
  }
  50% { 
    transform: translateX(50px) translateY(5px); 
    opacity: 0.6;
  }
  75% { 
    transform: translateX(20px) translateY(-5px); 
    opacity: 0.8;
  }
}

@keyframes sparkle {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    opacity: 0.5;
  }
  50% { 
    transform: scale(1.3) rotate(180deg); 
    opacity: 1;
  }
}

/* Hide offer animation on mobile */
@media (max-width: 768px) {
  .offer-animation-container {
    display: none;
  }
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.logo img { height: 45px; width: auto; transition: 0.3s ease; }
.logo:hover img { transform: scale(1.05); }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.875rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  background: var(--gradient-primary);
  color: white;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  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: all 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(123, 45, 142, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(123, 45, 142, 0.5);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background: var(--cyan);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(123, 45, 142, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 217, 192, 0.1) 0%, transparent 50%);
  pointer-events: none;
  animation: heroBgPulse 8s ease-in-out infinite;
}

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

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

.hero-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(123, 45, 142, 0.3);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(0, 217, 192, 0.4);
}

/* ========================================
   GRID
   ======================================== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

/* ========================================
   FEATURE CARDS
   ======================================== */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(0, 217, 192, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PRICING CARDS
   ======================================== */
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 30px rgba(123, 45, 142, 0.2);
  position: relative;
  animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(123, 45, 142, 0.2); }
  50% { box-shadow: 0 0 50px rgba(123, 45, 142, 0.4); }
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: var(--radius-sm);
  animation: shimmer 2s infinite;
}

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

.pricing-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price .original {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.pricing-price .offer {
  color: var(--cyan);
  animation: offerGlow 2s ease-in-out infinite;
}

@keyframes offerGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 217, 192, 0.5); }
  50% { text-shadow: 0 0 20px rgba(0, 217, 192, 0.8); }
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pricing-features li:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: bold;
  flex-shrink: 0;
}

/* ========================================
   TABS
   ======================================== */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 0.625rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(123, 45, 142, 0.4);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }

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

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

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

/* Watermark */
.portfolio-watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
  transition: all 0.3s ease;
}

.portfolio-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portfolio-item:hover .portfolio-watermark {
  opacity: 0;
  transform: scale(0.8);
}

/* Sketch/Reveal Effect */
.portfolio-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-reveal {
  opacity: 1;
}

.portfolio-sketch,
.portfolio-final {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.portfolio-sketch img,
.portfolio-final img {
  width: 200%;
  height: 100%;
  object-fit: cover;
}

.portfolio-sketch img {
  object-position: left center;
  filter: grayscale(100%) contrast(1.2);
}

.portfolio-final img {
  object-position: right center;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: all 0.4s ease;
}

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

.portfolio-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-title {
  transform: translateY(0);
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-tags {
  transform: translateY(0);
}

.portfolio-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 217, 192, 0.2);
  color: var(--cyan);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.portfolio-tag:hover {
  background: rgba(0, 217, 192, 0.4);
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ========================================
   TESTIMONIALS / REVIEWS
   ======================================== */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 217, 192, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 217, 192, 0.4);
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-stars {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.testimonial-stars i {
  animation: starPulse 2s ease-in-out infinite;
}

.testimonial-stars i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-section {
  background: var(--bg-secondary);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  min-width: 150px;
}

.partner-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(123, 45, 142, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.partner-pfp {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: var(--gradient-primary);
  padding: 3px;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-pfp {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 217, 192, 0.4);
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.partner-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.partner-handle i {
  color: var(--cyan);
}

/* ========================================
   STATS ANIMATION
   ======================================== */
.stats-section {
  background: var(--bg-secondary);
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 192, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-value.animated {
  animation: countUp 1s ease-out;
}

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

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(123, 45, 142, 0.1) 0%, transparent 50%);
  animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand { max-width: 300px; }

.footer-logo { height: 50px; margin-bottom: 1rem; transition: all 0.3s ease; }
.footer-logo:hover { transform: scale(1.05); }

.footer-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(123, 45, 142, 0.4);
}

.footer-column h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 8px;
  transform: translateX(5px);
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* ========================================
   FORMS
   ======================================== */
.form-group { margin-bottom: 1rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.1);
  transform: translateY(-2px);
}

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

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(0, 217, 192, 0.3);
  transform: translateX(5px);
}

.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-info-card h3 i { color: var(--cyan); }

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  border-color: rgba(123, 45, 142, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(123, 45, 142, 0.2) 0%, transparent 50%);
  pointer-events: none;
  animation: headerGlow 6s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
}

.process-number {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(123, 45, 142, 0.3);
}

.process-step:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 217, 192, 0.5);
}

.process-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   TIMEFRAME CARDS
   ======================================== */
.timeframe-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeframe-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 217, 192, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.timeframe-card h3 {
  color: var(--cyan);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeframe-duration {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   POLICY CARDS
   ======================================== */
.policy-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.policy-card:hover {
  border-color: rgba(123, 45, 142, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.policy-card h3 i { color: var(--cyan); }

/* ========================================
   PAYMENT PLANS
   ======================================== */
.payment-plan {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.payment-plan:hover {
  border-color: rgba(0, 217, 192, 0.3);
  transform: translateX(10px);
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger animation delays */
.grid .reveal:nth-child(1) { transition-delay: 0s; }
.grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.grid .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ========================================
   FLOATING ANIMATION
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

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

/* ========================================
   SPIN ANIMATION
   ======================================== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-slow {
  animation: spin 20s linear infinite;
}

/* ========================================
   GLOW EFFECT
   ======================================== */
.glow {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px rgba(0, 217, 192, 0.3); }
  to { box-shadow: 0 0 30px rgba(0, 217, 192, 0.6); }
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 500;
  z-index: 10000;
  animation: slideInRight 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toast-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.toast-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

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

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease, border-color 0.3s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  transform: scale(1.5);
  border-color: var(--purple-light);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
}

/* ========================================
   RESPONSIVE - IMPROVED
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  
  .header-inner {
    padding: 0.75rem 1rem;
  }
  
  .nav {
    gap: 0.15rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 1rem;
    animation: slideDown 0.3s ease;
    max-height: 70vh;
    overflow-y: auto;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  [data-theme="light"] .nav {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav.active { display: flex; }
  
  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-md);
  }
  
  .menu-toggle { display: flex; }
  
  .hero {
    padding: 5rem 1rem;
    min-height: auto;
    padding-top: 7rem;
  }
  
  .hero-buttons { 
    flex-direction: column; 
    align-items: center;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
  }

  .header .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    width: auto;
    max-width: none;
  }

  .btn-primary {
    font-size: 1rem;
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 2rem;
  }
  
  .footer-brand { max-width: 100%; }
  
  .footer-social { justify-content: center; }
  
  .footer-bottom { 
    flex-direction: column; 
    text-align: center;
    gap: 1rem;
  }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .process-step { flex-direction: column; text-align: center; }
  
  .process-number { margin: 0 auto; }
  
  .offer-popup {
    padding: 0.75rem 1rem;
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .offer-popup-close {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 0.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .page-header {
    padding: 6rem 0 3rem;
  }
  
  .portfolio-filters {
    gap: 0.35rem;
  }
  
  .portfolio-filters .tab-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    gap: 1rem;
  }
  
  .partner-card {
    min-width: auto;
    padding: 1rem 0.75rem;
    flex: 0 0 calc(50% - 0.5rem);
  }
  
  .theme-toggle {
    top: auto;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .cta-section {
    padding: 2.5rem 1.5rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 1.25rem;
  }
  
  .pricing-price {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .testimonial-card,
  .review-card {
    padding: 1.25rem;
  }
  
  .btn {
    max-width: 100%;
  }
  
  .header-inner {
    padding: 0.5rem 0.75rem;
  }
  
  .logo img {
    height: 38px;
  }
}

/* Touch device optimizations */
@media (pointer: coarse) {
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }
  
  .portfolio-item:hover {
    transform: translateY(-5px);
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
}

/* ========================================
   SLIDER STYLES (Reviews & Partners)
   ======================================== */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.slider-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slider-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}

.slider-track .testimonial-card {
  flex: 0 0 calc(33.333% - 0.667rem);
  min-width: 280px;
  box-sizing: border-box;
}

.slider-track .partner-card {
  flex: 0 0 calc(25% - 0.75rem);
  min-width: 160px;
  box-sizing: border-box;
}

.partners-slider-track {
  gap: 1rem;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cyan);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(123, 45, 142, 0.4);
}

.slider-btn:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--gradient-primary);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: var(--cyan);
}

/* Slider responsive */
@media (max-width: 1200px) {
  .slider-track .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
  
  .slider-track .partner-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .slider-container {
    gap: 0.5rem;
    padding: 0;
  }

  .slider-wrapper {
    overflow: hidden;
    width: 100%;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .slider-track {
    gap: 0.75rem;
  }

  .slider-track .testimonial-card {
    flex: 0 0 calc(100% - 0.75rem);
    min-width: auto;
    max-width: 100%;
    padding: 1.25rem;
    margin: 0;
  }

  .testimonial-text-wrapper {
    max-height: 100px;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .testimonial-author {
    gap: 0.75rem;
  }

  .testimonial-avatar {
    width: 45px;
    height: 45px;
  }

  .testimonial-info h4 {
    font-size: 0.95rem;
  }

  .testimonial-info p {
    font-size: 0.8rem;
  }

  .slider-track .partner-card {
    flex: 0 0 calc(50% - 0.375rem);
    min-width: auto;
    padding: 1rem;
    margin: 0;
  }

  .partners-slider-track {
    gap: 0.75rem;
  }

  .partner-pfp {
    width: 55px;
    height: 55px;
  }

  .partner-name {
    font-size: 0.8rem;
  }

  .partner-handle {
    font-size: 0.7rem;
  }

  .slider-dots {
    margin-top: 1.5rem;
  }
}

/* ========================================
   PRICING PAGE - A LA CARTE MOBILE FIX
   ======================================== */
.payment-plan {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-plan h4 {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 768px) {
  .payment-plan {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .payment-plan h4 {
    font-size: 0.9rem;
    min-width: auto;
    width: 100%;
  }
  
  .payment-plan span {
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: 600;
  }
  
  .payment-plan > div {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .payment-plan {
    padding: 0.875rem;
  }
  
  .payment-plan h4 {
    font-size: 0.85rem;
  }
  
  .payment-plan span {
    font-size: 0.85rem;
  }
}

/* ========================================
   REVIEWS - READ MORE FUNCTIONALITY
   ======================================== */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-text-wrapper {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-text-wrapper.expanded {
  max-height: 500px;
}

.testimonial-text-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, var(--bg-card));
  transition: opacity 0.3s ease;
}

.testimonial-text-wrapper.expanded::after {
  opacity: 0;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: var(--cyan);
  color: var(--bg-primary);
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
  transform: rotate(180deg);
}

/* ========================================
   COOL ANIMATIONS - REVIEWS & PARTNERS
   ======================================== */

/* Reviews Card 3D Flip Effect */
.slider-track .testimonial-card {
  transform-style: preserve-3d;
  perspective: 500px;
  animation: cardFloat 4s ease-in-out infinite;
}

.slider-track .testimonial-card:nth-child(2) {
  animation-delay: 0.5s;
}

.slider-track .testimonial-card:nth-child(3) {
  animation-delay: 1s;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0) rotateX(0deg);
  }
  50% {
    transform: translateY(-5px) rotateX(2deg);
  }
}

/* Glowing border effect on hover */
.slider-track .testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  opacity: 0;
  z-index: -1;
  filter: blur(15px);
  transition: opacity 0.4s ease;
}

.slider-track .testimonial-card:hover::before {
  opacity: 0.5;
}

.slider-track .testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(123, 45, 142, 0.3);
}

/* Star rating sparkle animation */
.testimonial-stars i {
  animation: starPulse 2s ease-in-out infinite;
}

.testimonial-stars i:nth-child(2) { animation-delay: 0.1s; }
.testimonial-stars i:nth-child(3) { animation-delay: 0.2s; }
.testimonial-stars i:nth-child(4) { animation-delay: 0.3s; }
.testimonial-stars i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.15);
    filter: brightness(1.3);
  }
}

/* Partners - Cool floating animation */
.partners-slider-track .partner-card {
  animation: partnerFloat 5s ease-in-out infinite;
  position: relative;
}

.partners-slider-track .partner-card:nth-child(2) {
  animation-delay: 0.7s;
}

.partners-slider-track .partner-card:nth-child(3) {
  animation-delay: 1.4s;
}

.partners-slider-track .partner-card:nth-child(4) {
  animation-delay: 2.1s;
}

@keyframes partnerFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(1deg);
  }
  50% {
    transform: translateY(-3px) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

/* Partner card hover - 3D tilt effect */
.partners-slider-track .partner-card {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.partners-slider-track .partner-card:hover {
  transform: translateY(-12px) scale(1.08) rotateX(5deg);
  box-shadow: 
    0 20px 40px rgba(123, 45, 142, 0.4),
    0 0 30px rgba(0, 217, 192, 0.2);
  border-color: var(--cyan);
}

/* Partner profile picture glow */
.partner-pfp {
  transition: all 0.4s ease;
}

.partners-slider-track .partner-card:hover .partner-pfp {
  box-shadow: 0 0 20px rgba(0, 217, 192, 0.5);
  transform: scale(1.1);
}

/* Shimmer effect on partner cards */
.partners-slider-track .partner-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.partners-slider-track .partner-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* Slider button enhanced animations */
.slider-btn {
  position: relative;
  overflow: hidden;
}

.slider-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-btn:hover::before {
  opacity: 1;
}

.slider-btn i {
  position: relative;
  z-index: 1;
}

/* Dot indicators pulse animation */
.slider-dot {
  position: relative;
}

.slider-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

.slider-dot.active::before {
  opacity: 0.3;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.3;
  }
}

/* ========================================
   OFFER POPUP - HEADER FIX
   ======================================== */
.offer-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-popup.active {
  transform: translateY(0);
}

/* Header adjustment when offer popup is active */
body.offer-active .header {
  top: 50px;
}

body.offer-active {
  padding-top: 50px;
}

/* Mobile offer popup fix */
@media (max-width: 768px) {
  .offer-popup {
    padding: 0.75rem 1rem;
    min-height: auto;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
  }

  .offer-popup-content {
    padding: 0;
    font-size: 0.85rem;
    flex-direction: column;
    text-align: center;
    width: 100%;
    gap: 0.5rem;
  }

  .offer-popup-text {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.4;
    padding: 0 2rem;
  }

  .offer-popup-close {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }

  body.offer-active .header {
    top: 0;
  }

  body.offer-active {
    padding-top: 0;
  }
}

/* Smooth header transition */
.header {
  transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reviews section entrance animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-track .testimonial-card {
  animation: 
    cardFloat 4s ease-in-out infinite,
    slideInUp 0.6s ease backwards;
}

.slider-track .testimonial-card:nth-child(1) { animation-delay: 0s, 0.1s; }
.slider-track .testimonial-card:nth-child(2) { animation-delay: 0.5s, 0.2s; }
.slider-track .testimonial-card:nth-child(3) { animation-delay: 1s, 0.3s; }

/* Partners section entrance animation */
.partners-slider-track .partner-card {
  animation: 
    partnerFloat 5s ease-in-out infinite,
    slideInUp 0.6s ease backwards;
}

.partners-slider-track .partner-card:nth-child(1) { animation-delay: 0s, 0.1s; }
.partners-slider-track .partner-card:nth-child(2) { animation-delay: 0.7s, 0.2s; }
.partners-slider-track .partner-card:nth-child(3) { animation-delay: 1.4s, 0.3s; }
.partners-slider-track .partner-card:nth-child(4) { animation-delay: 2.1s, 0.4s; }

/* ========================================
   REVIEWS PAGE - READ MORE FOR REVIEW-CARD
   ======================================== */
.review-card-text-wrapper {
  position: relative;
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.review-card-text-wrapper.expanded {
  max-height: 500px;
}

.review-card-text-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, var(--bg-card));
  transition: opacity 0.3s ease;
}

.review-card-text-wrapper.expanded::after {
  opacity: 0;
}

.review-card .read-more-btn {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ========================================
   MOBILE IMPROVEMENTS - REVIEWS & PARTNERS
   ======================================== */

@media (max-width: 768px) {
  /* Reviews Section Mobile Improvements */
  .testimonial-card {
    padding: 1.25rem;
    margin: 0;
    width: 100%;
  }

  .testimonial-stars {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }

  .testimonial-text-wrapper {
    max-height: 90px;
  }

  .testimonial-text-wrapper.expanded {
    max-height: 400px;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .read-more-btn {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }

  .testimonial-author {
    margin-top: 0.5rem;
  }

  /* Partners Section Mobile Improvements */
  .partners-section .section-header {
    margin-bottom: 2rem;
  }

  .partner-card {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
    min-height: 160px;
    justify-content: center;
  }

  .partner-pfp {
    width: 60px;
    height: 60px;
    margin-bottom: 0.25rem;
  }

  .partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
  }

  .partner-handle {
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  /* Slider improvements for mobile */
  #reviewsSliderWrapper,
  #partnersSliderWrapper {
    padding: 0 0.5rem;
  }

  .slider-container {
    margin-bottom: 1rem;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }

  /* Disable floating animation on mobile for better performance */
  .slider-track .testimonial-card,
  .partners-slider-track .partner-card {
    animation: none;
  }

  .slider-track .testimonial-card:hover,
  .partners-slider-track .partner-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .slider-track .testimonial-card {
    flex: 0 0 calc(100% - 0.5rem);
    padding: 1rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .slider-track .partner-card {
    flex: 0 0 calc(50% - 0.25rem);
    padding: 0.875rem 0.5rem;
    min-height: 140px;
  }

  .partner-pfp {
    width: 50px;
    height: 50px;
  }

  .partner-name {
    font-size: 0.75rem;
  }

  .partner-handle {
    font-size: 0.7rem;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* Touch device optimizations for reviews and partners */
@media (pointer: coarse) {
  .slider-track .testimonial-card:hover,
  .partners-slider-track .partner-card:hover {
    transform: none;
  }

  .slider-track .testimonial-card:active,
  .partners-slider-track .partner-card:active {
    transform: scale(0.98);
  }
}
