﻿:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-subtle: #f1f5f9;
    --card: #ffffff;
    --card-border: #e2e8f0;
    --muted: #475569;
    --text: #0f172a;
    --accent: #2563eb;
    --accent-2: #4f46e5;
    --success: #059669;
    --error: #dc2626;
    --glass: rgba(15, 23, 42, 0.03);
    --max-width: 1100px;
    --radius: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 20px;
    border: 2px solid #f1f5f9;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }

/* Layout & Common */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px;
    overflow: visible;
}

.layout-main {
    padding-top: 85px;
}

.hidden {
    display: none !important;
}

.muted-small {
    color: var(--muted);
    font-size: 13px;
}

.note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.desktop-note {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(79, 70, 229, 0.06));
    color: #1d4ed8;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 14px;
}

/* Header, Nav & Language Switcher */
header {
    position: relative;
    z-index: 10;
    align-items: center;
    justify-content: space-between;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .brand h1 {
        margin: 0;
        font-size: 18px;
        color: var(--text);
    }

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
    color: #ffffff;
    font-size: 20px;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 2px;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
}

    .nav a:hover,
    .nav button:hover {
        color: var(--text);
        transform: translateY(-1px);
        transition: 0.2s;
    }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

    .nav-menu a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.2s ease;
        letter-spacing: -0.2px;
    }

        .nav-menu a:hover {
            color: var(--text);
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-menu-container {
    display: inline-block;
}

.btn-primary-header {
    background: #0f172a;
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #0f172a;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

    .btn-primary-header:hover {
        background: #1e293b;
        border-color: #1e293b;
    }

.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 8px;
    padding-left: 16px;
}

.lang-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.5px;
}

    .lang-btn:hover {
        border-color: #94a3b8;
        color: var(--text);
        background: #f8fafc;
    }

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 130px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    border-radius: 6px;
    border: 1px solid var(--card-border);
    padding: 6px 0;
    z-index: 1100;
    margin-top: 6px;
}

    .lang-dropdown::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
        background: transparent;
    }

    .lang-dropdown a {
        color: var(--muted);
        padding: 8px 16px;
        display: block;
        font-size: 0.82rem;
        transition: background 0.2s, color 0.2s;
        text-decoration: none;
        font-weight: 500;
    }

        .lang-dropdown a:hover,
        .lang-dropdown a.active {
            background: #f1f5f9;
            color: var(--text);
        }

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.auth-logout-link {
    color: var(--error) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

    .menu-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text);
        transition: all 0.3s ease;
    }

/* Global Loader & Modals */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

.global-loader-spinner {
    animation: customSpin 1s linear infinite;
}

@keyframes customSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 16px;
}

.modal-box {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.22);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

    .modal-close:hover {
        color: var(--text);
    }

.modal-header-center {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    color: var(--text);
    margin: 12px 0 0;
    font-size: 1.4rem;
}

.modal-subtitle {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-field {
    width: 100%;
}

.modal-label {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.modal-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.modal-label-inline {
    color: var(--muted);
    font-size: 0.85rem;
}

.modal-forgot-link {
    color: #0284c7;
    font-size: 0.8rem;
    text-decoration: none;
}

    .modal-forgot-link:hover {
        text-decoration: underline;
    }

.modal-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    font-weight: 600;
    text-align: center;
}

/* Buttons & Badges */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    background: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
}

    .btn.secondary {
        background: #ffffff;
        color: #1d4ed8;
        border: 1px solid #cbd5e1;
        box-shadow: none;
    }

.store-badge {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

    .store-badge:hover {
        transform: scale(1.03);
    }

.platform-badge,
.section-badge,
.feature-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
}

