/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff6b35;
    --orange-dark: #ff5722;
    --blue: #1f77f2;
    --blue-dark: #0051d5;
    --dark: #0a0e27;
    --dark-light: #1a1f3a;
    --white: #ffffff;
    --text: #0a0e27;
    --text-light: #6b7280;
    --accent-cyan: #00d9ff;
    --accent-purple: #a855f7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica',
                 'Arial', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--orange) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cta-link {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%) !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

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

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero h1 strong {
    background: linear-gradient(135deg, var(--orange) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

/* About/Challenge Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about h2 {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -1px;
}

.about > .container > p {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

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

.feature {
    padding: 36px 28px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 800;
}

.feature p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.how-it-works h2 {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark);
    letter-spacing: -1px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.step {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.step-number {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
    color: white;
    border-radius: 14px;
    line-height: 56px;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.step h4 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--dark);
    font-weight: 800;
}

.step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* For Institutions Section */
.for-institutions {
    padding: 100px 0;
    background: var(--white);
}

.for-institutions h2 {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -1px;
}

.for-institutions > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.institution-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.institution {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.institution:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.15);
}

.institution h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.institution p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    text-align: center;
}

.contact h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: -1px;
}

.contact > .container > p {
    color: #b0b0b0;
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

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

.form-note {
    margin-top: 16px;
    font-size: 14px;
    color: #10b981;
    min-height: 20px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #b0b0b0;
    padding: 48px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 12px 0;
    line-height: 1.8;
}

.footer a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ff8c42;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
        letter-spacing: -0.5px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .about h2,
    .contact h2,
    .how-it-works h2,
    .for-institutions h2 {
        font-size: 32px;
    }

    .nav-links {
        gap: 20px;
    }

    .contact-form {
        padding: 32px;
    }

    .features {
        gap: 20px;
    }

    .steps {
        gap: 20px;
    }

    .institution-types {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .about,
    .contact,
    .how-it-works,
    .for-institutions {
        padding: 60px 0;
    }

    .navbar .container {
        padding: 14px 20px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .cta-link {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    .hero h1,
    .about h2,
    .contact h2,
    .how-it-works h2,
    .for-institutions h2 {
        font-size: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .feature,
    .step,
    .institution {
        padding: 24px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 20px;
    }
}
