:root {
    --primary-dark: #5106ff;
    --primary-light: #61cbf2;
    --neutral-dark: #1a1a1a;
    --neutral-mid: #3c3c3c;
    --neutral-bg: #ffffff;
}

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

body {
    font-family: system-ui, sans-serif;
    background: var(--neutral-bg);
    color: var(--neutral-dark);
    line-height: 1.6;
}

#deckfuel-intro {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #02030a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    pointer-events: auto;
    overflow: hidden;
}

#foil-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    display: block;
}

#deckfuel-intro .intro-logo {
    position: relative;
    width: 520px;
    max-width: 80%;
    opacity: 0;
    transform: scale(0.9);
    filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.8));
}

/* Header */
.header {
    text-align: center;
    background: linear-gradient(to right, #0a0f2e, #001f4d);
    padding: 0.25rem 0 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo-full {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-transition {
    height: 40px;
    background: linear-gradient(to bottom, #001f4d, #ffffff);
}

/* ----------------------------- */
/* NAVIGATION (UPDATED + CLEAN)  */
/* ----------------------------- */

.nav {
    position: relative;
    z-index: 10000;
    background: #ffffff;
    padding-top: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 600;
    font-size: 1.15rem;
    padding-bottom: 6px;
    position: relative;
    transition: color 0.25s ease;
}

/* Underline animation */
.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    transition: width 0.25s ease;
}

.nav-list a:hover {
    color: var(--primary-dark);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Active page highlight */
.nav-list a.active {
    color: var(--primary-dark);
    font-weight: 700;
}

.nav-list a.active::after {
    width: 100%;
}

/* ----------------------------- */
/* PREMIUM HERO SECTION (ADDED)  */
/* ----------------------------- */

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 0.2s ease-out;
    animation: heroZoom 14s ease-in-out infinite;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1.22);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 1.4s ease-out forwards;
}

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

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #5106ff;
    color: white;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-btn:hover {
    background: #6a2bff;
    transform: translateY(-3px);
}

/* ----------------------------- */
/* SLIDER                        */
/* ----------------------------- */

.slider-container {
    position: relative;
    width: 100%;
    /* full browser width */
    height: 600px;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: block;
    animation: fadeEffect 1s ease-in-out;
    background: linear-gradient(135deg, #5106ff, #61cbf2);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* fills the entire area */
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Pause Button */
.slider-pause {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
}

.slider-pause:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ----------------------------- */
/* SECTIONS                      */
/* ----------------------------- */

.section {
    padding: 2rem 1rem;
    text-align: center;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ----------------------------- */
/* PRODUCT GRID + CARDS          */
/* ----------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 1.25rem;
    border-radius: 14px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    z-index: 0;
}

.product-card * {
    position: relative;
    z-index: 2;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 3px;
    background: linear-gradient(135deg, #5106ff, #61cbf2);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(81, 6, 255, 0.25);
}

.product-card:hover h3,
.product-card:hover p {
    color: white;
}

.product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    object-position: center center;
    display: block;
    margin: 0 auto;
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}


/* ----------------------------- */
/* CONTACT                       */
/* ----------------------------- */

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ----------------------------- */
/* FOOTER                        */
/* ----------------------------- */

/* FOOTER — CLEAN + MODERN */
.footer {
    background: #0a0f2e;
    color: #d0d0d0;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
    color: #61cbf2;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* ----------------------------- */
/* ABOUT PAGE — REFINED THEME    */
/* ----------------------------- */

.page-hero {
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(135deg, #0a0f2e, #001f4d 40%, #5106ff 100%);
    color: white;
    margin-bottom: 60px;
    border-bottom: 4px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ABOUT CONTENT GRID */
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    display: grid;
    gap: 45px;
    /* more breathing room between cards */
}

/* ABOUT CARDS — MATCH PRODUCT CARD STYLE */
.about-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient border on hover */
.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #5106ff, #61cbf2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card * {
    position: relative;
    z-index: 2;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(81, 6, 255, 0.25);
}

/* HEADINGS */
.about-card h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #222;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #222;
}

/* PARAGRAPHS */
.about-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 16px;
}

/* LISTS */
.about-card ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.about-card ul li {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #333;
}

/* CONTACT CARD — MATCH ABOUT-CARD HOVER EFFECT */
.contact-card {
    position: relative;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 14px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #5106ff, #61cbf2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card * {
    position: relative;
    z-index: 2;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(81, 6, 255, 0.25);
}

/* ----------------------------- */
/* RESPONSIVE                    */
/* ----------------------------- */

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .nav-list {
        gap: 1.25rem;
        font-size: 0.95rem;
        flex-wrap: wrap;
        padding: 0 0.75rem;
    }

    .nav-list a {
        font-size: 0.95rem;
    }

    .slider-container {
        height: 55vh;
    }
}

@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .nav-list {
        gap: 0.75rem;
    }

    .logo-full {
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .logo-full {
        max-width: 800px;
    }

    .slider-container {
        height: 600px;
    }
}

@media (max-width: 600px) {
    #deckfuel-intro .intro-logo {
        width: 500px;
        /* Bigger on phones */
        max-width: 95%;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 0.2s ease-out;
    animation: heroZoom 14s ease-in-out infinite;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1.22);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFade 1.4s ease-out forwards;
}

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

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: #5106ff;
    color: white;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-btn:hover {
    background: #6a2bff;
    transform: translateY(-3px);
}

/* HERO SLIDESHOW */
.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

@media (max-width: 600px) {
    .hero {
        height: 55vh;
        /* smaller hero on phones */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }

    .hero-slide {
        object-position: center top;
        /* prevents weird cropping */
    }
}