@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    /* Color Palette - Hopeful Light Theme */
    --bg-main: #F8FAFC;
    /* Serene Off-white */
    --bg-card: #FFFFFF;
    --brand-orange: #FF6B00;
    /* Energetic/Hopeful */
    --brand-blue: #0F172A;
    /* Bold/Trust (Deep Indigo) */
    --text-primary: #1E293B;
    /* Bold charcoal */
    --text-muted: #64748B;
    --border-soft: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);

    /* Spacing & Misc */
    --section-padding: 140px 5%;
    --container-width: 1000px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-serene: 0 10px 40px -10px rgba(0, 0, 0, 0.05);

    /* Animation Color Palette */
    --color-teal: #14B8A6;
    --color-cyan: #06B6D4;
    --color-orange: #F97316;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* --- Layout Utils --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.grid {
    display: grid;
    gap: 48px;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.benefits-section {
    background: #FFFFFF;
    border-top: 1px solid var(--border-soft);
}

.benefits-section h2 {
    margin-bottom: 70px;
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefit-item {
    align-items: flex-start;
}

.benefit-item i {
    color: var(--brand-orange);
    margin-top: 8px;
    font-size: 1.5rem;
}

.benefit-item h4 {
    font-size: 1.4rem;
}

.section-bg-image .benefit-item h4 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.section-bg-image .benefit-item p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--brand-orange);
    color: white;
    box-shadow: 0 20px 40px -10px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: #FF7D21;
}

.magnetic {
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: inner-glow-pulse 2s infinite;
}

@keyframes inner-glow-pulse {
    0% {
        box-shadow: 0 0 15px rgba(249, 115, 22, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(249, 115, 22, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 15px rgba(249, 115, 22, 0.3), inset 0 0 5px rgba(255, 255, 255, 0.1);
    }
}

.btn-outline {
    background: white;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-4px);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-soft);
}

.nav-container {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--brand-orange);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: clamp(3.5rem, 9vw, 6rem);
    line-height: 0.95;
    margin-bottom: 32px;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 48px;
    font-weight: 400;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* --- Cards & Components --- */
.card {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-serene);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
    border-color: var(--color-orange);
    background: linear-gradient(135deg, white 0%, #FFF5ED 100%);
}

.card i {
    font-size: 3rem;
    margin-bottom: 32px;
    color: var(--brand-orange);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.card-img {
    padding: 0;
    overflow: hidden;
}

.card-img .card-banner {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.card-img .card-body {
    padding: 40px;
}

.section-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
}

.section-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    z-index: 1;
}

.section-bg-image .container {
    position: relative;
    z-index: 2;
}

.section-bg-image h2 {
    color: white;
}

.section-bg-image p {
    color: rgba(255, 255, 255, 0.9);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

/* --- Form --- */
.form-container {
    background: #FFFFFF;
    padding: 70px;
    border-radius: 40px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.1);
}

input,
select,
textarea {
    width: 100%;
    padding: 20px;
    background: #F1F5F9;
    border: 2px solid transparent;
    border-radius: 16px;
    color: var(--text-primary);
    margin-bottom: 28px;
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: white;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.05);
}

/* Footer Section */
footer {
    padding: 100px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
}

/* Roadmap Details */
.roadmap-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.roadmap-card {
    padding: 40px;
    text-align: center;
    border: 2px solid transparent;
}

.roadmap-card:hover {
    border-color: var(--color-orange);
    background: white;
}

.roadmap-card h3 {
    font-size: 4rem;
    color: var(--color-orange);
    opacity: 0.2;
    margin-bottom: -15px;
    line-height: 1;
    transition: var(--transition-smooth);
}

.roadmap-card:hover h3 {
    opacity: 1;
    transform: scale(1.1);
}

.roadmap-card h4 {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.roadmap-card p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    :root {
        --section-padding: 100px 5%;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .form-container {
        padding: 40px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}