/* ============================================
   Jlaf - Style dengan Animasi Gila
   ============================================ */

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

:root {
    --primary: #ff6b9d;
    --secondary: #c44dff;
    --accent: #ffd700;
    --dark: #0a0a1a;
    --darker: #050510;
    --light: #f0f0ff;
    --gradient1: linear-gradient(135deg, #ff6b9d, #c44dff, #4d9fff);
    --gradient2: linear-gradient(45deg, #ff8a00, #e52e71, #8a2be2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Canvas Partikel */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--gradient1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: logoGlow 3s infinite alternate;
}

.logo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: 5px;
    animation: pulseDot 1.5s infinite;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px #ff6b9d); }
    100% { filter: drop-shadow(0 0 20px #c44dff); }
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0.5; }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient2);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.shimmer-text {
    background: linear-gradient(90deg, #ff6b9d, #ffd700, #c44dff, #ff6b9d);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin: 25px 0;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.btn-primary {
    background: var(--gradient2);
    color: white;
    box-shadow: 0 8px 25px rgba(229,46,113,0.5);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(229,46,113,0.8);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Ripple Effect - ditambahkan via JS */

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255,215,0,0.7);
    animation: numberGlow 2s infinite alternate;
}

@keyframes numberGlow {
    from { text-shadow: 0 0 10px rgba(255,215,0,0.5); }
    to { text-shadow: 0 0 30px rgba(255,215,0,1); }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Visual - Botol Parfum 3D */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bottle-3d {
    position: relative;
    width: 250px;
    height: 400px;
    animation: floatBottle 4s ease-in-out infinite;
}

@keyframes floatBottle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    75% { transform: translateY(10px) rotate(-2deg); }
}

.bottle-body {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 240px;
    background: linear-gradient(135deg, rgba(255,107,157,0.2), rgba(196,77,255,0.3));
    border-radius: 30px 30px 20px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(196,77,255,0.5);
}

.bottle-neck {
    position: absolute;
    bottom: 300px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px 10px 0 0;
}

.bottle-cap {
    position: absolute;
    bottom: 360px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 30px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 0 20px rgba(255,215,0,0.8);
}

.bottle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
    letter-spacing: 5px;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
}

.bottle-shine {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 200px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent);
    border-radius: 20px;
    transform: rotate(20deg);
    animation: shineMove 3s infinite;
}

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

.floating-aroma {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.floating-aroma span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 10px;
    animation: aromaFloat 3s infinite;
    box-shadow: 0 0 15px rgba(255,215,0,1);
}

.floating-aroma span:nth-child(2) { animation-delay: 0.5s; }
.floating-aroma span:nth-child(3) { animation-delay: 1s; }
.floating-aroma span:nth-child(4) { animation-delay: 1.5s; }
.floating-aroma span:nth-child(5) { animation-delay: 2s; }

@keyframes aromaFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-80px) scale(0); opacity: 0; }
}

/* Section Umum */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    background: rgba(5,5,16,0.8);
    backdrop-filter: blur(5px);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.animated-title {
    animation: titlePulse 3s infinite alternate;
}

@keyframes titlePulse {
    from { transform: scale(1); }
    to { transform: scale(1.03); }
}

.section-desc {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 50px;
}

/* About Cards dengan Flip 3D */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.flip-card {
    background: transparent;
    perspective: 1000px;
    height: 250px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.flip-front {
    background: linear-gradient(135deg, #1a1a3e, #2d1b4e);
    border: 1px solid rgba(255,255,255,0.2);
}

.flip-back {
    background: linear-gradient(135deg, #ff6b9d, #c44dff);
    color: white;
    transform: rotateY(180deg);
}

.flip-front h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.flip-front .icon {
    font-size: 3rem;
}

.flip-back p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Franchise Steps */
.franchise-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(196,77,255,0.3);
    border-color: var(--accent);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--gradient2);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: white;
    animation: bounceNumber 2s infinite;
}

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

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.step p {
    opacity: 0.8;
}

.center {
    text-align: center;
    margin-top: 20px;
}

/* Token Section */
.token-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.token-card {
    background: linear-gradient(135deg, #1e1e3f, #2d1b4e);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,215,0,0.3);
    animation: tokenGlow 3s infinite alternate;
}

@keyframes tokenGlow {
    from { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
    to { box-shadow: 0 0 50px rgba(255,215,0,0.8); }
}

.token-symbol {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255,215,0,1);
}

.token-name {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.token-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.token-benefits span {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.token-chart {
    flex: 1;
    min-width: 280px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: var(--gradient2);
    border-radius: 10px 10px 0 0;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

@keyframes barGrow {
    to { transform: scaleY(1); }
}

/* Kontak Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
    background: rgba(255,255,255,0.1);
}

.form-success {
    display: none;
    text-align: center;
    color: #4caf50;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeInUp 0.5s;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px;
    background: rgba(5,5,16,0.9);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container p {
    margin: 5px 0;
    opacity: 0.7;
}

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

/* Responsif */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(10,10,26,0.95);
        padding: 20px;
        gap: 15px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .token-info {
        flex-direction: column;
    }
}
