/* FunnelDrift - Main Stylesheet */

/* ========== CSS Variables ========== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray: #94a3b8;
  --gray-light: #cbd5e1;
  --light: #1e293b;
  --white: #f8fafc;
  --success: #10b981;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Mega Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: var(--white);
  padding: 10px 0;
}

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

.nav-link .arrow {
  font-size: 0.8rem;
  transition: var(--transition);
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 30px;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-radius: 8px;
  transition: var(--transition);
}

.mega-menu-item:hover {
  background: rgba(99, 102, 241, 0.1);
}

.mega-menu-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mega-menu-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.mega-menu-content p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.08;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--dark-light);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 30px;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.hero-card-header h4 {
  margin-top: 20px;
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.hero-stat {
  text-align: center;
  padding: 20px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
}

.hero-stat h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

/* ========== Platforms Section ========== */
.platforms {
  padding: 80px 0;
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

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

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.platform-card {
  background: var(--dark-light);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

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

.platform-icon {
  width: 80px;
  height: 56px;
  margin: 0 auto 15px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.platform-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Platform brand icon styles - logos show directly */

/* ========== Portfolio Placeholder Styles ========== */
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.pp-inner {
  width: 100%;
  max-width: 260px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pp-browser {
  background: rgba(30, 41, 59, 0.95);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pp-browser-dots {
  display: flex;
  gap: 4px;
}

.pp-browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pp-browser-dots span:nth-child(1) { background: #ef4444; }
.pp-browser-dots span:nth-child(2) { background: #eab308; }
.pp-browser-dots span:nth-child(3) { background: #22c55e; }

.pp-url {
  font-size: 0.5rem;
  color: var(--gray);
  background: rgba(15, 23, 42, 0.6);
  padding: 3px 8px;
  border-radius: 4px;
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-content-blocks {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-hero-block {
  height: 36px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 4px;
}

.pp-hero-block.tall {
  height: 52px;
}

.pp-text-block {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  width: 85%;
}

.pp-text-block.short { width: 55%; }
.pp-text-block.center { width: 60%; margin: 0 auto; }
.pp-text-block.mini { width: 40%; }

.pp-grid-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pp-grid-block.two {
  grid-template-columns: repeat(2, 1fr);
}

.pp-grid-block.three {
  grid-template-columns: repeat(3, 1fr);
}

.pp-grid-block > div {
  height: 28px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 3px;
}

.pp-cta-block {
  height: 18px;
  background: var(--gradient);
  border-radius: 4px;
  width: 70%;
  margin: 0 auto;
}

.pp-cta-block.small {
  width: 50%;
  height: 14px;
}

.pp-form-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-form-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pp-form-line.short { width: 70%; }

.pp-page-count {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Client work specific layouts */
.pp-pricing-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pp-pricing-block > div {
  height: 40px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 3px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.pp-counter-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.pp-counter-block > div {
  height: 22px;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-testimonial-block {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.pp-avatar {
  width: 18px;
  height: 18px;
  background: var(--gradient);
  border-radius: 50%;
  flex-shrink: 0;
}

.pp-text-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.pp-text-lines > div {
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.pp-text-lines > div:first-child { width: 80%; }
.pp-text-lines > div:last-child { width: 50%; }

.pp-logos-bar {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.pp-logos-bar > div {
  width: 30px;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}

.pp-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pp-product-image {
  height: 60px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 4px;
}

.pp-product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.pp-stars {
  font-size: 0.5rem;
  color: #eab308;
}

.pp-trust-badges {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.pp-trust-badges > div {
  width: 40px;
  height: 14px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 3px;
}

.pp-checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6px;
}

.pp-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-order-bump {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 3px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.pp-checkbox {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.pp-checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.pp-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pp-course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.pp-course-cards > div {
  height: 36px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 3px;
}

.pp-countdown-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.pp-countdown-block > div {
  height: 24px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 3px;
}

.pp-video-block {
  height: 60px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pp-play-btn {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #0f172a;
  padding-left: 2px;
}

.pp-timer-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.pp-timer-block > div {
  height: 22px;
  background: rgba(239, 68, 68, 0.25);
  border-radius: 3px;
}

.pp-newsletter-block {
  display: flex;
  gap: 4px;
  align-items: center;
}

.pp-newsletter-block .pp-form-line {
  flex: 1;
}

.pp-property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.pp-property-grid > div {
  height: 44px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 3px;
}

/* ========== Services Section ========== */
.services {
  padding: 100px 0;
  background: var(--dark-light);
}

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

.service-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  font-weight: 600;
}

.service-link:hover {
  gap: 12px;
}

/* ========== Portfolio Section ========== */
.portfolio {
  padding: 100px 0;
  background: var(--dark);
}

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

.portfolio-card {
  background: var(--dark-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.portfolio-image {
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-content {
  padding: 25px;
}

.portfolio-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.portfolio-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.portfolio-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== Pricing Section ========== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--dark-light);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-header {
  background: var(--gradient);
  color: var(--white);
  padding: 40px;
  text-align: center;
}

.pricing-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-amount {
  font-size: 4rem;
  font-weight: 800;
}

.pricing-amount span {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
}

.pricing-period {
  opacity: 0.9;
  margin-top: 5px;
}

.pricing-body {
  padding: 40px;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

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

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li span {
  font-size: 0.95rem;
  color: var(--white);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* ========== Testimonials Section ========== */
.testimonials {
  padding: 100px 0;
  background: var(--dark-light);
}

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

.testimonial-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ========== CTA Section ========== */
.cta {
  padding: 100px 0;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ========== Footer ========== */
.footer {
  background: #020617;
  color: var(--white);
  padding: 80px 0 30px;
}

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

.footer-brand p {
  color: var(--gray);
  margin: 20px 0;
  max-width: 300px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--dark-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

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

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-column ul li a {
  color: var(--gray);
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ========== Page Header ========== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Portfolio Page ========== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  background: transparent;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ========== Pricing Page Features ========== */
.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.pricing-feature {
  display: flex;
  gap: 20px;
}

.pricing-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pricing-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-feature p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 30px;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-toggle {
    display: flex;
  }

  .mega-menu {
    position: static;
    transform: none;
    min-width: 100%;
    display: none;
  }

  .nav-item:hover .mega-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

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

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

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

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

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

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

  .cta h2 {
    font-size: 2rem;
  }

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

  .section-header h2 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
}