/* ==================== VARIABLES ==================== */
:root {
    --bg: #0a0a0c;
    --bg-secondary: #0F1115;
    --surface: #151822;
    --surface-glass: rgba(21, 24, 34, 0.6);
    --text: #EAEFF7;
    --text-secondary: #A9B0C0;
    --border: #23283A;
    --violet: #8B5CF6;
    --magenta: #D6249F;
    --orange: #F58529;
    --gradient: linear-gradient(135deg, #8B5CF6 0%, #D6249F 45%, #F58529 100%);
}

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

body {
    background: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(214, 36, 159, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(245, 133, 41, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

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

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

/* ==================== HERO ==================== */
.hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.commerce-name {
    display: inline-block;
    background: var(--gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator svg {
    stroke: var(--violet);
}

/* ==================== POSTS SECTION ==================== */
.posts-section {
    position: relative;
    padding: 100px 20px;
    z-index: 1;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

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

.posts-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.post-mockup {
    position: relative;
}

/* INSTAGRAM FRAME */
.instagram-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.instagram-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.5);
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

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

.ig-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ig-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.ig-location {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.ig-menu {
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
}

.instagram-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}

.instagram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.image-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-frame:hover .image-overlay {
    opacity: 1;
}

.overlay-tag {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.instagram-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.ig-action-left {
    display: flex;
    gap: 16px;
}

.instagram-actions svg {
    cursor: pointer;
    transition: all 0.3s ease;
    stroke: var(--text);
}

.instagram-actions svg:hover {
    stroke: var(--violet);
    transform: scale(1.1);
}

.instagram-likes {
    padding: 0 16px 4px;
    font-size: 0.85rem;
    color: var(--text);
}

.instagram-likes strong {
    font-weight: 700;
}

.instagram-caption {
    padding: 0 16px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ig-username-caption {
    color: var(--text);
    font-weight: 600;
    margin-right: 6px;
}

.post-label {
    margin-top: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-number {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 700;
}

.post-desc {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.posts-note {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 24px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.posts-note svg {
    flex-shrink: 0;
    stroke: var(--violet);
    margin-top: 2px;
}

.posts-note p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== VIDEO SECTION ==================== */
.video-section {
    position: relative;
    padding: 100px 20px;
    z-index: 1;
}

.video-container {
    max-width: 900px;
    margin: 0 auto 40px;
}

.video-mockup {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: var(--surface);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(214, 36, 159, 0.15) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(214, 36, 159, 0.25) 100%);
}

.play-button {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
    animation: float 3s ease-in-out infinite;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.6);
}

.play-button svg {
    width: 36px;
    height: 36px;
    fill: white;
    margin-left: 4px;
}

.video-duration {
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.cta-final {
    text-align: center;
    margin-top: 60px;
}

.cta-final-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--gradient);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-final-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: left 0.5s ease;
}

.cta-final-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.5);
}

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

.cta-final-button svg {
    transition: transform 0.3s ease;
}

.cta-final-button:hover svg {
    transform: translateX(4px);
}

.cta-final-note {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==================== CTA INLINE ==================== */
.cta-inline {
    max-width: 700px;
    margin: 60px auto;
    padding: 32px 40px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-inline:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.cta-inline-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-inline-text strong {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 700;
}

.cta-inline-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

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

.cta-inline-button svg {
    transition: transform 0.3s ease;
}

.cta-inline-button:hover svg {
    transform: translateX(3px);
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    padding: 60px 20px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    z-index: 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--violet);
}

.footer-made {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==================== ANIMATIONS ON SCROLL ==================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="100"] {
    transition-delay: 0.1s;
}

[data-delay="200"] {
    transition-delay: 0.2s;
}

[data-delay="300"] {
    transition-delay: 0.3s;
}

[data-delay="400"] {
    transition-delay: 0.4s;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }

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

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .posts-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .video-section {
        padding: 80px 20px;
    }

    .cta-inline {
        padding: 24px 20px;
    }

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

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

@media (max-width: 480px) {
    .cta-inline-button,
    .cta-final-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== BASE IMAGE ==================== */
.base-image-wrapper {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.base-image {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.base-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.base-image-caption {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
