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

:root {
    --bg-primary: #0a0a1a;
    --bg-card: rgba(15, 15, 40, 0.8);
    --bg-card-hover: rgba(20, 20, 55, 0.9);
    --accent-gold: #f0a500;
    --accent-orange: #e8630a;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --border-glow: rgba(240, 165, 0, 0.3);
    --border-glow-hover: rgba(240, 165, 0, 0.6);
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --container-width: 1140px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-orange);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Star-field Background
   =========================== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 25% 50%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 40% 10%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 55% 70%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 85% 60%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 15% 80%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 15%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 50% 90%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 35% 45%, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200px 200px;
    animation: starDrift 60s linear infinite;
}

.stars--secondary {
    background-size: 300px 300px;
    opacity: 0.5;
    animation: starDrift 90s linear infinite reverse;
}

@keyframes starDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* ===========================
   Header & Navigation
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(240, 165, 0, 0.15);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.logo-icon {
    font-size: 1.6rem;
    color: var(--accent-gold);
}

.logo-highlight {
    color: var(--accent-gold);
    font-weight: 400;
}

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

.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-radius: 6px;
    transition: color 0.3s, background 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    background: rgba(240, 165, 0, 0.1);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Main Content Spacing
   =========================== */
main {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
    border: none;
    text-align: center;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: #000;
    box-shadow: 0 4px 20px rgba(240, 165, 0, 0.3);
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 6px 30px rgba(240, 165, 0, 0.5);
}

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

.btn-outline:hover {
    background: rgba(240, 165, 0, 0.1);
    color: var(--accent-gold);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===========================
   Section Styles
   =========================== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ===========================
   Product Cards
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    border-color: var(--border-glow-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(240, 165, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a3a, #0f0f2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
    border-bottom: 1px solid var(--border-glow);
}

.product-body {
    padding: 24px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.product-features li::before {
    content: '✓ ';
    color: var(--accent-gold);
    font-weight: 700;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.product-card .btn {
    width: 100%;
}

/* Category headers */
.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

.category-section {
    margin-bottom: 50px;
}

/* ===========================
   Info Cards / Content Blocks
   =========================== */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.info-card p,
.info-card li {
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-card ul,
.info-card ol {
    padding-left: 20px;
    margin-top: 8px;
}

.info-card li {
    margin-bottom: 6px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Warning box */
.warning-box {
    background: rgba(232, 99, 10, 0.1);
    border: 1px solid rgba(232, 99, 10, 0.4);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.warning-box h3 {
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.warning-box p,
.warning-box li {
    color: var(--text-secondary);
}

/* Highlight box */
.highlight-box {
    background: rgba(240, 165, 0, 0.08);
    border: 1px solid rgba(240, 165, 0, 0.3);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.highlight-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.highlight-box p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ===========================
   Featured Section (Home)
   =========================== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.featured-card:hover {
    border-color: var(--border-glow-hover);
    transform: translateY(-4px);
}

.featured-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.featured-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.featured-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ===========================
   Intro Section
   =========================== */
.intro-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.intro-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ===========================
   Eclipse Info Banner
   =========================== */
.eclipse-banner {
    background: linear-gradient(135deg, rgba(240, 165, 0, 0.1), rgba(232, 99, 10, 0.05));
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.eclipse-banner h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.eclipse-banner p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    position: relative;
    z-index: 1;
    background: rgba(5, 5, 15, 0.95);
    border-top: 1px solid rgba(240, 165, 0, 0.15);
    padding: 50px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h3 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(10, 10, 26, 0.98);
        border-bottom: 1px solid var(--border-glow);
        padding: 16px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: 0 20px;
        gap: 4px;
    }

    .nav-link {
        padding: 12px 16px;
    }

    .hero {
        padding: 50px 20px 40px;
    }

    .section {
        padding: 40px 0;
    }

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

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

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

    .eclipse-banner {
        padding: 24px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 20px;
    }
}
