/* ====================================
   AI PHOTO LANDING - STYLES
   Dark theme with glass effects
   ==================================== */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #07070d;
    --bg-secondary: #0d0d15;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    --gradient-secondary: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    --gradient-glow: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.3);
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;
    --card-radius: 24px;
    --btn-radius: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(168, 85, 247, 0.3);
}

/* 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;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: var(--btn-radius);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.5);
}

.btn-glass {
    background: var(--bg-glass);
    color: white;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glow);
}

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

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

.btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-xl {
    padding: 24px 48px;
    font-size: 20px;
    border-radius: 20px;
}

.btn-block {
    width: 100%;
}

.btn-icon, .btn .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-lg .icon, .btn-xl .icon {
    width: 22px;
    height: 22px;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    animation: btnGlow 3s infinite;
}

@keyframes btnGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

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

/* Placeholder Images */
.placeholder-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.3) 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        rgba(236, 72, 153, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.placeholder-img::before {
    content: '📸';
    font-size: 32px;
    opacity: 0.5;
}


.placeholder-img.small::before {
    font-size: 20px;
}

.placeholder-img.large::before {
    font-size: 48px;
}

/* Snow Container */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, var(--bg-primary) 70%, transparent);
    z-index: 1000;
    display: none;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.btn-sticky {
    width: 100%;
    padding: 18px 32px;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 100px;
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -150px;
    right: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, 30px); }
    50% { transform: translate(-30px, 50px); }
    75% { transform: translate(30px, -30px); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.2);
}

.hero-badge::before {
    content: '🎄';
    font-size: 16px;
}

.badge-dot {
    display: none; /* deprecated */
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); }
}

.hero-title {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.price-highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-items: center;
}

.stat-icon {
    font-size: 20px;
    grid-row: span 2;
}

.stat-icon-svg {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    stroke: var(--accent-purple);
    flex-shrink: 0;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column !important;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center;
    }
}

.hero-gallery {
    animation: fadeInUp 1s ease 0.3s both;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

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

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

.gi-1 { grid-column: span 2; grid-row: span 2; border-radius: 24px; }
.gi-2, .gi-3 { aspect-ratio: 1; }
.gi-4, .gi-5, .gi-6 { aspect-ratio: 1; }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

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

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-gallery {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gi-1 {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
    
    .hero-gallery {
        max-width: 100%;
        padding: 0;
    }
}

/* ====================================
   GALLERY SECTION
   ==================================== */
.gallery-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gallery-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

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

.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.showcase-item {
    aspect-ratio: 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.showcase-item:hover {
    transform: scale(1.03);
}

.showcase-item img,
.showcase-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
}

/* Блик на фотографиях */
.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 100%
    );
    z-index: 1;
    animation: shimmer-slide 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}

@keyframes shimmer-slide {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Скрываем элементы без класса show-in-all по умолчанию */
.showcase-item:not(.show-in-all) {
    display: none;
}


.showcase-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.showcase-tag {
    display: none !important;
}

.showcase-tag {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.showcase-item.video .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all var(--transition-fast);
}

.showcase-item.video:hover .play-button {
    background: var(--accent-purple);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Кнопка "Показать все" */
.gallery-show-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-show-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-show-all::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.btn-show-all:hover::before {
    opacity: 1;
}

.btn-show-all:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.3);
}

.btn-show-all .arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.btn-show-all:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-show-all.hidden {
    display: none;
}

@media (max-width: 768px) {
    .gallery-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
    
    .btn-show-all {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* ====================================
   HOW IT WORKS SECTION
   ==================================== */
.how-section {
    padding: var(--section-padding) 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    min-height: 220px;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.step-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 56px;
    height: 56px;
    stroke: var(--accent-purple);
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-top: 60px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: var(--border-color);
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
}

.demo-video {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--card-radius);
    cursor: pointer;
    position: relative;
}

.video-container:hover .play-btn-large {
    transform: scale(1.1);
    background: var(--accent-purple);
}

.video-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.video-preview-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(20, 20, 35, 0.95) 0%,
        rgba(30, 25, 50, 0.9) 50%,
        rgba(20, 20, 35, 0.95) 100%);
    z-index: -1;
}

.video-preview-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
}

