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

:root {
    --navy: #000080;
    --federal-blue: #00044A;
    --gold: #FFBF1C;
    --gold-dark: #FFD60A;
    --goldenrod: #D1A309;
    --gold-text: #8A6300;
    --cream: #FFF9E6;
    --white: #FFFFFF;
    --charcoal: #2C3E50;
    --light-gray: #F5F5F5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

/* HEADER & NAVIGATION */
header {
    background: var(--white);
    border-bottom: 2px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 26, 77, 0.08);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    width: 140px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold-text);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 80px 20px;
}

.hero-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 56px;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .gold {
    color: var(--gold-text);
}

.hero p {
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 0;
    line-height: 1.7;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* PRODUCT DETAIL SECTION (product pages) */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    align-items: center;
}

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 26, 77, 0.15);
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-label {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.product-label:hover {
    background: var(--gold-dark);
}

.product-info h1 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-tagline {
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 20px;
}

.product-info p {
    font-size: 17px;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ABOUT SECTION */
.about-section {
    background: var(--white);
    padding: 80px 20px;
    border-top: 1px solid var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 26, 77, 0.15);
}

.about-text h2 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
}

.about-text p {
    font-size: 17px;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* FEATURES BOX */
.features {
    background: var(--cream);
    padding: 30px;
    border-left: 5px solid var(--gold);
    border-radius: 12px;
    margin: 35px 0;
}

.features h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 18px;
    font-family: 'Fredoka', sans-serif;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--charcoal);
    font-size: 16px;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-text);
    font-weight: bold;
    font-size: 20px;
}

/* SCIENCE SECTION */
.science-section {
    background: var(--light-gray);
    padding: 80px 20px;
}

.science-content {
    max-width: 800px;
    margin: 0 auto;
}

.science-section h2 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
}

.science-intro,
.science-outro {
    font-size: 17px;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.8;
}

.science-tagline {
    font-size: 19px;
    color: var(--navy);
    margin-bottom: 10px;
    text-align: center;
}

.formula-box {
    background: var(--navy);
    color: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    margin: 35px 0;
    border-left: 5px solid var(--gold);
}

.formula-box p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.formula-box .formula {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: var(--gold);
    text-align: center;
    font-weight: 700;
    margin: 15px 0;
}

.formula-box .formula-legend {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.formula-box hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 20px 0;
}

.formula-box strong {
    color: var(--gold);
}

.science-quote {
    text-align: center;
    font-style: italic;
    color: var(--navy);
    font-size: 17px;
    margin-top: 30px;
    line-height: 1.8;
}

.science-disclaimer {
    text-align: center;
    color: var(--charcoal);
    font-size: 13px;
    margin-top: 20px;
    opacity: 0.75;
}

.science-disclaimer a {
    color: var(--navy);
}

/* PRICING SECTION */
.pricing-section {
    background: var(--navy);
    padding: 80px 20px;
    text-align: center;
}

.pricing-section h2 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 50px;
    font-family: 'Fredoka', sans-serif;
}

.price-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    max-width: 450px;
    margin: 0 auto;
    border-top: 5px solid var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.price-tag {
    font-size: 64px;
    color: var(--gold-text);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.price-tag span {
    font-size: 28px;
}

.price-box p {
    color: var(--charcoal);
    margin-bottom: 15px;
    font-size: 17px;
}

.price-box p.subtext {
    font-size: 14px;
    color: #6b6b6b;
}

/* HOW TO ORDER SECTION */
.order-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.order-section h2 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 60px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
}

.order-steps {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 26, 77, 0.1);
}

.step-number {
    background: var(--gold);
    color: var(--navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 20px;
    font-family: 'Fredoka', sans-serif;
}

.step h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 20px;
    font-family: 'Fredoka', sans-serif;
}

.step p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
}

