﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    animation: fadeDown 0.8s ease forwards;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: #a78bfa;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-nav {
    background: #a78bfa !important;
    color: #0a0a0a !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title span {
    background: linear-gradient(135deg, #a78bfa, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 1rem;
    padding: 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    background: #141414;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: bentoFadeIn 0.6s ease forwards;
}

.bento-item:nth-child(1) { animation-delay: 0.4s; }
.bento-item:nth-child(2) { animation-delay: 0.5s; }
.bento-item:nth-child(3) { animation-delay: 0.6s; }
.bento-item:nth-child(4) { animation-delay: 0.7s; }
.bento-item:nth-child(5) { animation-delay: 0.8s; }
.bento-item:nth-child(6) { animation-delay: 0.9s; }
.bento-item:nth-child(7) { animation-delay: 1.0s; }
.bento-item:nth-child(8) { animation-delay: 1.1s; }

@keyframes bentoFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: #a78bfa;
    box-shadow: 0 10px 40px rgba(167, 139, 250, 0.15);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8));
    z-index: 1;
    pointer-events: none;
}

.bento-item > * {
    position: relative;
    z-index: 2;
}

.item-1 {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #1a1025, #2d1b69);
}

.item-2 {
    background: linear-gradient(135deg, #0f1922, #1a3a5c);
}

.item-3 {
    background: #1a1a1a;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.item-4 {
    background: linear-gradient(135deg, #1a0f22, #3b1a5c);
}

.item-5 {
    background: #1a1a1a;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.item-6 {
    background: linear-gradient(135deg, #221a0f, #5c3b1a);
}

.item-7 {
    grid-column: span 2;
    background: linear-gradient(135deg, #a78bfa, #6d28d9);
    cursor: pointer;
}

.item-7:hover .arrow-icon {
    transform: translate(5px, -5px);
}

.item-8 {
    background: #1a1a1a;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a78bfa;
    margin-bottom: 0.5rem;
}

.item-7 .label {
    color: rgba(255,255,255,0.7);
}

.bento-item h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.bento-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.bento-item p {
    color: #aaa;
    font-size: 0.9rem;
}

.item-7 p {
    color: rgba(255,255,255,0.8);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.arrow-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem;
    color: #555;
    font-size: 0.85rem;
    animation: fadeUp 1s ease 1.3s forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        padding: 1rem 1.5rem;
    }
    .item-1 {
        grid-column: span 2;
        grid-row: span 1;
    }
    .item-7 {
        grid-column: span 2;
    }
}



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