﻿@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0f0f0f;
    color: #fff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    mix-blend-mode: difference;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.nav-center {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
}

.nav-btn {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #fff;
    color: #0f0f0f;
}

/* Intro */
.intro-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
}

.intro-section h1 {
    font-size: 8rem;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -4px;
}

.line-reveal {
    display: block;
    overflow: hidden;
    opacity: 0;
    animation: revealLine 0.8s ease forwards;
}

.line-reveal.delay-1 {
    animation-delay: 0.3s;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

@keyframes revealLine {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-desc {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 400px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounceRight 1.5s ease infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

.scroll-hint span {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Horizontal Scroll Section */
.horizontal-scroll {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    gap: 2rem;
    padding: 0 4rem;
    height: 100%;
    align-items: center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.scroll-card {
    flex-shrink: 0;
    width: 500px;
    height: 70vh;
}

.card-visual {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.card-visual:hover {
    transform: scale(1.03);
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 700;
    opacity: 0.1;
    line-height: 1;
}

.card-inner {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.card-inner h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.card-inner p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

/* Progress bar */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c5ce7, #e17055, #00b894);
    z-index: 100;
    transition: width 0.1s ease-out;
}

/* Outro */
.outro-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
}

.outro-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 600px;
}

.outro-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #0f0f0f;
    background: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s;
}

.outro-btn:hover {
    background: #6c5ce7;
    color: #fff;
    transform: scale(1.05);
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.outro-btn:hover .btn-arrow {
    transform: translate(4px, -4px);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }
    .nav-center {
        display: none;
    }
    .intro-section {
        padding: 0 1.5rem;
    }
    .intro-section h1 {
        font-size: 4rem;
    }
    .scroll-card {
        width: 300px;
        height: 60vh;
    }
    .card-inner h2 {
        font-size: 2rem;
    }
    .scroll-container {
        padding: 0 1.5rem;
    }
    .outro-section h2 {
        font-size: 2rem;
    }
}



/* Watermark */
body {
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='180' viewBox='0 0 260 180'%3E%3Cg transform='rotate(-20 130 90)'%3E%3Ctext x='0' y='40' fill='rgba(154,154,154,0.10)' font-size='14' font-family='Arial, sans-serif'%3EPandec%20Digital%3C/text%3E%3Ctext x='30' y='90' fill='rgba(154,154,154,0.10)' font-size='14' font-family='Arial, sans-serif'%3EPandec%20Digital%3C/text%3E%3Ctext x='0' y='140' fill='rgba(154,154,154,0.10)' font-size='14' font-family='Arial, sans-serif'%3EPandec%20Digital%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: 260px 180px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

body > * {
    position: relative;
    z-index: 2;
}