﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
    --primary: #5fb8ff;
    --secondary: #3dd4b3;
    --accent: #42d7ff;
    --accent-2: #95f0ff;
    --dark: #030712;
    --dark-elevated: #0f172a;
    --surface-1: rgba(15, 23, 42, 0.72);
    --surface-2: rgba(15, 23, 42, 0.9);
    --surface-3: rgba(8, 15, 31, 0.92);
    --surface-border: rgba(148, 163, 184, 0.16);
    --text: #d2deed;
    --text-soft: #c2cddd;
    --text-muted: #8ea0b8;
    --text-strong: #f7fbff;
    --light: #f8fafc;
    --success: #4ade80;
    --warning: #facc15;
    --danger: #fb7185;
    --gradient-1: linear-gradient(135deg, #7dd3fc 0%, #5eead4 100%);
    --gradient-2: linear-gradient(180deg, #020617 0%, #0b1222 48%, #030712 100%);
}

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

html {
    scroll-padding-top: 88px;
}

body {
    min-height: 100vh;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(66, 215, 255, 0.08), transparent 32%),
        radial-gradient(circle at top right, rgba(61, 212, 179, 0.08), transparent 28%),
        linear-gradient(180deg, #020617 0%, #091121 45%, #030712 100%);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
    opacity: 0.12;
    pointer-events: none;
}

.page-shell,
.auth-container,
.pricing-container,
.faq-container,
.contact-container,
.roadmap-container,
.project-container,
.subscription-container,
.profile-container,
.error-container,
.success-container {
    position: relative;
    min-height: 100vh;
    padding: 8.25rem 2rem 4.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(66, 215, 255, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(61, 212, 179, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.96) 0%, rgba(8, 15, 31, 0.98) 45%, rgba(3, 7, 18, 1) 100%);
}

.page-shell::before,
.auth-container::before,
.pricing-container::before,
.faq-container::before,
.contact-container::before,
.roadmap-container::before,
.project-container::before,
.subscription-container::before,
.profile-container::before,
.error-container::before,
.success-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    opacity: 0.14;
    pointer-events: none;
}

.page-content,
.page-content-narrow,
.page-content-wide {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.page-content-narrow {
    width: min(100%, 780px);
}

.page-content-wide {
    width: min(100%, 1320px);
}

.page-header,
.section-header {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
}

.page-header h1,
.page-header h2,
.section-header h2 {
    margin-bottom: 1rem;
    color: var(--text-strong);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 800;
    text-wrap: balance;
}

.page-header p,
.section-header p {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.78;
}

.pricing-header,
.faq-header,
.contact-header,
.roadmap-header,
.projects-header {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto 3rem;
    text-align: center;
}

.pricing-header h1,
.pricing-header h2,
.faq-header h1,
.faq-header h2,
.contact-header h1,
.contact-header h2,
.roadmap-header h1,
.roadmap-header h2,
.projects-header h1,
.projects-header h2 {
    margin-bottom: 1rem;
    color: var(--text-strong);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.projects-title {
    margin: 0;
    color: var(--text-strong);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
}

.pricing-header p,
.faq-header p,
.contact-header p,
.roadmap-header p,
.projects-header p {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.76;
}

.page-header-inline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-header-inline h1,
.page-header-inline h2 {
    color: var(--text-strong);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.page-panel,
.auth-card,
.profile-card,
.subscription-card,
.team-section,
.resources-section,
.payment-history,
.resources-purchase-section,
.no-subscription,
.success-details,
.terminal-error {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, var(--surface-1), rgba(8, 15, 31, 0.84));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 42px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(14px);
}

.page-panel::before,
.auth-card::before,
.profile-card::before,
.subscription-card::before,
.team-section::before,
.resources-section::before,
.payment-history::before,
.resources-purchase-section::before,
.no-subscription::before,
.success-details::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(149, 240, 255, 0), rgba(149, 240, 255, 0.42), rgba(149, 240, 255, 0));
    opacity: 0.6;
}

.page-chip,
.status-badge,
.item-type,
.project-language,
.category-btn,
.view-btn,
.billing-cycle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.42);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.35rem;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.btn + .btn {
    margin-left: 0;
}

.btn.loading {
    cursor: wait;
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(30%);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.22) 50%, transparent 85%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
}

