/* ==========================================================================
   1. PREMIUM MINIMALIST RESET & GLOBAL CYBERPUNK-ECO DARK VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

:root {
    /* Main Dark Theme Core Canvas Blocks */
    --bg-dark: #0A140E;           /* Pitch-black green baseline background */
    --panel-bg: #122218;          /* Solid structural panel container backgrounds */
    --text-light: #FAFAFA;        /* Ultra-crisp reading text elements */
    --text-muted: #8FA397;        /* Secondary descriptive detail strings */
    
    /* Futuristic Structural Accents */
    --leaf-bright: #39FF14;       /* Neon radioactive ecosystem green glow */
    --leaf-mid: #2D5A3B;          /* Medium dense foliage container framework borders */
    --leaf-dark: #1E3A27;         /* Deep background framing boundaries */
    --leaf-accent: #193221;       /* Subtle dark overlay division lines */
    --portal-blue: #00E5FF;       /* Cyan core decoding quantum vortex line glow */
    --gold-accent: #FFD700;       /* Warn/Highlight priority tier indicators */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    
    /* Native App Page Transition Overlays */
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: translateY(10px);
}

/* Lifecycle State Triggers compiled by transition routers */
body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

body.page-exiting {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}

/* Blinding flash container overlay customized to a dark plasma eclipse */
#blindingFlash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #00E5FF;
    opacity: 0;
    z-index: 999999 !important;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity 0.15s ease-out;
}

/* Force global container freezing on calculator critical overloading */
body.critical-overload {
    overflow: hidden !important;
    height: 100vh !important;
}

/* ==========================================================================
   2. FIXATED FIXED GLOBAL NAVIGATION BAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 20, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--leaf-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 9999;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--leaf-bright);
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--text-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--leaf-bright);
    transition: width 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* ==========================================================================
   3. UNIVERSAL INTERACTIVE BUTTONS & COMMONS
   ========================================================================== */
.primary-btn {
    background: var(--leaf-bright);
    color: #0A140E;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(57, 255, 20, 0.25);
    transition: all 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.45);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--leaf-mid);
    color: var(--text-light);
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: rgba(45, 90, 59, 0.15);
    border-color: var(--leaf-bright);
}

/* ==========================================================================
   4. INDEX & HOME CORE PAGE SECTIONS
   ========================================================================== */
.hero {
    background: linear-gradient(180deg, rgba(10,20,14,1) 0%, rgba(25,50,33,0.2) 100%);
    padding: 140px 6% 5rem 6%;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--leaf-bright);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.connect-section {
    padding: 5rem 6%;
    text-align: center;
    background: var(--bg-dark);
}