.video-preview p {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.video-placeholder {
    text-align: center;
}

/* Video Popup */
.video-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.video-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    border-radius: var(--card-radius);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-popup.active .video-popup-content {
    transform: scale(1);
}

.video-popup-content video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.video-popup-close:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.video-popup-close svg {
    width: 20px;
    height: 20px;
}

.play-btn-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px;
    cursor: pointer;
    transition: transform var(--transition-fast);
    box-shadow: var(--shadow-glow);
}

.play-btn-large:hover {
    transform: scale(1.1);
}

.video-placeholder p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .step-card {
        max-width: 100%;
        width: 100%;
        flex: none;
    }
    
    .step-connector {
        display: none;
    }
    
    .demo-video {
        margin-top: 32px;
    }
    
    .video-container {
        aspect-ratio: 16/9;
        padding: 20px;
    }
}

/* ====================================
   COMPARE SECTION
   ==================================== */
.compare-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.compare-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.compare-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.compare-slider {
    aspect-ratio: 1;
    position: relative;
    cursor: ew-resize;
    overflow: hidden;
}

.compare-before,
.compare-after {
    position: absolute;
    inset: 0;
}

.compare-before img,
.compare-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.compare-before {
    z-index: 1;
}

.compare-after {
    clip-path: inset(0 0 0 50%);
    z-index: 2;
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-line {
    width: 2px;
    flex: 1;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.handle-circle {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.compare-label {
    padding: 16px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .compare-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ====================================
   CATEGORIES SECTION
   ==================================== */
.categories-section {
    padding: var(--section-padding) 0;
}

.categories-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.categories-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.category-card {
    flex: 0 0 280px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all var(--transition-normal);
    position: relative;
}

.category-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.category-card.featured {
    border-color: var(--accent-purple);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.category-preview {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-preview video,
.category-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-content {
    padding: 24px;
}

.category-icon {
    margin-bottom: 12px;
}

.category-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-purple);
}

.category-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.category-price {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-purple);
}

/* ====================================
   FAMILY SECTION
   ==================================== */
.family-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.family-card {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.family-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.family-content {
    position: relative;
}

.family-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 20px;
}

.family-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.family-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.family-demo {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.family-before {
    display: flex;
    gap: 10px;
    position: relative;
}

.mini-photo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.mini-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plus-icon {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.arrow-icon {
    font-size: 32px;
    color: var(--accent-purple);
    animation: arrowPulse 1.5s infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(10px); opacity: 0.5; }
}

.family-after {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.family-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .family-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }
    
    .family-demo {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ====================================
   GIFT SECTION
   ==================================== */
.gift-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gift-card {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #6366f1 100%);
    border: 1px solid rgba(168, 85, 247, 0.5);
    border-radius: var(--card-radius);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.gift-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.3) 0%, transparent 40%);
}

.gift-content {
    position: relative;
}

.gift-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: giftBounce 2s infinite;
}

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

.gift-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.gift-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .gift-card {
        padding: 50px 30px;
    }
}

/* ====================================
   REVIEWS SECTION
   ==================================== */
.reviews-section {
    padding: var(--section-padding) 0;
}

.reviews-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.reviews-count {
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
}

.reviews-total {
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 30px;
    transition: all var(--transition-normal);
}

.review-card:hover {
    border-color: var(--border-glow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.review-info {
    flex: 1;
}

.review-name {
    font-weight: 600;
    display: block;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-stars {
    font-size: 14px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.review-images img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.review-images .placeholder-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
}

.reviews-cta {
    text-align: center;
    margin-top: 40px;
}

.reviews-more {
    color: var(--accent-purple);
    cursor: pointer;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   ADVANTAGES SECTION
   ==================================== */
.advantages-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

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

.advantage-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.advantage-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-purple);
}

.advantage-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.advantage-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   GUARANTEES SECTION
   ==================================== */
.guarantees-section {
    padding: 80px 0;
}

.guarantees-card {
    padding: 50px;
    text-align: center;
}

.guarantees-title {
    font-size: 28px;
    margin-bottom: 40px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    text-align: left;
}

.guarantee-icon {
    width: 28px;
    height: 28px;
    stroke: #22c55e;
    flex-shrink: 0;
}

.guarantee-text {
    font-size: 15px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantees-card {
        padding: 30px 20px;
    }
}

/* ====================================
   FAQ SECTION
   ==================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

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

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====================================
   OFFER SECTION
   ==================================== */
.offer-section {
    padding: 80px 0;
}

.offer-banner {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: var(--card-radius);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.offer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.offer-content {
    position: relative;
}

.offer-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.timer-icon {
    font-size: 24px;
}

.timer-text {
    font-size: 16px;
    opacity: 0.9;
}

.timer-countdown {
    display: flex;
    gap: 12px;
}

.timer-block {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
}

.timer-value {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.timer-label {
    font-size: 11px;
    opacity: 0.8;
}

.offer-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.offer-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .offer-banner {
        padding: 40px 20px;
    }
}

/* ====================================
   FINAL CTA SECTION
   ==================================== */
.final-cta-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--accent-purple);
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.2;
}

.final-cta-content {
    text-align: center;
    position: relative;
}

.final-cta-title {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-desc {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.final-cta-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.final-cta-gallery {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-image {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0.4;
    animation: floatImage 20s ease-in-out infinite;
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fi-1 { top: 10%; left: 10%; animation-delay: 0s; }
.fi-2 { top: 20%; right: 10%; animation-delay: -5s; }
.fi-3 { bottom: 20%; left: 15%; animation-delay: -10s; }
.fi-4 { bottom: 10%; right: 15%; animation-delay: -15s; }

@keyframes floatImage {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, 20px) rotate(5deg); }
    50% { transform: translate(-10px, 30px) rotate(-3deg); }
    75% { transform: translate(15px, -15px) rotate(3deg); }
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-purple);
}

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

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(168, 85, 247, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* ====================================
   ANIMATIONS ON SCROLL
   ==================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ====================================
   SVG ICONS STYLES
   ==================================== */

/* Play buttons */
.play-button svg,
.play-btn-large svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.play-btn-large svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* Compare handle */
.handle-circle svg {
    width: 20px;
    height: 20px;
    stroke: var(--bg-primary);
}

/* Category badge */
.category-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-badge svg {
    width: 14px;
    height: 14px;
}

/* Family section icons */
.family-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.family-badge svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent-purple);
}

.plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-purple);
    animation: arrowPulse 1.5s infinite;
}

