@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --accent: #7c3aed;
    --accent-mix: color-mix(in srgb, #7c3aed 50%, white);
    --accent-soft: color-mix(in srgb, #7c3aed 20%, white);
    --accent-faint: color-mix(in srgb, #7c3aed 10%, white);
    --accent-dim: color-mix(in srgb, #7c3aed 5%, white);
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.1);
    --surface: rgba(255, 255, 255, 0.02);
    --surface-raised: rgba(0, 0, 0, 0.4);
    --surface-glass: rgba(0, 0, 0, 0.25);
    --text-primary: color-mix(in srgb, #7c3aed 45%, white);
    --text-secondary: color-mix(in srgb, #7c3aed 20%, white);
    --text-muted: color-mix(in srgb, #7c3aed 15%, white);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.3); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.3px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 7px 14px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-link.active {
    color: rgba(255, 255, 255, 0.85);
}

.nav-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
}

.btn:hover {
    opacity: 0.7;
}

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

.btn-ghost:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: var(--border-hover);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--border-hover);
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.btn-launch {
    background: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.btn-launch:hover {
    background: #16a34a;
    opacity: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    position: relative;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    opacity: 0.06;
}

.hero-tag {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    animation: fadeUp 0.7s ease both;
}

.hero-tag .tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero-title .word {
    display: inline-block;
    will-change: transform, filter, opacity;
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 500px;
    opacity: 0.3;
    margin-bottom: 40px;
    animation: fadeUp 0.7s ease 0.2s both;
}

.hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeUp 0.7s ease 0.3s both;
}

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

.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
    margin-bottom: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    text-align: center;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    text-align: center;
    max-width: 440px;
    opacity: 0.5;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--surface-raised);
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

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

.feature-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.feature-card-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 260px;
}

.feature-card-visual svg {
    opacity: 0.4;
    transition: var(--transition);
}

.feature-card:hover .feature-card-visual svg {
    opacity: 0.6;
}

.feature-card-icon {
    position: absolute;
    z-index: 2;
}

.feature-card-icon svg {
    opacity: 0.2 !important;
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    line-height: 1.6;
    max-width: 240px;
}

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

.pricing-card {
    background: var(--surface-raised);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.pricing-card.popular {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.plan-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.plan-price .amount {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
    color: #fff;
}

.plan-price .amount .rub {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    vertical-align: top;
    margin-right: 1px;
}

.plan-price .period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
}

.plan-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.plan-features li .check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    font-weight: 700;
}

.plan-features li.disabled {
    opacity: 0.3;
}

.plan-features li.disabled .check {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.2);
}

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

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

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

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    max-width: 220px;
    line-height: 1.6;
}

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

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.15);
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 40px;
    text-align: center;
}

.page-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 440px;
    opacity: 0.4;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 36px 28px;
    box-shadow: var(--shadow-soft);
}

.auth-card .logo {
    justify-content: center;
    margin-bottom: 4px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

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

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

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-label a,
.forgot-link {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.checkbox-label a:hover,
.forgot-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

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

.auth-separator span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.15);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
}

