/*
Theme Name: Offline Photography
Theme URI: https://offline.photography
Author: Offline
Author URI: https://offline.photography
Description: Tema profesional de fotografía con slider hero, precios editables, animaciones premium y personalización total desde el Customizer de WordPress. Diseño oscuro con gradientes púrpura y efectos glassmorphism.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: offline-photography
Tags: photography, portfolio, one-page, custom-logo, custom-colors, responsive-layout
*/

/* ========================================
   1. CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a855f7;
  --accent: #e879f9;
  --bg-dark: #0a0618;
  --bg-navy: #110d2b;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-gray: #94a3b8;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #6d28d9 0%, #7c3aed 25%, #a855f7 60%, #e879f9 100%);
  --gradient-hero: linear-gradient(135deg, #4c1d95 0%, #7c3aed 40%, #a855f7 70%, #c084fc 100%);
  --gradient-pricing: linear-gradient(160deg, #5b21b6 0%, #7c3aed 30%, #a855f7 60%, #d946ef 100%);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.35);
  --shadow-glow-sm: 0 0 20px rgba(124, 58, 237, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1280px;
  --navbar-height: 80px;
}

/* ========================================
   2. RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

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

p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

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

.section-padding {
  padding: 100px 0;
}

/* ========================================
   5. NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 6, 24, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  z-index: 1001;
}

.navbar-logo img,
.navbar-logo svg {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-light);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.nav-social a:hover {
  color: var(--text-white);
  background: var(--glass-bg);
  border-color: var(--glass-border);
  transform: translateY(-2px);
}

.nav-social a svg {
  width: 18px;
  height: 18px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5.5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 6, 24, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow), color var(--transition-fast);
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.4s; }

.mobile-menu a:hover {
  color: var(--primary-light);
}

.mobile-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-slow);
  transition-delay: 0.5s;
}

.mobile-menu.open .mobile-social {
  opacity: 1;
  transform: translateY(0);
}

.mobile-social a {
  font-size: 1rem;
  opacity: 1;
  transform: none;
}

/* ========================================
   6. HERO SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(109, 40, 217, 0.92) 0%,
    rgba(124, 58, 237, 0.80) 30%,
    rgba(168, 85, 247, 0.60) 60%,
    rgba(168, 85, 247, 0.30) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 24px;
  margin-left: 8%;
}

.slide-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 500px;
}

.slide-content .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--text-white);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.slide-content .btn-hero:hover::before {
  left: 100%;
}

.slide-content .btn-hero:hover {
  background: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
  transform: translateY(-50%);
}

.slider-arrow {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider-dot.active {
  background: var(--text-white);
  border-color: var(--text-white);
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* ========================================
   7. SERVICES SECTION
   ======================================== */
.services-section {
  background: var(--bg-navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-gray);
  max-width: 500px;
  margin-top: 20px;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.service-images {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-slow), transform 0.8s ease;
}

.service-img.hover-img {
  opacity: 0;
}

.service-card:hover .service-img.main-img {
  opacity: 0;
  transform: scale(1.05);
}

.service-card:hover .service-img.hover-img {
  opacity: 1;
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 2;
}

.service-card:hover .service-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-info {
  padding: 20px 4px;
}

.service-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-info h3 {
  color: var(--primary-light);
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========================================
   7.5 PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
  background: var(--bg-dark);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.portfolio-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.portfolio-item:hover .portfolio-caption {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-caption span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-white);
}

/* ========================================
   8. PRICING SECTION
   ======================================== */
.pricing-section {
  background: var(--gradient-pricing);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-section > .container {
  position: relative;
  z-index: 1;
}

/* Pricing Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: var(--text-white);
  color: var(--primary-dark);
  border-color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Tab Panels */
.pricing-content {
  position: relative;
  min-height: 400px;
}

.tab-panel {
  display: none;
  animation: fadeInUp 0.5s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

/* Pricing Grid */
.pricing-grid {
  display: grid;
  gap: 24px;
  justify-items: center;
  align-items: start;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(280px, 400px));
  justify-content: center;
}

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

/* Pricing Card */
.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  width: 100%;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover::before {
  background: var(--gradient-primary);
}

/* Featured Card */
.pricing-card.featured {
  background: var(--text-white);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.15);
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-price,
.pricing-card.featured .price-amount,
.pricing-card.featured h3 {
  color: var(--bg-dark);
}

.pricing-card.featured .price-prefix,
.pricing-card.featured .price-suffix {
  color: var(--text-muted);
}

.pricing-card.featured .pricing-features li {
  color: #1e1b4b;
}

.pricing-card.featured .pricing-features svg {
  color: var(--primary);
}

.pricing-card.featured .pricing-btn {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-glow-sm);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

/* Pricing Badge */
.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  animation: badgePulse 2s ease-in-out infinite;
}

.pricing-card.featured .pricing-badge {
  background: var(--gradient-primary);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(124, 58, 237, 0); }
}

/* Pricing Label & Price */
.pricing-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 6px;
  font-weight: 400;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-prefix {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.price-suffix {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Pricing Features */
.pricing-features {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* Pricing Button */
.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

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

.pricing-btn:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Pricing Note */
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 30px;
  font-style: italic;
}

/* Subscription Box */
.subscription-box {
  margin-top: 40px;
  padding: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.subscription-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.subscription-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.subscription-box .sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--text-white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.subscription-box .sub-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   9. CTA SECTION
   ======================================== */
.cta-section {
  background: var(--bg-navy);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

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

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  background: var(--gradient-primary);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow-sm);
}

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

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

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   10. FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  height: 28px;
  width: auto;
}

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

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-gray);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-sm);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   11. RESPONSIVE
   ======================================== */

/* Tablet & below */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .pricing-grid-2 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }

  .slide-content {
    margin-left: 5%;
  }

  .nav-links,
  .nav-social {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
  }

  .section-padding {
    padding: 80px 0;
  }

  .services-section,
  .pricing-section,
  .cta-section {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-grid-4,
  .pricing-grid-2 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 16px;
  }

  .portfolio-section {
    padding: 80px 0;
  }

  .pricing-tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .slide-content {
    margin-left: 0;
    padding: 0 20px;
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slide-content .btn-hero {
    align-self: center;
  }

  .slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(109, 40, 217, 0.95) 0%,
      rgba(124, 58, 237, 0.85) 50%,
      rgba(168, 85, 247, 0.75) 100%
    );
  }

  .slider-arrows {
    display: none;
  }

  .slider-dots {
    bottom: 24px;
  }

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

  .price-amount {
    font-size: 2.2rem;
  }

  .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-header {
    text-align: center;
  }

  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
}

/* ========================================
   12. UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