/* Pricing check icons */
.check-icon {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    flex-shrink: 0;
    margin-right: 10px;
}

.pricing-features li {
    display: flex;
    align-items: center;
}

/* Pricing badges */
.pricing-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-badge svg {
    width: 16px;
    height: 16px;
}

/* Gift icon */
.gift-icon {
    margin-bottom: 24px;
}

.gift-icon svg {
    width: 72px;
    height: 72px;
    stroke: white;
    animation: giftBounce 2s infinite;
}

/* Stars */
.stars-container {
    display: flex;
    gap: 4px;
}

.stars-container svg,
.review-stars svg {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
}

/* Guarantees title */
.guarantees-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.guarantees-title svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-purple);
}

/* FAQ icon */
.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    stroke: var(--accent-purple);
}

/* Offer timer icon */
.timer-icon {
    width: 28px;
    height: 28px;
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-purple);
}

/* ====================================
   RESPONSIVE - GLOBAL IMPROVEMENTS
   ==================================== */

/* Mobile First Responsive Variables */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
        --card-radius: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
        --container-padding: 16px;
        --card-radius: 16px;
    }
}

/* ====================================
   RESPONSIVE - HERO SECTION
   ==================================== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 24px;
        min-height: 100svh;
        min-height: 100vh; /* fallback */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
        margin-bottom: 16px;
        background: rgba(168, 85, 247, 0.15);
        border: 1px solid rgba(168, 85, 247, 0.4);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
        animation: none;
    }
    
    .hero-badge::before {
        content: '🎄';
        font-size: 14px;
    }
    
    .hero-badge::after {
        display: none;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 24px;
        padding: 20px 24px;
        margin-bottom: 16px;
        justify-content: center;
    }
    
    .stat-divider {
        width: 1px;
        height: 40px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .stat-icon-svg {
        width: 26px;
        height: 22px;
    }
    
    .hero-gallery {
        margin-top: 20px;
        width: 100%;
        overflow: hidden;
    }
    
    .gallery-grid {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        max-width: 100%;
        margin: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        border-radius: 12px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    
    .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6 {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 140px;
        height: 180px;
        aspect-ratio: auto !important;
    }
    
    .gallery-item img {
        object-fit: cover;
        object-position: top;
    }
    
}

/* ====================================
   RESPONSIVE - GALLERY SECTION
   ==================================== */
@media (max-width: 768px) {
    .gallery-section {
        padding: var(--section-padding) 0;
    }
    
    .gallery-tabs {
        gap: 6px;
        padding: 0 0 12px;
        margin-bottom: 20px;
    }
    
    .tab-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .gallery-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .showcase-item {
        border-radius: 12px;
    }
    
    .showcase-tag {
        font-size: 11px;
    }
    
    .showcase-overlay {
        padding: 12px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button svg {
        width: 16px;
        height: 16px;
    }
}

/* ====================================
   RESPONSIVE - HOW IT WORKS
   ==================================== */
@media (max-width: 768px) {
    .how-section {
        padding: var(--section-padding) 0;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    
    .step-card {
        padding: 24px 20px;
        padding-top: 32px;
        max-width: 100% !important;
        width: 100% !important;
        flex: none !important;
        box-sizing: border-box;
    }
    
    .step-connector {
        display: none !important;
    }
    
    .step-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .step-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .step-desc {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        top: -14px;
        font-size: 11px;
    }
    
    .step-icon {
        margin-bottom: 12px;
    }
    
    .demo-video {
        margin-top: 24px;
    }
    
    .video-container {
        padding: 20px;
        aspect-ratio: 16/9;
    }
    
    .play-btn-large {
        width: 56px;
        height: 56px;
    }
    
    .play-btn-large svg {
        width: 22px;
        height: 22px;
    }
    
    .video-placeholder p {
        font-size: 13px;
        margin-top: 8px;
    }
    
    .section-cta {
        margin-top: 32px;
    }
}

/* ====================================
   RESPONSIVE - COMPARE SECTION
   ==================================== */
@media (max-width: 768px) {
    .compare-section {
        padding: var(--section-padding) 0;
    }
    
    .compare-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .compare-card {
        border-radius: 14px;
    }
    
    .compare-label {
        padding: 10px;
        font-size: 13px;
    }
    
    .handle-circle {
        width: 32px;
        height: 32px;
    }
    
    .handle-circle svg {
        width: 14px;
        height: 14px;
    }
}

/* ====================================
   RESPONSIVE - CATEGORIES
   ==================================== */
@media (max-width: 768px) {
    .categories-section {
        padding: var(--section-padding) 0;
    }
    
    .categories-scroll {
        gap: 16px;
        padding: 16px 0;
    }
    
    .category-card {
        flex: 0 0 280px;
        border-radius: 20px;
    }
    
    .category-preview {
        aspect-ratio: 4/3;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .category-icon {
        margin-bottom: 12px;
    }
    
    .category-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .category-desc {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .category-price {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    .category-badge {
        padding: 6px 12px;
        font-size: 12px;
        top: 12px;
        right: 12px;
    }
    
    .category-badge svg {
        width: 12px;
        height: 12px;
    }
}

/* ====================================
   RESPONSIVE - FAMILY SECTION
   ==================================== */
@media (max-width: 768px) {
    .family-section {
        padding: var(--section-padding) 0;
    }
    
    .family-card {
        padding: 24px 16px;
        gap: 24px;
    }
    
    .family-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .family-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .family-demo {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .family-before {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .arrow-icon {
        transform: rotate(90deg) !important;
        margin: 8px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: arrowPulseVertical 1.5s infinite !important;
    }
    
    .arrow-icon svg {
        width: 28px;
        height: 28px;
    }
    
    @keyframes arrowPulseVertical {
        0%, 100% { transform: rotate(90deg) translateX(0); opacity: 1; }
        50% { transform: rotate(90deg) translateX(10px); opacity: 0.5; }
    }
    
    .family-after {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }
    
    .mini-photo {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
    
    .plus-icon {
        width: 24px;
        height: 24px;
        right: -12px;
    }
    
    .plus-icon svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .family-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .family-badge svg {
        width: 14px;
        height: 14px;
    }
}

/* ====================================
   RESPONSIVE - GIFT SECTION
   ==================================== */
@media (max-width: 768px) {
    .gift-section {
        padding: var(--section-padding) 0;
    }
    
    .gift-card {
        padding: 32px 20px;
        border-radius: 20px;
    }
    
    .gift-icon {
        margin-bottom: 16px;
    }
    
    .gift-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .gift-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .gift-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

/* ====================================
   RESPONSIVE - REVIEWS SECTION
   ==================================== */
@media (max-width: 768px) {
    .reviews-section {
        padding: var(--section-padding) 0;
    }
    
    .reviews-stats {
        flex-direction: column;
        gap: 6px;
    }
    
    .stars-container svg {
        width: 16px;
        height: 16px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .review-card {
        padding: 16px;
        border-radius: 16px;
    }
    
    .review-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .review-name {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .review-stars svg {
        width: 12px;
        height: 12px;
    }
    
    .review-images .placeholder-img {
        width: 60px;
        height: 60px;
    }
}

/* ====================================
   RESPONSIVE - ADVANTAGES SECTION
   ==================================== */
@media (max-width: 768px) {
    .advantages-section {
        padding: var(--section-padding) 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .advantage-card {
        padding: 16px;
        border-radius: 14px;
        text-align: center;
    }
    
    .advantage-icon {
        margin-bottom: 10px;
    }
    
    .advantage-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .advantage-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .advantage-desc {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* ====================================
   RESPONSIVE - GUARANTEES SECTION
   ==================================== */
@media (max-width: 768px) {
    .guarantees-section {
        padding: 40px 0;
    }
    
    .guarantees-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .guarantees-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .guarantees-title svg {
        width: 22px;
        height: 22px;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .guarantee-item {
        padding: 12px;
        border-radius: 10px;
        gap: 10px;
    }
    
    .guarantee-icon {
        width: 20px;
        height: 20px;
    }
    
    .guarantee-text {
        font-size: 13px;
    }
}

/* ====================================
   RESPONSIVE - FAQ SECTION
   ==================================== */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--section-padding) 0;
    }
    
    .faq-question {
        padding: 14px 0;
        font-size: 14px;
    }
    
    .faq-icon {
        width: 18px;
        height: 18px;
    }
    
    .faq-answer p {
        font-size: 13px;
        padding-bottom: 14px;
    }
}

/* ====================================
   RESPONSIVE - OFFER SECTION
   ==================================== */
@media (max-width: 768px) {
    .offer-section {
        padding: 40px 0;
    }
    
    .offer-banner {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .offer-timer {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .timer-icon {
        width: 20px;
        height: 20px;
    }
    
    .timer-text {
        font-size: 13px;
    }
    
    .timer-countdown {
        gap: 6px;
    }
    
    .timer-block {
        padding: 8px 12px;
        border-radius: 8px;
    }
    
    .timer-value {
        font-size: 18px;
    }
    
    .timer-label {
        font-size: 9px;
    }
    
    .offer-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .offer-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* ====================================
   RESPONSIVE - FINAL CTA SECTION
   ==================================== */
@media (max-width: 768px) {
    .final-cta-section {
        padding: var(--section-padding) 0;
    }
    
    .final-cta-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .final-cta-desc {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .btn-xl {
        padding: 16px 28px;
        font-size: 15px;
        border-radius: 14px;
    }
    
    .final-cta-note {
        font-size: 12px;
        margin-top: 12px;
    }
    
    .floating-image {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        opacity: 0.2;
    }
}

/* ====================================
   RESPONSIVE - FOOTER
   ==================================== */
@media (max-width: 768px) {
    .footer {
        padding: 32px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        font-size: 18px;
        justify-content: center;
    }
    
    .footer-logo svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-tagline {
        font-size: 12px;
    }
    
    .footer-links {
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* ====================================
   RESPONSIVE - BUTTONS
   ==================================== */
@media (max-width: 480px) {
    .btn {
        padding: 12px 20px;
        font-size: 13px;
        gap: 6px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .btn .icon {
        width: 18px;
        height: 18px;
    }
    
    .btn-lg .icon {
        width: 20px;
        height: 20px;
    }
}

/* ====================================
   RESPONSIVE - SECTION HEADERS
   ==================================== */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-tag {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-desc {
        font-size: 14px;
    }
}

/* ====================================
   TABLET SPECIFIC (768px - 1024px)
   ==================================== */
@media (min-width: 481px) and (max-width: 768px) {
    .hero .container {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .gallery-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .compare-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   LANDSCAPE MOBILE
   ==================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .sticky-cta {
        display: none;
    }
}

