/* ============================================================
   ROOT — CSS-ПЕРЕМЕННЫЕ
   ============================================================ */

:root {
    --bg-card: #0a120e;
    --bg-panel: #0d0f16;
    --bg-terminal: #060f0a;
    --text-primary: #eaeef5;
    --text-secondary: #8aa89a;
    --text-muted: #4a536b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.1);
    --accent: #22c55e;
    --accent-2: #16a34a;
    --danger: #ef4444;
    --warning: #fbbf24;
}

body.light-theme {
    --bg-card: #ffffff;
    --bg-panel: #f8faf9;
    --bg-terminal: #f0f4f1;
    --text-primary: #1a1f2e;
    --text-secondary: #4a536b;
    --text-muted: #8a94a6;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);
}

/* ============================================================
   RESET
   ============================================================ */

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

body {
    font-family: 'Fira Code', monospace;
    background: #0a120e;
    color: #e6f0ea;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 10px;
    transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}
::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #22c55e rgba(255, 255, 255, 0.02);
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.header {
    padding: 14px 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.12);
    background: rgba(10, 18, 14, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-family: 'Fira Code', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.logo i {
    color: #22c55e;
    margin-right: 6px;
}
.logo span {
    color: #22c55e;
}

.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    display: block;
    padding: 6px 14px;
    font-size: 0.75rem;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-list li a:hover {
    color: #eaeef5;
    background: rgba(255, 255, 255, 0.04);
}

.nav-list li a.nav-highlight {
    color: #22c55e;
    font-size: 0.85rem;
}

.nav-list li a.nav-highlight:hover {
    background: rgba(34, 197, 94, 0.06);
}

/* === БУРГЕР === */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    margin-right: 4px;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #22c55e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 500;
    color: #e6f0ea;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: #22c55e;
    transform: translateY(-1px);
}

.login-btn i {
    color: #22c55e;
    font-size: 14px;
}

/* ============================================================
   STEPS
   ============================================================ */

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 10px 0 4px;
}
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1a2a22;
    transition: all 0.5s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}
.step-dot.active {
    background: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    transform: scale(1.15);
}
.step-dot.done {
    background: #22c55e;
    opacity: 0.35;
}
.step-line {
    width: 32px;
    height: 2px;
    background: #1a2a22;
    border-radius: 2px;
    transition: background 0.8s ease;
}
.step-line.active {
    background: #22c55e;
}
.step-label {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: #5a7a6a;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-item .num {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 2px;
}

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

.hero {
    padding: 40px 0 30px;
    text-align: center;
}
.hero h1 {
    font-family: 'Fira Code', monospace;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #fff;
}
.hero h1 span {
    color: #22c55e;
}
.hero p {
    font-family: 'Fira Code', monospace;
    font-size: 15px;
    color: #8aa89a;
    max-width: 550px;
    margin: 0 auto 16px;
}

/* === AUDIT HERO BLOCK === */
.audit-hero-block {
    max-width: 1020px;
    margin: 0 auto;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.08);
}
.audit-hero-block h2 {
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
.audit-hero-block h2 span {
    color: #22c55e;
}
.audit-hero-block .sub {
    text-align: center;
    color: #5a7a6a;
    font-size: 12px;
    margin-bottom: 12px;
    font-family: 'Fira Code', monospace;
    letter-spacing: 1px;
}

/* === INPUT === */
.audit-input-row {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s;
}
.audit-input-row:focus-within {
    border-color: #22c55e;
}
.audit-input-row input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #e6f0ea;
    font-size: 15px;
    outline: none;
    font-family: 'Fira Code', monospace;
    min-width: 0;
}
.audit-input-row input::placeholder {
    color: #3a5a4a;
}
.audit-input-row button {
    padding: 12px 24px;
    background: #22c55e;
    color: #0a120e;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Fira Code', monospace;
    white-space: nowrap;
}
.audit-input-row button:hover {
    background: #16a34a;
}

.audit-hints {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 12px;
    font-size: 12px;
    color: #5a7a6a;
    flex-wrap: wrap;
    font-family: 'Fira Code', monospace;
}
.audit-hints span i {
    color: #22c55e;
    margin-right: 4px;
}

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

