/* ==================================================
   VARIABLES
================================================== */

:root{
    --space:#050816;
    --cyan:#00E5FF;
    --yellow:#FFD400;
    --blue:#1A4FFF;
    --card:#0d1328;
    --white:#ffffff;
}

/* ==================================================
   RESET
================================================== */

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

body{
    background:var(--space);
    color:white;
    font-family:'Inter',sans-serif;
    line-height:1.6;
}

/* ==================================================
   STARFIELD BACKGROUND
================================================== */

body::before{
    content:'';
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.8) 1px, transparent 2px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,.5) 1px, transparent 2px),
        radial-gradient(circle at 10% 80%, rgba(255,255,255,.7) 1px, transparent 2px),
        radial-gradient(circle at 70% 10%, rgba(255,255,255,.5) 1px, transparent 2px);
    background-size:300px 300px;
    opacity:.3;
    animation:stars 80s linear infinite;
    pointer-events:none;
    z-index:-1;
}

@keyframes stars{
    from {transform:translateY(0);}
    to {transform:translateY(-300px);}
}

/* ==================================================
   HEADER
================================================== */

header{
    position:sticky;
    top:0;
    z-index:999;
    backdrop-filter:blur(10px);
    background:rgba(5,8,22,.92);
    border-bottom:1px solid rgba(255,255,255,.1);
}

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

.logo{
    color:var(--cyan);
    font-family:'Orbitron',sans-serif;
    font-size:1.2rem;
}

.dont-panic{
    color:var(--yellow);
    font-family:'Orbitron',sans-serif;
    font-weight:700;
    letter-spacing:3px;
}

.nav-links{
    display:flex;
    gap:20px;
}

.nav-links a,
nav a{
    color:white;
    text-decoration:none;
}

.nav-links a:hover,
nav a:hover{
    color:var(--cyan);
}

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

/* ==================================================
   BUTTONS
================================================== */

.btn{
    display:inline-block;
    padding:14px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition:.3s ease;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn-primary{
    background:var(--yellow);
    color:black;
}

.btn-secondary{
    background:var(--cyan);
    color:black;
}

.action-btn,
.buy-btn,
.cta{
    display:block;
    text-align:center;
    padding:14px;
    margin-top:20px;
    border-radius:8px;
    background:var(--cyan);
    color:black;
    text-decoration:none;
    font-weight:bold;
}

/* ==================================================
   SECTIONS
================================================== */

.section,
.products,
.related,
.faq,
.guide-section,
.content-block{
    max-width:1200px;
    margin:auto;
    padding:30px 20px;
}

.section-title{
    font-family:'Orbitron',sans-serif;
    color:var(--yellow);
    margin-bottom:15px;
}

.section-subtitle,
.section-copy{
    color:#cad2ff;
    margin-bottom:35px;
}

.content-block p{
    margin-bottom:20px;
    color:#dde4ff;
}

/* ==================================================
   HOMEPAGE HERO
================================================== */

.hero{
    max-width:1200px;
    margin:auto;
    padding:100px 20px;
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:60px;
    align-items:center;
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:20px;
}

.hero h1 span{
    color:var(--yellow);
}

.hero p{
    font-size:1.2rem;
    color:#cad2ff;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-graphic{
    min-height:400px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(circle at center,
        rgba(0,229,255,.25),
        transparent 70%);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:8rem;
}

/* ==================================================
   CATEGORY HERO
================================================== */

.category-hero{
    max-width:1200px;
    margin:auto;
    padding:80px 20px 60px;
}

.breadcrumb{
    color:#7d8cc8;
    margin-bottom:20px;
}

.category-hero h1{
    font-size:4rem;
    margin-bottom:20px;
    font-family:'Orbitron',sans-serif;
}

.category-hero p{
    max-width:800px;
    color:#cad2ff;
    font-size:1.1rem;
}

/* ==================================================
   SEARCH
================================================== */

.search-wrapper{
    max-width:900px;
    margin:0 auto 80px;
    padding:0 20px;
}

.search-box{
    background:var(--card);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:15px;
    display:flex;
}

.search-box input{
    flex:1;
    background:none;
    border:none;
    color:white;
    font-size:1rem;
    outline:none;
}

/* ==================================================
   BUYING GUIDE
================================================== */

.guide-card{
    background:linear-gradient(
        135deg,
        rgba(0,229,255,.12),
        rgba(255,212,0,.08)
    );
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    padding:40px;
}

.guide-card h2{
    color:var(--yellow);
    margin-bottom:20px;
    font-family:'Orbitron',sans-serif;
}

.guide-card p{
    color:#dde4ff;
    margin-bottom:15px;
}

/* ==================================================
   CATEGORY CARDS
================================================== */

.category-grid,
.related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.category-card,
.related-card{
    background:var(--card);
    border-radius:18px;
    padding:30px;
    border:1px solid rgba(255,255,255,.07);
    transition:.3s ease;
}

.category-card:hover,
.related-card:hover{
    transform:translateY(-5px);
    border-color:var(--cyan);
}

.category-card h3{
    color:var(--cyan);
    margin-bottom:10px;
}

.category-card a{
    display:inline-block;
    margin-top:15px;
    color:var(--yellow);
    text-decoration:none;
}

.related-card{
    text-align:center;
}

/* ==================================================
   PRODUCTS
================================================== */

.grid,
.product-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(360px,1fr));
    gap:30px;
}

