@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

        .robotics-page {
            --bg: #0a0e14;
            --bg-card: rgba(18, 24, 36, 0.6);
            --accent: #ff9f43;
            --accent-soft: rgba(255, 159, 67, 0.12);
            --secondary: #4ecdc4;
            --text: #f2f6fb;
            --text-muted: #8a96a8;
            --glow: rgba(255, 159, 67, 0.2);
            color: var(--text);
        }

        .hero {
            text-align: center;
            padding: 3rem 1.5rem 1.5rem;
        }
        .hero__back {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.72rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            transition: color 0.2s;
        }
        .hero__back:hover { color: var(--accent); }
        .hero__img {
            width: min(300px, 50vw);
            height: auto;
            margin-bottom: 1.25rem;
            filter: drop-shadow(0 0 28px var(--glow));
        }
        .hero__title {
            font-size: clamp(1.3rem, 4vw, 2.2rem);
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }
        .hero__accent {
            background: linear-gradient(135deg, #fff 10%, var(--accent) 80%, var(--secondary) 120%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero__sub {
            margin-top: 0.6rem;
            font-size: clamp(0.82rem, 1.8vw, 1rem);
            font-weight: 300;
            color: var(--text-muted);
            max-width: 36rem;
            margin-inline: auto;
            line-height: 1.6;
        }
        .hero__badges {
            display: flex;
            justify-content: center;
            gap: 0.65rem;
            margin-top: 1.25rem;
            flex-wrap: wrap;
        }
        .hero__badge {
            display: inline-block;
            padding: 0.35rem 1rem;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent);
            border: 1px solid rgba(255, 159, 67, 0.35);
            border-radius: 980px;
            background: var(--accent-soft);
        }
        .hero__badge--orange {
            color: var(--secondary);
            border-color: rgba(78, 205, 196, 0.35);
            background: rgba(78, 205, 196, 0.1);
        }

        .intro {
            max-width: 820px;
            margin: 0 auto;
            padding: 0 1.5rem 1rem;
            text-align: center;
        }
        .intro p {
            font-size: 0.88rem;
            font-weight: 300;
            line-height: 1.75;
            color: var(--text-muted);
        }
        .intro strong { color: var(--text); font-weight: 600; }

        .pillars {
            max-width: 820px;
            margin: 0 auto;
            padding: 0 1.5rem 1.5rem;
        }
        .pillars__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.75rem;
            margin-top: 0.75rem;
        }
        .pillars__item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.3rem;
            padding: 1rem 0.75rem;
            background: var(--bg-card);
            border: 1px solid rgba(255, 159, 67, 0.1);
            border-radius: 12px;
            transition: border-color 0.2s, transform 0.2s;
        }
        .pillars__item:hover {
            border-color: rgba(255, 159, 67, 0.3);
            transform: translateY(-2px);
        }
        .pillars__item--wide {
            grid-column: 1 / -1;
        }
        .pillars__icon { font-size: 1.5rem; }
        .pillars__item strong {
            font-size: 0.78rem;
            color: var(--text);
        }
        .pillars__item span {
            font-size: 0.72rem;
            color: var(--text-muted);
            line-height: 1.4;
        }

        .topics {
            max-width: 820px;
            margin: 0 auto;
            padding: 1.5rem 1.5rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .section-label {
            max-width: 820px;
            margin: 0.5rem auto 0;
            padding: 0 1.5rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--accent);
        }

        .topic {
            background: var(--bg-card);
            border: 1px solid rgba(255, 159, 67, 0.06);
            border-radius: 14px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
            opacity: 0;
            transform: translateY(24px);
            animation: topicIn 0.5s ease forwards;
        }
        .topic:nth-child(1) { animation-delay: 0.05s; }
        .topic:nth-child(2) { animation-delay: 0.1s; }
        .topic:nth-child(3) { animation-delay: 0.15s; }
        .topic:nth-child(4) { animation-delay: 0.2s; }
        .topic:nth-child(5) { animation-delay: 0.25s; }
        .topic:nth-child(6) { animation-delay: 0.3s; }
        .topic:nth-child(7) { animation-delay: 0.35s; }
        .topic:nth-child(8) { animation-delay: 0.4s; }
        .topic:nth-child(9) { animation-delay: 0.45s; }
        .topic:nth-child(10) { animation-delay: 0.5s; }

        @keyframes topicIn {
            to { opacity: 1; transform: translateY(0); }
        }

        .topic:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 32px var(--glow);
            border-color: rgba(255, 159, 67, 0.25);
        }

        .topic summary {
            display: grid;
            grid-template-columns: 3.2rem 1fr auto;
            align-items: center;
            gap: 1.25rem;
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            list-style: none;
        }
        .topic summary::-webkit-details-marker { display: none; }

        .topic__icon {
            font-size: 1.6rem;
            text-align: center;
            line-height: 1;
        }
        .topic__body { min-width: 0; }
        .topic__title {
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            margin-bottom: 0.3rem;
        }
        .topic__desc {
            font-size: 0.78rem;
            font-weight: 300;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .topic__tag {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.58rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            padding: 0.28rem 0.65rem;
            border-radius: 6px;
            white-space: nowrap;
        }
        .tag--mech { background: rgba(255, 159, 67, 0.12); color: var(--accent); }
        .tag--elec { background: rgba(255, 214, 102, 0.12); color: #ffd666; }
        .tag--craft { background: rgba(255, 107, 107, 0.12); color: #ff6b6b; }
        .tag--code { background: rgba(78, 205, 196, 0.12); color: var(--secondary); }
        .tag--robot { background: rgba(255, 159, 67, 0.2); color: #fff; }

        .topic__toggle {
            font-size: 0.65rem;
            color: var(--accent);
            letter-spacing: 0.06em;
            margin-top: 0.35rem;
            transition: opacity 0.2s;
        }
        .topic[open] .topic__toggle { opacity: 0.5; }

        .topic__details {
            grid-column: 1 / -1;
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.45s ease, padding 0.3s ease;
            padding: 0 0.5rem;
        }
        .topic[open] .topic__details {
            max-height: 900px;
            padding: 0.75rem 0.5rem 0.25rem;
        }
        .topic[open] {
            border-color: rgba(255, 159, 67, 0.3);
            box-shadow: 0 4px 24px var(--glow);
        }

        .topic__facts {
            list-style: none;
            counter-reset: fact;
        }
        .topic__fact {
            counter-increment: fact;
            position: relative;
            padding: 0.55rem 0 0.55rem 2.4rem;
            font-size: 0.82rem;
            font-weight: 400;
            color: var(--text-muted);
            line-height: 1.6;
            border-left: 1px solid rgba(255, 159, 67, 0.15);
        }
        .topic__fact::before {
            content: counter(fact);
            position: absolute;
            left: 0;
            top: 0.5rem;
            width: 1.6rem;
            height: 1.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--accent);
            background: var(--accent-soft);
            border-radius: 50%;
            transform: translateX(-50%);
        }
        .topic__fact:last-child { border-left-color: transparent; }
        .topic__fact strong { color: var(--text); font-weight: 600; }

        .parents {
            max-width: 820px;
            margin: 0 auto;
            padding: 0 1.5rem 2.5rem;
            text-align: center;
        }
        .parents__quote {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            font-weight: 600;
            line-height: 1.55;
            color: var(--text);
            margin-bottom: 0.75rem;
        }
        .parents__text {
            font-size: 0.85rem;
            font-weight: 300;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }
        .cta {
            display: inline-block;
            padding: 0.65rem 1.5rem;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--bg);
            background: var(--accent);
            border-radius: 980px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px var(--glow);
        }

        .parents__actions {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
            flex-wrap: wrap;
        }
        .cta--pay {
            color: var(--bg);
            background: linear-gradient(135deg, #fff 5%, var(--accent) 70%, var(--secondary) 130%);
        }
        .cta--ghost {
            color: var(--accent);
            background: transparent;
            border: 1px solid rgba(255, 159, 67, 0.4);
        }
        .cta--ghost:hover { background: var(--accent-soft); box-shadow: none; }
        .parents__price {
            margin: 0 0 1.25rem;
            font-size: 0.82rem;
            color: var(--text-muted);
        }
        .parents__price strong {
            color: var(--text);
            font-size: 1.05rem;
            font-weight: 700;
        }

        .pay-dialog {
            width: min(440px, 92vw);
            border: 1px solid rgba(255, 159, 67, 0.25);
            border-radius: 18px;
            padding: 0;
            color: var(--text);
            background: linear-gradient(180deg, #121820 0%, #0a0e14 100%);
            box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
            overflow: hidden;
        }
        .pay-dialog::backdrop {
            background: rgba(2, 8, 16, 0.72);
            backdrop-filter: blur(4px);
        }
        .pay-dialog[open] { animation: payIn 0.3s ease; }
        @keyframes payIn {
            from { opacity: 0; transform: translateY(12px) scale(0.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .pay__head {
            position: relative;
            padding: 1.5rem 1.5rem 1.1rem;
            border-bottom: 1px solid rgba(255, 159, 67, 0.1);
        }
        .pay__title {
            font-size: 1.05rem;
            font-weight: 800;
            letter-spacing: 0.04em;
        }
        .pay__sub {
            margin-top: 0.35rem;
            font-size: 0.78rem;
            color: var(--text-muted);
        }
        .pay__amount {
            color: var(--accent);
            font-weight: 700;
        }
        .pay__close {
            position: absolute;
            top: 0.9rem;
            right: 0.9rem;
            width: 2rem;
            height: 2rem;
            display: grid;
            place-items: center;
            font-size: 1.1rem;
            line-height: 1;
            color: var(--text-muted);
            background: rgba(255, 255, 255, 0.05);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: color 0.2s, background 0.2s;
        }
        .pay__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
        .pay__methods {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 1.25rem 1.5rem 1.5rem;
        }
        .pay__method {
            display: flex;
            align-items: center;
            gap: 1rem;
            width: 100%;
            padding: 1rem 1.15rem;
            text-align: left;
            text-decoration: none;
            color: var(--text);
            background: var(--bg-card);
            border: 1px solid rgba(255, 159, 67, 0.12);
            border-radius: 12px;
            cursor: pointer;
            font-family: inherit;
            transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
        }
        .pay__method:hover {
            transform: translateY(-2px);
            border-color: rgba(255, 159, 67, 0.4);
            box-shadow: 0 6px 24px var(--glow);
        }
        .pay__method-icon {
            flex-shrink: 0;
            width: 2.6rem;
            height: 2.6rem;
            display: grid;
            place-items: center;
            font-size: 1.3rem;
            border-radius: 10px;
            background: var(--accent-soft);
        }
        .pay__method--mono .pay__method-icon {
            background: rgba(78, 205, 196, 0.12);
        }
        .pay__method-body { min-width: 0; }
        .pay__method-title { font-size: 0.9rem; font-weight: 700; }
        .pay__method-desc {
            margin-top: 0.2rem;
            font-size: 0.72rem;
            color: var(--text-muted);
            line-height: 1.45;
        }
        .pay__note {
            padding: 0 1.5rem 1.25rem;
            font-size: 0.75rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .auth-dialog { width: min(400px, 92vw); border: 1px solid rgba(255, 159, 67, 0.25); border-radius: 18px; padding: 1.5rem; color: var(--text); background: linear-gradient(180deg, #121820 0%, #0a0e14 100%); }
        .auth-dialog::backdrop { background: rgba(2, 8, 16, 0.72); backdrop-filter: blur(4px); }
        .auth-field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
        .auth-field label { font-size: 0.75rem; color: var(--text-muted); }
        .auth-field input { padding: 0.65rem 0.75rem; border-radius: 10px; border: 1px solid rgba(255,159,67,.25); background: rgba(0,0,0,.25); color: var(--text); }
        .auth-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
        .auth-tab { flex: 1; padding: 0.5rem; border-radius: 8px; border: 1px solid rgba(255,159,67,.25); background: transparent; color: var(--text-muted); cursor: pointer; }
        .auth-tab.is-active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
        .auth-error { color: #ff8a8a; font-size: 0.78rem; min-height: 1.2em; margin-bottom: 0.5rem; }
        .pay__widget { padding: 0 1.5rem 1.25rem; }
        .pay__widget:empty { display: none; }

        @media (max-width: 640px) {
            .hero { padding: 2rem 1.25rem 1rem; }
            .topics, .pillars, .parents, .intro { padding-left: 1.25rem; padding-right: 1.25rem; }
            .topic summary { grid-template-columns: 2.4rem 1fr; gap: 0.75rem; padding: 1rem 1.15rem; }
            .topic__tag { display: none; }
            .topic__fact { padding-left: 2rem; font-size: 0.78rem; }
            .parents__actions { flex-direction: column; align-items: stretch; }
            .parents__actions .cta { text-align: center; }
            .pillars__grid { grid-template-columns: repeat(2, 1fr); }
        }
