:root {
    /* High-Converting Light Theme Colors */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    
    /* Trust-building Colors (Blues/Greens) perform best for education/ads */
    --accent-primary: #2563eb;
    --accent-secondary: #0284c7;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    
    --success: #16a34a;
    --warning: #ea580c;
    --danger: #dc2626;
    
    /* Structural variables */
    --border-light: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Tools */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* standard property */
    display: inline-block;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ad Placeholders */
.ad-slot {
    background-color: #f1f5f9;
    border: 1px dashed #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    margin: 2rem auto;
}

.ad-leaderboard {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.ad-rectangle {
    width: 100%;
    max-width: 300px;
    height: 250px;
}

/* UI Components */
.clean-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px; /* Square edges look more professional/trustworthy */
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.logo .dot {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Mockup Card (Hero Image) */
.mockup-card {
    padding: 2rem;
    background: white;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-body h3 {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.mockup-body h2 {
    font-size: 3rem;
    margin: 0.5rem 0;
    color: var(--text-main);
}

/* Base Sections */
.section {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--bg-card);
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Predictor Grid */
.predictor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.predictor-info .feature-list {
    list-style: none;
    margin-top: 2rem;
}

.predictor-info .feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Predictor Card Forms */
.predictor-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.predictor-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.predictor-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: white;
}

/* Lead Gen Form (Hidden Initially) */
#lead-gen-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    animation: fadeIn 0.4s ease-out;
}

.lead-gen-alert {
    background: #e0f2fe;
    border-left: 4px solid var(--accent-secondary);
    padding: 1rem;
    border-radius: 4px 8px 8px 4px;
    margin-bottom: 1.5rem;
}

.lead-gen-alert p {
    font-size: 0.9rem;
    color: #0c4a6e;
    font-weight: 500;
}

/* Result Area */
.result-container {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.result-container.hidden {
    display: none;
}

.result-header span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    font-weight: 700;
}

.result-value {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin: 0.5rem 0;
    line-height: 1;
    color: var(--text-main);
}

.result-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.college-suggestion {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chance-indicator {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.chance-bar {
    height: 100%;
    width: 0%;
    transition: width 1s ease-out;
}
.chance-bar.high { width: 90%; background: var(--success); }
.chance-bar.medium { width: 50%; background: var(--warning); }
.chance-bar.low { width: 20%; background: var(--danger); }

/* Feature Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 80%;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-container, .predictor-wrapper, .grid-3, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        margin: 0 auto 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .predictor-info {
        text-align: center;
    }
    .predictor-info .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        border-right: 1px solid var(--border-light);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.5rem;
        display: block;
        padding: 1.5rem;
    }
}