.connect-section h2 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.connect-section p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-card {
    background: var(--panel-bg);
    border: 1px solid var(--leaf-accent);
    padding: 1.25rem 2rem;
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.social-card:hover {
    border-color: var(--portal-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   5. STARTER GUIDE SPECIFIC PAGE LAYOUTS
   ========================================================================== */
.guide-main {
    margin-top: 100px;
    flex: 1;
    padding: 2rem 6%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.guide-header h1 {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.guide-header h1 span {
    color: var(--leaf-bright);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.guide-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.guide-card {
    background: var(--panel-bg);
    border: 1px solid var(--leaf-accent);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: var(--leaf-dark);
    border: 1px solid var(--leaf-bright);
    color: var(--leaf-bright);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-card h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.guide-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tip-box {
    background: rgba(0, 229, 255, 0.05);
    border-left: 4px solid var(--portal-blue);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tip-box strong {
    color: var(--portal-blue);
}

.guide-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    justify-content: center;
}

/* ==========================================================================
   6. HARDWARE DECK STOREFRONT & CART OVERLAY
   ========================================================================== */
.store-container {
    display: flex;
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
}

.store-main {
    flex: 1;
    padding: 20px;
    margin-top: 100px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.cart-active .store-main {
    padding-right: 380px;
}

.cart-sidebar {
    position: fixed;
    top: 80px;
    right: -360px;
    width: 360px;
    height: calc(100vh - 80px);
    background: rgba(10, 20, 14, 0.95);
    border-left: 1px solid var(--leaf-dark);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.cart-active .cart-sidebar {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--leaf-dark);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.cart-header h2 {
    font-size: 1.2rem;
    color: var(--text-light);
}

.cart-count-bubble {
    background: var(--leaf-bright);
    color: #0A140E;
    font-weight: 800;
    padding: 0.15rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.cart-items-wrapper {
    flex: 1;
    overflow-y: auto;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(25, 50, 33, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border: 1px solid var(--leaf-accent);
}

.cart-item-details h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.cart-item-details p {
    font-size: 0.75rem;
    color: var(--portal-blue);
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #FF5555;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-footer {
    border-top: 1px solid var(--leaf-dark);
    padding-top: 1.5rem;
}

.toggle-cart-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--portal-blue);
    color: #0A140E;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
}

.products-deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 6% 4rem 6%;
}

.product-hardware-card {
    background: var(--panel-bg);
    border: 1px solid var(--leaf-accent);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.product-hardware-card:hover {
    transform: translateY(-4px);
    border-color: var(--leaf-bright);
}

.prod-meta-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.prod-icon-box {
    font-size: 2rem;
}

.prod-cost-tag {
    color: var(--leaf-bright);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-hardware-card h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-hardware-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.empty-cart-notice {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 2rem;
}

/* ==========================================================================
   7. INTERACTIVE CALCULATOR CORE STRUCTURAL RULES
   ========================================================================== */
.calculator-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr;
    gap: 2rem;
    padding: 120px 4% 4rem 4%;
    min-height: calc(100vh - 80px);
}

.item-armory, .manifestation-vault {
    background: var(--panel-bg);
    border: 1px solid var(--leaf-accent);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--leaf-accent);
    padding-bottom: 0.5rem;
}

.armory-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.armory-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.item-node {
    display: flex;
    align-items: center;
    background: rgba(10, 20, 14, 0.7);
    border: 1px solid var(--leaf-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.item-node:hover {
    transform: translateX(4px);
    border-color: var(--leaf-bright);
}

.node-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.node-details {
    flex: 1;
}

.node-details h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.node-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.node-price {
    font-weight: 700;
    color: var(--leaf-bright);
}

.armory-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--leaf-dark);
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
}

.tab-btn.active {
    color: var(--leaf-bright);
    font-weight: bold;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--leaf-bright);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ==========================================================================
   8. ADVENTURE ZONE & PARTICLE PORTAL INTERFACING CORE
   ========================================================================== */
.adventure-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(5, 10, 7, 0.5);
    border-radius: 12px;
    border: 1px dashed var(--leaf-dark);
    padding: 2rem;
    overflow: hidden;
}

.conveyor-belt {
    position: absolute;
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--leaf-dark) 20%, var(--leaf-dark) 80%, transparent);
    z-index: 1;
}

.traveling-capsule {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
}

@keyframes customTransmit {
    0% { top: -40px; opacity: 0; scale: 0.5; }
    20% { opacity: 1; scale: 1.2; }
    80% { top: calc(50% - 40px); opacity: 1; scale: 1; filter: none; }
    100% { top: calc(50% - 10px); opacity: 0; scale: 0.3; filter: hue-rotate(90deg) blur(4px); }
}

.portal-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    cursor: pointer;
    z-index: 10;
}

.portal-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px dashed var(--leaf-mid);
    border-radius: 50%;
    animation: rotateRing 12s linear infinite;
    transition: all 0.3s ease;
}

.portal-vortex {
    position: absolute;
    width: 86%;
    height: 86%;
    top: 7%;
    left: 7%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25,50,33,0.8) 0%, rgba(10,20,14,0.9) 70%, transparent 100%);
    box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.1);
    transition: all 0.4s ease;
}

.portal-status-label {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    line-height: 1.3;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Interactive Portal Dynamic States */
.portal-wrapper.ready-to-fuse .portal-ring {
    border-color: var(--portal-blue);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.2);
    animation-duration: 4s;
}
.portal-wrapper.ready-to-fuse .portal-status-label {
    color: var(--portal-blue);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.portal-wrapper.budging .portal-ring {
    border-color: var(--gold-accent);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation-duration: 0.8s;
}
.portal-wrapper.budging .portal-status-label {
    color: var(--gold-accent);
}

.portal-wrapper.fused-locked .portal-ring {
    border-color: var(--leaf-bright);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.5);
    animation: rotateRing 20s linear infinite;
}
.portal-wrapper.fused-locked .portal-status-label {
    color: var(--leaf-bright);
}

@keyframes rotateRing {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   9. VAULT MANIFESTATION DISPLAY LOGIC & BILLING ENGINE
   ========================================================================== */
.vault-title h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.crystal-energy {
    width: 100%;
    height: 6px;
    background: var(--leaf-dark);
    border-radius: 3px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.crystal-energy::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--portal-blue), var(--leaf-bright));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-energy.uncharged::after {
    transform: translateX(-100%);
}

.matrix-split-streams {
    flex: 1;
    margin-top: 1rem;
    max-height: 240px;
    overflow-y: auto;
}

.stream-node {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
    background: rgba(25, 50, 33, 0.2);
    border-left: 3px solid var(--leaf-mid);
    margin-bottom: 0.5rem;
    border-radius: 0 4px 4px 0;
}