/* Landing Hero & Mockup */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    padding: 32px 0;
}

    .hero .eyebrow {
        color: var(--accent);
        font-weight: 600;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero h2 {
        font-size: 34px;
        margin: 0 0 14px;
        color: var(--text);
    }

    .hero p.lead {
        color: var(--muted);
        margin: 0 0 18px;
    }

.phone {
    width: 100%;
    max-width: 360px;
    margin: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 26px;
    padding: 18px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

    .phone .screen {
        height: 620px;
        background: linear-gradient(180deg, #f8fafc, #e2e8f0);
        border-radius: 14px;
        overflow: hidden;
        padding: 18px;
        color: var(--text);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

.app-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chip {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text);
}

/* Features & Cards */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 28px 0;
}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

    .card h3 {
        margin: 0 0 8px;
        font-size: 16px;
        color: var(--text);
    }

    .card p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
    }

/* Screenshots & QR */
.screenshots {
    display: flex;
    gap: 12px;
    overflow: auto;
    padding-bottom: 8px;
}

.screenshot {
    min-width: 220px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--muted);
    border: 1px solid var(--card-border);
    padding: 18px;
}

    .screenshot img {
        max-width: 300px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    }

.screenshots-section {
    padding-top: 18px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

    .screenshots-section h3 {
        margin: 0 0 20px;
        font-size: 1.6rem;
        font-weight: 600;
        color: var(--text);
    }

.screenshots-container {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.screenshot-item {
    flex: 0 1 280px;
}

    .screenshot-item img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
        display: block;
    }

.qr-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    border: 1px dashed #cbd5e1;
}

.qr-wrapper {
    margin: 20px auto;
    padding: 10px;
    border: 1px dashed #2563eb;
    border-radius: 12px;
    display: inline-block;
    background: #ffffff;
    text-align: center;
}

.qr-code {
    width: 130px;
    height: 130px;
}

.qr-text {
    font-size: 11px;
    color: #2563eb;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Pricing / Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--muted);
}

    .billing-toggle span {
        cursor: pointer;
        transition: 0.2s;
    }

        .billing-toggle span.active {
            color: var(--accent);
            font-weight: 600;
        }