.product-card{
    background:var(--card);
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    transition:.3s ease;
}

.product-card:hover{
    transform:translateY(-4px);
    border-color:var(--cyan);
    box-shadow:0 0 20px rgba(0,229,255,.2);
}

.product-image{
    height:320px;
    padding:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#151d38;
}

.product-image img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:transform .3s ease;
}

.product-card:hover .product-image img{
    transform:scale(1.05);
}

.card-content,
.product-content{
    padding:25px;
}

.badge{
    display:inline-block;
    background:var(--yellow);
    color:black;
    padding:6px 12px;
    border-radius:20px;
    font-size:.8rem;
    font-weight:700;
    margin-bottom:15px;
}

.product-title{
    font-size:1.4rem;
    margin-bottom:10px;
}

.price{
    color:var(--cyan);
    font-size:1.4rem;
    margin:15px 0;
}

.rating{
    color:var(--yellow);
    margin-bottom:15px;
}

.card-content ul{
    margin:15px 0 0 20px;
}

.arthur-box{
    margin-top:20px;
    padding:15px;
    background:#151d38;
    border-left:4px solid var(--cyan);
}

/* ==================================================
   FAQ
================================================== */

.faq h2{
    color:var(--yellow);
    margin-bottom:30px;
    font-family:'Orbitron',sans-serif;
}

.faq h3{
    color:var(--cyan);
    margin-top:20px;
    margin-bottom:10px;
}

.faq p{
    color:#dde4ff;
    margin-bottom:18px;
}

/* ==================================================
   NEWSLETTER
================================================== */

.newsletter{
    text-align:center;
    background:linear-gradient(135deg,#091129,#101b40);
    border-top:1px solid rgba(255,255,255,.1);
    border-bottom:1px solid rgba(255,255,255,.1);
    padding:70px 20px;
    margin-top:50px;
}

.newsletter h2{
    color:var(--yellow);
    margin-bottom:15px;
}

.newsletter-form{
    margin-top:25px;
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.newsletter input{
    width:350px;
    max-width:100%;
    padding:15px;
    border:none;
    border-radius:8px;
}

/* ==================================================
   FOOTER
================================================== */

footer{
    text-align:center;
    padding:50px 20px;
    color:#8892c5;
}

footer a{
    color:var(--cyan);
    text-decoration:none;
    margin:0 10px;
}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:900px){

    .hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .category-hero h1{
        font-size:2.5rem;
    }

    nav,
    .nav-links{
        display:none;
    }

    .grid,
    .product-grid{
        grid-template-columns:1fr;
    }
}