.stream-node span.neg {
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
}
.stream-node span.neg:hover {
    color: #FF5555;
}

.portal-output-terminal {
    position: relative;
    border-top: 1px solid var(--leaf-dark);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.price-shield-shroud {
    position: absolute;
    top: 0;
    left: -5px;
    width: calc(100% + 10px);
    height: 100%;
    background: rgba(18, 34, 24, 0.96);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    z-index: 50;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.price-shield-shroud.shattered {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9) translateY(20px);
}

.shield-status-text {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--portal-blue);
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.terminal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.terminal-row span:last-child {
    font-weight: 600;
    color: var(--text-light);
}

.highlight-monthly span:last-child {
    color: var(--portal-blue);
}

.total-setup {
    border-top: 1px dashed var(--leaf-dark);
    padding-top: 0.85rem;
    margin-top: 0.85rem;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
}

.total-setup span:last-child {
    font-size: 1.3rem;
    color: var(--leaf-bright);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.clear-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--leaf-dark);
    color: var(--text-muted);
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}
.clear-btn:hover {
    border-color: #FF5555;
    color: #FFFAFA;
    background: rgba(255, 85, 85, 0.05);
}

/* ==========================================================================
   10. TESTIMONIAL AUTO-SCROLLING HORIZONTAL ENGINE
   ========================================================================== */
.testimonials-section {
    padding: 5rem 0;
    background: rgba(25, 50, 33, 0.1);
    border-top: 1px solid var(--leaf-accent);
    border-bottom: 1px solid var(--leaf-accent);
    overflow: hidden;
    width: 100%;
}

.testimonials-section h2 {
    text-align: center;
    color: var(--portal-blue);
    margin-bottom: 3rem;
    font-size: 2rem;
    letter-spacing: 0.5px;
}

.testimonial-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.testimonial-window::before,
.testimonial-window::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonial-window::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.testimonial-window::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollConveyor 35s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.review-card {
    background: rgba(18, 34, 24, 0.6);
    border: 1px solid var(--leaf-dark);
    padding: 2rem;
    border-radius: 10px;
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.review-card:hover {
    border-color: var(--leaf-bright);
    background: rgba(18, 34, 24, 0.9);
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.review-author {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes scrollConveyor {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   11. BRAND COMPLIANT FOOTER (UNIVERSAL SHIELD)
   ========================================================================== */
footer {
    margin-top: auto;
    border-top: 1px solid var(--leaf-accent);
    padding: 2.5rem 6% 2rem 6%;
    text-align: center;
    background-color: #050a07;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--leaf-bright);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.footer-main-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.farmspherica-badge {
    background: linear-gradient(90deg, var(--leaf-dark), var(--leaf-accent));
    border: 1px solid var(--leaf-mid);
    color: var(--portal-blue);
    display: inline-block;
    padding: 0.35rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.footer-sub-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   12. SYSTEM RE-ALIGNMENT BREAKPOINTS (RESPONSIVE RULES)
   ========================================================================== */
@media (max-width: 1024px) {
    .calculator-main {
        grid-template-columns: 1fr;
        padding: 110px 5% 3rem 5%;
        gap: 1.5rem;
    }
    
    .adventure-zone {
        padding: 3rem 1rem;
    }
    
    .conveyor-belt {
        width: 100%;
        height: 2px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(to right, transparent, var(--leaf-dark) 20%, var(--leaf-dark) 80%, transparent);
    }
    
    @keyframes customTransmit {
        0% { left: -40px; top: 50%; opacity: 0; scale: 0.5; transform: translateY(-50%); }
        20% { opacity: 1; scale: 1.2; }
        80% { left: calc(50% - 40px); top: 50%; opacity: 1; scale: 1; transform: translateY(-50%); }
        100% { left: calc(50% - 10px); top: 50%; opacity: 0; scale: 0.3; transform: translateY(-50%); filter: blur(4px); }
    }

    body.cart-active .store-main {
        padding-right: 20px;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
        top: 80px;
        height: calc(100vh - 80px);
    }
}

@media (max-width: 768px) {
    header { padding: 0 4%; }
    nav { gap: 1rem; }
    nav a { font-size: 0.8rem; }
    .hero h1 { font-size: 2.2rem; }
    .review-card { width: 290px; padding: 1.5rem; }
    .testimonial-track { animation-duration: 25s; }
}
/* Universal Header Logo Pop-Up Effect */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    display: inline-block;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* When the logo is hovered, make the icon pop up, lift, and rotate slightly */
.logo:hover .logo-icon {
    transform: scale(1.3) translateY(-4px) rotate(8deg);
}