/* ============================================
   GAZGARIN — SPACE THEME
   Deep space palette, glassmorphism, restrained glow
   ============================================ */

:root {
    /* Colors */
    --space-bg: #0B0D17;
    --space-surface: #12142A;
    --space-primary: #8B5CF6;
    --space-primary-light: #A78BFA;
    --space-secondary: #4DD0E1;
    --space-accent: #FF6EC7;
    --space-text: #E8EAF6;
    --space-text-secondary: #9FA8DA;

    /* Glow */
    --glow-primary: rgba(139, 92, 246, 0.35);
    --glow-accent: rgba(255, 110, 199, 0.28);
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;

    /* Gradient helper */
    --grad-brand: linear-gradient(135deg, #8B5CF6 0%, #4DD0E1 100%);
    --grad-warm: linear-gradient(135deg, #8B5CF6 0%, #FF6EC7 100%);

    /* Spacing */
    --header-height: 64px;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--space-bg);
    color: var(--space-text);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   VIDEO BACKGROUND
   ============================================ */

.video-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(139, 92, 246, 0.16), transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(77, 208, 225, 0.12), transparent 50%),
        linear-gradient(
            180deg,
            rgba(11, 13, 23, 0.72) 0%,
            rgba(11, 13, 23, 0.84) 50%,
            rgba(11, 13, 23, 0.93) 100%
        );
    z-index: 1;
}

/* Starfield fallback */
.starfield {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 90px 10px, rgba(255,255,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.28;
    animation: twinkle 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.28; }
    50% { opacity: 0.45; }
}

/* ============================================
   GLASSMORPHISM
   ============================================ */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* IMPORTANT: no backdrop-filter here.
   The app bar is a fixed element stacked above the fixed <video>.
   Chromium renders black rectangles for backdrop-filter over playing video
   when the layer repaints (hover/ripple). Solid gradient is visually close
   and immune to the bug. */
