/* ===== CSS Variables - ЭТП ГПБ Style ===== */
:root {
    /* Primary colors - Газпромбанк style */
    --primary: #002D6E;
    --primary-dark: #001F4D;
    --primary-light: #0066CC;
    --accent: #0066CC;
    --accent-hover: #0052A3;

    /* Neutral colors */
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background: #ffffff;
    --background-alt: #f5f7fa;
    --background-dark: #002D6E;
    --border: #e0e4e8;
    --border-light: #f0f2f5;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 45, 110, 0.08);
    --shadow: 0 2px 8px rgba(0, 45, 110, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 45, 110, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 45, 110, 0.08);

    /* Spacing & sizing */
    --radius: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-accent {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-white:hover {
    background: var(--background-alt);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--background-alt);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contacts a {
    color: var(--text-light);
}

.top-bar-contacts a:hover {
    color: var(--primary);
}

.top-bar-contacts .divider {
    color: var(--border);
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: var(--text-light);
}

.top-bar-links a:hover {
    color: var(--primary);
}

/* ===== Header ===== */
.header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats-panel {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--background-alt);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-light);
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background: var(--background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
}

.service-link:hover {
    color: var(--accent-hover);
}

.service-link span {
    transition: var(--transition);
}

.service-link:hover span {
    transform: translateX(4px);
}

/* ===== How it Works ===== */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-content h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 28px;
}

/* ===== Demo Section ===== */
.demo-section {
    padding: 80px 0;
    background: var(--background-alt);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.demo-info h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.demo-info > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.demo-features {
    list-style: none;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text);
}