.auth-footer a {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.auth-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.subscriptions-toggle {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: var(--surface-raised);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    width: fit-content;
    margin: 0 auto 40px;
}

.toggle-btn {
    padding: 8px 24px;
    border-radius: 4px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn.active {
    background: var(--accent);
    color: #fff;
}

.sale-badge {
    padding: 2px 6px;
    background: rgba(34, 197, 94, 0.1);
    color: rgba(34, 197, 94, 0.7);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.auth-error {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    color: rgba(239, 68, 68, 0.9);
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    cursor: pointer;
    animation: fadeUp 0.4s ease both;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Profile Page Styles */
.profile-page {
    display: flex;
    max-width: 1100px;
    margin: 80px auto 40px;
    padding: 24px;
    gap: 24px;
    min-height: 80vh;
}

.profile-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.profile-avatar {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--accent);
}

.profile-avatar h2 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-link.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
}

.sidebar-link svg {
    flex-shrink: 0;
}

.profile-main {
    flex: 1;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.profile-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.profile-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.info-card {
    background: var(--surface-raised);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--border-light);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

.info-card-content {
    flex: 1;
    min-width: 0;
}

.info-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    word-break: break-all;
}

.info-value.unknown {
    color: rgba(255, 255, 255, 0.2);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-item {
    background: var(--surface-raised);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.profile-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
}

.action-btn.primary {
    background: var(--accent);
    color: #fff;
}

.action-btn.primary:hover {
    opacity: 0.8;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: rgba(255, 255, 255, 0.6);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-soft);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: rgba(255, 255, 255, 0.6);
}

.modal-body p {
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    font-size: 14px;
}

/* Payment Modal - Modern */
.payment-modal .modal-content {
    max-width: 400px;
}

.payment-plan-info {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.payment-plan-info .payment-price {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2px;
}

.payment-plan-info .payment-price .rub {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    vertical-align: top;
}

.payment-plan-info .payment-plan-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

.payment-form .form-group {
    margin-bottom: 16px;
}

.payment-form .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.payment-form .form-group input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.payment-form .form-group input:focus {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.payment-form .btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

/* Admin Page - Modern */
.admin-page {
    display: flex;
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 24px;
    gap: 24px;
    min-height: 80vh;
}

.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 20px;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.admin-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.admin-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.admin-avatar h3 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-size: 13px;
    text-decoration: none;
}

.admin-menu-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.8);
}

.admin-menu-link.active {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
}

.admin-menu-link svg {
    flex-shrink: 0;
}

.admin-content {
    flex: 1;
}

.admin-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #22c55e;
    font-size: 14px;
    margin-bottom: 16px;
}

.admin-card {
    background: var(--surface-raised);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    margin-bottom: 20px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.admin-count {
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

.admin-table-wrap {
    padding: 4px 16px 16px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table thead th {
    text-align: left;
    padding: 10px 10px 8px 10px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--border-subtle);
    color: rgba(255, 255, 255, 0.7);
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
}

.admin-user-name {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.admin-user-email {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-form-inline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.admin-select {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 11px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.admin-select:focus {
    border-color: rgba(124, 58, 237, 0.3);
}

.admin-input {
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 11px;
    font-family: inherit;
    width: 50px;
    outline: none;
    transition: var(--transition);
}

.admin-input:focus {
    border-color: rgba(124, 58, 237, 0.3);
}

.admin-btn {
    padding: 4px 10px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.admin-btn-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.admin-btn-green:hover {
    background: rgba(34, 197, 94, 0.25);
}

.admin-btn-purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent);
}

.admin-btn-purple:hover {
    background: rgba(124, 58, 237, 0.25);
}

.admin-key-form {
    padding: 16px 20px 20px;
}

.admin-key-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.admin-key-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-key-group label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-key-group .admin-select,
.admin-key-group .admin-input {
    width: 100%;
}

.admin-key-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: 'Inter', monospace;
    color: rgba(255, 255, 255, 0.7);
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-available {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-used {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pricing-card.popular {
        transform: none;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

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

    .profile-page {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
        position: static;
    }

    .profile-cards {
        grid-template-columns: 1fr;
    }

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

    .admin-page {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        position: static;
    }

    .admin-key-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
    }

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

    .nav-buttons {
        display: none;
    }

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

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

    .footer-links-group {
        flex-direction: column;
        gap: 24px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

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

    .profile-actions {
        flex-direction: column;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-table-wrap {
        padding: 0 8px 8px;
    }

    .admin-table {
        font-size: 11px;
    }

    .admin-table thead th,
    .admin-table tbody td {
        padding: 6px 6px;
    }

    .admin-user-avatar {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .admin-user-name {
        font-size: 11px;
    }

    .admin-user-email {
        font-size: 10px;
    }

    .admin-select,
    .admin-input {
        font-size: 10px;
        padding: 3px 6px;
    }

    .admin-btn {
        font-size: 9px;
        padding: 3px 8px;
    }

    .admin-key-code {
        font-size: 10px;
        padding: 2px 6px;
    }

    .payment-plan-info .payment-price {
        font-size: 28px;
    }

    .admin-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .admin-form-inline {
        flex-wrap: wrap;
    }
}