.section {
    padding: 32px 0;
}
.section-title {
    font-family: 'Fira Code', monospace;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    color: #fff;
}
.section-title span {
    color: #22c55e;
}
.section-subtitle {
    text-align: center;
    color: #8aa89a;
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 20px;
    font-family: 'Fira Code', monospace;
}

/* ============================================================
   GRID
   ============================================================ */

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: stretch;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.grid-6 .card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.grid-6 .card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(34,197,94,0.15);
    transform: translateY(-2px);
}

.grid-6 .card .icon {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 8px;
}

.grid-6 .card h3 {
    font-size: 0.75rem;
    color: #eaeef5;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-family: 'Fira Sans', sans-serif;
}

.grid-6 .card p {
    font-size: 0.6rem;
    color: #8aa89a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-family: 'Fira Sans', sans-serif;
}

.grid-6 .card .tag {
    font-size: 0.5rem;
    color: #22c55e;
    background: rgba(34,197,94,0.08);
    padding: 2px 10px;
    border-radius: 20px;
    font-family: 'Fira Code', monospace;
    border: 1px solid rgba(34,197,94,0.05);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* === CARD === */
.card {
    background: rgba(255, 255, 255, 0.02);
    padding: 22px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.card:hover {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.04);
    transform: translateY(-3px);
}

.card .icon {
    font-size: 28px;
    color: #22c55e;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.card h3 {
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
    flex-shrink: 0;
}
.card p {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #8aa89a;
    flex: 1;
    line-height: 1.5;
}
.card .tag {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 14px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 16px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
    border: 1px solid rgba(34, 197, 94, 0.05);
}

/* === КНОПКИ === */
.btn {
    display: inline-block;
    padding: 8px 24px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary {
    background: #22c55e;
    color: #0a120e;
}
.btn-primary:hover {
    background: #16a34a;
}
.btn-secondary {
    background: transparent;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.btn-secondary:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: #22c55e;
}

/* ============================================================
   МОДАЛКИ
   ============================================================ */

#loginModal { z-index: 99999 !important; }

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 99999;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #0a120e;
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
    flex-shrink: 0;
}

.modal-header h2 {
    font-family: 'Fira Code', monospace;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.modal-header h2 i {
    margin-right: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: #5a7a6a;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0 8px;
    line-height: 1;
}

.modal-close:hover {
    color: #22c55e;
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 4px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #22c55e;
    border-radius: 10px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

.modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(34, 197, 94, 0.08);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.modal-login {
    max-width: 440px;
}

.modal-login-body {
    padding: 24px 28px 28px;
}

.login-welcome {
    text-align: center;
    margin-bottom: 24px;
}

.login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.login-welcome h3 {
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    color: #fff;
    margin-bottom: 4px;
}

.login-welcome p {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #8aa89a;
    line-height: 1.5;
}

.login-oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.yandex-btn {
    background: #060f0a;
    color: #fff;
}

.yandex-btn:hover {
    background: #060f0a;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.05);
}

.yandex-icon {
    flex-shrink: 0;
}

.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    color: #8aa89a;
}

.benefit-item i {
    font-size: 14px;
}

.login-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.06);
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    color: #5a7a6a;
    line-height: 1.4;
}

.login-info i {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.path {
    color: #8aa89a;
    font-size: 14px;
}

.modules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.module-tag {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    padding: 4px 14px;
    border-radius: 16px;
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    border: 1px solid rgba(34, 197, 94, 0.05);
}

.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    color: #e6f0ea;
}

.integration-item i {
    font-size: 18px;
}

