:root {
    /* Base Surfaces: Premium Light Grey Clean Energy Theme */
    --bg-main: #f1f5f9;             /* Crisp modern light grey / slate-100 */
    --bg-secondary: #ffffff;        /* Pure white card backgrounds */
    --bg-card: rgba(255, 255, 255, 0.90); /* Frosted white glass */
    --bg-card-hover: #ffffff;
    --border-card: #e2e8f0;         /* Refined slate border */
    --border-card-hover: rgba(16, 185, 129, 0.45);
    
    --text-primary: #0f172a;        /* Deep obsidian slate for high contrast */
    --text-secondary: #475569;      /* Slate-600 readable body */
    --text-muted: #64748b;          /* Muted meta labels */

    /* Clean Energy & Smart Grid Accents */
    --primary: #059669;             /* Deep Emerald */
    --primary-light: #10b981;       /* Vibrant Mint */
    --primary-glow: rgba(16, 185, 129, 0.35);
    
    --accent-cyan: #0284c7;         /* Clean Inverter Sky Blue */
    --accent-cyan-glow: rgba(14, 165, 233, 0.35);
    
    --accent-emerald: #059669;      /* Renewable Grid Green */
    --accent-emerald-glow: rgba(16, 185, 129, 0.35);
    
    --accent-solar: #d97706;        /* Warm Photovoltaic Gold */
    --accent-amber: #d97706;        /* High-Amperage Amber */
    --accent-purple: #6366f1;       /* Inverter / HVAC Indigo */
    --accent-rose: #e11d48;         /* Thermal Flare */

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------- */
/* AMBIENT BACKGROUND GLOW & MESH (Light Grey Theme) */
/* ------------------------------------------------------------- */
.ambient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.16;                  /* Soft pastel aura on light grey */
    animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
}

.blob-2 {
    bottom: 10%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 40%;
    left: 25%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #fde047 0%, transparent 70%);
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
    100% { transform: translate(-30px, 30px) scale(0.95); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ------------------------------------------------------------- */
/* LAYOUT CONTAINERS */
/* ------------------------------------------------------------- */
.page-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
    position: relative;
    scroll-margin-top: 6rem;
}

[id^="tab-"] {
    scroll-margin-top: 8rem;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
        scroll-margin-top: 4.5rem;
    }
}

/* ------------------------------------------------------------- */
/* TOP NAVIGATION */
/* ------------------------------------------------------------- */
.navbar-wrapper {
    position: sticky;
    top: 1rem;
    z-index: 100;
    margin: 0 auto 2rem auto;
    max-width: 1260px;
    padding: 0 1.5rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 0.85rem 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10, 166, 201, 0.18), 0 0 0 1px rgba(6, 112, 140, 0.14);
}

.brand-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #047857;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #059669, #0284c7);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.42);
    filter: brightness(1.06);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.84rem;
}

.btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

@media (max-width: 960px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    .mobile-toggle {
        display: block;
    }
}

/* ------------------------------------------------------------- */
/* HERO SECTION */
/* ------------------------------------------------------------- */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: #047857;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.text-gradient {
    background: linear-gradient(135deg, #0f172a 15%, #059669 60%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-family: var(--font-mono);
    color: #334155;
    background: #ffffff;
    border: 1px solid var(--border-card);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.highlight-chip svg {
    color: var(--primary);
}

/* HERO VISUAL / DEVICE SHOWCASE CARD */
.hero-visual {
    position: relative;
}

.device-showcase-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: #ffffff;
    border: 1px solid var(--border-card);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.12), 0 0 35px -5px rgba(16, 185, 129, 0.15);
    padding: 0.85rem;
    max-width: 480px;
    margin: 0 auto;
}

.device-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #0b1120;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-showcase-card:hover .device-image {
    transform: scale(1.03);
}

/* FLOATING TELEMETRY HUDS ON HERO */
.floating-hud {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    animation: floatHud 6s ease-in-out infinite alternate;
}

.hud-top-right {
    top: -15px;
    right: -15px;
    animation-delay: -1.5s;
}

.hud-bottom-left {
    bottom: -15px;
    left: -15px;
    animation-delay: -3.5s;
}

@keyframes floatHud {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.hud-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hud-icon.cyan {
    background: rgba(2, 132, 199, 0.12);
    color: var(--accent-cyan);
}

.hud-icon.emerald {
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-emerald);
}

.hud-content {
    display: flex;
    flex-direction: column;
}

.hud-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.hud-value {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .floating-hud {
        display: none;
    }
}

/* ------------------------------------------------------------- */
/* SECTION HEADERS */
/* ------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #0f172a;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ------------------------------------------------------------- */
/* SYSTEM ARCHITECTURE CARDS */
/* ------------------------------------------------------------- */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

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

.arch-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

.arch-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-card-hover);
    box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.08);
}

.arch-step-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
}

