/* index.css - Core Design System for Acad Landing Page */

:root {
    --primary: #0284c7; /* Sky Blue */
    --primary-hover: #0369a1;
    --secondary: #10b981; /* Emerald Green */
    --secondary-hover: #059669;
    --dark: #1e293b; /* Slate 800 */
    --light: #f8fafc; /* Slate 50 */
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --border: #e2e8f0; /* Slate 200 */
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary); /* distinct color for main headings */
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.3em;
    margin-top: 1em;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-hover);
    margin-top: 1em;
}

h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(2, 132, 199, 0.1);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cbd5e1;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: var(--dark);
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #94a3b8;
}

.footer-col ul a:hover {
    color: var(--white);
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text div {
        justify-content: center;
    }
    .navbar {
        flex-wrap: wrap;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-home-icon {
        display: block !important;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: static;
        background: var(--white);
        padding: 15px 0 0 0;
        box-shadow: none;
        border-top: 1px solid var(--border);
        margin-top: 15px;
        gap: 10px;
    }
    .nav-links a {
        display: block;
        padding: 12px 20px;
        background-color: var(--light);
        border: 1px solid var(--border);
        border-radius: 8px;
        font-weight: 600;
        color: var(--text-main);
        transition: all 0.2s;
    }
    .nav-links a:hover {
        background-color: var(--primary);
        color: var(--white);
        border-color: var(--primary);
        transform: translateX(5px);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-buttons {
        display: none;
    }
    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: static;
        background: var(--white);
        padding: 15px 0 5px 0;
        box-shadow: none;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .features, .testimonials, .cta, .footer {
        padding: 50px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .cta h2 {
        font-size: 2rem;
    }
    .cta div {
        flex-direction: column;
    }
}