.modal-footer .btn {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.modal-footer .btn-primary {
    background: #22c55e;
    color: #0a120e;
    border: none;
}
.modal-footer .btn-primary:hover {
    background: #16a34a;
}

.modal-footer .btn-secondary {
    background: transparent;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.modal-footer .btn-secondary:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: #22c55e;
}

/* ============================================================
   FOOTER — 5 колонок + нижняя строка
   ============================================================ */

.footer {
    background: #0a120e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 64px 0 28px;
    margin-top: 80px;
    color: #8aa89a;
    font-family: 'Fira Sans', sans-serif;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Сетка 5 колонок */
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.9fr 1fr 1.2fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Колонка с лого */
.footer-col-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #eaeef5;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.footer-logo:hover {
    color: #22c55e;
}

.footer-logo i {
    color: #22c55e;
    font-size: 1.3rem;
}

.footer-logo span {
    color: #4a536b;
    font-weight: 500;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #8aa89a;
    margin: 0 0 16px;
}

.footer-made {
    font-size: 0.75rem;
    color: #4a536b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Заголовки колонок */
.footer-col-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #eaeef5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Списки */
.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-list li {
    margin-bottom: 12px;
}

.footer-col-list a {
    font-size: 0.85rem;
    color: #8aa89a;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.5;
}

.footer-col-list a:hover {
    color: #22c55e;
}

/* === Колонка «Владелец» === */
/* === Колонка «Владелец» === */
.footer-col-owner li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #8aa89a;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer-col-owner li:hover {
    color: #eaeef5;
}

.footer-col-owner a {
    color: #8aa89a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col-owner a:hover {
    color: #22c55e;
}

/* Нижняя строка */
.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: 'Fira Code', monospace;
    font-size: 0.72rem;
    color: #4a536b;
}

