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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    position: relative;
} */

::selection {
    background: #3b82f6;
    color: #ffffff;
}

.hero-section-wrapper {
    position: relative;
    width: 100%;
    height: 86vh;
    background: #000000;
    overflow: hidden;
}

/* ===========================
   CANVAS CONTAINER
   =========================== */
#canvas-container {
    /* position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000000;
    cursor: crosshair;
    height: 100vh; */
    position: absolute;
    /* NOT fixed */
    inset: 0;
    cursor: crosshair;
}

#particle-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Debug Info */
#debug-info {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    text-align: right;
    line-height: 1.5;
    z-index: 30;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav-container {
    position: fixed;
    /* Changed from absolute to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 2rem;
    height: 2rem;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle span {
    font-weight: 700;
    color: #000000;
    font-size: 1.125rem;
}

.logo-text {
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.025em;
    font-size: 1.125rem;
}

.nav-links {
    display: none;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-info-btn {
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-info-btn:hover {
    color: #ffffff;
}

/* ===========================
   HERO CONTENT
   =========================== */
.hero-content {
    position: relative;
    /* Changed from absolute to relative */
    /* min-height: 85vh; */
    /* z-index: 10; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* padding: 1rem; */
    padding: 130px 24px;
}

.hero-inner {
    max-width: 70rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    align-self: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    background: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    line-height: 0.9;
    mix-blend-mode: difference;
    animation: fadeInUp 1s ease-out 0.2s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.hero-title span {
    margin: 0;
}

.hero-title span:last-child {
    /* margin-top: -10px; */
    margin-bottom: 20px;
    /* 🔥 adjust this to control gap */
}

.hero-description {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    padding-top: 1rem;
    pointer-events: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.025em;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.95);
}

.cta-button span,
.cta-button .arrow-icon {
    position: relative;
    z-index: 10;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(0.25rem);
}

.button-overlay {
    position: absolute;
    inset: 0;
    background: #3b82f6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
    opacity: 0.1;
}

.cta-button:hover .button-overlay {
    transform: scaleX(1);
}

/* ===========================
   SCROLL INDICATOR
   =========================== */
.scroll-indicator {
    position: fixed;
    /* Changed from absolute to fixed */
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 15;
}

.scroll-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-icon {
    width: 1rem;
    height: 1rem;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* ===========================
   RESPONSIVE DESIGN
   Mobile First with min-width
   =========================== */

/* Small devices (640px and up) */
@media (min-width: 640px) {
    .nav-container {
        padding: 2rem;
    }

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

    .hero-description {
        font-size: 1.25rem;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

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

    .hero-content {
        /* min-height: 100vh; */
        padding: 150px 0px;
    }

    .hero-section-wrapper {
        height: 100vh;
    }

    .hero-inner {
        gap: 1rem;
    }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
    .nav-container {
        padding: 2rem 3rem;
    }

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

    .hero-description {
        font-size: 1.25rem;
    }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 9rem;
    }
}

@media (min-width: 1900px) {
    .hero-inner {
        gap: 2rem;
    }

    .hero-content {
        padding: 180px 0px;
    }
}

@media (min-width: 2000px) {
    .hero-content {
        padding: 11% 0px;
    }

    .hero-inner {
        gap: 47px;
    }

    .hero-badge span {
        font-size: 18px;
    }

    .hero-title {
        font-size: 200px;
    }

    .hero-description {
        font-size: 24px;
    }

    .hero-cta {
        padding-top: 36px;
    }

    .cta-button {
        font-size: 24px;
    }

    .hero-inner {
        max-width: 100rem;
    }
}