.glass-appbar {
    background: linear-gradient(
        180deg,
        rgba(11, 13, 23, 0.94) 0%,
        rgba(11, 13, 23, 0.80) 100%
    ) !important;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.glass-drawer {
    background: rgba(15, 17, 32, 0.97) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ============================================
   LAYOUT
   ============================================ */

.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-shell {
    flex: 1;
    padding-top: var(--header-height);
}

.page-container {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--space-text) 0%, var(--space-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    color: var(--space-text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   HEADER
   ============================================ */

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: filter 0.25s ease;
}

.logo-link:hover {
    filter: drop-shadow(0 0 14px var(--glow-primary));
}

.logo-wordmark {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.logo-icon {
    color: var(--space-primary);
    font-size: 1.35rem;
    line-height: 1;
}

.logo-img {
    border-radius: 10px;
    object-fit: cover;
    display: block;
    background: #fff;
    flex-shrink: 0;
}

.nav-spacer {
    flex: 1;
}

/* Desktop navigation — visibility is CSS-only so links stay in prerendered HTML */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.desktop-nav .nav-link {
    position: relative;
    color: var(--space-text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.desktop-nav .nav-link:hover {
    color: var(--space-text) !important;
    background: rgba(139, 92, 246, 0.10);
}

.desktop-nav .nav-link:hover::after {
    transform: scaleX(0.6);
}

.desktop-nav .nav-link.active {
    color: var(--space-primary-light) !important;
    background: rgba(139, 92, 246, 0.14);
}

.desktop-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Header CTA */
.header-operator-btn {
    display: none;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: transparent;
    border: 2px solid var(--space-secondary);
    color: var(--space-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-operator-btn:hover {
    transform: translateY(-1px);
    background: rgba(77, 208, 225, 0.12);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.25);
}

.header-cta {
    display: none;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    background: var(--grad-brand);
    color: #0B0D17;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--glow-primary);
    filter: brightness(1.06);
}

.header-cta-icon {
    color: #0B0D17 !important;
}

/* Burger — native button instead of MudIconButton */
.burger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.burger-button:hover {
    background: rgba(139, 92, 246, 0.12);
}

.burger-button:active {
    background: rgba(139, 92, 246, 0.18);
}

/* Kill MudBlazor ripple inside the header.
   The ripple pseudo-element repaints a scaled gradient over the video layer,
   which is one of the triggers for the black-square artifact. */
.no-ripple,
.desktop-nav .nav-link {
    --mud-ripple-opacity: 0 !important;
}

.no-ripple::after {
    display: none !important;
}

/* ============================================
   DRAWER (Mobile Menu)
   ============================================ */

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: var(--space-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--space-text);
    background: rgba(139, 92, 246, 0.10);
}

.mobile-nav-link.active {
    color: var(--space-primary-light);
    background: rgba(139, 92, 246, 0.16);
}

.drawer-cta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-operator-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: transparent;
    border: 2px solid var(--space-secondary);
    color: var(--space-secondary) !important;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.drawer-operator-btn:hover {
    background: rgba(77, 208, 225, 0.12);
    transform: translateY(-1px);
}

.drawer-cta-button {
    display: flex !important;
    justify-content: center;
    width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-glow,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease,
                border-color 0.22s ease, color 0.22s ease;
}

.btn-primary-glow {
    background: var(--grad-brand);
    color: #0B0D17;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.28);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px var(--glow-primary);
    filter: brightness(1.07);
}

.btn-ghost {
    border: 1px solid rgba(77, 208, 225, 0.45);
    color: var(--space-secondary);
    background: rgba(77, 208, 225, 0.06);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--space-secondary);
    background: rgba(77, 208, 225, 0.12);
    box-shadow: 0 12px 30px rgba(77, 208, 225, 0.18);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    overflow: hidden;
}

/* Soft nebula orb behind the headline */
.hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(820px, 105vw);
    height: min(820px, 105vw);
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 35% 35%, rgba(139, 92, 246, 0.30), transparent 55%),
        radial-gradient(circle at 70% 65%, rgba(255, 110, 199, 0.18), transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(77, 208, 225, 0.14), transparent 55%);
    filter: blur(38px);
    pointer-events: none;
    z-index: 0;
    animation: orb-drift 18s ease-in-out infinite alternate;
}

@keyframes orb-drift {
    0%   { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-48%, -52%) scale(1.07); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.6rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.10);
    color: var(--space-text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--space-secondary);
    box-shadow: 0 0 10px var(--space-secondary);
}

.hero-title {
    font-size: clamp(2.4rem, 6.4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(120deg, var(--space-primary) 0%, var(--space-accent) 45%, var(--space-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--space-text);
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.92;
}

.hero-description {
    color: var(--space-text-secondary);
    font-size: 1.06rem;
    line-height: 1.75;
    margin-bottom: 2.2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: 4.5rem 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--space-text);
    margin-bottom: 2.5rem;
}

.feature-card {
    position: relative;
    padding: 2rem 1.75rem;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradient border on hover */
.feature-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    padding: 1px;
    background: var(--grad-brand);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

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

.feature-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-brand);
    border-radius: 18px;
    color: #0B0D17;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.28);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    box-shadow: 0 12px 32px var(--glow-primary);
    transform: scale(1.05);
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: var(--space-text);
}

.feature-description {
    color: var(--space-text-secondary);
    line-height: 1.65;
}

/* ============================================
   ORDER FORM
   ============================================ */

.order-section {
    padding: 4.5rem 1rem;
}

.order-form-container {
    position: relative;
    padding: 2.75rem;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.12), transparent 60%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(139, 92, 246, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--space-text);
}

.form-subtitle {
    text-align: center;
    color: var(--space-text-secondary);
    margin-bottom: 1rem;
}

/* Accent focus for MudBlazor fields inside the form */
.order-form-container .mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: var(--space-primary) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.submit-button {
    font-weight: 700;
    text-transform: none;
    padding: 0.9rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px var(--glow-primary);
}

.privacy-note {
    text-align: center;
    color: var(--space-text-secondary);
    opacity: 0.72;
    line-height: 1.55;
    font-size: 0.76rem !important;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 520px;
    margin: 2rem auto;
}

.empty-icon {
    color: var(--space-primary);
    opacity: 0.65;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--space-text);
}