.arch-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: rgba(5, 150, 105, 0.12);
    color: var(--primary);
}

.arch-icon.cyan {
    background: rgba(2, 132, 199, 0.12);
    color: var(--accent-cyan);
}

.arch-icon.emerald {
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-emerald);
}

.arch-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.arch-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.arch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.arch-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border-card);
    color: #334155;
    font-weight: 600;
}

/* ------------------------------------------------------------- */
/* HARDWARE DEEP DIVE SECTION */
/* ------------------------------------------------------------- */
.hardware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.interactive-device-viewer {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.15);
    background: #000;
}

.interactive-device-viewer img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hotspots on device image */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    border: 3px solid #ffffff;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    animation: hotspotPulse 2.5s infinite;
}

.hotspot:hover, .hotspot.active {
    transform: translate(-50%, -50%) scale(1.35);
    background: #ffffff;
    border-color: #059669;
}

@keyframes hotspotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.hotspot-info-box {
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-card);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.hotspot-info-box h4 {
    color: #047857;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotspot-info-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* HARDWARE SPECS TABLE & PINOUT */
.specs-table-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.specs-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.spec-val {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.pinout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.pin-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.pin-gpio {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(5, 150, 105, 0.15);
    color: #047857;
}

.pin-desc {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 500;
}

/* ------------------------------------------------------------- */
/* CLOUD PLATFORM SHOWCASE */
/* ------------------------------------------------------------- */
.cloud-showcase-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto 3.5rem auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.15);
    background: #0b1120;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cloud-showcase-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.25);
    border-color: rgba(5, 150, 105, 0.4);
}

.cloud-mockup-link {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.cloud-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.cloud-showcase-overlay {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 5;
}

.cloud-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.25rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.cloud-mockup-link:hover .cloud-showcase-badge {
    background: linear-gradient(135deg, #059669, #0284c7);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.5);
}

@media (max-width: 640px) {
    .cloud-showcase-overlay {
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .cloud-showcase-badge {
        font-size: 0.78rem;
        padding: 0.45rem 0.85rem;
        gap: 0.4rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-card-hover);
    box-shadow: 0 16px 35px -10px rgba(0, 0, 0, 0.08);
}

.feature-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: rgba(5, 150, 105, 0.12);
    color: var(--primary);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------- */
/* PRINTABLE QR LABEL SHOWCASE BLOCK */
/* ------------------------------------------------------------- */
.label-showcase-box {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 960px) {
    .label-showcase-box {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
}

.label-showcase-content h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.label-showcase-content p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.label-pills-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.label-pill-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.label-pill-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.label-sticker-preview-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LANDING PAGE PHYSICAL STICKER CARD */
.landing-sticker-card {
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-sticker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
}

.landing-sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #0f172a;
    padding-bottom: 8px;
}

.landing-sticker-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-sticker-brand-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.landing-sticker-brand-title {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #0f172a;
    line-height: 1;
}

.landing-sticker-badge {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.landing-sticker-body {
    display: flex;
    gap: 16px;
    align-items: center;
}

.landing-qr-box {
    flex-shrink: 0;
    background: #ffffff;
    padding: 6px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-qr-img {
    width: 118px;
    height: 118px;
    display: block;
}

.landing-sticker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.landing-meta-row {
    display: flex;
    flex-direction: column;
}

.landing-meta-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.landing-meta-value-id {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 1px;
}

.landing-meta-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-sticker-footer {
    border-top: 1.5px solid #e2e8f0;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.landing-url-text {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #0f172a;
    font-weight: 700;
    word-break: break-all;
}

.landing-scan-hint {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ------------------------------------------------------------- */
/* CODE TABS & QUICKSTART (High-Contrast Code Box) */
/* ------------------------------------------------------------- */
.code-box-container {
    background: #0f172a;            /* Sleek dark code box for crisp syntax */
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.18);
}

.code-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.code-tabs-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #34d399;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.code-content-pane {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content-pane pre {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-pane {
    display: none;
}

.code-pane.active {
    display: block;
}

/* Syntax Highlighting Tokens */
.tok-kw { color: #f43f5e; font-weight: 600; }
.tok-cmd { color: #38bdf8; font-weight: 600; }
.tok-str { color: #34d399; }
.tok-comment { color: #64748b; font-style: italic; }
.tok-num { color: #fbbf24; }
.tok-prop { color: #a78bfa; }

/* ------------------------------------------------------------- */
/* FAQ ACCORDION */
/* ------------------------------------------------------------- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
    border-color: rgba(5, 150, 105, 0.4);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    color: #0f172a;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #64748b;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-body {
    display: block;
}

/* ------------------------------------------------------------- */
/* CTA BANNER & FOOTER */
/* ------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(2, 132, 199, 0.10) 100%);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(5, 150, 105, 0.15);
}

.cta-banner h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: #334155;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer {
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-card);
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-col h5 {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: var(--text-muted);
}
