/*
 * RIPTIDE - Main Stylesheet
 * Consolidated and optimized CSS for the RIPTIDE website
 * Purple/Pink Theme - Modern Design
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (Variables)
   ========================================== */
:root {
    /* Background colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a26;
    --bg-glass: rgba(18, 18, 26, 0.8);

    /* Brand colors */
    --purple-primary: #8b5cf6;
    --purple-secondary: #a855f7;
    --pink-primary: #ec4899;
    --pink-secondary: #f472b6;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f472b6 100%);
    --gradient-hover: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ec4899 100%);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Utility */
    --border-color: rgba(139, 92, 246, 0.2);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    --shadow-pink: 0 0 30px rgba(236, 72, 153, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   PERFORMANCE & ACCESSIBILITY
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

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

/* ==========================================
   BASE STYLES
   ========================================== */
@font-face {
    font-family: 'TitleFonts';
    src: url('TitleFonts.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    will-change: transform;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.1) rotate(180deg); }
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    box-shadow: var(--shadow-glow);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    transition: var(--transition);
    z-index: -1;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    left: 0;
}

/* ==========================================
   LANGUAGE SELECTOR
   ========================================== */
.language-selector {
    position: relative;
}

.language-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.language-btn:hover {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-glow);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    max-height: 400px;
    overflow-y: auto;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.language-region {
    font-size: 0.8rem;
    color: var(--purple-primary);
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero h2 {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: 'TitleFonts', 'JetBrains Mono', monospace;
    letter-spacing: 4px;
    animation: heroTextFloat 3s ease-in-out infinite;
    position: relative;
    color: rgb(255, 0, 221);
    z-index: 2;
}

.hero h2::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgb(255, 255, 255);
    z-index: 1;
    transform: translate(3px, 3px);
}

.hero h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
    animation: glowPulse 2s ease-in-out infinite;
}

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

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }
    50% { box-shadow: 0 0 40px rgba(236, 72, 153, 0.8); }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-card:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-card:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    z-index: 2;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid;
    border-image: var(--gradient-main) 1;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-main);
    color: white;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

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

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

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plan-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-price .original-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    opacity: 0.7;
    margin-right: 0.5rem;
}

.plan-period {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Badges */
.bonus-offer {
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d75 100%);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 45, 117, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-offer.urgent-bonus {
    animation: urgentBonusPulse 1.5s ease-in-out infinite;
    border: 2px solid #ff6b35;
}

.spoofer-badge {
    background: linear-gradient(135deg, #4a90e2 0%, #7b68ee 100%);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(123, 104, 238, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spoofer-badge i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.savings-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: savingsPulse 2s ease-in-out infinite;
}

.savings-badge i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

@keyframes savingsPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(32, 201, 151, 0.6);
    }
}

.standalone-note {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.standalone-note small {
    font-size: 0.85rem;
}

@keyframes urgentBonusPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 45, 117, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }
}

/* Features List */
.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--purple-primary);
    font-size: 1.1rem;
}

.features-list .bonus-feature {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 45, 117, 0.15) 100%);
    border: 2px solid rgba(255, 45, 117, 0.4);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
}

.features-list .bonus-feature.urgent-feature {
    animation: urgentFeatureGlow 2s ease-in-out infinite;
}

@keyframes urgentFeatureGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 45, 117, 0.3);
        border-color: rgba(255, 45, 117, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 107, 53, 0.5);
        border-color: rgba(255, 107, 53, 0.6);
    }
}

.features-list .bonus-feature i {
    color: #ff2d75;
}

.features-list .bonus-feature strong {
    color: #ff6b35;
}

/* Stock Indicator */
.stock-indicator {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 45, 117, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stock-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.stock-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff2d75 0%, #ff6b35 100%);
    border-radius: 4px;
    animation: stockPulse 2s ease-in-out infinite;
}

@keyframes stockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ==========================================
   CTA BUTTONS
   ========================================== */
.cta-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-button::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: 0.5s;
}

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

.cta-button.urgent-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #ff2d75 100%);
    animation: urgentButtonPulse 1.5s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(255, 45, 117, 0.4);
    border: 2px solid #ff6b35;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.cta-button.urgent-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 45, 117, 0.6);
}

@keyframes urgentButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 45, 117, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
    }
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--purple-primary);
    color: var(--purple-primary);
    margin-top: 1rem;
}

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

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.review-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.review-image {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.review-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.review-image::after {
    content: 'Click to enlarge';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--transition);
}

.review-image:hover::after {
    opacity: 1;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    justify-content: center;
}

.review-stars i {
    color: #ffd700;
    font-size: 1.2rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.review-stars i:nth-child(1) { animation-delay: 0s; }
.review-stars i:nth-child(2) { animation-delay: 0.2s; }
.review-stars i:nth-child(3) { animation-delay: 0.4s; }
.review-stars i:nth-child(4) { animation-delay: 0.6s; }
.review-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.review-content p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.review-author {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.review-author strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.review-author span {
    color: var(--purple-primary);
    font-size: 0.9rem;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    font-weight: 500;
}

.reviews-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.reviews-cta p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery {
    padding: 6rem 0;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-main);
    color: white;
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.gallery-popup.active {
    opacity: 1;
    visibility: visible;
}

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gallery-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.gallery-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-close:hover {
    color: var(--purple-primary);
    transform: scale(1.2);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: var(--gradient-main);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: -70px; }
.gallery-next { right: -70px; }

/* Review Popup */
.review-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.review-popup.active {
    opacity: 1;
    visibility: visible;
}

.review-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.review-popup img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.review-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.review-popup-close:hover {
    color: var(--purple-primary);
    transform: scale(1.2);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gradient-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--purple-primary);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.slide-in-left { animation: slideInLeft 0.8s ease-out forwards; }
.slide-in-right { animation: slideInRight 0.8s ease-out forwards; }

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
}

/* ==========================================
   MOBILE STYLES
   ========================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

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

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

    .gallery-nav {
        display: none;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-image img {
        height: 150px;
    }

    .floating-cards {
        display: none;
    }
}

/* ==========================================
   LAZY LOADING IMAGES
   ========================================== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
