@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1D4ED8;
    --secondary: #3B82F6;
    --accent: #01B574;
    --bg-app: #F4F7FE;
    --text-main: #2B3674;
    --text-muted: #A3AED0;
    
    --shadow-soft: 0 18px 40px rgba(112, 144, 176, 0.12);
    --shadow-hover: 0 20px 40px rgba(29, 78, 216, 0.2);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-app);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, var(--bg-app) 0%, #E2E8F0 100%);
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

/* Add a glowing orb in the background */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, rgba(29, 78, 216, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-get-started {
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    box-shadow: var(--shadow-hover);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-get-started:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 40px rgba(29, 78, 216, 0.3);
    color: white;
}

/* --- Features Section --- */
.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(112, 144, 176, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

/* --- Stats Section --- */
.stats-section {
    background: white;
    padding: 6rem 0;
    position: relative;
}

.stat-box {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-app);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CTA Section --- */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
}

/* --- Floating Shapes Animation --- */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    color: var(--primary);
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.shape1 { top: 15%; left: 8%; font-size: 6rem; animation-delay: 0s; }
.shape2 { top: 65%; right: 12%; font-size: 8rem; animation-delay: 5s; }
.shape3 { bottom: 25%; left: 15%; font-size: 5rem; animation-delay: 10s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
}

/* Footer */
footer {
    background: #0B1437 !important;
    padding: 3rem 0;
}

/* Override Bootstrap Defaults */
.bg-light { background-color: var(--bg-app) !important; }
.text-dark { color: var(--text-main) !important; }
.text-muted { color: var(--text-muted) !important; }
