.card {
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
    padding: 10px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, background 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: #A78BFA;
    color: #7C3AED;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--color-text);
}

.input:focus {
    outline: none;
    border-color: #A78BFA;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #A78BFA;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25);
}

.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    font-weight: 600;
    font-size: 12px;
    color: var(--color-muted);
}

.chip-filter {
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.chip-filter:hover {
    color: #7C3AED;
    border-color: #A78BFA;
}

.chip-filter.active {
    background: #A78BFA;
    border-color: #A78BFA;
    color: #fff;
}

.feature-card {
    position: relative;
    display: block;
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.8), #fff);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease;
}

.benefit-card {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    padding: 16px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
    transition: transform 0.15s ease;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: radial-gradient(circle at 20% 20%, rgba(167, 139, 250, 0.25), transparent 40%), radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.25), transparent 45%), var(--color-surface-alt);
    min-height: 280px;
    box-shadow: var(--shadow-card);
}

.signal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 12px 14px;
    font-size: 14px;
}

.avatar {
    display: inline-flex;
    height: 32px;
    width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.12);
}

.theme-toggle {
    display: inline-flex;
    gap: 4px;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    transition: color 0.15s ease, background 0.15s ease;
}

.theme-btn.active {
    background: linear-gradient(135deg, #A78BFA, #7C3AED);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.nav-link {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    color: var(--color-muted);
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
    color: #7C3AED;
}

.nav-link-mobile {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    padding: 10px 12px;
    font-weight: 700;
    color: var(--color-text);
}

.icon-link {
    display: inline-flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.icon-link:hover {
    color: #7C3AED;
    border-color: #A78BFA;
}

.example-card,
.lab-card {
    position: relative;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    padding: 20px;
    min-height: 180px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-card:hover,
.lab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.18);
}

.lab-card-ribbon {
    position: absolute;
    right: 14px;
    top: 14px;
    border-radius: 999px;
    background: #EDE9FE;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #7C3AED;
}

.sandbox {
    display: grid;
    gap: 12px;
}

.code-block {
    border-radius: 12px;
    background: #0F172A;
    color: #e5e7eb;
    padding: 14px;
    font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    overflow-x: auto;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 700;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
}

.icon-spot {
    display: inline-flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(167, 139, 250, 0.1);
    color: #7C3AED;
    margin-bottom: 10px;
}