.btn:not(:disabled):not(.disabled):not(.loading):hover::before {
    transform: translateX(130%);
}

.btn-primary {
    color: #04111d;
    background: linear-gradient(135deg, #7dd3fc 0%, #5eead4 100%);
    box-shadow: 0 14px 32px rgba(66, 215, 255, 0.22);
}

.btn-primary:not(:disabled):not(.disabled):not(.loading):hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(66, 215, 255, 0.28);
}

.btn-secondary {
    color: var(--text-strong);
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

.btn-secondary:not(:disabled):not(.disabled):not(.loading):hover {
    transform: translateY(-2px);
    border-color: rgba(149, 240, 255, 0.22);
}

.btn-danger {
    color: white;
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
    border-color: rgba(251, 113, 133, 0.24);
    box-shadow: 0 14px 32px rgba(225, 29, 72, 0.2);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.68);
    backdrop-filter: blur(18px) saturate(145%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.2);
}

.nav-link {
    color: rgba(247, 251, 255, 0.78) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.24s ease;
    position: relative;
    margin: 0 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, rgba(149, 240, 255, 0), rgba(149, 240, 255, 1), rgba(149, 240, 255, 0));
    transition: transform 0.24s ease;
}

.nav-link:hover {
    color: var(--text-strong) !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 2rem;
    background:
        radial-gradient(circle at top center, rgba(61, 212, 179, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(8, 15, 31, 0.88) 0%, rgba(2, 6, 23, 0.96) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, rgba(149, 240, 255, 0), rgba(149, 240, 255, 0.84), rgba(61, 212, 179, 0.84), rgba(149, 240, 255, 0));
}

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

.footer-section h3 {
    color: var(--text-strong);
    margin-bottom: 1rem;
    font-size: 1.08rem;
}

.footer-section p,
.footer-bottom {
    color: var(--text-soft);
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--text-soft);
    text-decoration: none;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.24s ease, color 0.24s ease;
}

.footer-link i {
    color: var(--accent-2);
}

.footer-link:hover {
    color: var(--text-strong);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
    font-size: 0.875rem;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: min(100%, 460px);
    padding: 2rem;
}

.auth-card h2 {
    color: var(--text-strong);
    font-size: 1.85rem;
    line-height: 1.08;
    margin-bottom: 0.65rem;
    text-align: center;
    letter-spacing: -0.03em;
}

.auth-card > p {
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 2rem;
}

.input-group,
.form-group {
    position: relative;
}

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

.form-group label {
    display: block;
    color: rgba(247, 251, 255, 0.84);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.42);
    font-size: 1.1rem;
}

.input-group input,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.82rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    color: var(--text-strong);
    font-size: 0.95rem;
    transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.input-group input {
    padding-left: 3rem !important;
}

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

.input-group input:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(149, 240, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(66, 215, 255, 0.08);
}

.input-group input.invalid,
.form-group input.invalid,
.form-group textarea.invalid {
    border-color: var(--danger);
}

.validation-message {
    margin-left: 4px;
    margin-top: 4px;
    color: var(--danger);
}

.w-full {
    width: 100%;
}

.auth-redirect {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-soft);
    font-size: 0.875rem;
}

.auth-form > .btn,
.auth-form > button,
.form-group + .btn,
.form-group + button {
    margin-top: 0.5rem;
}

.auth-redirect a {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 700;
}

.comparison-section {
    position: relative;
    padding: 4rem 0;
}

.comparison-table-container {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    margin-top: 3rem;
    padding: 0 0 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at top center, rgba(66, 215, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(16, 24, 41, 0.9), rgba(8, 15, 31, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 54px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(14px);
}

.comparison-table-container::before {
    content: '';
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(149, 240, 255, 0), rgba(149, 240, 255, 0.72), rgba(149, 240, 255, 0));
    opacity: 0.9;
    pointer-events: none;
}

.comparison-table-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
    pointer-events: none;
}

.comparison-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text-strong);
}

.comparison-table th,
.comparison-table td {
    padding: 1.15rem 1.3rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    text-align: left;
    vertical-align: middle;
}

