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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --accent-primary: #FF3333;
    --accent-secondary: #FF5555;
    --text-primary: #ffffff;
    --text-secondary: #bbbbbb;
    --text-tertiary: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color: rgba(255, 51, 51, 0.3);
    --avatar-border: #FF3333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 51, 51, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 51, 51, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}


.logo-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    z-index: 1;
    overflow: visible;
    max-height: 100vh;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--glow-color), 0 0 0 0 rgba(255, 51, 51, 0.4);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-color);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
    position: relative;
    z-index: 1;
    height: 100%;
    max-height: 600px;
}

.floating-card {
    position: relative;
    width: 100%;
    max-width: 550px;
    will-change: transform;
    height: fit-content;
    max-height: 100%;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    will-change: opacity, transform;
}

.card-content {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 51, 51, 0.05);
    will-change: transform;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.card-content::-webkit-scrollbar {
    width: 6px;
}

.card-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.card-content::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

.card-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: auto;
}

.card-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.card-dots span:nth-child(1) {
    background: #ff5f56;
}

.card-dots span:nth-child(2) {
    background: #ffbd2e;
}

.card-dots span:nth-child(3) {
    background: #27c93f;
}

.card-body {
    font-family: 'Inter', sans-serif;
}

.command-prompt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--accent-primary);
}

.prompt-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.typing-cursor {
    color: var(--accent-primary);
    animation: blink 1s infinite;
    font-weight: bold;
}

.command-result {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.command-result::-webkit-scrollbar {
    width: 6px;
}

.command-result::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.command-result::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

.command-result::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.command-result.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.result-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.title-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.title-separator {
    color: var(--text-tertiary);
    font-weight: 300;
}

.title-user {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.result-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.avatar-border {
    position: absolute;
    top: -3px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border: 3px solid #FF3333;
    border-radius: 0.5rem;
    animation: avatar-glow 3s ease-in-out infinite;
}

.avatar-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF3333 0%, #CC0000 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
    z-index: 1;
    display: block;
    background: linear-gradient(135deg, #FF3333 0%, #CC0000 100%);
}

.avatar-image[src=""],
.avatar-image:not([src]) {
    display: none;
}

.result-section {
    margin-bottom: 1.25rem;
    width: 100%;
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-section.past-names {
    min-height: 0;
    overflow: visible;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.count-badge {
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.section-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.section-value-small {
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-weight: 400;
}

.past-names-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
}

.past-name-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border-radius: 0.5rem;
    border-left: 2px solid var(--accent-primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.25s ease;
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

.past-name-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.past-name-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.past-name-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
    word-break: break-word;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* Main and Section Base */
main {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}

section {
    position: relative;
    width: 100%;
    clear: both;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 0;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.section-number {
    font-size: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.6;
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

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

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 30px rgba(255, 51, 51, 0.15);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(255, 51, 51, 0.02) 100%);
}



.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Commands Section */
.commands {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
}

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

.command-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.command-category:hover {
    border-color: rgba(255, 51, 51, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 0;
}

.command-item {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 3px solid var(--accent-primary);
    transition: all 0.25s ease;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.command-item:hover {
    transform: translateX(6px);
    background: var(--bg-primary);
    border-left-width: 4px;
    box-shadow: -4px 0 12px rgba(255, 51, 51, 0.1);
}

.command-name {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 0;
    width: fit-content;
}

.command-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Invite Section */
.invite {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.invite-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.invite-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
}

.invite-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.03);
    }
}

@keyframes typewriter {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

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


@keyframes avatar-glow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 51, 51, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 51, 51, 0.4);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

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

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

    .invite-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

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

    .modal-content {
        max-width: 100%;
        border-radius: 1rem;
        margin: 1rem;
    }

    .modal-title {
        font-size: 2rem;
        padding: 32px 24px 12px;
    }

    .modal-subtitle {
        padding: 0 24px;
        margin-bottom: 32px;
    }

    .plans {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .plan-card.recommended {
        transform: scale(1);
    }

    .plan-card.recommended:hover:not(.disabled) {
        transform: translateY(-8px) scale(1.02);
    }

    .plan-price {
        font-size: 2.5rem;
    }
}

/* Smooth Scroll - already defined above */

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Premium Button */
.btn-premium {
    background: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--glow-color);
    border: none;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-color);
    background: var(--accent-secondary);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-tertiary);
    padding: 0;
    max-width: 950px;
    width: 100%;
    text-align: center;
    position: relative;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 51, 51, 0.2);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 51, 51, 0.1);
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    line-height: 1;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 51, 51, 0.15);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    padding: 40px 40px 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    padding: 0 40px;
    font-weight: 400;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 40px 40px;
    position: relative;
    z-index: 2;
}

.plan-card {
    background: var(--bg-secondary);
    padding: 28px 24px;
    border-radius: 1rem;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.plan-card:hover:not(.disabled) {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 30px rgba(255, 51, 51, 0.25);
    background: var(--bg-tertiary);
}

.plan-card.recommended {
    border: 2px solid var(--accent-primary);
    background: rgba(255, 51, 51, 0.08);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.2);
    position: relative;
}

.plan-card.recommended:hover:not(.disabled) {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(255, 51, 51, 0.35);
    border-color: var(--accent-secondary);
}

.recommended-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 51, 51, 0.4);
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
}

.plan-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.plan-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 16px 0;
    color: var(--accent-primary);
    line-height: 1;
    letter-spacing: -1.5px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.plan-price::before {
    content: '$';
    font-size: 1.4rem;
    margin-top: 8px;
    opacity: 0.9;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.plan-card.recommended .plan-desc {
    color: var(--text-secondary);
}

.plan-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 1;
}

.plan-features li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.plan-features li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