.empty-description {
    color: var(--space-text-secondary);
    line-height: 1.65;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-content {
    padding: 2.5rem;
}

.about-text {
    color: var(--space-text-secondary);
    line-height: 1.85;
    font-size: 1.04rem;
}

.about-text strong {
    color: var(--space-text);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    background: rgba(11, 13, 23, 0.92);
    padding: 3rem 1rem 1.5rem;
    margin-top: auto;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.55) 25%,
        rgba(77, 208, 225, 0.55) 75%,
        transparent 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-description {
    color: var(--space-text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-weight: 600;
    color: var(--space-text);
    margin-bottom: 0.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav a {
    position: relative;
    width: fit-content;
    color: var(--space-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.footer-nav a:hover {
    color: var(--space-primary-light);
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}

.footer-cta {
    display: inline-flex !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.copyright {
    color: var(--space-text-secondary);
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Desktop: show nav + CTA, hide burger */
@media (min-width: 960px) {
    .desktop-nav {
        display: flex;
    }

    .header-operator-btn {
        display: inline-flex;
        margin-left: 0.5rem;
    }

    .header-cta {
        display: inline-flex;
        margin-left: 0.5rem;
    }

    .burger-button {
        display: none;
    }
}

@media (max-width: 959px) {
    .hero-section {
        min-height: auto;
        padding: 3.5rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-glow,
    .btn-ghost {
        width: 100%;
    }

    .order-form-container {
        padding: 1.75rem 1.25rem;
        margin: 0 0.5rem;
    }

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

    .footer-section {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .page-container {
        padding: 1rem;
    }

    .features-section {
        padding: 2.5rem 1rem;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .order-section {
        padding: 2.5rem 0.5rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .hero-orb {
        filter: blur(26px);
    }
}

/* ============================================
   CATALOG
   ============================================ */

.catalog-header {
    margin-bottom: 2.5rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}

.catalog-note {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    justify-content: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
}

.catalog-note-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--space-text-secondary);
    font-size: 0.95rem;
}

.catalog-note-item .mud-icon-root {
    color: var(--space-secondary);
}

/* ============================================
   PRODUCT CARD
   ============================================ */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: var(--grad-brand);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

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

/* Media area with a stylised cylinder */
.product-media {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(139, 92, 246, 0.22), transparent 65%),
        radial-gradient(ellipse at 80% 0%, rgba(77, 208, 225, 0.12), transparent 55%);
    overflow: hidden;
}

.product-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05) translateY(-3px);
}

.product-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.35), transparent 70%);
    filter: blur(18px);
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem 1.4rem 1.5rem;
}

.product-substance {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--space-secondary);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--space-text);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 0.86rem;
    color: var(--space-text-secondary);
    margin: 0 0 1rem;
    line-height: 1.45;
}

.product-specs {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
    border-top: 1px solid var(--glass-border);
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.42rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.84rem;
}

.spec-label { color: var(--space-text-secondary); }
.spec-value { color: var(--space-text); font-weight: 600; }

.product-pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.price-main { display: flex; flex-direction: column; }

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-note { font-size: 0.72rem; color: var(--space-text-secondary); margin-top: 0.2rem; }

.price-exchange {
    font-size: 0.78rem;
    color: var(--space-text-secondary);
    text-align: right;
}

.price-exchange span { color: var(--space-text); font-weight: 700; }

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.badge-preorder {
    background: rgba(139, 92, 246, 0.16);
    color: var(--space-primary-light);
    border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-cash {
    background: rgba(77, 208, 225, 0.12);
    color: var(--space-secondary);
    border: 1px solid rgba(77, 208, 225, 0.3);
}

.product-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--space-primary-light);
    font-weight: 700;
    font-size: 0.92rem;
    transition: gap 0.2s ease;
}

.product-card:hover .product-cta { gap: 0.8rem; }