.comparison-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    font-weight: 800;
    font-size: 0.96rem;
    letter-spacing: 0.01em;
    color: #eafcff;
    background:
        linear-gradient(180deg, rgba(18, 33, 53, 0.98), rgba(11, 21, 39, 0.96));
    border-bottom-color: rgba(149, 240, 255, 0.16);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    min-width: 260px;
    color: var(--text-strong);
    font-weight: 700;
}

.comparison-table td {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0);
}

.comparison-table td:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(66, 215, 255, 0.1), rgba(66, 215, 255, 0.04));
    box-shadow:
        inset 1px 0 0 rgba(149, 240, 255, 0.12),
        inset -1px 0 0 rgba(149, 240, 255, 0.12);
}

.comparison-table th:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(28, 63, 89, 0.98), rgba(12, 29, 49, 0.98));
    box-shadow:
        inset 1px 0 0 rgba(149, 240, 255, 0.16),
        inset -1px 0 0 rgba(149, 240, 255, 0.16);
}

.comparison-table tr:last-child td {
    border-bottom: 0;
}

.comparison-table tbody tr {
    transition: background 0.22s ease;
}

.comparison-table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover td:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(66, 215, 255, 0.14), rgba(66, 215, 255, 0.07));
}

.comparison-advantage {
    color: #86efac;
    font-weight: 700;
}

.comparison-disadvantage {
    color: #fda4af;
    font-weight: 700;
}

.comparison-footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-strong);
    font-size: 1.18rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.plan-features li {
    color: var(--text-soft);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.72rem;
    font-size: 0.94rem;
}

.plan-features i {
    color: var(--accent-2);
    font-size: 1.18rem;
    flex-shrink: 0;
}

