@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #FF6600;
    --secondary: #0044cc;
    --dark: #020617;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Animated Background --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #001133, #002266, #331100, #001133);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -2;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-top: 40px;
    animation: slideUp 0.8s ease-out;
}

.logo-wrapper img {
    height: 60px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(0, 85, 255, 0.4);
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(to right, #ff6600, #ffaa00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 102, 0, 0.6);
    background: #ff7722;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin-top: 80px;
    padding: 0 20px;
}

.feature-item {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* --- Form Section --- */
.form-section {
    width: 100%;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 500px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
}

.form-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.limit-badge {
    background: rgba(255, 102, 0, 0.15);
    color: #ffaa66;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 102, 0, 0.3);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.submit-btn {
    width: 100%;
    background: var(--secondary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #0033aa;
    transform: scale(1.02);
}

footer {
    text-align: center;
    padding: 40px;
    color: #64748b;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #94a3b8;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 40px;
        /* More top padding for mobile */
        min-height: auto;
    }

    .main-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .sub-title {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .logo-wrapper img {
        height: 50px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
        margin-top: 40px;
    }

    .feature-item {
        padding: 25px;
    }

    .form-container {
        padding: 25px;
        margin: 0 15px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    /* Disable heavy animations on mobile for performance */
    .animated-bg {
        animation: none;
        background: radial-gradient(circle at center, #001133, #020617);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .main-title {
        font-size: 2.5rem;
    }

    .features-grid {
        padding: 0;
    }

    .form-container {
        padding: 25px;
    }
}