.demo-features svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.demo-chat {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-chat-header {
    background: var(--primary);
    padding: 16px 20px;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo-chat-messages {
    padding: 20px;
    min-height: 280px;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 12px;
    max-width: 90%;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar svg {
    width: 24px;
    height: 24px;
}

.message-content {
    background: var(--background-alt);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.message.user .message-content {
    background: var(--primary);
    color: white;
}

.demo-chat-input {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: white;
}

.demo-chat-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.demo-chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-send {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-send:hover {
    background: var(--accent-hover);
}

.btn-send svg {
    width: 20px;
    height: 20px;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border-color: var(--primary);
    border-width: 2px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius);
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.pricing-header h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
}

.price-currency {
    font-size: 14px;
    color: var(--text-light);
}

.pricing-features {
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 24px;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%230066CC' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm-2 15l-5-5 1.41-1.41L8 12.17l7.59-7.59L17 6l-9 9z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='%23ccc' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm5 13.59L13.59 15 10 11.41 6.41 15 5 13.59 8.59 10 5 6.41 6.41 5 10 8.59 13.59 5 15 6.41 11.41 10 15 13.59z'/%3E%3C/svg%3E");
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 80px 0;
    background: var(--background-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border: none;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text);
}

.faq-question:hover {
    background: var(--background-alt);
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question {
    background: var(--background-alt);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CTA Section ===== */
.cta {
    padding: 80px 0;
    background: var(--primary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 0;
    background: #1a1f2c;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contacts a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts a:hover {
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats-panel {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 24px;
    }

    .step-line {
        width: 2px;
        height: 32px;
        margin: 0;
    }

    .step {
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        gap: 12px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* ===== Page Header (for subpages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
}

.nav-menu a.active {
    color: white;
    border-bottom-color: white;
}

/* ===== About Page ===== */
.about-intro {
    padding: 80px 0;
    background: white;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about-intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.about-mission {
    padding: 80px 0;
    background: var(--background-alt);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mission-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
}

.mission-icon {
    width: 64px;
    height: 64px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-icon svg {
    width: 32px;
    height: 32px;
}

.mission-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.mission-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.about-stats {
    padding: 80px 0;
    background: var(--primary);
}

.about-stats .section-header h2 {
    color: white;
}

.about-stats .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.about-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.about-knowledge {
    padding: 80px 0;
    background: white;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.knowledge-card {
    background: var(--background-alt);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.knowledge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.knowledge-icon svg {
    width: 24px;
    height: 24px;
}

.knowledge-content h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.knowledge-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== API Page ===== */
.api-content {
    padding: 60px 0;
    background: var(--background-alt);
}

.api-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.api-sidebar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.api-sidebar h4 {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.api-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.api-nav a {
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.api-nav a:hover,
.api-nav a.active {
    background: var(--background-alt);
    color: var(--primary);
}

.api-main {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
}

.api-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.api-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.api-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.api-section h3 {
    color: var(--text);
    font-size: 1.125rem;
    margin: 32px 0 16px;
}

.api-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.api-section ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.api-section ul li {
    list-style: disc;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.api-endpoint {
    background: var(--background-alt);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.endpoint-method {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.method-badge {
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.method-badge.post {
    background: #10b981;
    color: white;
}

.method-badge.get {
    background: var(--accent);
    color: white;
}

.endpoint-url {
    font-family: 'Courier New', monospace;
    color: var(--text);
    font-size: 14px;
}

.endpoint-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 8px;
}

.code-block {
    background: #1e293b;
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 16px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre;
}

.code-block .comment {
    color: #64748b;
}

.code-block .string {
    color: #a5d6ff;
}

.code-block .keyword {
    color: #f472b6;
}

.code-block .property {
    color: #7dd3fc;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.api-table th,
.api-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.api-table th {
    background: var(--background-alt);
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

.api-table td {
    font-size: 14px;
    color: var(--text-light);
}

.api-table code {
    background: var(--background-alt);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary);
}

.param-required {
    color: #ef4444;
    font-size: 12px;
}

/* ===== Blog Page ===== */
.blog-content {
    padding: 60px 0;
    background: var(--background-alt);
}

.blog-featured {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
}

.blog-featured-content {
    max-width: 700px;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.blog-featured h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.blog-featured h2 a {
    color: var(--primary);
}

.blog-featured h2 a:hover {
    color: var(--accent);
}

.blog-featured p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.blog-card-content {
    padding: 24px;
}

.blog-card .blog-category {
    font-size: 11px;
    padding: 3px 10px;
}

.blog-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-load-more {
    text-align: center;
    margin-top: 40px;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background: var(--primary);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 12px;
}

.newsletter-content > p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-note a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* ===== Contacts Page ===== */
.contacts-content {
    padding: 60px 0;
    background: var(--background-alt);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--background-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.contact-details a {
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 4px;
}

.contacts-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.contacts-form h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contacts-form > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    padding: 0;
}

.form-checkbox label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
}

.form-checkbox a {
    color: var(--accent);
}

/* FAQ Quick */
.faq-quick {
    padding: 60px 0;
    background: white;
}

.faq-quick h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

.faq-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-quick-item {
    background: var(--background-alt);
    border-radius: var(--radius-md);
    padding: 24px;
}

.faq-quick-item h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1rem;
}

.faq-quick-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 60px 0;
    background: var(--background-alt);
}

.legal-document {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-document h2 {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 32px 0 16px;
}

.legal-document h2:first-of-type {
    margin-top: 0;
}

.legal-document h3 {
    color: var(--text);
    font-size: 1rem;
    margin: 24px 0 12px;
}

.legal-document p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-document ul {
    margin: 12px 0 20px;
    padding-left: 24px;
}

.legal-document ul li {
    list-style: disc;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-document a {
    color: var(--accent);
}

.legal-document a:hover {
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.legal-table th {
    background: var(--background-alt);
    font-weight: 500;
    color: var(--text);
}

.legal-table td {
    color: var(--text-light);
    font-size: 14px;
}

.requisites-block {
    background: var(--background-alt);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.requisites-block p {
    margin-bottom: 8px;
}

.legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-footer p {
    font-size: 13px;
    margin-bottom: 4px;
}

/* ===== Responsive for Subpages ===== */
@media (max-width: 1024px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-grid {
        grid-template-columns: 1fr;
    }

    .api-sidebar {
        position: static;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-stat-number {
        font-size: 2rem;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured {
        padding: 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .contacts-grid {
        gap: 24px;
    }

    .contacts-form {
        padding: 24px;
    }

    .faq-quick-grid {
        grid-template-columns: 1fr;
    }

    .legal-document {
        padding: 24px;
    }

    .api-main {
        padding: 24px;
    }
}

/* ===== About Page Extended ===== */
.about-content {
    padding: 80px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual {
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.about-visual svg {
    width: 100%;
    height: auto;
}

/* Values Section */
.values {
    padding: 80px 0;
    background: var(--background-alt);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon svg {
    width: 48px;
    height: 48px;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* About Stats */
.about-stats {
    padding: 60px 0;
    background: var(--primary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-block {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Knowledge Base */
.knowledge-base {
    padding: 80px 0;
    background: white;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kb-item {
    background: var(--background-alt);
    border-radius: var(--radius-md);
    padding: 24px;
}

.kb-item h4 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.kb-item ul {
    padding-left: 0;
}

.kb-item ul li {
    list-style: none;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.kb-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== API Page Extended ===== */
.api-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.api-nav ul li {
    margin-bottom: 4px;
}

.api-nav ul li a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.api-nav ul li a:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.api-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    font-size: 14px;
    color: #92400e;
}

.api-warning strong {
    color: #78350f;
}

.method {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.method.post {
    background: #10b981;
    color: white;
}

.method.get {
    background: var(--accent);
    color: white;
}

.api-list {
    padding-left: 24px;
    margin: 16px 0;
}

.api-list li {
    list-style: disc;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 14px;
}

.api-list code {
    background: var(--background-alt);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: 13px;
    color: var(--primary);
}

.api-cta {
    background: var(--background-alt);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    margin-top: 48px;
}

.api-cta h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.api-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===== Responsive for About & API Extended ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .kb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-num {
        font-size: 2rem;
    }

    .kb-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding: 60px 0;
    }

    .values {
        padding: 60px 0;
    }

    .knowledge-base {
        padding: 60px 0;
    }
}

/* ===== Auth Page ===== */
.auth-page {
    min-height: 100vh;
    background: var(--background-alt);
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-left {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-left-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.auth-logo .logo-icon {
    width: 48px;
    height: 48px;
}

.auth-logo .logo-main {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.auth-left-text h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
}

.auth-left-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.auth-feature svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: white;
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--background-alt);
    padding: 4px;
    border-radius: var(--radius-md);
}

.auth-tab {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition);
}

.auth-tab:hover {
    color: var(--text);
}

.auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--text);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-strength {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.strength-bar {
    height: 4px;
    width: 0;
    background: #dc3545;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
    margin-top: 1px;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--accent);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    font-size: 14px;
    color: var(--accent);
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 24px;
    height: 24px;
}

.auth-footer-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer-text a {
    color: var(--accent);
    font-weight: 500;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* Auth page responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-right {
        padding: 24px 16px;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-login {
        flex-wrap: wrap;
    }

    .social-btn {
        width: 48px;
        height: 48px;
    }
}