/* ============================================
   PRODUCT DETAIL
   ============================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--space-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover { color: var(--space-primary-light); }

.breadcrumb-sep { color: var(--space-text-secondary); opacity: 0.5; }

.breadcrumb-current { color: var(--space-text); font-weight: 600; }

.product-detail {
    display: grid;
    grid-template-columns: minmax(300px, 460px) 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.product-media-large {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(139, 92, 246, 0.24), transparent 65%),
        radial-gradient(ellipse at 80% 0%, rgba(77, 208, 225, 0.14), transparent 55%);
}

.product-img-large {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 1rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.product-glow-large {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 130px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.4), transparent 70%);
    filter: blur(26px);
}

.product-badges-large {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.product-detail-info { min-width: 0; }

.product-detail-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    color: var(--space-text);
    line-height: 1.1;
    margin: 0.25rem 0 0.35rem;
}

.product-detail-subtitle {
    color: var(--space-text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.price-panel {
    padding: 1.4rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.6rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
}

.price-row-main {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.7rem;
    margin-bottom: 0.55rem;
}

.price-label { color: var(--space-text-secondary); font-size: 0.92rem; }

.price-big {
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-mid { font-size: 1.25rem; font-weight: 700; color: var(--space-text); }

.price-note-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    color: var(--space-secondary);
    font-size: 0.85rem;
}

.specs-table {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.specs-table li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--glass-border);
}

.specs-table li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }

.specs-table li:last-child { border-bottom: none; }

.specs-table li span:first-child { color: var(--space-text-secondary); }
.specs-table li span:last-child { color: var(--space-text); font-weight: 600; text-align: right; }

.product-order-btn { width: 100%; }

.product-section { margin-bottom: 3rem; }

.product-description {
    padding: 1.8rem 2rem;
    border-radius: 18px;
}

.product-description p {
    color: var(--space-text-secondary);
    line-height: 1.8;
    margin: 0 0 1rem;
    font-size: 1.02rem;
}

.product-description p:last-child { margin-bottom: 0; }

.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.use-case {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    color: var(--space-text);
    font-size: 0.94rem;
    line-height: 1.5;
}

.use-case-icon { color: var(--space-secondary); flex-shrink: 0; margin-top: 0.1rem; }

.delivery-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.8rem 2rem;
    border-radius: 18px;
    border: 1px solid rgba(77, 208, 225, 0.25);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(77, 208, 225, 0.06));
}

.delivery-icon { color: var(--space-secondary); flex-shrink: 0; }

.delivery-title { color: var(--space-text); margin-bottom: 0.4rem; }

.delivery-text { color: var(--space-text-secondary); line-height: 1.6; }

/* Order product chip in form */
.order-product-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 0.25rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--space-primary-light);
    font-size: 0.84rem;
    font-weight: 600;
}

.order-form-container .order-product-chip { display: flex; width: fit-content; }

.order-chip-clear {
    background: none;
    border: none;
    color: var(--space-text-secondary);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 0.2rem;
    transition: color 0.2s ease;
}

.order-chip-clear:hover { color: var(--space-accent); }

/* ============================================
   CONTACTS
   ============================================ */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.contact-icon { color: var(--space-primary); margin-bottom: 0.4rem; }

.contact-title { color: var(--space-text); font-weight: 700; }

.contact-text { color: var(--space-text-secondary); line-height: 1.5; }

.contact-value { color: var(--space-secondary); font-weight: 700; font-size: 0.92rem; }

.contact-link {
    color: var(--space-primary-light);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.25rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-link:hover { border-bottom-color: var(--space-primary-light); }

.contacts-cta {
    padding: 2.5rem 2rem;
    border-radius: 18px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.contacts-cta-text { color: var(--space-text-secondary); }

@media (max-width: 900px) {
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .product-media-large { height: 300px; }
}

/* ============================================
   CERTIFICATES
   ============================================ */

.certificates-header { margin-bottom: 2.5rem; }

.certificate-layout {
    display: grid;
    grid-template-columns: minmax(300px, 480px) 1fr;
    gap: 2.5rem;
    align-items: start;
}

.certificate-image-wrap {
    position: relative;
    padding: 1rem;
    border-radius: 16px;
    overflow: hidden;
}

.certificate-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.certificate-badge {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.9);
    color: #0B0D17;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(6px);
}

.certificate-info { min-width: 0; }

.certificate-note {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    border-left: 3px solid var(--space-secondary);
}

.certificate-note .mud-icon-root { color: var(--space-secondary); flex-shrink: 0; margin-top: 0.15rem; }

.certificate-note p {
    margin: 0;
    color: var(--space-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .certificate-layout { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ============================================
   FAQ
   ============================================ */

.faq-section {
    padding: 4rem 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item[open] {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-q {
    position: relative;
    padding: 1.1rem 3rem 1.1rem 1.4rem;
    color: var(--space-text);
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: "";
    position: absolute;
    right: 1.3rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--space-primary-light);
    border-bottom: 2px solid var(--space-primary-light);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-q::after {
    transform: translateY(-30%) rotate(225deg);
}

.faq-q:hover { color: var(--space-primary-light); }

.faq-a {
    margin: 0;
    padding: 0 1.4rem 1.2rem;
    color: var(--space-text-secondary);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .bg-video {
        display: none;
    }

    .starfield,
    .hero-orb {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    .feature-card,
    .feature-card::before,
    .feature-icon,
    .btn-glow,
    .btn-ghost,
    .header-cta,
    .submit-button,
    .desktop-nav .nav-link::after,
    .footer-nav a::after {
        transition: none;
    }

    .feature-card:hover,
    .btn-glow:hover,
    .btn-ghost:hover,
    .header-cta:hover,
    .submit-button:hover {
        transform: none;
    }
}
