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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #22c55e;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-download {
    background: var(--gradient);
    color: var(--white);
    width: 100%;
    margin-top: auto;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-buttons .btn {
    min-width: 200px;
}

.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(99, 102, 241, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--secondary);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Servers Section */
.servers {
    padding: 100px 0;
    background: var(--secondary);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.server-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.server-flag {
    font-size: 3rem;
    margin-bottom: 12px;
}

.server-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.server-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.stat-name {
    color: var(--text-light);
}

.stat-val {
    font-weight: 600;
}

.server-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.server-status.online {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.server-status.maintenance {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
}

.server-card.offline {
    opacity: 0.6;
}

.server-card.offline:hover {
    transform: none;
    box-shadow: none;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--white);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.download-card {
    background: var(--secondary);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.download-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.download-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Linux card hover effect */
.linux-icon-wrapper {
    position: relative;
    height: 48px;
    cursor: pointer;
    display: inline-block;
}

.linux-icon-wrapper .linux-icon {
    transition: opacity 0.3s;
}

.linux-icon-wrapper .spongebob-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.linux-icon-wrapper:hover .linux-icon {
    opacity: 0;
}

.linux-icon-wrapper:hover .spongebob-icon {
    opacity: 1;
}

/* Instructions Section */
.instructions {
    padding: 100px 0;
    background: var(--secondary);
}

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

.instruction-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.instruction-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.instruction-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.instruction-steps {
    list-style: none;
    counter-reset: step;
}

.instruction-steps li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.instruction-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instruction-steps li strong {
    color: var(--text);
}

@media (max-width: 768px) {
    .instructions-grid {
        grid-template-columns: 1fr;
    }
}

/* Referral Program Section */
.referral-program {
    padding: 100px 0;
    background: var(--secondary);
}

.referral-content {
    max-width: 900px;
    margin: 0 auto;
}

.referral-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.referral-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.referral-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.referral-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.referral-icon svg {
    color: var(--white);
}

.referral-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.referral-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.referral-bonuses {
    list-style: none;
    padding: 0;
}

.referral-bonuses li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text);
}

.referral-bonuses li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

.referral-bonuses li strong {
    color: var(--primary);
}

.referral-how {
    text-align: center;
}

.referral-how h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.referral-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.referral-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.referral-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.faq-question svg {
    transition: transform 0.3s;
    color: var(--text-light);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Mobile Menu */
/* Mobile Profile Button */
.mobile-profile-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    min-width: 130px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.mobile-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mobile-profile-btn svg {
    flex-shrink: 0;
}


/* Responsive */
@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav .btn {
        display: none;
    }

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0 16px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-disclaimer {
        font-size: 0.85rem;
        margin: 0 16px 32px;
        padding: 10px 16px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 32px;
        justify-content: center;
    }

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

    .stat-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.75rem;
        padding: 0 16px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .features,
    .servers,
    .download,
    .instructions,
    .referral-program,
    .faq {
        padding: 60px 0;
    }

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

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        margin-bottom: 12px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .servers {
        overflow-x: hidden;
    }

    .servers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .server-card {
        padding: 12px;
        min-width: 0;
    }

    .server-flag {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .server-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .server-stat {
        font-size: 0.7rem;
    }

    .server-status {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow: visible;
    }

    .download-card {
        padding: 20px 12px;
        overflow: visible;
    }

    .download-icon svg {
        width: 32px;
        height: 32px;
    }

    .linux-icon-wrapper {
        height: 32px;
    }

    .linux-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .download-card h3 {
        font-size: 0.9rem;
    }

    .download-card p {
        font-size: 0.7rem;
        min-height: 2.4em;
    }

    .btn-download {
        padding: 10px 12px;
        font-size: 0.8rem;
        margin-top: 12px;
        width: 100%;
    }

    .btn-dropdown {
        width: 100%;
    }

    .btn-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .instruction-card {
        padding: 24px;
    }

    .instruction-icon svg {
        width: 36px;
        height: 36px;
    }

    .instruction-card h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .instruction-steps li {
        font-size: 0.9rem;
        padding-left: 32px;
        margin-bottom: 10px;
    }

    .instruction-steps li::before {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .referral-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .referral-card {
        padding: 24px;
    }

    .referral-icon {
        width: 48px;
        height: 48px;
    }

    .referral-icon svg {
        width: 24px;
        height: 24px;
    }

    .referral-card h3 {
        font-size: 1.1rem;
    }

    .referral-card p {
        font-size: 0.9rem;
    }

    .referral-bonuses li {
        font-size: 0.9rem;
    }

    .referral-how h3 {
        font-size: 1.25rem;
    }

    .referral-steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .referral-step {
        max-width: 280px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 16px;
    }

    .footer-links h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Modal Mobile */
    .modal-content {
        margin: 16px;
        padding: 24px;
        max-width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .modal-icon svg {
        width: 48px;
        height: 48px;
    }

    .modal-content h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .modal-text {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .modal-hint {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .form-group input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .key-container input {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .trial-key-box {
        padding: 16px;
    }

    .social-links {
        justify-content: flex-start;
    }
}

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

    .hero {
        padding: 100px 0 48px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .servers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .server-card {
        padding: 10px;
    }

    .server-flag {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .server-card h3 {
        font-size: 0.8rem;
        margin-bottom: 6px;
        word-break: break-word;
    }

    .server-stat {
        font-size: 0.65rem;
    }

    .server-status {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .features-grid {
        gap: 8px;
    }

    .feature-card {
        padding: 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-card h3 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 0.75rem;
    }

    .download-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .download-card {
        padding: 12px 8px;
    }

    .download-icon svg {
        width: 28px;
        height: 28px;
    }

    .linux-icon-wrapper {
        height: 28px;
    }

    .linux-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }

    .download-card h3 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .download-card p {
        font-size: 0.65rem;
        min-height: 2em;
    }

    .btn-download {
        padding: 8px 10px;
        font-size: 0.75rem;
        margin-top: 8px;
    }

    .server-stats {
        margin-bottom: 6px;
    }

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

    .features,
    .servers,
    .download,
    .instructions,
    .faq {
        padding: 48px 0;
    }

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

    .footer-brand {
        margin-bottom: 8px;
    }

    .footer-links {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Dropdown on mobile */
    .btn-dropdown-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        margin-top: 0;
        border-radius: 12px;
    }

    .btn-dropdown-menu a {
        padding: 16px;
        text-align: center;
        font-size: 1rem;
    }
}

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

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 8px;
}

.switch-form {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
}

.switch-form a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.switch-form a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
}

#userPanel p {
    margin-bottom: 8px;
    color: var(--text);
}

#userPanel strong {
    color: var(--text-light);
}

/* Modal Icon */
.modal-icon {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.modal-icon.trial-icon {
    color: var(--success);
}

/* Modal Text */
.modal-text {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.modal-text strong {
    color: var(--primary);
}

.modal-hint {
    font-size: 0.9rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: -8px;
}

/* Telegram Button */
.btn-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disabled Button */
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Trial Success */
.trial-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 20px;
}

/* Trial Key Box */
.trial-key-box {
    background: var(--secondary);
    border-radius: 12px;
    padding: 20px;
}

.trial-key-box label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.key-container {
    display: flex;
    gap: 8px;
}

.key-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: monospace;
    background: var(--white);
}

.btn-copy {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s;
}

.btn-copy:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.trial-expires {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.trial-expires span {
    color: var(--text);
    font-weight: 500;
}
