
    /* ══════════ RESET & BASE ══════════ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        color: #1a1a2e;
        background: #ffffff;
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
    }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* ══════════ TYPOGRAPHY ══════════ */
    .section-title {
        font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
        color: #0a0a1a; text-align: center; margin: 60px 0 12px;
    }
    .section-sub {
        text-align: center; font-size: 17px; color: #5a5a72;
        margin: 0 auto 40px; max-width: 700px;
    }
    .badge {
        display: inline-block; background: #eef2ff; color: #4f46e5;
        font-size: 12px; font-weight: 600; padding: 4px 14px;
        border-radius: 20px; letter-spacing: 0.3px; margin-bottom: 10px;
    }

    /* ══════════ ALERT BANNER ══════════ */
    .alert-banner {
        background: #fef9e7; border-bottom: 2px solid #f1c40f;
        padding: 14px 20px; text-align: center;
        font-size: 15px; font-weight: 500; color: #7d6608;
    }
    .alert-banner strong { color: #b7950b; }
    .alert-banner .icon { margin-right: 10px; vertical-align: middle; }

    /* ══════════ HERO ══════════ */
    .hero {
        display: flex; flex-wrap: wrap; align-items: center;
        gap: 48px; padding: 40px 0 20px;
    }
    .hero-content { flex: 1 1 45%; min-width: 280px; }
    .hero-content .pre-title {
        font-size: 14px; font-weight: 600; color: #4f46e5;
        text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 6px;
    }
    .hero-content h1 {
        font-size: 38px; font-weight: 800; letter-spacing: -0.03em;
        color: #0a0a1a; line-height: 1.15; margin-bottom: 6px;
    }
    .hero-content h1 span { color: #4f46e5; }
    .hero-content .subhead {
        font-size: 20px; font-weight: 400; color: #3a3a52; margin-bottom: 16px;
    }
    .hero-content p {
        font-size: 16px; color: #4a4a62; max-width: 540px; margin-bottom: 20px;
    }
    .hero-stats {
        display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 16px;
    }
    .hero-stats .stat-item { display: flex; flex-direction: column; }
    .hero-stats .stat-value { font-size: 24px; font-weight: 700; color: #0a0a1a; }
    .hero-stats .stat-label {
        font-size: 13px; color: #6a6a82;
        text-transform: uppercase; letter-spacing: 0.5px;
    }
    .hero-image { flex: 1 1 45%; min-width: 280px; text-align: center; }
    .hero-image img {
        max-width: 100%; border-radius: 14px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07); cursor: zoom-in;
        transition: transform 0.2s;
    }
    .hero-image img:hover { transform: scale(1.01); }
    .hero-image .img-caption { font-size: 13px; color: #8a8aa2; margin-top: 8px; }

    /* ══════════ CTA ══════════ */
    .cta-mini { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 12px 0 8px; }
    .cta-mini .btn {
        display: inline-block; background: #4f46e5; color: #fff;
        padding: 10px 28px; border-radius: 40px;
        font-weight: 600; font-size: 15px; text-decoration: none;
        transition: background 0.2s;
    }
    .cta-mini .btn:hover { background: #4338ca; }
    .cta-mini .btn-outline {
        background: transparent; color: #4f46e5; border: 2px solid #4f46e5;
    }
    .cta-mini .btn-outline:hover { background: #eef2ff; }

    /* ══════════ FEATURE GRID ══════════ */
    .feature-grid {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 20px; margin: 16px 0 10px;
    }
    .feature-card {
        background: #f8faff; border-radius: 14px; padding: 24px 16px 20px;
        text-align: center; transition: transform 0.2s, box-shadow 0.2s;
        border: 1px solid #edf2f7;
    }
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(79, 70, 229, 0.08);
        border-color: #c7d2fe;
    }
    .feature-card .icon { font-size: 34px; margin-bottom: 8px; display: block; }
    .feature-card .value { font-size: 22px; font-weight: 700; color: #0a0a1a; }
    .feature-card .label { font-size: 14px; color: #5a5a72; margin-top: 2px; }

    /* ══════════ VALUE BLOCK ══════════ */
    .value-block {
        display: flex; flex-wrap: wrap; align-items: center;
        gap: 40px; margin: 40px 0 30px;
        background: #fafbff; border-radius: 18px; padding: 40px 36px;
        border: 1px solid #edf2f7;
    }
    .value-block .text { flex: 1 1 50%; min-width: 260px; }
    .value-block .text h3 {
        font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
        color: #0a0a1a; margin-bottom: 12px;
    }
    .value-block .text ul { list-style: none; margin-top: 6px; }
    .value-block .text li {
        font-size: 16px; color: #3a3a52; padding: 6px 0 6px 30px; position: relative;
    }
    .value-block .text li::before {
        content: "✓"; position: absolute; left: 0;
        color: #4f46e5; font-weight: 700; font-size: 18px;
    }
    .value-block .media { flex: 1 1 40%; min-width: 220px; text-align: center; }
    .value-block .media img {
        max-width: 100%; border-radius: 12px; cursor: zoom-in;
        transition: transform 0.2s;
    }
    .value-block .media img:hover { transform: scale(1.02); }

    /* ══════════ SKU TABLE ══════════ */
    .sku-wrap { margin: 20px 0 40px; overflow-x: auto; }
    .sku-table {
        width: 100%; border-collapse: collapse; border-radius: 14px;
        overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); font-size: 15px;
    }
    .sku-table thead { background: #0a0a1a; color: #fff; }
    .sku-table th {
        padding: 16px 20px; text-align: left; font-weight: 600;
        font-size: 14px; letter-spacing: 0.3px;
    }
    .sku-table td {
        padding: 16px 20px; border-bottom: 1px solid #edf2f7;
        background: #fff; color: #1a1a2e;
    }
    .sku-table tr:last-child td { border-bottom: none; }
    .sku-table .highlight { background: #f8faff; }
    .tag-new, .tag-best {
        display: inline-block; color: #fff; font-size: 10px; font-weight: 700;
        padding: 2px 10px; border-radius: 12px; margin-left: 6px;
        text-transform: uppercase; letter-spacing: 0.4px;
    }
    .tag-new { background: #dc2626; }
    .tag-best { background: #059669; }

    /* ══════════ DRIVER BOARDS ══════════ */
    .driver-grid {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 24px; margin: 16px 0 30px;
    }
    .driver-card {
        background: #fff; border-radius: 14px; padding: 24px 20px 22px;
        text-align: center; border: 1px solid #edf2f7;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .driver-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
        border-color: #c7d2fe;
    }
    .driver-card img {
        max-width: 100%; max-height: 120px; border-radius: 8px;
        margin-bottom: 14px; object-fit: contain;
    }
    .driver-card .name {
        font-size: 18px; font-weight: 700; color: #0a0a1a;
        text-decoration: none; display: block; margin-bottom: 4px;
    }
    .driver-card .name:hover { color: #4f46e5; }
    .driver-card .desc {
        font-size: 14px; color: #5a5a72; margin: 8px 0 4px; line-height: 1.5;
    }
    .driver-card .tag {
        display: inline-block; font-size: 11px; font-weight: 700;
        padding: 2px 12px; border-radius: 12px; text-transform: uppercase;
        letter-spacing: 0.4px; margin-bottom: 6px;
    }
    .tag-pro { background: #eef2ff; color: #4f46e5; }
    .tag-adv { background: #fef3c7; color: #b45309; }
    .battery-badge {
        display: inline-block; background: #ecfdf5; color: #059669;
        font-size: 11px; font-weight: 700; padding: 3px 10px;
        border-radius: 10px; margin: 4px 0 6px; letter-spacing: 0.3px;
    }

    /* ══════════ ESP32 WIRING GUIDE (NEW) ══════════ */
    .wiring-hero {
        text-align: center; margin: 20px 0 32px;
        background: #fafbff; border-radius: 18px; padding: 24px;
        border: 1px solid #edf2f7;
    }
    .wiring-hero img {
        max-width: 100%; max-height: 480px; border-radius: 12px;
        cursor: zoom-in; transition: transform 0.2s;
    }
    .wiring-hero img:hover { transform: scale(1.01); }
    .wiring-hero .caption { font-size: 13px; color: #8a8aa2; margin-top: 10px; }

    .quick-facts {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 14px; margin: 0 0 32px;
    }
    .quick-fact {
        background: #fff; border: 1px solid #edf2f7; border-radius: 12px;
        padding: 16px 14px; text-align: center;
    }
    .quick-fact .qf-icon { font-size: 22px; margin-bottom: 4px; }
    .quick-fact .qf-title { font-size: 13px; font-weight: 700; color: #0a0a1a; }
    .quick-fact .qf-desc { font-size: 12px; color: #6a6a82; margin-top: 2px; }

    .wiring-grid {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 24px; margin: 24px 0;
    }
    .wiring-card {
        background: #fff; border: 1px solid #edf2f7; border-radius: 14px;
        padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    }
    .wiring-card h3 {
        font-size: 16px; font-weight: 700; color: #0a0a1a;
        margin-bottom: 14px; padding-bottom: 10px;
        border-bottom: 2px solid #eef2ff;
        display: flex; align-items: center; gap: 8px;
    }
    .wiring-card h3 .chip {
        font-size: 11px; background: #eef2ff; color: #4f46e5;
        padding: 2px 10px; border-radius: 10px; font-weight: 600;
    }
    .pin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .pin-table th {
        text-align: left; padding: 8px 10px; background: #f8faff;
        color: #2a2a42; font-weight: 600; font-size: 11px;
        text-transform: uppercase; letter-spacing: 0.3px;
        border-bottom: 1px solid #edf2f7;
    }
    .pin-table td {
        padding: 8px 10px; border-bottom: 1px solid #f1f5f9; color: #1a1a2e;
    }
    .pin-table tr:last-child td { border-bottom: none; }
    .pin-table .pin-num {
        font-family: 'SF Mono', Monaco, monospace;
        font-weight: 600; color: #4f46e5; width: 34px;
    }
    .pin-table .pin-name {
        font-family: 'SF Mono', Monaco, monospace;
        font-size: 12px; font-weight: 600; color: #0a0a1a;
    }
    .pin-table .pin-io {
        font-family: 'SF Mono', Monaco, monospace;
        font-size: 12px; color: #4f46e5; background: #eef2ff;
        padding: 2px 8px; border-radius: 6px; display: inline-block;
    }
    .pin-table .badge-pwr {
        background: #fef3c7; color: #b45309; font-size: 10px;
        font-weight: 600; padding: 2px 8px; border-radius: 8px;
    }
    .pin-table .badge-gnd {
        background: #e5e7eb; color: #374151; font-size: 10px;
        font-weight: 600; padding: 2px 8px; border-radius: 8px;
    }
    .pin-table .badge-spi {
        background: #eef2ff; color: #4f46e5; font-size: 10px;
        font-weight: 600; padding: 2px 8px; border-radius: 8px;
    }
    .pin-table .badge-i2c {
        background: #ecfdf5; color: #059669; font-size: 10px;
        font-weight: 600; padding: 2px 8px; border-radius: 8px;
    }
    .pin-table .muted { color: #9ca3af; }

    .steps-grid {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 18px; margin: 28px 0;
    }
    .step-card {
        background: #fff; border: 1px solid #edf2f7; border-radius: 14px;
        padding: 20px 18px; position: relative;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .step-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(79,70,229,0.07);
        border-color: #c7d2fe;
    }
    .step-num {
        width: 32px; height: 32px; background: #4f46e5; color: #fff;
        border-radius: 50%; display: flex; align-items: center;
        justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 12px;
    }
    .step-card h4 {
        font-size: 15px; font-weight: 700; color: #0a0a1a; margin-bottom: 6px;
    }
    .step-card p { font-size: 13px; color: #5a5a72; line-height: 1.6; }
    .step-card code {
        background: #f1f5f9; color: #334155; font-size: 12px;
        padding: 1px 6px; border-radius: 4px;
        font-family: 'SF Mono', Monaco, monospace;
    }

    .tips-box {
        background: #fef9e7; border: 1px solid #fde68a;
        border-left: 4px solid #f1c40f; border-radius: 12px;
        padding: 20px 24px; margin: 24px 0;
    }
    .tips-box h4 {
        font-size: 15px; font-weight: 700; color: #7d6608;
        margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
    }
    .tips-box ul { list-style: none; padding: 0; }
    .tips-box li {
        font-size: 14px; color: #7d6608; padding: 5px 0 5px 22px;
        position: relative; line-height: 1.6;
    }
    .tips-box li::before {
        content: "•"; position: absolute; left: 4px;
        color: #b7950b; font-weight: 700; font-size: 18px;
    }

    /* ══════════ SPECS TABLE ══════════ */
    .specs-wrap { margin: 16px 0 40px; overflow-x: auto; }
    .specs-table {
        width: 100%; border-collapse: collapse; border-radius: 14px;
        overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); font-size: 14px;
    }
    .specs-table td { padding: 12px 18px; border-bottom: 1px solid #edf2f7; background: #fff; }
    .specs-table .label {
        background: #f8faff; font-weight: 600; color: #2a2a42; width: 28%;
    }
    .specs-table .value { color: #1a1a2e; width: 22%; }
    .specs-table tr:last-child td { border-bottom: none; }
    @media (max-width: 600px) {
        .specs-table td { padding: 10px 12px; font-size: 13px; }
        .specs-table .label { width: 36%; }
    }

    /* ══════════ DRAWING ══════════ */
    .drawing-wrap { text-align: center; margin: 10px 0 40px; }
    .drawing-wrap img {
        max-width: 100%; max-height: 420px; border-radius: 12px;
        border: 1px solid #edf2f7; padding: 6px; background: #fafbff; cursor: zoom-in;
    }

    /* ══════════ APPLICATIONS ══════════ */
    .app-grid {
        display: grid; grid-template-columns: repeat(5, 1fr);
        gap: 18px; margin: 16px 0 30px;
    }
    .app-item { text-align: center; }
    .app-item img {
        width: 100%; border-radius: 12px; aspect-ratio: 1/1;
        object-fit: cover; border: 1px solid #edf2f7; transition: transform 0.2s;
    }
    .app-item img:hover { transform: scale(1.02); }
    .app-item .label {
        font-size: 14px; font-weight: 600; color: #2a2a42; margin-top: 8px;
    }

    /* ══════════ DOWNLOADS ══════════ */
    .downloads {
        background: #f8faff; border-radius: 16px; padding: 28px 32px;
        margin: 16px 0 40px; border: 1px solid #edf2f7;
    }
    .downloads .grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 32px;
    }
    .downloads .grid a {
        display: flex; align-items: center; gap: 8px;
        color: #1a1a2e; text-decoration: none; font-weight: 500;
        font-size: 15px; padding: 6px 0;
        border-bottom: 1px solid transparent;
        transition: color 0.2s, border-color 0.2s;
    }
    .downloads .grid a:hover { color: #4f46e5; border-bottom-color: #c7d2fe; }
    .downloads .grid .arrow { color: #8a8aa2; font-size: 18px; }

    /* ══════════ RECOMMENDED ══════════ */
    .rec-grid {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 20px; margin: 16px 0 30px;
    }
    .rec-item { text-align: center; }
    .rec-item img {
        width: 100%; border-radius: 10px; border: 1px solid #edf2f7;
        transition: transform 0.2s; aspect-ratio: 1/1; object-fit: cover;
    }
    .rec-item img:hover { transform: scale(1.03); }
    .rec-item a {
        display: block; font-size: 13px; color: #2a2a42;
        text-decoration: none; font-weight: 500; margin-top: 8px; line-height: 1.4;
    }
    .rec-item a:hover { color: #4f46e5; }

    /* ══════════ CONTACT ══════════ */
    .contact-section {
        text-align: center; margin: 40px 0 50px; padding: 40px 20px;
        background: #fafbff; border-radius: 18px; border: 1px solid #edf2f7;
    }
    .contact-section h3 {
        font-size: 28px; font-weight: 700; color: #0a0a1a; margin-bottom: 6px;
    }
    .contact-section p {
        font-size: 16px; color: #4a4a62; max-width: 600px;
        margin: 0 auto 16px; line-height: 1.8;
    }
    .contact-section .btn {
        display: inline-block; background: #4f46e5; color: #fff;
        padding: 12px 36px; border-radius: 40px;
        font-weight: 600; font-size: 16px; text-decoration: none;
        transition: background 0.2s; margin: 6px 0 12px;
    }
    .contact-section .btn:hover { background: #4338ca; }
    .contact-section .email-link {
        color: #4f46e5; font-weight: 600; text-decoration: none;
    }
    .contact-section .email-link:hover { text-decoration: underline; }

    /* ══════════ MODAL ══════════ */
    .modal-overlay {
        display: none; position: fixed; inset: 0;
        background: rgba(10,10,26,0.88); z-index: 9999;
        padding: 24px; align-items: center; justify-content: center;
        cursor: zoom-out;
    }
    .modal-overlay.active { display: flex; }
    .modal-overlay img {
        max-width: 95vw; max-height: 92vh; border-radius: 10px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5); cursor: default;
    }
    .modal-close {
        position: absolute; top: 18px; right: 24px; color: #fff;
        font-size: 32px; line-height: 1; cursor: pointer; opacity: 0.8;
        transition: opacity 0.2s; background: none; border: none; font-family: inherit;
    }
    .modal-close:hover { opacity: 1; }

    /* ══════════ RESPONSIVE ══════════ */
    @media (max-width: 900px) {
        .steps-grid { grid-template-columns: repeat(2, 1fr); }
        .quick-facts { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
        .section-title { font-size: 26px; margin-top: 40px; }
        .hero-content h1 { font-size: 28px; }
        .hero-content .subhead { font-size: 17px; }
        .value-block { padding: 28px 20px; }
        .value-block .text h3 { font-size: 22px; }
        .feature-grid { grid-template-columns: repeat(2, 1fr); }
        .driver-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
        .wiring-grid { grid-template-columns: 1fr; }
        .app-grid { grid-template-columns: repeat(3, 1fr); }
        .rec-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .downloads .grid { grid-template-columns: 1fr; }
        .downloads { padding: 20px 18px; }
        .sku-table th, .sku-table td { padding: 12px 14px; font-size: 13px; }
    }
    @media (max-width: 480px) {
        .container { padding: 0 16px; }
        .hero-stats { gap: 16px 24px; }
        .hero-stats .stat-value { font-size: 20px; }
        .cta-mini .btn { padding: 8px 20px; font-size: 14px; }
        .feature-grid { grid-template-columns: 1fr; }
        .steps-grid { grid-template-columns: 1fr; }
        .quick-facts { grid-template-columns: 1fr 1fr; }
        .app-grid { grid-template-columns: repeat(2, 1fr); }
        .rec-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    }