/* === Светлая тема для футера === */
body.light-theme .footer {
    background: #f8faf9;
    border-top-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .footer-grid {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .footer-logo {
    color: #1a1f2e;
}
body.light-theme .footer-logo span {
    color: #8a94a6;
}
body.light-theme .footer-desc,
body.light-theme .footer-col-list a {
    color: #4a536b;
}
body.light-theme .footer-made,
body.light-theme .footer-copy,
body.light-theme .footer-owner-label {
    color: #8a94a6;
}
body.light-theme .footer-col-title,
body.light-theme .footer-owner-value {
    color: #1a1f2e;
}
/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1024px) {
    .hero {
        padding: 28px 0 20px;
    }
    .hero h1 {
        font-size: 32px;
        margin-bottom: 6px;
    }
    .hero p {
        font-size: 14px;
        max-width: 480px;
        margin-bottom: 14px;
    }
    .audit-hero-block {
        padding: 18px 20px;
    }
    .audit-hero-block h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    .audit-hero-block .sub {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .audit-input-row input {
        padding: 10px 14px;
        font-size: 14px;
    }
    .audit-input-row button {
        padding: 10px 18px;
        font-size: 13px;
    }
    .audit-hints {
        gap: 14px;
        font-size: 11px;
        margin-top: 10px;
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .card {
        padding: 16px 14px;
        min-height: 170px;
    }
    .card .icon {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .card h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    .card p {
        font-size: 0.75rem;
    }
    .card .tag {
        font-size: 10px;
        padding: 2px 12px;
        margin-top: 6px;
    }

    /* Футер */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .footer-owner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .burger-btn {
        display: flex;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d0f16;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding: 12px 20px;
        display: none;
        flex-direction: column;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    .header-nav.open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }

    .nav-list li a {
        padding: 10px 14px;
        font-size: 0.85rem;
        width: 100%;
    }

    .header-right {
        gap: 6px;
    }

    .login-btn span {
        display: none;
    }

    .login-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .steps {
        flex-wrap: wrap;
        gap: 4px;
    }
    .step-line {
        width: 16px;
    }

    .hero {
        padding: 20px 0 16px;
    }
    .hero h1 {
        font-size: 26px;
        margin-bottom: 4px;
    }
    .hero p {
        font-size: 13px;
        max-width: 400px;
        margin-bottom: 12px;
        padding: 0 4px;
    }
    .audit-hero-block {
        padding: 14px 16px;
        border-radius: 10px;
    }
    .audit-hero-block h2 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .audit-hero-block .sub {
        font-size: 10px;
        margin-bottom: 8px;
    }
    .audit-input-row {
        padding: 3px;
        border-radius: 6px;
    }
    .audit-input-row input {
        padding: 10px 12px;
        font-size: 13px;
        min-height: 44px;
    }
    .audit-input-row button {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 44px;
        white-space: nowrap;
    }
    .audit-hints {
        gap: 10px;
        font-size: 10px;
        margin-top: 8px;
    }
    .audit-hints span i {
        font-size: 10px;
        margin-right: 3px;
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .card {
        padding: 14px 12px;
        min-height: 150px;
        border-radius: 10px;
    }
    .card .icon {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .card h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }
    .card p {
        font-size: 11px;
        line-height: 1.4;
    }
    .card .tag {
        font-size: 9px;
        padding: 2px 10px;
        margin-top: 4px;
    }

    .section {
        padding: 20px 0;
    }
    .section-title {
        font-size: 22px;
        margin-bottom: 2px;
    }
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .audit-input-row {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border: none;
    }
    .audit-input-row input {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 6px;
    }
    .audit-input-row button {
        width: 100%;
    }
    .report-actions > div:nth-child(2) {
        margin-top: 16px;
    }
}

/* === Планшет: 2 колонки === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .footer-col-brand {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-list li a {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .hero {
        padding: 14px 0 12px;
    }
    .hero h1 {
        font-size: 22px;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    .hero p {
        font-size: 12px;
        max-width: 100%;
        margin-bottom: 10px;
        padding: 0 2px;
        line-height: 1.4;
    }
    .audit-hero-block {
        padding: 12px 12px;
        border-radius: 8px;
    }
    .audit-hero-block h2 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .audit-input-row {
        flex-direction: column;
        gap: 6px;
        background: transparent;
        padding: 0;
        border: none;
    }
    .audit-input-row input {
        width: 100%;
        padding: 10px 12px;
        font-size: 13px;
        min-height: 42px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 6px;
        text-align: center;
    }
    .audit-input-row input::placeholder {
        font-size: 12px;
    }
    .audit-input-row button {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        min-height: 42px;
        justify-content: center;
        border-radius: 6px;
    }
    .audit-hints {
        gap: 8px;
        font-size: 9px;
        margin-top: 8px;
        flex-wrap: wrap;
    }
    .audit-hints span {
        display: flex;
        align-items: center;
        gap: 3px;
    }
    .audit-hints span i {
        font-size: 9px;
        margin-right: 2px;
    }
    .audit-hero-block .sub {
        font-size: 9px;
        margin-bottom: 6px;
    }

    .grid-5 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .card {
        padding: 12px 10px;
        min-height: 130px;
        border-radius: 8px;
    }
    .card .icon {
        font-size: 18px;
        margin-bottom: 2px;
    }
    .card h3 {
        font-size: 12px;
        margin-bottom: 1px;
    }
    .card p {
        font-size: 10px;
        line-height: 1.3;
    }
    .card .tag {
        font-size: 8px;
        padding: 1px 8px;
        margin-top: 3px;
        border-radius: 12px;
    }

    .section {
        padding: 14px 0;
    }
    .section-title {
        font-size: 20px;
    }
    .section-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        height: 100vh;
    }
    .modal-header {
        padding: 16px 16px 12px;
    }
    .modal-body {
        padding: 16px;
    }
    .modal-footer {
        padding: 12px 16px 16px;
        justify-content: center;
    }
    .modal-header h2 {
        font-size: 17px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 19px;
    }
    .hero p {
        font-size: 11px;
    }
    .audit-hero-block {
        padding: 10px 10px;
    }
    .audit-hero-block h2 {
        font-size: 13px;
    }
    .audit-input-row input {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 38px;
    }
    .audit-input-row button {
        font-size: 12px;
        padding: 8px;
        min-height: 38px;
    }
    .audit-hints {
        gap: 6px;
        font-size: 8px;
    }
    .audit-hints span i {
        font-size: 8px;
    }

    .grid-5 {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    .card {
        min-height: 110px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
    }
    .card .icon {
        font-size: 16px;
        margin-bottom: 0;
        margin-right: 6px;
        flex: 0 0 auto;
    }
    .card h3 {
        font-size: 12px;
        margin-right: 4px;
        flex: 0 0 auto;
    }
    .card p {
        font-size: 10px;
        width: 100%;
        text-align: center;
        margin-top: 2px;
    }
    .card .tag {
        font-size: 8px;
        margin-top: 2px;
    }
}

@media (hover: none) and (max-width: 768px) {
    .audit-input-row input,
    .audit-input-row button {
        min-height: 48px;
        font-size: 16px;
    }
}

@media (max-height: 500px) and (max-width: 768px) {
    .hero {
        padding: 10px 0;
    }
    .hero h1 {
        font-size: 20px;
        margin-bottom: 2px;
    }
    .hero p {
        font-size: 11px;
        margin-bottom: 8px;
    }
    .audit-hero-block {
        padding: 10px 14px;
    }
    .audit-hero-block h2 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .audit-input-row input,
    .audit-input-row button {
        min-height: 34px;
        padding: 6px 10px;
        font-size: 12px;
    }
    .audit-hints {
        gap: 6px;
        font-size: 9px;
        margin-top: 4px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .modal-content {
        max-height: 85vh;
        padding: 20px 16px;
        overflow-y: auto;
    }
    .modal-overlay {
        padding: 10px;
    }
}

/* ============================================================
   POPUP О ПРОЕКТЕ
   ============================================================ */

.about-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.about-popup-overlay.active {
    display: flex;
}

.about-popup {
    max-width: 600px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: #0d0f16;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 24px;
    padding: 38px 36px 32px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(34, 197, 94, 0.05);
    animation: aboutPopupIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes aboutPopupIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.about-popup::-webkit-scrollbar {
    width: 4px;
}
.about-popup::-webkit-scrollbar-track {
    background: transparent;
}
.about-popup::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.2);
    border-radius: 10px;
}

.about-popup-close {
    position: sticky;
    top: 0;
    float: right;
    background: none;
    border: none;
    color: #4a536b;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 4px;
    z-index: 2;
}

.about-popup-close:hover {
    color: #eaeef5;
    transform: rotate(90deg);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-right: 20px;
}

.about-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.04));
    border: 1px solid rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #22c55e;
    flex-shrink: 0;
}

.about-title h2 {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #eaeef5;
    margin: 0;
}

.about-title .sub {
    font-family: 'Fira Code', monospace;
    font-size: 0.5rem;
    color: #4a536b;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-mission {
    background: rgba(34, 197, 94, 0.03);
    border: 1px solid rgba(34, 197, 94, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.about-mission p {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.8;
    color: #8aa89a;
    margin: 0;
}

.about-mission strong {
    color: #22c55e;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.about-feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(34, 197, 94, 0.08);
}

.about-feature .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #22c55e;
    flex-shrink: 0;
}

.about-feature .text {
    font-family: 'Fira Code', monospace;
    font-size: 0.6rem;
    color: #8aa89a;
    line-height: 1.4;
}

.about-feature .text strong {
    color: #eaeef5;
    display: block;
    font-size: 0.65rem;
}

@media (max-width: 500px) {
    .about-popup {
        padding: 28px 20px 24px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .about-header {
        flex-wrap: wrap;
    }
    .about-popup-close {
        float: none;
        position: absolute;
        top: 12px;
        right: 16px;
    }
}

/* ============================================================
   API SECTION
   ============================================================ */

.api-section {
    padding: 80px 0;
}

.api-endpoint-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: rgba(34, 197, 94, 0.03);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 12px;
    margin: 32px 0 40px;
    flex-wrap: wrap;
}

.api-endpoint-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.api-method-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.api-method-post {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.api-endpoint-path {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #eaeef5;
}

.api-endpoint-desc {
    font-size: 0.8rem;
    color: #8aa89a;
    line-height: 1.55;
    flex: 1;
    min-width: 200px;
}

.api-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .api-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.api-feature {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.api-feature:hover {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.12);
    transform: translateY(-2px);
}

.api-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    font-size: 1rem;
}

.api-feature-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #eaeef5;
    margin-bottom: 4px;
}

.api-feature-text {
    font-size: 0.75rem;
    color: #8aa89a;
    line-height: 1.55;
}

.api-feature-text code {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #79c0ff;
    background: rgba(121, 192, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
}

.api-code-demo {
    background: #050a06;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.api-code-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    overflow-x: auto;
}

.api-code-tab {
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #4a536b;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.api-code-tab:hover {
    color: #eaeef5;
}

.api-code-tab.active {
    color: #22c55e;
    border-bottom-color: #22c55e;
}

.api-code-pane {
    display: none;
    position: relative;
    padding: 20px;
}

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

.api-code-copy {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #8a94a6;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 5;
}

.api-code-pane:hover .api-code-copy {
    opacity: 1;
}

.api-code-copy:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.api-code-copy.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
    opacity: 1;
}

.api-code-block {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    line-height: 1.7;
    color: #8ae09b;
    overflow-x: auto;
    white-space: pre;
}

.api-code-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
    flex-wrap: wrap;
}

