:root {
    --neon-blue: #00d9ff;
    --neon-purple: #a855f7;
    --neon-green: #10b981;
    --neon-pink: #ec4899;
    --neon-orange: #f59e0b;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --card-bg: rgba(15, 20, 35, 0.95);
    --card-hover: rgba(25, 30, 45, 0.98);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(0, 217, 255, 0.15);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ================================== */
/* HEADER */
/* ================================== */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.main-nav {
    display: flex;
    gap: clamp(1rem, 1.8vw, 2.2rem);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    position: relative;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--neon-blue);
}

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

.nav-link.active {
    color: var(--neon-blue);
}

.nav-link.active::before {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* Кнопки в шапке: одна высота, без переноса */
.header-actions .btn,
.header-actions .btn-small {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    line-height: 1;
}

/* Баланс в шапке: такая же высота, как кнопки */
.header-actions .balance {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-lang {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
    white-space: nowrap;
}
.btn-lang:hover {
    background: rgba(0, 217, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.balance {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.1);
}

/* ================================== */
/* BURGER MENU */
/* ================================== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 200;
}

.burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 150;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--darker-bg);
    border-left: 1px solid var(--border-color);
    z-index: 200;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-close:hover {
    color: var(--neon-blue);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(0, 217, 255, 0.1);
    color: var(--neon-blue);
    transform: translateX(5px);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.mobile-menu-actions .balance {
    text-align: center;
}

/* ================================== */
/* BUTTONS */
/* ================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--neon-blue);
    background: transparent;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3), inset 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
    transform: translateY(-3px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ================================== */
/* PAGES */
/* ================================== */
.page {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page.active {
    display: block;
}

.page.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================== */
/* HERO */
/* ================================== */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    min-height: 2.8rem;
}

.typing-cursor {
    color: var(--neon-blue);
    animation: blink 0.8s infinite;
    font-weight: 300;
}

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

/* ================================== */
/* LIVE STATS */
/* ================================== */
.live-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 0 5rem;
    padding: 3rem 0;
    position: relative;
}

.live-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.live-stats::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.stat-counter {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.counter-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ================================== */
/* SCROLL REVEAL */
/* ================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================== */
/* SERVICES */
/* ================================== */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    /* reveal stagger */
    opacity: 0;
    transform: translateY(30px);
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================== */
/* SERVICES FULL PAGE                 */
/* ================================== */
.services-full-section {
    padding: 2rem 0 4rem;
}

.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.services-full-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 0;
    font-size: 1.1rem;
}

.service-full-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-full-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-full-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
    transform: translateY(-6px);
}

.service-full-card:hover::after {
    transform: scaleX(1);
}

.sfc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sfc-icon {
    font-size: 2.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-full-card:hover .sfc-icon {
    transform: scale(1.1) rotate(5deg);
}

.sfc-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sfc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sfc-badge {
    display: inline-block;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--neon-blue);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    width: fit-content;
}

.sfc-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.sfc-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.sfc-meta-item {
    background: var(--bg-primary);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sfc-meta-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sfc-meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.sfc-meta-value.neon-green { color: var(--neon-green); }
.sfc-meta-value.neon-blue  { color: var(--neon-blue); }

.sfc-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

@media (max-width: 768px) {
    .services-full-grid {
        grid-template-columns: 1fr;
    }
    .sfc-meta {
        grid-template-columns: 1fr;
    }
}

/* ================================== */
/* PARSER SECTION */
/* ================================== */
.parser-section {
    margin: 6rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.parser-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-selector {
    margin-bottom: 2.5rem;
}

.settings-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.service-select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.service-select option {
    background: var(--darker-bg);
    padding: 1rem;
}

.settings-section {
    margin: 2.5rem 0;
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--neon-blue);
}

.checkbox-group label {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-primary);
    flex: 1;
    font-weight: 500;
}

.input-section {
    margin: 2.5rem 0;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

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

.file-upload {
    padding: 3rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 217, 255, 0.02);
}

.file-upload:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 217, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
}

/* ================================== */
/* PROGRESS BAR */
/* ================================== */
.progress-container {
    display: none;
    margin: 2rem 0;
}

.progress-container.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-green));
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
    animation: progressShine 1s ease infinite;
}

@keyframes progressShine {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.progress-stages {
    display: flex;
    justify-content: space-between;
}

.progress-stage {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.progress-stage.active {
    color: var(--neon-blue);
}

.progress-stage.done {
    color: var(--neon-green);
}

.actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    justify-content: center;
}

td.actions {
    margin-top: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.results {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    display: none;
    animation: fadeInUp 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.results.active {
    display: block;
}

.results-title {
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-green);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-left: 4px solid var(--neon-blue);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    color: var(--neon-green);
    font-weight: 700;
}

/* ================================== */
/* ORDERS */
/* ================================== */
.orders-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.search-input {
    min-width: 300px;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.filter-select {
    cursor: pointer;
}

.filter-select option {
    background: var(--darker-bg);
}

.table-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.orders-table thead {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    border-bottom: 2px solid var(--neon-blue);
}

.orders-table th {
    padding: 1.5rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: var(--neon-blue);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.orders-table td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orders-table tbody tr {
    transition: all 0.3s ease;
}

.orders-table tbody tr:hover {
    background: rgba(0, 217, 255, 0.05);
}

/* Skeleton Loading */
.skeleton {
    height: 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 80px;
}

.skeleton-wide {
    width: 140px;
}

.skeleton-sm {
    width: 50px;
}

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

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.status-unpaid {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: var(--neon-orange);
    border: 1px solid var(--neon-orange);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.2);
}

.status-processing {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 217, 255, 0.1));
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.2);
}

