* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.site-header {
    width: 100%;
    padding: 20px 40px;         /* spacing around logo */
    display: flex;
    justify-content: center;     /* center the logo horizontally */
    align-items: center;
    position: relative;
    z-index: 5;                  /* above everything */
}

.site-header a {
    display: inline-block;      /* or block, depending on your layout */
}

.site-header .logo {
    display: block;             /* removes baseline gaps and weird shifts */
    width: 450px;               /* or whatever your logo size is */
    height: auto;
}

.logo {
    height: 150px;               /* default logo height */
    width: auto;                /* maintain aspect ratio */
    max-width: 90%;             /* prevent it from being too wide on small screens */
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #0B0B0D;
    color: #F5F5F7;
}

.hero {
    min-height: calc(100vh - 115px);
    width: 100vw;
    display: flex;
    flex-direction: column;  /* stack content vertically */
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Soft radial glow behind lamp */
.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,170,60,0.35) 0%, rgba(0,0,0,0) 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero.about-hero::before {
    background: none;
    filter: none;
    width: 0;
    height: 0;
    content: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2vh;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: clamp(3rem, 4vh, 3.5rem);
}

.hero p {
    font-size: clamp(1.2rem, 1.5vh, 1.3rem);
    opacity: 0.7;
    margin-bottom: 30px;
}

#hero-lamp {
    width: 100%;
    height: 500px; /* adjust for your hero height */
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-lamp-container canvas {
    width: 100%;
    height: 500px; /* adjust as needed */
    display: block;
}

#hero-lamp-container {
    width: 100%;
    height: 500px; /* same as #hero-lamp */
}

/* Hard reset for the about page hero */
.hero.about-hero {
    margin-top: 3rem;
    margin-bottom: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: auto;
}

.about-main-gradient {
    background:
            radial-gradient(circle at 30% 0%, rgba(59,130,246,0.35), transparent 55%),
            radial-gradient(circle at 70% 20%, rgba(96,165,250,0.25), transparent 60%);
    /* pick colors that match your brand */
}


.build-button {
    position: relative;      /* or absolute if you want exact placement */
    z-index: 2;              /* above lamp and glow */
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(90deg, #00f0ff, #ff00f0); /* cyberpunk style */
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 0 20px #00f0ff, 0 0 40px #ff00f0;
    transition: 0.3s ease;
}

.build-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px #00f0ff, 0 0 60px #ff00f0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    height: min(65vh, 900px);  /* scales with screen */
    width: auto;
    object-fit: contain;
}

.faq {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Plus icon */
.faq-question::after {
    content: "+";
    font-size: 22px;
    color: inherit; /* matches text color */
    transition: transform 0.2s ease;
}

.faq-question:hover {
    color: #FFAA3C; /* subtle glow color */
}

/* Rotate when open */
.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #aaa;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 15px;
}

#lamp-faq-images {
    text-align: center; /* center the heading */
    margin: 2rem 0;
}

.faq-lamp-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: center; /* center the images */
    flex-wrap: wrap;
}

.faq-lamp-grid img {
    max-width: 150px;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.faq-lamp-grid img:hover {
    transform: scale(1.05);
}

.build-manual-links {
    text-align: center;
    margin: 3rem 0;
}

.build-manual-links h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.manual-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.manual-button {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background-color: #2c7be5;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.manual-button:hover {
    background-color: #1a5fc8;
    transform: translateY(-2px);
}

.site-footer {
    background: #111;
    color: #eee;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.footer-section p {
    margin: 6px 0;
    color: #bbb;
}

.footer-section a {
    display: block;
    margin: 6px 0;
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #35E047; /* matches your site accent */
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.footer-section {
    text-align: center;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;        /* centers the section */
    padding: 3rem 1.5rem;  /* keeps space from screen edges on small devices */
}

.about-section .about-content p {
    margin-bottom: 1.5rem;   /* space after each paragraph */
    margin-top: 0;           /* no extra space before */
}

.about-button-row {
    text-align: center;    /* center the inline-block button */
    margin-top: 2rem;
}

.build-button-about {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    margin: 0;             /* no auto here; centering comes from the parent */
}

.build-button-about {
    position: relative;      /* or absolute if you want exact placement */
    z-index: 2;              /* above lamp and glow */
    display: inline-block;
    padding: 2rem 3rem;    /* space inside the button */
    margin: 4rem auto 0;      /* center horizontally, add space above */
    text-align: center;
    background: linear-gradient(90deg, #00f0ff, #ff00f0); /* cyberpunk style */
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 0 20px #00f0ff, 0 0 40px #ff00f0;
    transition: 0.3s ease;
}

.build-button-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px #00f0ff, 0 0 60px #ff00f0;
}

/* Subtle floating animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .site-header a,
    .site-header .logo {
        display: block;
        margin: 0 auto;
    }

    .logo {
        height: 45px;           /* scale down on smaller screens */
    }
    .hero h1 {
        margin-top: 10px;
    }

    .hero-image img {
        max-width: 100%;
        height: auto; /* keep aspect ratio */
    }
    .hero {
        min-height: calc(100vh - 70px);
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 0px;
    }

    .hero-content {
        margin-top: -30px;   /* move content up slightly */
        margin-bottom: 10px;
    }
}