/* CONTACT SECTION */
.contact-info {
    background: var(--navy);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    border-top: 5px solid var(--gold);
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    font-family: 'Fredoka', sans-serif;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info .note {
    font-size: 14px;
    margin-top: 20px;
    opacity: 0.9;
}

/* CTA BUTTON */
.cta-button {
    background: var(--gold);
    color: var(--navy);
    padding: 16px 45px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-family: 'Fredoka', sans-serif;
    margin-top: 25px;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: scale(1.02);
}

.cta-button-secondary {
    background: var(--navy);
    color: var(--white);
}

.cta-button-secondary:hover {
    background: var(--federal-blue);
}

/* PRODUCTS SECTION (homepage grid) */
.products-section {
    background: var(--light-gray);
    padding: 80px 20px;
}

.products-content {
    max-width: 1200px;
    margin: 0 auto;
}

.products-section h2 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
}

.products-subtitle {
    text-align: center;
    color: var(--charcoal);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 26, 77, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 26, 77, 0.15);
}

.product-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-card-image.placeholder {
    background: linear-gradient(135deg, var(--cream) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}

.product-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
    align-self: flex-start;
}

.status-badge.available {
    background: var(--gold);
    color: var(--navy);
}

.status-badge.coming-soon {
    background: var(--navy);
    color: var(--gold);
}

.product-card h3 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 12px;
    font-family: 'Fredoka', sans-serif;
}

.product-card p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-card-price {
    font-weight: 700;
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 15px;
}

.product-card-link {
    color: var(--gold-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s;
    margin-top: auto;
}

.product-card-link:hover {
    opacity: 0.8;
}

.product-card-link.disabled {
    color: #6b6b6b;
}

.products-grid .product-card:only-child {
    max-width: 380px;
    margin: 0 auto;
}

/* PAGE INTRO (gallery + other simple pages) */
.page-intro {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 64px 20px;
    text-align: center;
}

.page-intro h1 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-intro p {
    font-size: 18px;
    color: var(--charcoal);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* BUILDS GALLERY */
.builds-section {
    padding: 80px 20px;
}

.builds-section.on-light {
    background: var(--light-gray);
}

.builds-content {
    max-width: 1200px;
    margin: 0 auto;
}

.builds-header {
    text-align: center;
    margin-bottom: 50px;
}

.builds-header h2 {
    font-size: 44px;
    color: var(--navy);
    margin-bottom: 16px;
}

.builds-header p {
    color: var(--charcoal);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.build-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 26, 77, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.build-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 26, 77, 0.15);
}

.build-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.build-card-content {
    padding: 24px;
}

.build-card h2,
.build-card h3 {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 10px;
}

.build-card p {
    color: var(--charcoal);
    font-size: 15px;
    line-height: 1.6;
}

.builds-cta {
    text-align: center;
    margin-top: 50px;
}

/* LEGAL / DISCLAIMER PAGE */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--navy);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--navy);
}

.builds-cta p {
    color: var(--charcoal);
    font-size: 16px;
    margin-bottom: 16px;
}

.see-all-link {
    display: inline-block;
    margin-top: 40px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    transition: opacity 0.3s;
}

.see-all-link:hover {
    opacity: 0.7;
}

.builds-preview-footer {
    text-align: center;
}

/* FOOTER */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    margin-top: 0;
}

footer p {
    margin-bottom: 15px;
    font-size: 16px;
}

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

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-note {
    font-size: 14px;
    color: #ccc;
    margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        position: static;
    }

    .product-section {
        grid-template-columns: 1fr;
        padding: 50px 20px;
        gap: 40px;
    }

    .order-steps {
        grid-template-columns: 1fr;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        font-size: 32px;
    }

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

    nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    nav a {
        display: block;
    }

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

    .hero-content {
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 180px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-intro h1 {
        font-size: 32px;
    }

    .builds-header h2 {
        font-size: 32px;
    }

    .product-info h1 {
        font-size: 32px;
    }

    .pricing-section h2,
    .order-section h2,
    .products-section h2,
    .science-section h2 {
        font-size: 36px;
    }

    .formula-box {
        padding: 25px 20px;
    }

    .formula-box .formula {
        font-size: 16px;
    }

    .price-box {
        padding: 40px 30px;
    }

    .price-tag {
        font-size: 48px;
    }
}
