* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --primary-dark: #4338ca;
    --secondary-color: #38bdf8;
    --accent-color: #ec4899;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --bg-dark: #050816;
    --bg: #0a1120;
    --surface: rgba(15, 23, 42, 0.85);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --border-color: rgba(56, 189, 248, 0.18);
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    --glow: 0 0 35px rgba(56, 189, 248, 0.25);
    --glow-strong: 0 0 30px rgba(236, 72, 153, 0.3);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background: radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.12), transparent 20%),
                radial-gradient(circle at 85% 10%, rgba(236, 72, 153, 0.10), transparent 18%),
                linear-gradient(180deg, var(--bg-dark) 0%, var(--bg) 100%);
    line-height: 1.65;
    letter-spacing: 0.25px;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(5, 8, 22, 0.85);
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
}

.nav-brand h1 {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: transparent;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
    animation: neonPulse 2.8s ease-in-out infinite alternate;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.4rem;
}

.nav-menu a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px),
                      repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
    opacity: 0.18;
    z-index: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.35), transparent 18%),
                radial-gradient(circle at 70% 25%, rgba(236, 72, 153, 0.25), transparent 15%),
                linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(124, 58, 237, 0.15), rgba(7, 10, 32, 0.95));
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 65%);
    border-radius: 50%;
    top: -90px;
    right: -80px;
    animation: float 9s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.16) 0%, rgba(236, 72, 153, 0) 70%);
    border-radius: 50%;
    bottom: -110px;
    left: -120px;
    animation: float 11s ease-in-out infinite reverse;
}

.hero-content {
    z-index: 1;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    text-shadow: 0 0 35px rgba(56, 189, 248, 0.45), 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: neonFlicker 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.3rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

/* Page Header */
.page-header {
    background: rgba(8, 13, 35, 0.92);
    color: var(--white);
    padding: 5rem 20px;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.14);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.page-header::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    top: -110px;
    right: -95px;
    animation: float 9s ease-in-out infinite;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 28px rgba(56, 189, 248, 0.35);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--text-light);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1rem 2.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    transition: left 0.3s ease;
    z-index: 0;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
}

.cta-button:active {
    transform: translateY(-1px);
}

.language-switcher {
    margin-top: 1.5rem;
    display: inline-flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.language-button {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.language-button.active-language {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-1px);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: transparent;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.12);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 40px rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.22);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* CTA Section */
.cta-section {
    background: rgba(8, 14, 42, 0.95);
    color: var(--white);
    padding: 5rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--text-light);
}

/* Application Types */
.application-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.app-type-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(56, 189, 248, 0.12);
    position: relative;
    overflow: hidden;
}

.app-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-type-card:hover::before {
    transform: scaleX(1);
}

.app-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 30px rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.22);
}

.app-type-icon {
    font-size: 4rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-type-card:hover .app-type-icon {
    transform: scale(1.15);
}

.app-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.app-type-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Application Form */
.application-form-section {
    background: rgba(15, 23, 42, 0.88);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.4);
    margin: 2rem 0;
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.back-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid rgba(56, 189, 248, 0.7);
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.25s ease;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.back-button:hover {
    background-color: rgba(56, 189, 248, 0.12);
    color: var(--white);
    transform: translateX(-3px);
}

#formTitle {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.95rem;
    font-weight: 900;
}

.form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.14);
}

.form-group.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color);
}

.conditional-fields {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.8rem;
    border-radius: 14px;
    margin: 1.5rem 0;
    border: 1px solid rgba(56, 189, 248, 0.14);
}

.submit-button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Success Message */
.success-message {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    color: var(--text-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.success-message p {
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light);
}

.success-message .back-button {
    margin-top: 1.8rem;
    border-color: rgba(56, 189, 248, 0.84);
    color: var(--secondary-color);
}

.success-message .back-button:hover {
    background-color: rgba(56, 189, 248, 0.14);
    color: var(--white);
}

/* About Content */
.about-content {
    background: rgba(15, 23, 42, 0.88);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    margin: 2rem 0;
    border: 1px solid rgba(56, 189, 248, 0.16);
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.about-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.offer-list {
    list-style: none;
    padding-left: 0;
}

.offer-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.offer-list li:last-child {
    border-bottom: none;
}

.offer-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #020514 0%, #080b1c 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 20px;
    margin-top: 5rem;
    border-top: 1px solid rgba(56, 189, 248, 0.16);
}

.footer p {
    font-size: 0.95rem;
    font-weight: 500;
}

.discord-link {
    margin-top: 0.8rem;
    font-style: italic;
    opacity: 0.9;
    font-weight: 400;
    color: var(--secondary-color);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 18px rgba(56, 189, 248, 0.35), 0 0 40px rgba(56, 189, 248, 0.25);
    }
    to {
        text-shadow: 0 0 28px rgba(236, 72, 153, 0.5), 0 0 55px rgba(236, 72, 153, 0.35);
    }
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 35px rgba(56, 189, 248, 0.45), 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    20%, 24%, 55% {
        text-shadow: 0 0 14px rgba(56, 189, 248, 0.25), 0 4px 18px rgba(0, 0, 0, 0.24);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-menu {
        gap: 1.2rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 620px;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-header {
        padding: 3.5rem 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .features-grid,
    .application-types {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .app-type-card,
    .feature-card,
    .application-form-section,
    .about-content {
        padding: 2rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .application-form-section,
    .about-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.7rem;
        width: 100%;
        align-items: center;
    }

    .nav-menu a {
        padding: 0.7rem 0;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .features h2 {
        font-size: 1.6rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .feature-icon,
    .app-type-icon {
        font-size: 2.5rem;
    }

    .application-form-section,
    .about-content {
        padding: 1.5rem;
    }

    .cta-button,
    .submit-button {
        width: 100%;
    }

    #formTitle {
        font-size: 1.4rem;
    }
}
