/* === INDEX-STYLES.CSS ===
 * /serverflow/assets/css/index-styles.css
 * НАЗНАЧЕНИЕ: Основные стили для главной страницы
 * ОБНОВЛЕНО: 2025-10-03
 */

/* === ROOT VARIABLES === */
:root {
    --bg-primary: #0a0a0a;
    --text-primary: #fafafa;
    --text-muted: #a3a3a3;
    --ai-dark: #0a0a0a;
    --ai-gray: #1a1a1a;
    --ai-blue: #3b82f6;
    --ai-purple: #8b5cf6;
    --ai-green: #10b981;
    --card-bg: #171717;
    --border-color: #262626;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-card: linear-gradient(135deg, #171717 0%, rgba(59, 130, 246, 0.05) 100%);
}

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

/* === BASE === */
body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* === LOADING === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--ai-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === BACKGROUND EFFECTS === */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--ai-dark) 0%, #0f0f0f 50%, var(--ai-dark) 100%);
    z-index: -2;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-status {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--ai-green);
    font-size: 0.85rem;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-status .status-dot {
    width: 8px;
    height: 8px;
    background: var(--ai-green);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav-link {
    color: var(--text-primary);
    opacity: 0.8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--ai-blue);
    background: rgba(59, 130, 246, 0.1);
}

/* === HERO SECTION === */
.hero {
    min-height: auto;
    padding: 100px 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    max-width: 1280px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* === QUICK PAYMENT === */
.quick-payment {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-payment-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-payment-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.quick-email-input {
    flex: 1 1 300px;
    padding: 1rem 1.5rem;
    background: var(--ai-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quick-email-input:focus {
    outline: none;
    border-color: var(--ai-blue);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quick-email-input::placeholder {
    color: #666;
}

/* === REALTIME STATS === */
.realtime-stats {
    padding: 0 2rem 1rem;
    background: transparent;
}

.realtime-container {
    max-width: 1280px;
    margin: 0 auto;
}

.realtime-header {
    text-align: center;
    margin-bottom: 3rem;
}

.realtime-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.realtime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.realtime-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.realtime-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--ai-green);
    border-radius: 50%;
    margin: 1rem;
    animation: blink 2s ease-in-out infinite;
}

.realtime-card.blue::before { background: var(--ai-blue); }
.realtime-card.purple::before { background: var(--ai-purple); }
.realtime-card.orange::before { background: #f59e0b; }

.realtime-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.realtime-icon {
    font-size: 2.5rem;
    opacity: 1;
    display: inline-block;
    vertical-align: middle;
}

.realtime-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
    display: inline-block;
    vertical-align: middle;
}

.realtime-label {
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.4;
}

.realtime-status {
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--ai-green);
    font-size: 0.9rem;
    margin: 0 0 2rem 0;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--ai-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* === STATS === */
.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--ai-blue);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.stat-card:hover::before {
    transform: translateX(0);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === ABOUT SECTION === */
.about-section {
    padding: 1rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(23, 23, 23, 0.3), transparent);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.about-features {
    text-align: left;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-feature::before {
    content: '•';
    color: var(--ai-blue);
    font-size: 1.5rem;
    line-height: 1;
}

/* === FEATURES === */
.features {
    padding: 1rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(23, 23, 23, 0.5), transparent);
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-primary);
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    vertical-align: middle;
}

.feature-description {
    color: var(--text-primary);
    opacity: 0.85;
    line-height: 1.8;
}

/* === PRICING === */
.pricing {
    padding: 1rem 2rem;
    position: relative;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-selector {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* === PERIOD SELECTOR - RADIO BUTTONS STYLE === */
.period-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.period-option {
    position: relative;
    width: 100%;
}

.period-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.period-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ai-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    width: 100%;
}

.period-label::before {
    content: '';
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.period-label::after {
    content: '';
    position: absolute;
    left: calc(1rem + 5px);
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.period-label:hover {
    border-color: var(--ai-blue);
    background: rgba(59, 130, 246, 0.05);
}

.period-radio:checked + .period-label {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border-color: var(--ai-blue);
}

.period-radio:checked + .period-label::before {
    border-color: var(--ai-blue);
}

.period-radio:checked + .period-label::after {
    opacity: 1;
    transform: scale(1);
}

.period-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 2rem;
    width: 100%;
}

.period-duration {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 90px;
}

.period-price {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period-save {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--ai-green);
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

.period-label:hover {
    border-color: var(--ai-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.period-duration {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.period-price {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.period-save {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--ai-green);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.period-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    white-space: nowrap;
}

.included-features {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.included-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.included-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem;
}

.included-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-payment {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-payment:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

/* === FOOTER === */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 6rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--ai-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === MODALS === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal.active {
    display: block;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--ai-gray);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--ai-blue);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #666;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-link {
    color: var(--ai-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-link:hover {
    color: var(--ai-purple);
    text-decoration: underline;
}

/* === NOTIFICATIONS === */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.notification.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    /* Навигация */
    .nav-menu {
        display: none;
    }

    .nav-status {
        display: none;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero {
        min-height: 40vh;
        padding: 100px 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }

    /* Stats & Features */
    .stats-grid,
    .features-grid,
    .realtime-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .realtime-card {
        padding: 1.5rem;
    }
    
    .realtime-icon {
        font-size: 2rem;
        margin-right: 0.5rem;
    }
    
    .realtime-value {
        font-size: 2.2rem;
    }
    
    .realtime-label {
        font-size: 0.85rem;
    }

    /* Period Selector */
    .period-selector {
        gap: 0.5rem;
    }
    
    .period-label {
        padding: 0.75rem 1rem;
    }
    
    .period-info {
        padding-left: 1.75rem;
        gap: 0.5rem;
    }
    
    .period-duration {
        font-size: 0.9rem;
        min-width: 75px;
    }
    
    .period-price {
        font-size: 1.1rem;
    }
    
    .period-save {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }

    /* Sections */
    .about-section,
    .features,
    .pricing,
    .realtime-stats {
        padding: 0.75rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    /* Included List */
    .included-list {
        grid-template-columns: 1fr;
    }
    
    .included-item {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .navbar {
        height: 60px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-buttons {
        gap: 0.5rem;
    }
    
    .nav-buttons .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .realtime-icon {
        font-size: 1.75rem;
    }
    
    .realtime-value {
        font-size: 2rem;
    }
    
    .period-label {
        padding: 0.6rem 0.75rem;
    }
    
    .period-label::before {
        width: 16px;
        height: 16px;
    }
    
    .period-label::after {
        width: 6px;
        height: 6px;
        left: calc(1rem + 5px);
    }
}

/* Навигационный статус - адаптивность */
@media (max-width: 1024px) {
    .nav-status {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 640px) {
    .nav-status {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        z-index: 100;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
    }
}


/* === PAYMENT PAGE SPECIFIC === */
/* Добавлено для quick_payment.php */

.payment-container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.payment-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
    display: block;
}

.payment-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.security-info {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--ai-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* === ПЕРИОД СЕЛЕКТОР (исправлено для quick_payment.php) === */
.period-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .period-selector {
        grid-template-columns: 1fr;
    }
}