.api-code-link {
    color: #22c55e;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.api-code-link:hover {
    color: #4ade80;
}

.api-code-hint {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: #4a536b;
}

.api-response-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .api-response-grid {
        grid-template-columns: 1fr;
    }
}

.api-response-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 20px 22px;
    transition: all 0.2s ease;
}

.api-response-card:hover {
    background: rgba(34, 197, 94, 0.03);
    border-color: rgba(34, 197, 94, 0.12);
}

.api-response-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.api-response-title {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #eaeef5;
    margin-bottom: 6px;
}

.api-response-text {
    font-size: 0.75rem;
    color: #8aa89a;
    line-height: 1.6;
}

.api-response-text code {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #79c0ff;
    background: rgba(121, 192, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}

.api-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.api-cta-note {
    text-align: center;
    font-size: 0.75rem;
    color: #4a536b;
    margin-top: 12px;
    font-family: 'Fira Code', monospace;
}

.api-cta-link {
    color: #22c55e;
    text-decoration: underline;
    text-decoration-color: rgba(34, 197, 94, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.api-cta-link:hover {
    text-decoration-color: #22c55e;
}

/* Светлая тема */
body.light-theme .api-endpoint-hero {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}
body.light-theme .api-endpoint-path {
    color: #1a1f2e;
}
body.light-theme .api-endpoint-desc {
    color: #4a536b;
}
body.light-theme .api-feature,
body.light-theme .api-response-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .api-feature:hover,
body.light-theme .api-response-card:hover {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}
body.light-theme .api-feature-title,
body.light-theme .api-response-title {
    color: #1a1f2e;
}
body.light-theme .api-feature-text,
body.light-theme .api-response-text {
    color: #4a536b;
}
body.light-theme .api-code-demo {
    background: #f8faf9;
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .api-code-tabs {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .api-code-tab {
    color: #8a94a6;
}
body.light-theme .api-code-tab:hover {
    color: #1a1f2e;
}
body.light-theme .api-code-tab.active {
    color: #16a34a;
    border-bottom-color: #16a34a;
}
body.light-theme .api-code-block {
    color: #15803d;
}
body.light-theme .api-code-copy {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #4a536b;
}
body.light-theme .api-code-footer {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}
body.light-theme .api-code-link {
    color: #16a34a;
}
body.light-theme .api-code-hint {
    color: #8a94a6;
}
body.light-theme .api-feature-text code,
body.light-theme .api-response-text code {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
}

/* ===== API TEASER (главная) ===== */
.api-teaser {
    padding: 60px 0;
}
.api-teaser .section-title {
    text-align: center;
    margin-bottom: 8px;
}
.api-teaser .section-subtitle {
    text-align: center;
    color: #8a94a6;
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.api-teaser-card {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    max-width: 1000px;
    margin: 0 auto;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.api-teaser-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(34, 197, 94, 0.12);
}
.api-teaser-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.api-teaser-body { min-width: 0; }
.api-teaser-endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.api-teaser-endpoint .api-method-badge {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    letter-spacing: 0.05em;
}
.api-teaser-endpoint .api-method-post {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.api-teaser-endpoint .api-endpoint-path {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #eaeef5;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.api-teaser-desc {
    color: #8a94a6;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.api-teaser-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-family: 'Fira Code', monospace;
    font-size: 0.72rem;
    color: #5a7a6a;
}
.api-teaser-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.api-teaser-features i {
    color: #22c55e;
    font-size: 0.7rem;
}
.api-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #06141a;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.api-teaser-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
@media (max-width: 900px) {
    .api-teaser-card {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 16px;
        padding: 24px;
    }
    .api-teaser-cta {
        justify-self: start;
    }
}