/* ==========================================
   ZNE Website - Dark Theme (breed.rip style)
   ========================================== */

/* CSS Variables */
:root {
    --color-bg-primary: #050505;
    --color-bg-secondary: #0a0a0a;
    --color-bg-tertiary: #111111;
    --color-text-primary: #ffffff;
    --color-text-secondary: #888888;
    --color-text-muted: #555555;
    --color-accent-blue: #2f6feb;
    --color-accent-blue-hover: #4a8bf5;
    --color-accent-red: #ff0000;
    --color-border: rgba(255, 255, 255, 0.05);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 44px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Navigation Bar - Floating Pill
   ========================================== */

.navbar {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
}

.nav-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 8px 24px;
    height: var(--nav-height);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    transition: all var(--transition-slow);
    width: fit-content;
}

.nav-container.scrolled {
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 32px;
    transition: transform var(--transition-fast);
}

.nav-logo:active {
    transform: scale(0.95);
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-logo-text {
    font-size: 14px;
    font-weight: 900;
    color: var(--color-text-primary);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--color-text-secondary);
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-link.active {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 24px;
}

.nav-login {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--color-text-secondary);
    transition: color var(--transition-normal);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-login:hover {
    color: var(--color-text-primary);
}

.nav-invite {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #000000;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 900;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.2);
}

.nav-invite:hover {
    background: #eeeeee;
}

.nav-invite:active {
    transform: scale(0.95);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text-secondary);
    transition: color var(--transition-normal);
}

.nav-toggle:hover {
    color: var(--color-text-primary);
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(47, 111, 235, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 0, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 48px;
    letter-spacing: -0.3px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: #eeeeee;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* ==========================================
   Features Section
   ========================================== */

.features {
    padding: 120px 24px;
    background: var(--color-bg-primary);
    position: relative;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--color-text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #ff0000 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtext {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.features-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--color-text-primary);
    opacity: 0.5;
}

.feature-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: -0.2px;
}

.features-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-image-wrapper {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal);
}

.features-image-wrapper:hover {
    transform: scale(1.02);
}

.features-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   Ready Section
   ========================================== */

.ready {
    padding: 120px 24px;
    background: var(--color-bg-primary);
    position: relative;
    text-align: center;
}

.ready::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.ready-container {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.ready-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.ready-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    letter-spacing: -0.2px;
}

.ready-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    padding: 40px 24px;
    text-align: center;
    background: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer p {
    color: var(--color-text-muted);
    font-size: 13px;
    letter-spacing: -0.2px;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 1024px) {
    .features-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 16px;
        padding: 0 16px;
    }

    .nav-container {
        width: 100%;
        justify-content: space-between;
        padding: 8px 16px;
    }

    .nav-logo {
        margin-right: 0;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
        border-radius: 16px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    }

    .nav-menu.active .nav-link {
        padding: 12px 16px;
        text-align: center;
    }

    .nav-menu.active .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 8px 0 0;
        gap: 8px;
    }

    .nav-menu.active .nav-login,
    .nav-menu.active .nav-invite {
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
    }

    .hero {
        padding: 140px 20px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features {
        padding: 80px 20px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-right {
        order: -1;
    }

    .features-image-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }

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

    .features-title {
        font-size: 1.75rem;
    }

    .ready {
        padding: 80px 20px;
    }

    .ready-title {
        font-size: 1.75rem;
    }
}

/* ==========================================
   Animations
   ========================================== */

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

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

.features-left {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.features-right {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* ==========================================
   Scrollbar & Selection
   ========================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

::selection {
    background-color: rgba(255, 0, 0, 0.3);
    color: #ffffff;
}