.switch {
    width: 46px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

    .switch::after {
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        background: #ffffff;
        border-radius: 50%;
        top: 3px;
        left: 4px;
        transition: 0.25s ease;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
    }

    .switch.monthly::after {
        left: 24px;
    }

.price {
    font-size: 36px;
    font-weight: 700;
    margin: 18px 0;
    color: var(--accent);
}

    .price span {
        font-size: 14px;
    }

.price-note {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

.save-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.save-text {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 10px;
}

/* FAQ & Small Forms */
.faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 28px 0;
}

    .faq h4 {
        margin-top: 0;
        color: var(--text);
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .contact-form input,
    .contact-form textarea {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        padding: 10px;
        border-radius: 8px;
        color: var(--text);
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .form-input:focus {
        border-color: #0284c7;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
    }

/* Contact Page */
.contact-page {
    max-width: 1080px;
    margin: 48px auto;
}

.contact-header {
    margin-bottom: 40px;
    text-align: center;
}

.contact-brand-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0284c7;
    font-weight: 600;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0;
    letter-spacing: -0.5px;
    color: var(--text);
}

.contact-subtitle {
    color: var(--muted);
    margin: 6px 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.contact-card-heading {
    font-size: 20px;
    margin: 0 0 24px;
    color: var(--text);
}

.contact-info-item {
    margin-bottom: 28px;
}

    .contact-info-item:last-child {
        margin-bottom: 0;
    }

.contact-info-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

    .contact-info-value a {
        color: var(--text);
        text-decoration: none;
        transition: color 0.2s;
    }

        .contact-info-value a:hover {
            color: #0284c7;
        }

.contact-info-help {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.contact-info-address {
    font-size: 0.95rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.6;
}

.contact-portal-box {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    margin-top: 20px;
}

.contact-portal-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
}

    .contact-portal-text a {
        color: #0284c7;
        text-decoration: none;
    }

        .contact-portal-text a:hover {
            text-decoration: underline;
        }

.contact-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-alert-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.contact-alert-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid var(--error);
    color: var(--error);
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-control {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

    .contact-control:focus {
        border-color: #0284c7;
    }

    .contact-control option {
        background-color: #ffffff;
        color: var(--text);
    }

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: opacity 0.2s, background-color 0.2s;
}

    .contact-submit-btn:hover {
        background: #0369a1;
    }

/* Error & Payment Status Pages */
.error-page {
    max-width: 820px;
    margin: 48px auto;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 28px;
}

.error-title {
    color: var(--error);
    font-size: 32px;
    margin: 0 0 10px;
}

.error-subtitle {
    color: var(--error);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px;
}

.error-request-id {
    color: var(--text);
    font-size: 14px;
    margin: 0 0 24px;
}

.error-code {
    background: #f1f5f9;
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--text);
    border: 1px solid var(--card-border);
}

.error-heading {
    color: var(--text);
    font-size: 18px;
    margin: 24px 0 10px;
}

.error-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}

.payment-status-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.payment-status-card {
    width: 100%;
    max-width: 480px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.payment-status-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

    .payment-status-icon.is-failed {
        background: rgba(220, 38, 38, 0.1);
        color: var(--error);
        border: 1px solid rgba(220, 38, 38, 0.25);
    }

.payment-status-title {
    color: var(--text);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.payment-status-desc {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* Legal / Privacy & Terms Pages */
.legal-page {
    max-width: 1080px;
    margin: 48px auto;
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--card-border);
}

.legal-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.legal-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.legal-card {
    background: #ffffff;
    padding: 44px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

    .legal-card h2 {
        margin-top: 32px;
        font-size: 22px;
        font-weight: 600;
        color: var(--text);
        border-bottom: 1px solid var(--card-border);
        padding-bottom: 12px;
        margin-bottom: 20px;
    }

        .legal-card h2:first-child {
            margin-top: 0;
        }

    .legal-card p,
    .legal-card ul,
    .legal-card ol {
        color: var(--muted);
        font-size: 0.98rem;
        line-height: 1.75;
    }

.legal-lead {
    color: #334155 !important;
    font-size: 1.08rem !important;
    line-height: 1.8 !important;
}

.legal-card ul,
.legal-card ol {
    padding-left: 22px;
    margin-bottom: 24px;
}

.legal-card li {
    margin-bottom: 10px;
}

.legal-card strong {
    color: var(--text);
}

.legal-card a {
    color: #0284c7;
    text-decoration: none;
}

    .legal-card a:hover {
        text-decoration: underline;
    }

.privacy-highlight-box {
    background: rgba(2, 132, 199, 0.06);
    border-left: 3px solid #0284c7;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

    .privacy-highlight-box p {
        margin: 0;
        color: #1e293b;
        font-size: 0.95rem;
    }

.legal-contact-info {
    margin-top: 12px;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 28px 0;
    color: var(--muted);
    font-size: 14px;
    border-top: 1px solid var(--card-border);
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--card-border);
    padding: 28px 16px;
    font-size: 13px;
    color: var(--muted);
}

    .site-footer.layout-footer {
        width: 100%;
        border-top: 1px solid var(--card-border);
        background: #ffffff;
        padding: 24px 0;
        margin-top: 60px;
        color: var(--muted);
    }

.footer-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

    .footer-sectors span {
        color: var(--muted);
    }

    .footer-sectors a {
        color: #0284c7;
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.2s ease;
    }

        .footer-sectors a:hover {
            opacity: 0.8;
        }

.footer-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    .footer-right a {
        color: var(--muted);
        text-decoration: none;
        font-size: 13px;
        transition: color 0.2s ease;
    }

        .footer-right a:hover {
            color: var(--text);
        }

/* Auth & OTP */
.auth-page-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

.auth-title {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.auth-subtitle {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-subtitle-compact {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    height: 52px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

    .phone-input-container:focus-within {
        border-color: #0284c7;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
    }

.country-fixed-prefix {
    background: #f1f5f9;
    border-right: 1px solid #cbd5e1;
    color: var(--text);
    padding: 0 14px;
    font-size: 0.98rem;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-items: center;
    user-select: none;
}

.phone-number-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 14px;
    color: var(--text);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    outline: none;
    width: 100%;
    height: 100%;
    font-family: inherit;
}

    .phone-number-field::placeholder {
        color: #94a3b8;
        letter-spacing: normal;
    }

.error-text {
    min-height: 20px;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--error);
    font-weight: 500;
}

.phone-action-section {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-consent-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
}

    .auth-consent-text a {
        color: #0284c7;
        text-decoration: underline;
    }

        .auth-consent-text a:hover {
            color: #0369a1;
        }

.auth-pill-btn {
    width: 100%;
    height: 50px;
    border-radius: 9999px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: inherit;
}

    .auth-pill-btn:hover:not(:disabled) {
        background: #1d4ed8;
    }

    .auth-pill-btn:active:not(:disabled) {
        transform: scale(0.99);
    }

    .auth-pill-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

.otp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.otp-input-cell {
    width: 100%;
    height: 52px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    caret-color: #0284c7;
    transition: all 0.2s ease;
    font-family: inherit;
}

    .otp-input-cell:focus {
        border-color: #0284c7;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
    }

    .otp-input-cell.filled {
        border-color: rgba(2, 132, 199, 0.55);
        background: #ffffff;
    }

.target-phone-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.85rem;
    color: #334155;
    margin-top: 6px;
}

.target-phone-value {
    font-weight: 600;
}

.text-action-link {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}

.text-action-link-sm {
    font-size: 0.8rem;
}

.text-action-link:hover:not(:disabled) {
    color: #0369a1;
    text-decoration: underline;
}

.text-action-link:disabled {
    color: #94a3b8;
    cursor: default;
}

.otp-resend-row {
    text-align: center;
}

.otp-countdown {
    font-size: 0.84rem;
    color: var(--muted);
}

/* About */
.about-hero {
    padding: 24px 12px;
    text-align: center;
    max-width: var(--max-width);
    margin: auto;
}

.about-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.about-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 25px;
}

.about-subtitle {
    max-width: 850px;
    margin: auto;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.8;
}

.about-section {
    max-width: 1200px;
    margin: 100px auto;
}

.about-centered-block {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

    .about-grid.reverse {
        direction: rtl;
    }

        .about-grid.reverse > div {
            direction: ltr;
        }

.about-heading {
    font-size: 38px;
    color: var(--text);
    margin-bottom: 25px;
}

.about-text {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.highlight-box {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

    .highlight-box h3 {
        color: var(--text);
        margin-bottom: 20px;
    }

    .highlight-box ul {
        padding-left: 20px;
        color: #334155;
        line-height: 2;
    }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 28px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .pillar-card:hover {
        border-color: var(--accent);
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    }

    .pillar-card h3 {
        color: var(--text);
        font-size: 20px;
        margin: 0 0 12px;
    }

    .pillar-card p {
        color: var(--muted);
        font-size: 16px;
        line-height: 1.7;
        margin: 0;
    }

.promo-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 56px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.promo-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

    .promo-actions .btn-hero-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

/* Hero Section, Manifesto, Values & Process */
.hero-section {
    padding: 24px 12px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    color: #334155;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 24px;
}

    .hero-title span {
        background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--muted);
    max-width: 820px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4);
    }

.btn-hero-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text);
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

    .btn-hero-secondary:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

.manifesto-section {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.manifesto-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.manifesto-text {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.manifesto-text-spaced {
    margin-top: 15px;
}

.section-container {
    margin: 0 auto;
    padding: 50px 12px;
    margin-bottom: 20px;
}

.section-container-subtle {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--card-border);
    border-radius: 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text);
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 14px auto 0;
}

.section-subtitle-compact {
    color: var(--muted);
    max-width: 650px;
    margin: 16px auto 0;
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

    .value-card:hover {
        border-color: rgba(79, 70, 229, 0.35);
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    }

    .value-card h3 {
        color: var(--text);
        font-size: 1.35rem;
        margin-bottom: 14px;
        font-weight: 700;
    }

    .value-card p {
        color: var(--muted);
        font-size: 1rem;
        line-height: 1.65;
    }

.process-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    position: relative;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(79, 70, 229, 0.22);
    margin-bottom: 10px;
}

.process-step h4 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Brand Logos */
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 0;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .brand-logo-item:hover {
        border-color: #cbd5e1;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .brand-logo-item img {
        max-width: 100%;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%) opacity(0.75);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .brand-logo-item:hover img {
        filter: grayscale(0%) opacity(1);
        transform: scale(1.05);
    }

/* Platform, Feature, Stats, Timeline & CTA */
.platform-hero {
    margin: auto;
    padding: 24px 12px;
    text-align: center;
}

.platform-title {
    font-size: 62px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 30px;
}

    .platform-title span {
        color: var(--accent);
    }

.platform-subtitle {
    max-width: 850px;
    margin: auto;
    font-size: 20px;
    color: var(--muted);
    line-height: 1.9;
}

.platform-section,
.feature-section,
.platform-stats,
.lifecycle-section,
.platform-cta {
    max-width: 1200px;
    margin: 110px auto;
}

.platform-grid,
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.platform-copy,
.feature-copy {
    min-width: 0;
}

.feature-section.reverse .feature-grid {
    direction: rtl;
}

    .feature-section.reverse .feature-grid > div {
        direction: ltr;
    }

.platform-section h2,
.feature-section h2,
.section-title-center h2 {
    font-size: 46px;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 25px;
}

.platform-section p,
.feature-section p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.platform-box {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 22px;
    padding: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

    .platform-box div,
    .platform-box-item {
        background: #f8fafc;
        border: 1px solid var(--card-border);
        border-radius: 12px;
        padding: 14px 16px;
        color: var(--text);
        font-weight: 500;
    }

.feature-image {
    text-align: center;
}

    .feature-image img {
        max-width: 100%;
        border-radius: 22px;
        box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    }

.section-title-center {
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.stat-number {
    font-size: 58px;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 15px;
}

.stat-title {
    color: #334155;
    font-size: 18px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.timeline-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
}

.timeline-number {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-item h3 {
    color: var(--text);
    margin-bottom: 15px;
}

.timeline-item p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.platform-cta {
    text-align: center;
    padding: 80px 40px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

    .platform-cta h2 {
        font-size: 46px;
        color: var(--text);
        margin-bottom: 25px;
    }

    .platform-cta p {
        max-width: 750px;
        margin: 0 auto 35px;
        color: var(--muted);
        line-height: 1.9;
    }

/* Licenses & Projects Pages */
.licenses-page {
    padding: 12px 0;
}

.licenses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.licenses-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.licenses-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    color: #334155;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.licenses-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.license-status-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.license-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: license-spin 0.8s linear infinite;
}

@keyframes license-spin {
    to {
        transform: rotate(360deg);
    }
}

.license-name-badge {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--text);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.license-meta-text {
    color: var(--muted);
    font-size: 13.5px;
}

.license-duration-text {
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
}

.license-error-text {
    color: var(--error);
}

/* Project Detail Page */
.project-detail-page {
    padding: 12px 0;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 18px;
}

.project-meta-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.project-meta-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.project-meta-value {
    display: block;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-meta-subvalue {
    display: block;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 600;
}

.project-meta-muted {
    display: block;
    color: var(--muted);
    font-size: 13.5px;
}

.project-license-badge {
    display: inline-block;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.28);
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 20px;
}

.project-tab-btn {
    background: #ffffff;
    border: 1px solid var(--card-border);
    color: #334155;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .project-tab-btn:hover {
        background: #f1f5f9;
        color: var(--text);
    }

    .project-tab-btn.is-active {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        border-color: transparent;
        color: #ffffff;
    }

.project-tab-panel {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

/* Store Info Tab */
.store-page {
    margin: 0 auto;
    color: var(--text);
}

.store-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.store-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
}

.store-subtitle {
    color: var(--muted);
    margin-top: 4px;
}

.store-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

    .store-card .store-card:last-child {
        margin-bottom: 0;
    }

.store-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.store-card-title {
    font-size: 20px;
    color: var(--text);
    font-weight: 600;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
}

    .form-item label {
        color: var(--muted);
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-item input,
    .form-item select {
        height: 48px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        color: var(--text);
        padding: 0 14px;
        font-family: inherit;
        font-size: 14px;
    }

        .form-item input:focus,
        .form-item select:focus {
            outline: none;
            border-color: #0284c7;
            background: #ffffff;
        }

.store-page .section-title {
    margin: 28px 0 16px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.store-icon-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.button-group {
    display: flex;
    gap: 10px;
}

.preview-box {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .preview-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

    .upload-button:hover:not(:disabled) {
        transform: translateY(-2px);
        background: #1d4ed8;
    }

    .upload-button:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

.store-switches {
    margin: 24px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    border-top: 1px solid var(--card-border);
    padding-top: 22px;
}

.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
    cursor: pointer;
}

.splash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.splash-card {
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
}

.splash-preview {
    position: relative;
    height: 165px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}

    .splash-preview img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.splash-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.splash-size {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.image-status {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.image-delete-button {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .image-delete-button:hover {
        background: #b91c1c;
        transform: scale(1.05);
    }

.icon-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .icon-button svg {
        fill: currentColor;
    }

    .icon-button.edit {
        color: #d97706;
    }

    .icon-button.save {
        color: var(--success);
    }

    .icon-button.cancel {
        color: var(--error);
    }

    .icon-button:hover {
        transform: scale(1.08);
        background: #f1f5f9;
    }

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.file-card {
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    position: relative;
}

    .file-card h5 {
        margin: 6px 0;
        color: var(--text);
        font-size: 16px;
    }

.file-icon {
    font-size: 44px;
    margin-bottom: 8px;
}

.file-name {
    color: var(--muted);
    margin: 10px 0 14px;
    font-size: 14px;
}

.splash-layout {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: flex-start;
}

.phone-container {
    flex: 2;
    min-width: 0;
}

.settings-container {
    flex: 1;
    min-width: 260px;
}

.settings-card {
    width: 100%;
}

.splash-settings-card {
    background: #f8fafc;
}

.splash-setting-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.splash-tablet-title {
    margin-top: 32px !important;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 18px;
}

    .setting-row:last-child {
        margin-bottom: 0;
    }

.setting-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.setting-row input,
.setting-row select {
    height: 38px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text);
    padding: 0 10px;
    font-family: inherit;
    font-size: 13.5px;
}

    .setting-row input:focus,
    .setting-row select:focus {
        outline: none;
        border-color: #0284c7;
    }

/* Statistic Tab */
.stat-tab-wrapper {
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
}

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-summary-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .stat-summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .stat-summary-card.is-user:hover,
    .stat-summary-card.is-user.is-active {
        border-color: var(--success);
    }

    .stat-summary-card.is-device:hover,
    .stat-summary-card.is-device.is-active {
        border-color: #0284c7;
    }

.stat-card-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.stat-card-value {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .stat-card-value.is-success {
        color: var(--success);
    }

    .stat-card-value.is-info {
        color: #0284c7;
    }

.stat-detail-section {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
}

.stat-user-primary {
    color: #0284c7;
    font-weight: 700;
}

.stat-user-sep {
    color: var(--muted);
}

.stat-user-secondary {
    color: #334155;
    font-weight: 600;
}

.stat-day-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 4px;
}

    .stat-day-badge.is-negative {
        color: #b91c1c;
        background: rgba(220, 38, 38, 0.1);
        border: 1px solid rgba(220, 38, 38, 0.25);
    }

    .stat-day-badge.is-positive {
        color: #047857;
        background: rgba(5, 150, 105, 0.1);
        border: 1px solid rgba(5, 150, 105, 0.25);
    }

.stat-col-50 {
    flex: 0 0 50%;
}

.stat-col-25 {
    flex: 0 0 25%;
}

.stat-col-60 {
    flex: 0 0 60%;
}

.stat-col-20 {
    flex: 0 0 20%;
}

.stat-error-box {
    text-align: center;
    color: var(--error);
    padding: 28px 16px;
    font-size: 14px;
}

.stat-error-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

/* Build & Authorize Tabs */
.build-tab-wrapper {
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
}

.build-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.build-row-box {
    padding: 0.5rem 1rem;
}

.build-col {
    text-align: center;
}

.build-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 600;
}

.build-link-icon {
    font-size: 14px;
}

.build-empty-dash {
    color: var(--muted);
    font-size: 13px;
}

.build-empty-box {
    text-align: center;
    color: var(--muted);
    padding: 28px 16px;
    font-size: 14px;
}

.build-empty-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.authorize-row-box {
    padding: 0.5rem 1rem;
    gap: 1rem;
}

.authorize-user-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.authorize-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(2, 132, 199, 0.35);
    display: block;
}

.authorize-user-name {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

.authorize-action-col {
    text-align: right;
    flex-shrink: 0;
}

.authorize-delete-btn {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.28);
    color: var(--error);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .authorize-delete-btn:hover {
        background: var(--error);
        color: #ffffff;
    }

/* Project Row Cards */
.project-row-card {
    background-color: #ffffff;
    color: var(--text);
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 4px 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

    .project-row-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        border-color: #93c5fd;
    }

.parent-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    padding: 1rem;
}

.child-box {
    flex: 1;
    background-color: transparent;
    color: var(--text);
    padding: 0;
    text-align: left;
    min-width: 0;
}

    .child-box:nth-child(2) {
        text-align: center;
    }

    .child-box:nth-child(3),
    .child-box:nth-child(4) {
        text-align: right;
    }

.project-link {
    color: var(--text);
    text-decoration: none;
}

    .project-link:hover,
    .project-link:focus,
    .project-link:active {
        color: #0284c7;
        text-decoration: underline;
    }

.project-title-link {
    display: block;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-logo-img {
    max-height: 50px;
    width: auto;
    max-width: 215px;
    object-fit: contain;
    display: block;
}

/* Responsive */

@media (max-width: 768px) {
    .brand-logo-img {
        max-height: 34px;
        max-width: 150px;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px;
        gap: 24px;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

        .nav-menu.active {
            right: 0;
        }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 991px) {
    .platform-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .project-meta-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .splash-layout {
        flex-direction: column;
    }

    .phone-container,
    .settings-container {
        width: 100%;
    }

    .platform-title {
        font-size: 46px;
    }

    .platform-section h2,
    .feature-section h2,
    .platform-cta h2 {
        font-size: 34px;
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .phone .screen {
        height: 420px;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-title {
        font-size: 40px;
    }

    .about-heading {
        font-size: 30px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .manifesto-grid,
    .process-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-right {
        justify-content: center;
        gap: 16px;
    }

    .screenshots-section {
        text-align: left;
        padding-left: 15px;
    }

    .screenshots-container {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
    }

        .screenshots-container::-webkit-scrollbar {
            height: 5px;
        }

        .screenshots-container::-webkit-scrollbar-thumb {
            background-color: rgba(15, 23, 42, 0.2);
            border-radius: 4px;
        }

    .screenshot-item {
        min-width: 240px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        margin-right: 5px;
    }

    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-logo-item {
        height: 70px;
        padding: 10px 14px;
    }

        .brand-logo-item img {
            max-height: 35px;
        }

    .form-grid,
    .contact-grid,
    .pillars-grid,
    .project-meta-grid,
    .stat-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-page,
    .legal-page,
    .error-page {
        margin: 24px auto;
    }

    .contact-info-card,
    .contact-form-card,
    .legal-card,
    .project-tab-panel,
    .stat-tab-wrapper,
    .build-tab-wrapper,
    .store-card {
        padding: 20px 16px;
    }

    .promo-card {
        padding: 36px 20px;
    }

    .platform-hero {
        padding: 24px 12px;
    }

    .platform-title {
        font-size: 34px;
        line-height: 1.25;
    }

    .platform-subtitle {
        font-size: 16px;
        line-height: 1.8;
    }

    .platform-section,
    .feature-section,
    .platform-stats,
    .lifecycle-section,
    .platform-cta {
        margin: 60px auto;
    }

    .platform-grid,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .platform-section h2,
    .feature-section h2,
    .platform-cta h2 {
        font-size: 30px;
        line-height: 1.3;
    }

    .platform-section p,
    .feature-section p {
        font-size: 16px;
    }

    .platform-box {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 12px;
    }

        .platform-box div,
        .platform-box-item {
            padding: 14px;
        }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 38px;
    }

    .stat-title {
        font-size: 15px;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .timeline-item {
        text-align: left;
        padding: 22px;
    }

    .timeline-number {
        margin: 0 0 18px 0;
    }

    .platform-cta {
        padding: 45px 20px;
    }
}

@media (max-width: 600px) {
    .features,
    .faq,
    .stats-grid,
    .platform-box {
        grid-template-columns: 1fr;
    }

    .phone .screen {
        height: 360px;
    }

    header {
        padding: 8px 0;
    }

    .container {
        padding: 18px;
    }

    .brand h1 {
        font-size: 16px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .platform-title {
        font-size: 36px;
    }

    .platform-subtitle {
        font-size: 17px;
    }
}
