:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #64748b;
    --accent: #f59e0b;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --success: #16a34a;
    --error: #dc2626;
    --glass-bg: rgba(255, 255, 255, 0.85);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Multi-language support */
[data-lang-content] {
    display: none;
}

html[lang="ru"] [data-lang-content="ru"] {
    display: block;
}

html[lang="en"] [data-lang-content="en"] {
    display: block;
}


h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Background Blurs */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.4;
    animation: move-blur 20s infinite alternate;
}

.blur-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -100px;
    right: -100px;
}

.blur-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6, transparent);
    bottom: -200px;
    left: -200px;
    animation-delay: -10s;
}

@keyframes move-blur {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.2); }
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo span span {
    color: var(--primary);
}

.lang-switcher {
    display: flex;
    gap: 5px;
    margin-right: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

#user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-tag {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.balance-tag:hover {
    background: rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

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

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    background: linear-gradient(to right, var(--primary), #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-visual .video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(45deg, #1e293b, #334155);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--primary);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}

/* App Interface */
.app-card {
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 40px;
}

.app-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.step {
    padding-bottom: 10px;
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.step.active {
    color: var(--primary);
}

.step.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary:disabled {
    background: var(--secondary);
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

.btn-secondary {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.btn-link:hover { color: var(--text-main); }

.btn-block { width: 100%; }

/* Options Info */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 40px 0;
}

.option-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

select, textarea, input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
}

textarea { min-height: 100px; resize: none; }

.input-error {
    border-color: var(--error) !important;
    background: rgba(220, 38, 38, 0.03) !important;
}

.instructions-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    width: 420px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    animation: modal-enter 0.3s ease-out;
}

@keyframes modal-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.input-group { margin-bottom: 20px; }
.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-switch { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }
.auth-switch a { color: var(--primary); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* Verification Code Input */
.code-input-group {
    text-align: center;
}

.code-input {
    font-size: 2rem !important;
    text-align: center;
    letter-spacing: 12px;
    font-weight: 700;
    font-family: 'Outfit', monospace;
    padding: 16px !important;
    border-radius: 12px !important;
    border: 2px solid var(--primary) !important;
    background: rgba(79, 70, 229, 0.03);
    transition: all 0.3s;
}

.code-input:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.verify-subtitle {
    color: var(--text-muted);
    margin-bottom: 8px;
    text-align: center;
}

.verify-email-display {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* Form Error */
.form-error {
    background: rgba(220, 38, 38, 0.08);
    color: var(--error);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.15);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* History */
.history-container {
    padding: 30px;
    border-radius: 24px;
}

.history-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.history-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.item-left { display: flex; align-items: center; gap: 15px; }
.file-ico { font-size: 1.5rem; }
.file-name { font-weight: 600; }

.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed { background: #dcfce7; color: var(--success); }
.status-pending { background: #fef3c7; color: var(--accent); }
.status-failed { background: #fee2e2; color: var(--error); }

.download-history-btn {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.download-history-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.download-history-btn.disabled {
    background: var(--border);
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.avail-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Progress */
.progress-container {
    text-align: center;
    padding: 40px 0;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-circle.small {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

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

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #3b82f6);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* --- LIVE ANIMATION (SPLIT SCREEN) --- */
/* --- MODERN PROCESS VIEW (BLUEPRINT UI) --- */
.modern-process-view {
    display: flex;
    gap: 20px;
    height: 600px;
    margin-top: 30px;
    position: relative;
    background: rgba(15, 23, 42, 0.02);
    border-radius: 16px;
    padding: 10px;
}

.document-scroller {
    flex: 1;
    overflow-y: auto;
    background: #f1f5f9;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    scrollbar-width: thin;
    padding: 40px 20px;
}

.document-canvas-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    min-height: 100%;
    padding: 60px;
}

.block-item {
    margin-bottom: 20px;
    min-height: 20px;
    border-radius: 4px;
    transition: all 0.5s ease;
    cursor: default;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.block-item.pending {
    color: transparent;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.block-item.original {
    color: var(--text-muted);
    opacity: 0.6;
}

.block-item.translated {
    color: var(--text-main);
    animation: digital-reveal 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.scan-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    box-shadow: 0 0 10px #38bdf8, 0 0 20px #2563eb;
    z-index: 10;
    pointer-events: none;
    transition: top 0.1s linear;
}

.stage-tracker {
    display: flex;
    gap: 8px;
    align-items: center;
}

.stage-dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transform: scale(1.2);
}

.stage-dot.done {
    background: var(--success);
}

.minimap-wrapper {
    width: 120px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

#minimap-canvas {
    width: 100%;
    height: 100%;
}

#minimap-viewport {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 2px solid var(--primary);
    background: rgba(79, 70, 229, 0.05);
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes digital-reveal {
    0% { opacity: 0; transform: scale(0.98); filter: blur(4px) brightness(1.5); }
    50% { filter: blur(2px) brightness(1.2); }
    100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); }
}

.progress-bar-bg.compact {
    height: 4px;
    margin: 10px 0;
}

.process-header {
    margin-bottom: 20px;
}

.process-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Result Card */
.success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.success-card h2 { margin-bottom: 0; }
.success-card p { margin-bottom: 10px; }
.success-card .btn-primary { margin-bottom: 5px; }

/* Billing Summary UI */
.billing-card {
    margin: 15px 0 25px;
    width: 100%;
    max-width: 500px;
}

.billing-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.refund-info {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    color: #15803d;
}

.protect-info {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: #4338ca;
}

.match-info {
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid rgba(100, 116, 139, 0.2);
    color: #475569;
}

.billing-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.billing-info p strong {
    color: inherit;
    font-weight: 700;
}

.anim-bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.8) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================ */
/* INSUFFICIENT BALANCE WARNING */
/* ============================ */
.insufficient-warning {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.18);
    margin: 20px 0;
    animation: fadeSlideIn 0.4s ease forwards;
}

.insufficient-warning .warning-icon {
    font-size: 1.8rem;
}

.insufficient-warning .warning-text p {
    color: var(--error);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Credits Needed Modal */
.credits-modal-content {
    width: 440px;
    text-align: center;
}

.credits-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.credits-modal-icon {
    font-size: 3rem;
    animation: bounceIn 0.6s ease;
}

.credits-modal-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.cred-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cred-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cred-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.cred-highlight {
    color: var(--error) !important;
}

/* ===================== */
/* CREDITS PURCHASE PAGE */
/* ===================== */
.credits-page {
    padding: 20px 0;
}

.credits-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.credits-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.credits-header .btn-outline {
    position: absolute;
    left: 0;
    top: 0;
}

.credits-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Promo Code Section */
.promo-section {
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
}

.promo-section h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.promo-input-row {
    display: flex;
    gap: 12px;
}

.promo-input-row input {
    flex: 1;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1rem;
}

.promo-input-row .btn-primary {
    white-space: nowrap;
    min-width: 140px;
}

.promo-result {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeSlideIn 0.3s ease;
}

.promo-success {
    background: rgba(22, 163, 74, 0.08);
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.promo-error {
    background: rgba(220, 38, 38, 0.06);
    color: var(--error);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.plan-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.plan-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.12);
}

.plan-card.plan-popular {
    border-color: var(--primary);
    background: linear-gradient(175deg, rgba(79, 70, 229, 0.03), rgba(59, 130, 246, 0.05));
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.1);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -28px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(35deg);
}

.plan-credits {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.plan-credits-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.plan-per {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 24px;
}

.plan-buy-btn {
    border-radius: 14px;
    padding: 14px 0;
    font-size: 1rem;
}

.plan-card.plan-popular .plan-buy-btn {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
}

/* ========= */
/* UTILITIES */
/* ========= */
.hidden { display: none !important; }

/* Estimation highlights */
.valueHighlight {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
}

.stat-item .label {
    display: block;
    color: var(--text-muted);
}

.stat-item .value {
    font-size: 1.5rem;
    font-weight: 600;
}

.action-bar-split {
    display: flex;
    gap: 20px;
}

.action-bar-split button { flex: 1; }

/* Extra Animations */
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-actions { justify-content: center; }
    .options-grid { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; height: auto; }
    .split-pane { max-height: 300px; }
    .nav-container { flex-direction: column; gap: 10px; }
    .plans-grid { grid-template-columns: 1fr; }
    .credits-header .btn-outline { position: static; margin-bottom: 16px; }
    .credits-modal-stats { flex-direction: column; gap: 12px; }
}
/* Footer */
footer {
    padding: 60px 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
