:root {
    /* Default Theme */
    --bg-color: #f8f9fa;
    --text-primary: #000000;
    --text-sec: #000000;
    --accent: #000000;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Theme: Cardamom */
    --cardamom-bg: #e8efe9;
    /* Sage Green & Cream */
    --cardamom-text: #000000;
    --cardamom-accent: #000000;
    --cardamom-glass-bg: rgba(255, 255, 255, 0.2);
    --cardamom-glass-border: rgba(255, 255, 255, 0.3);

    /* Theme: Pepper */
    --pepper-bg: #1a1a1a;
    /* Deep Charcoal & Gold */
    --pepper-text: #000000;
    --pepper-accent: #000000;
    --pepper-glass-bg: rgba(255, 255, 255, 0.05);
    --pepper-glass-border: rgba(255, 255, 255, 0.1);

    /* Theme: Honey */
    --honey-bg: #f4ece1;
    /* Warm Amber & Toasted Almond */
    --honey-text: #000000;
    --honey-accent: #000000;
    --honey-glass-bg: rgba(255, 255, 255, 0.3);
    --honey-glass-border: rgba(255, 255, 255, 0.3);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cravelo', 'cravelo', sans-serif !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.8s ease-in-out, color 0.8s ease-in-out;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2; /* Increased to be above background but below logo */
    pointer-events: none;
}

/* Scroll-Linked Animation Assets */
#MainLogo {
    position: fixed;
    top: 35%; 
    left: 25%; /* Placed on the empty space on the left side */
    transform: translate(-50%, -50%);
    width: 320px; /* Adjusted down from 800px because the transparent margins were cropped */
    z-index: 100;
    mix-blend-mode: normal;
    opacity: 1;
    filter: none;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                top 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                left 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    pointer-events: none;
    background: transparent;
    border: 1px solid transparent;
    box-sizing: content-box;
}

#MainLogo.scrolled {
    width: 85px; /* Reduced the size of the logo */
    top: 1rem;
    left: 1.5rem;
    transform: translate(0, 0);
    opacity: 1;
    mix-blend-mode: normal;
    filter: none;
    
    /* glassmorphism removed to keep only one effect on the nav items */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Navbar (Blended) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem; /* slightly tighter to look like a bar */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: transparent;
    transition: background 0.8s, border-color 0.8s;
}