.header-menu-popover {
    min-width: 15rem;
    border: 1px solid var(--surface-border);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(9, 16, 30, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 20px 44px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.header-menu-popover.mud-paper {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(9, 16, 30, 0.98));
}

.header-menu-popover .mud-list {
    padding: 0.5rem;
    background: transparent;
}

.header-menu-popover .mud-menu-list {
    display: grid;
    gap: 0.12rem;
}

.header-menu-popover .mud-menu-item {
    min-height: 3rem;
    margin: 0.15rem 0;
    padding: 0.72rem 0.9rem;
    border-radius: 0.9rem;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.header-menu-popover .mud-menu-item .mud-menu-item-text {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: inherit;
}

.header-menu-popover .mud-menu-item:focus-visible,
.header-menu-popover .mud-menu-item:hover {
    outline: none;
    color: var(--text-strong);
    background: rgba(66, 215, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(148, 240, 255, 0.12);
    transform: translateX(2px);
}

.header-menu-popover .mud-menu-item:focus-visible .mud-menu-item-text,
.header-menu-popover .mud-menu-item:hover .mud-menu-item-text {
    color: inherit;
}

.header-menu-popover .mud-menu-item.mud-disabled {
    opacity: 0.72;
    background: rgba(66, 215, 255, 0.08);
    color: #d8f7ff;
    box-shadow: inset 0 0 0 1px rgba(148, 240, 255, 0.08);
    transform: none;
}

.header-menu-popover .mud-menu-item.mud-disabled .mud-menu-item-text {
    color: inherit;
}

.header-menu-popover .mud-list-item-icon,
.header-menu-item-icon {
    color: var(--accent-2) !important;
    flex-shrink: 0;
    margin: 0;
    font-size: 1.2rem;
}

.header-menu-profile-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-left: 0.7rem;
    line-height: 1.2;
}

.header-menu-profile-copy strong {
    color: var(--text-strong);
    font-size: 0.92rem;
    font-weight: 700;
}

.header-menu-profile-copy small {
    color: var(--text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.header-menu-popover .mud-avatar {
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@media (max-width: 959.98px) {
    .header-menu-popover-mobile {
        min-width: 12rem;
        border-radius: 1rem;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.03),
            0 12px 26px rgba(2, 6, 23, 0.22);
    }

    .header-menu-popover-mobile .mud-list {
        padding: 0.35rem;
    }

    .header-menu-popover-mobile .mud-menu-item {
        min-height: 2.65rem;
        margin: 0.08rem 0;
        padding: 0.58rem 0.72rem;
        border-radius: 0.78rem;
        font-size: 0.88rem;
    }

    .header-menu-popover-mobile .mud-menu-item:focus-visible,
    .header-menu-popover-mobile .mud-menu-item:hover {
        transform: translateX(1px);
        background: rgba(66, 215, 255, 0.1);
    }

    .header-mobile-drawer.mud-drawer {
        border-left: 1px solid rgba(149, 240, 255, 0.12) !important;
        background:
            radial-gradient(circle at top right, rgba(66, 215, 255, 0.14), transparent 26%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(8, 15, 31, 0.99)) !important;
        box-shadow:
            inset 1px 0 0 rgba(255, 255, 255, 0.03),
            -18px 0 40px rgba(2, 6, 23, 0.28) !important;
        backdrop-filter: blur(18px);
    }

    .header-mobile-drawer.mud-drawer .mud-drawer-content {
        padding: 1rem 0.8rem 1.15rem !important;
        background:
            radial-gradient(circle at top right, rgba(66, 215, 255, 0.08), transparent 24%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(8, 15, 31, 0.99)) !important;
    }

    .header-mobile-drawer.mud-drawer .mud-navmenu {
        display: grid;
        gap: 0.2rem;
        background: transparent !important;
    }

    .header-mobile-drawer.mud-drawer .mud-nav-item {
        background: transparent !important;
    }

    .header-mobile-drawer.mud-drawer .mud-nav-link {
        min-height: 3rem;
        margin: 0.08rem 0;
        padding: 0.8rem 0.95rem !important;
        border-radius: 0.95rem;
        color: var(--text-soft) !important;
        background: transparent !important;
        font-weight: 700;
        box-shadow: none !important;
        transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
    }

    .header-mobile-drawer.mud-drawer .mud-nav-link .mud-nav-link-text,
    .header-mobile-drawer.mud-drawer .mud-nav-link .mud-icon-root,
    .header-mobile-drawer.mud-drawer .mud-nav-link .mud-nav-link-icon {
        color: inherit !important;
    }

    .header-mobile-drawer.mud-drawer .mud-nav-link:hover,
    .header-mobile-drawer.mud-drawer .mud-nav-link:focus-visible,
    .header-mobile-drawer.mud-drawer .mud-nav-link.active {
        color: var(--text-strong) !important;
        background: rgba(66, 215, 255, 0.12) !important;
        box-shadow: inset 0 0 0 1px rgba(149, 240, 255, 0.12) !important;
        transform: translateX(-1px);
    }

    .header-mobile-drawer.mud-drawer .mud-nav-link .mud-icon-root,
    .header-mobile-drawer.mud-drawer .mud-nav-link .mud-nav-link-icon {
        color: var(--accent-2) !important;
    }
}

.mud-alert-outlined-error {
    color: var(--danger) !important;
}

h1:focus {
    outline: none;
}

.text-red,
.text-red i {
    color: var(--danger) !important;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .page-shell,
    .auth-container,
    .pricing-container,
    .faq-container,
    .contact-container,
    .roadmap-container,
    .project-container,
    .subscription-container,
    .profile-container,
    .error-container,
    .success-container {
        padding: 7rem 1.5rem 3rem;
    }
}

@media (max-width: 768px) {
    .page-header,
    .section-header {
        margin-bottom: 2.3rem;
    }

    .page-header h1,
    .page-header h2,
    .section-header h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-header p,
    .section-header p {
        font-size: 1rem;
    }

    .pricing-header,
    .faq-header,
    .contact-header,
    .roadmap-header,
    .projects-header {
        margin-bottom: 2.3rem;
    }

    .pricing-header h1,
    .pricing-header h2,
    .faq-header h1,
    .faq-header h2,
    .contact-header h1,
    .contact-header h2,
    .roadmap-header h1,
    .roadmap-header h2,
    .projects-header h1,
    .projects-header h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .projects-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .pricing-header p,
    .faq-header p,
    .contact-header p,
    .roadmap-header p,
    .projects-header p {
        font-size: 1rem;
    }

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

    .comparison-table th,
    .comparison-table td {
        padding: 0.95rem 1rem;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-link {
        justify-content: center;
    }
}

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

    .btn {
        min-height: 3rem;
        padding: 0.82rem 1.15rem;
        font-size: 0.9rem;
    }

    .auth-card {
        padding: 1.4rem;
    }
}