.order-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.order-link:hover {
    color: var(--neon-green);
    text-decoration: underline;
}

.action-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--neon-purple), rgba(168, 85, 247, 0.8));
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(168, 85, 247, 0.4);
}

.delete-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.delete-btn:hover {
    transform: scale(1.2);
    background: rgba(239, 68, 68, 0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.page-btn:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

/* ================================== */
/* PRICES */
/* ================================== */
.prices-section {
    padding: 4rem 0;
}

.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.price-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.price-card:hover::after {
    transform: scaleX(1);
}

.price-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.3);
}

.price-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.price-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.price-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.price-features li:hover {
    color: var(--text-primary);
}

/* ================================== */
/* API DOCS */
/* ================================== */
.api-section {
    padding: 4rem 0;
}

.api-container {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.api-key-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px);
}

.api-key-section h3 {
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.api-key-display {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.api-key-display code {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-green);
    font-size: 0.95rem;
}

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

.api-endpoint-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.api-endpoint-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
    transform: translateY(-4px);
}

.endpoint-method {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.endpoint-method.get {
    background: rgba(16, 185, 129, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.endpoint-method.post {
    background: rgba(0, 217, 255, 0.2);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}

.endpoint-path {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.endpoint-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.copy-code-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.copy-code-btn:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.code-block pre {
    padding: 1rem 1.25rem;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-green);
    line-height: 1.6;
}

/* ================================== */
/* ABOUT PAGE */
/* ================================== */
.about-section { padding: 4rem 0; }

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

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

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-blue);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.92rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

.about-stat-item {}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-blue);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
}

.about-stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.about-contacts {
    margin-bottom: 4rem;
}

.about-contacts h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--text-primary);
}

.contact-icon { font-size: 1.8rem; flex-shrink: 0; }

.contact-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    color: var(--neon-blue);
}

.about-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(0,212,255,0.07) 0%, rgba(100,0,255,0.07) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.about-cta h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.about-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto;
}

/* ================================== */
/* FOOTER */
/* ================================== */
footer {
    margin-top: 10rem;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.5));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section h4 {
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2.2;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-top: 3rem;
    font-family: 'JetBrains Mono', monospace;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* ================================== */
/* BACK TO TOP */
/* ================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    color: var(--neon-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    transform: translateY(-3px);
}

/* ================================== */
/* TOAST NOTIFICATIONS */
/* ================================== */
.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastSlideIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.removing {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 12px 12px;
    animation: toastProgress linear forwards;
}

.toast-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.toast-success .toast-progress { background: var(--neon-green); }

.toast-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.toast-error .toast-progress { background: #ef4444; }

.toast-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.toast-warning .toast-progress { background: var(--neon-orange); }

.toast-info {
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.4);
}
.toast-info .toast-progress { background: var(--neon-blue); }

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ================================== */
/* CONFIRM DIALOG */
/* ================================== */
.confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

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

.confirm-dialog {
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.confirm-dialog h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confirm-dialog p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ================================== */
/* MODALS */
/* ================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--card-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 20px;
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    color: var(--neon-blue);
    background: rgba(0, 217, 255, 0.1);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.form-group input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-error.visible {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--neon-blue);
    animation: spin 0.8s linear infinite;
}

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

/* ================================== */
/* PAYMENT STYLES */
/* ================================== */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-method {
    cursor: pointer;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.payment-method input[type="radio"]:checked + .payment-card {
    border-color: var(--neon-blue);
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.payment-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.payment-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.payment-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ================================== */
/* PAYMENT MODAL — wide for 3 providers */
/* ================================== */
#paymentModal .modal-content {
    max-width: 640px;
}

@media (max-width: 768px) {
    #paymentModal .modal-content {
        max-width: 100%;
        padding: 1.75rem 1.25rem;
    }
    #paymentModal .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* ================================== */
/* ORDERS STATISTICS */
/* ================================== */
.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.2);
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    border-color: var(--neon-blue);
}

.stat-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* ================================== */
/* NEWS STYLES */
/* ================================== */
.news-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover {
    border-color: var(--neon-blue);
    transform: translateX(5px);
}

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

.news-important {
    border-color: var(--neon-orange);
    background: rgba(245, 158, 11, 0.05);
}

.news-important::before {
    background: var(--neon-orange);
    opacity: 1;
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--neon-orange);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
}

.news-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ================================== */
/* RESPONSIVE */
/* ================================== */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 1.5rem;
    }

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

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .burger {
        display: flex;
    }

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

    .parser-container {
        padding: 2rem 1.5rem;
    }

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

    .actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-controls {
        width: 100%;
        flex-direction: column;
    }

    .search-input,
    .filter-select {
        width: 100%;
        min-width: 0;
    }

    .table-container {
        overflow-x: auto;
    }

    .orders-table {
        min-width: 1200px;
    }

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

    .counter-value {
        font-size: 2rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .pagination {
        font-size: 0.85rem;
    }

    .page-btn {
        padding: 0.6rem 1rem;
    }

    .toast-container {
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .live-stats {
        grid-template-columns: 1fr 1fr;
    }

    .counter-value {
        font-size: 1.6rem;
    }
}

/* ================================== */
/* ABOUT PAGE — MOBILE */
/* ================================== */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; padding: 1.5rem; }
    .about-stat-value { font-size: 1.8rem; }
    .contacts-grid { grid-template-columns: 1fr; }
    .about-cta { padding: 2rem 1rem; }
    .about-cta h2 { font-size: 1.5rem; }
}