nav {
    display: flex;
    align-items: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.nav-logo {
    height: 48px;
    /* Adjust height of top left logo */
    width: auto;
    transition: filter 0.5s ease;
    mix-blend-mode: multiply;
    /* Blends logo to background natively */
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    margin: 0 1rem;
    /* Symmetrical margins for perfectly centered links */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.3s;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    /* Light shadow for dark text readability */
}

nav a:hover {
    opacity: 0.7;
}

main {
    position: relative;
    z-index: 5; /* Above background (1) and particles (2) */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    /* Contains parallax scale boundary flawlessly */
}

.hero-bg-layer {
    position: fixed; /* Changed to fixed for the scroll-linked effect */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asset/hero_latest.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Explicitly fixed as requested */
    z-index: 1; /* Set to 1 as requested */
    /* 8K Quality Enhancements */
    transform: translateZ(0); /* Hardware acceleration */
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
    /* Clean, high-clarity filters without grain-inducing over-processing */
    filter: brightness(1.02) contrast(1.02) saturate(1.05);
    /* High quality interpolation */
    image-rendering: auto;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transitions out hero elements (jars/spices) as user scrolls towards About section */
.hero-bg-layer.faded {
    opacity: 0;
    transform: scale(1.1) translateY(-30px);
    pointer-events: none;
}

/* Fade overlay removed as per request to eliminate white fogginess */
.hero-bg-layer::after {
    display: none;
}

@keyframes gentleSlowZoom {
    0% {
        transform: scale(1);
    }

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

/* Cinematic Volumetric Fog - Removed as per request */
.cinematic-fog {
    display: none;
}

@keyframes drift {
    0% {
        transform: translateX(0) scale(1);
    }

    100% {
        transform: translateX(8vw) scale(1.1);
    }
}

/* Distinct Product Pages */
.product-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Smooth transition if themes overlap, but usually scroll handles it */
    transition: background-color 0.8s ease;
}

.product-split {
    display: flex;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 6rem 4rem;
    gap: 6rem;
    align-items: center;
}

/* Optional: reverse layout for every other product */
.product-split.reverse-split {
    flex-direction: row-reverse;
}

.product-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-image-container {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-container:hover img {
    transform: scale(1.08);
}

.product-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 2rem;
}

.product-content-side h2 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.product-content-side h3.subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2.5rem;
    border-left: 3px solid;
    padding-left: 1rem;
}

.product-content-side p {
    font-size: 1.35rem;
    line-height: 1.8;
    max-width: 600px;
}

/* --- Theme Colors for Product Pages --- */
.product-page.cardamom-theme {
    background-color: #f2f7f4; /* Sage light */
}
.product-page.cardamom-theme h2 { color: #2c4a30; }
.product-page.cardamom-theme h3.subtitle { color: #4e7a54; border-color: #4e7a54; }
.product-page.cardamom-theme p { color: #3a5c41; }

.product-page.pepper-theme {
    background-color: #1a1a1a; /* Dark */
}
.product-page.pepper-theme h2 { color: #ffffff; }
.product-page.pepper-theme h3.subtitle { color: #d4af37; border-color: #d4af37; }
.product-page.pepper-theme p { color: #d1d1d1; }

.product-page.honey-theme {
    background-color: #fcf6eb; /* Warm */
}
.product-page.honey-theme h2 { color: #7a4b11; }
.product-page.honey-theme h3.subtitle { color: #b87333; border-color: #b87333; }
.product-page.honey-theme p { color: #8a5a19; }

/* Responsive section merged sequentially at EOF */

/* About Us Section */
.about-section {
    display: flex;
    justify-content: center; /* Center the container horizontally */
    align-items: center; /* Center the container vertically */
    padding: 4rem 2rem 4rem 2rem; /* Balanced top and bottom padding */
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

/* Background image overlay */
.about-bg-layer {
    display: none;
}

/* Darkening blending overlay for legibility */
.about-section::before {
    display: none;
}

/* Golden Vintage Frame - Improved Ornate Version */
.golden-frame {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    border: 2px solid #D4AF37;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.golden-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

/* Detailed SVG Corner Ornaments */
.golden-frame .corner {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 11;
}

/* SVG Data URI for an intricate vintage corner */
.golden-frame .corner {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10 10c10 0 20 10 20 20s-10 20-20 20M10 10c0 10 10 20 20 20s20-10 20-20' stroke='%23D4AF37' fill='none' stroke-width='1.5'/%3E%3Cpath d='M10 10c20 0 40 20 40 40s-20 40-40 40M10 10c0 20 20 40 40 40s40-20 40-40' stroke='%23D4AF37' fill='none' stroke-width='0.8' opacity='0.6'/%3E%3Ccircle cx='10' cy='10' r='2' fill='%23D4AF37'/%3E%3Cpath d='M20 10l10-5 10 5-10 5z' fill='%23D4AF37'/%3E%3C/svg%3E");
}

.golden-frame .corner.tl { top: -15px; left: -15px; }
.golden-frame .corner.tr { top: -15px; right: -15px; transform: rotate(90deg); }
.golden-frame .corner.bl { bottom: -15px; left: -15px; transform: rotate(-90deg); }
.golden-frame .corner.br { bottom: -15px; right: -15px; transform: rotate(180deg); }

/* Diamonds and dots */
.golden-frame .dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #D4AF37;
    transform: rotate(45deg);
    box-shadow: 0 0 8px #D4AF37;
}

.golden-frame .dot.d-tl { top: 35px; left: 35px; }
.golden-frame .dot.d-tr { top: 35px; right: 35px; }
.golden-frame .dot.d-bl { bottom: 35px; left: 35px; }
.golden-frame .dot.d-br { bottom: 35px; right: 35px; }

/* Center edge ornaments */
.center-ornament {
    position: absolute;
    background: #D4AF37;
    z-index: 12;
}

.center-ornament.top, .center-ornament.bottom {
    width: 40px;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.center-ornament.left, .center-ornament.right {
    width: 2px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.center-ornament.top { top: -1px; }
.center-ornament.bottom { bottom: -1px; }
.center-ornament.left { left: -1px; }
.center-ornament.right { right: -1px; }

.center-ornament::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #D4AF37;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 2px solid #fff;
}

/* Clean content pane without the box */
#StoryCard {
    padding: 0; /* Removed extra spacing */
    max-width: 1000px;
    text-align: center; /* Reverted to center-aligned text */
    z-index: 10;
    opacity: 0;
    transform: translateY(40px); /* Smaller animation travel distance */
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#StoryCard.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3D Floating removed as it's no longer a box */
#StoryCard:hover {
}

.about-title {
    font-size: 5rem;
    margin-bottom: 0.5rem; /* Tighter space below title */
    filter: drop-shadow(0px 4px 15px rgba(212, 175, 55, 0.4));
}

.about-text {
    font-size: 1.35rem;
    line-height: 1.5; /* Tightened line height */
    margin-bottom: 0.5rem; /* Minimal space between paragraphs */
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Shiny Text Effects ported from React Bits to pure CSS */
.shiny-text-effect {
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% auto;
    animation: shine-slide 4s linear infinite;
}

.title-shine {
    /* Base: Gold, Shine: Bright White/Yellow */
    background-image: linear-gradient(120deg, #D4AF37 0%, #D4AF37 35%, #FFFDE7 50%, #D4AF37 65%, #D4AF37 100%);
}

.body-shine {
    /* Base: Darker Gold, Shine: Bright Gold */
    background-image: linear-gradient(120deg, #b8860b 0%, #b8860b 35%, #FDE047 50%, #b8860b 65%, #b8860b 100%);
    animation-duration: 5s; /* Slower shine for body text */
}

@keyframes shine-slide {
    0% {
        background-position: 150% center;
    }
    100% {
        background-position: -50% center;
    }
}

.about-highlights {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.highlight h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    /* Light accent for dark bg */
    margin-bottom: 0.5rem;
}

.highlight p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-sec);
}

/* Heritage Frozen Collection (Stacked Cinematic) */
.frozen-collection {
    position: relative;
    padding: 10rem 2rem 8rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('asset/premium_ice_bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
    /* 8K HD Clarity Enhancements */
    /* Clean, high-clarity filters without grain-inducing over-processing */
    filter: brightness(1.02) contrast(1.02) saturate(1.05);
    image-rendering: auto;
    transform: translateZ(0);
    will-change: transform, opacity;
    /* Continuously locked from Spices section */
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transition out frozen section as user moves to Contact */
.frozen-collection.faded {
    opacity: 0;
    transform: scale(1.05) translateY(-20px);
    pointer-events: none;
}

/* Frozen ambient fade removed to flawlessly match the Spices section structure exactly */
.frozen-collection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 17, 17, 0.4);
    z-index: 0;
}

/* --- High-Fidelity Card Swap Stack --- */
.card-swap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem; /* Significant gap between stack and text */
    perspective: 2000px;
    margin: 0 auto 6rem auto;
    z-index: 10;
}

.card-swap-container {
    position: relative;
    width: 380px;
    height: 480px;
    transform-style: preserve-3d;
    cursor: pointer;
    flex-shrink: 0;
}

.swap-info-container {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-info-item {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    pointer-events: none;
}

.swap-info-item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
}

.swap-info-item h2 {
    font-size: 3.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.swap-info-item p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.swap-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.frozen-card {
    width: 100%;
    max-width: 500px; /* Sharp, contained size */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-panel-frozen {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    color: var(--text-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.frozen-img-container {
    width: 100%;
    flex: 1; /* Take up available space */
    overflow: hidden;
}

.frozen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1); /* Sharp, high-contrast */
}

.global-coming-soon {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #D4AF37; /* Golden accent */
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
    z-index: 20;
    position: relative;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.frozen-info {
    padding: 1.5rem 2rem 2.5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); /* High contrast backing for text */
}

.frozen-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.frozen-info p {
    font-size: 1rem;
    color: var(--text-sec);
    line-height: 1.5;
}

/* Bottom Half: Strategic Future Teaser */
.frozen-teaser-bottom {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    color: var(--text-primary);
}

.future-teaser-content {
    position: relative;
}

.future-headline {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.future-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    color: var(--text-sec);
    letter-spacing: 0.5px;
}

/* The Glowing CTA Interaction */
.notify-btn-glow {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.4);
    padding: 1.2rem 3.5rem;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: all 0.8s ease-in-out;
}

.notify-btn-glow span {
    margin-left: 8px;
}

.notify-btn-glow:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.4);
}


@media(max-width: 900px) {
    .future-headline {
        font-size: 3.2rem;
    }

    .future-text {
        font-size: 1.1rem;
    }

    .dual-showcase {
        gap: 2rem;
    }
}

.contact-section {
    min-height: 80vh;
    padding: 8rem 2rem;
    background-color: var(--bg-color);
    /* Must create stacking context to cover the fixed hero background */
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
}

.contact-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-subtitle {
    text-align: center;
    margin: 0 auto 4rem auto;
    max-width: 600px;
    color: var(--text-sec);
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--text-sec);
    line-height: 1.5;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form .input-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-sec);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Unified Mobile Responsiveness */
@media(max-width: 768px) {

    .hero-bg-layer {
        background-image: url('asset/hero_mobile.jpg') !important;
        background-position: center !important;
        background-size: cover !important;
    }

    /* ── NAVBAR MOBILE ── */
    .navbar {
        padding: 0.55rem 0.6rem; /* NO left padding — we use margin on nav instead */
        justify-content: flex-end;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        height: 46px;
        background: transparent;
    }

    nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        padding-left: 100px; /* absolute clearance for 80px logo + 20px buffer */
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding-top: 0;
        padding-bottom: 0;
        border-radius: 0;
    }

    nav::-webkit-scrollbar { display: none; }

    nav a {
        margin: 0 0.4rem;
        font-size: 0.62rem;
        letter-spacing: 1.4px;
        white-space: nowrap;
    }

    /* ── MAIN LOGO MOBILE ── */
    #MainLogo {
        width: 60vw;
        max-width: 250px;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        filter: none;
    }

    #MainLogo.scrolled {
        width: 80px;
        top: 15px;
        left: 10px;
        transform: translate(0, 0);
    }

    /* Disable CSS :hover flip on mobile — use .flipped class only via JS tap */
    /* Neutralize CSS hover flip on mobile so JS toggle handles it exclusively */
    .product-card:hover .card-inner {
        transform: none;
    }
    /* Re-enable flip specifically for the JS-driven class, with priority */
    .product-card.flipped .card-inner {
        transform: rotateY(180deg) !important;
    }

    /* Shrink huge hero texts/logos */
    .hero h1 {
        font-size: 3.2rem;
    }

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

    .hero-logo {
        max-width: 70%;
    }

    /* Maintain perfect 3D Perspective for mobile tapping logic */
    .product-card {
        perspective: 1200px;
    }

    /* Compress massive About Us padding */
    .about-section {
        padding: 6rem 1rem 3rem 1rem;
    }

    .glass-panel-about {
        padding: 3rem 1.5rem;
    }

    .about-title {
        font-size: 2.8rem;
    }

    .about-text {
        font-size: 1.05rem;
    }

    .about-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Collapse Contact Grid */
    .contact-section {
        padding: 6rem 1rem 3rem 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-info {
        padding: 2rem;
    }
}

/* Extra-small phones (< 480px) */
@media(max-width: 480px) {
    #MainLogo {
        width: 65vw;
        max-width: 200px;
        top: 22%;
    }

    #MainLogo.scrolled {
        width: 80px;
        top: 12px;
        left: 10px;
    }

    .hero-bg-layer {
        background-image: url('asset/hero_mobile.jpg') !important;
        background-position: center !important;
        background-size: cover !important;
    }

    nav a {
        font-size: 0.6rem;
        margin: 0.25rem 0.35rem;
        letter-spacing: 1px;
    }

    .navbar {
        padding: 0.6rem 0.5rem;
    }
}

/* Strategic Future Teaser Styles */
.frozen-teaser-bottom {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin: 6rem auto 0 auto;
    padding: 0 2rem;
}

.future-headline {
    color: #ffffff !important;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.future-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto;
}

/* Fix for other frozen texts that were black on dark background */
.frozen-info h2, .frozen-info p, .coming-soon-tag {
    color: #ffffff !important;
}

/* --- Ultimate Mobile Responsiveness Fixes --- */
@media(max-width: 900px) {
    /* Products Section */
    .product-split, .product-split.reverse-split {
        flex-direction: column;
        gap: 2rem;
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .product-image-side {
        width: 100%;
    }
    
    .product-content-side {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
    }

    .product-content-side h2 {
        font-size: 2.5rem;
    }

    .product-content-side p {
        font-size: 1rem;
    }
    
    /* Frozen Section Stack */
    .card-swap-wrapper {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding-top: 2rem;
        margin-bottom: 3rem;
    }
    
    .card-swap-container {
        width: 100%;
        max-width: 320px;
        height: 400px;
        margin: 0 auto;
    }
    
    .swap-info-container {
        width: 100%;
        min-height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .swap-info-item {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 1rem;
        text-align: center;
    }
    
    .swap-info-item.active {
        transform: translate(-50%, -50%);
    }
    
    .swap-info-item h2 {
        font-size: 2.2rem;
    }
    
    .swap-info-item p {
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    /* Golden Frame Overflow Fix */
    .golden-frame {
        top: 1rem;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}