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

:root {
    /* Primary Colors */
    --primary: #ea580c;
    --primary-light: #fdba74;
    --primary-dark: #c2410c;
    
    /* Neutrals */
    --bg: #F8FAFC;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Dark Theme */
    --dark-bg: #0f172a;
    --dark-card: #1e1b4b;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-max: 80rem;
    
    /* Radius */
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
    --radius-2xl: 3rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--slate-800);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    position: relative;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-demo-btn {
    display: none;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--slate-700);
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: var(--slate-100);
}

.menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--slate-800);
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: none;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--slate-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--primary-dark);
}

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

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

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

.btn-white:hover {
    background: var(--slate-50);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 0% 0%, #1e1b4b 0%, #0f172a 100%);
    color: white;
    padding: 6rem 0 8rem;
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-400);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

/* Stats */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 10rem;
    text-align: center;
}

.stat-card .number {
    font-size: 1.875rem;
    font-weight: 700;
}

.stat-card .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--slate-400);
    letter-spacing: 0.05em;
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--slate-500);
    font-size: 1.125rem;
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--slate-500);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Problem/Solution Layout */
.split-section {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.problem-card {
    background: var(--slate-900);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.problem-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.problem-card h2 span {
    color: #ef4444;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-list li {
    display: flex;
    gap: 1rem;
}

.problem-list .x-mark {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
}

.problem-list p {
    color: var(--slate-400);
}

.solution-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-content > p {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.check-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.check-item p {
    font-weight: 600;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    display: grid;
    gap: 2rem;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-box {
    background: var(--primary);
    border-radius: var(--radius-2xl);
    padding: 4rem;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(234, 88, 12, 0.3);
}

.cta-box h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--slate-200);
    background: white;
}

.footer-brand {
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--slate-400);
    font-style: italic;
}

/* Page Header */
.page-header {
    background: radial-gradient(circle at 0% 0%, #1e1b4b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.page-header p {
    color: var(--slate-400);
    margin-top: 0.5rem;
    font-size: 1.125rem;
}

/* Feature Detail Cards */
.feature-detail {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    margin-bottom: 1.5rem;
}

.feature-detail-icon {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-detail-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-detail-content p {
    color: var(--slate-500);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

/* Timeline for About page */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--slate-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: -5px;
}

.timeline-item h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-item p {
    color: var(--slate-500);
    font-size: 0.875rem;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--slate-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Team/About cards */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 6rem;
    height: 6rem;
    background: var(--slate-100);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 2rem;
    font-weight: 700;
}

.team-card h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-card p {
    color: var(--slate-500);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem;
    z-index: 40;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--slate-700);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--slate-100);
    color: var(--primary);
}

.mobile-demo-btn {
    display: block !important;
    background: var(--primary) !important;
    color: white !important;
    text-align: center;
    margin-top: 0.5rem;
}

/* Responsive */
@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
    
    .nav-demo-btn {
        display: inline-flex !important;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .split-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-links {
        display: flex;
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .nav-demo-btn {
        display: none !important;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 3rem;
    }
    
    .navbar .container {
        height: 3.5rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 200px;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-xl);
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .feature-detail {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .problem-card {
        padding: 1.5rem;
        border-radius: var(--radius-xl);
    }
    
    .problem-card h2 {
        font-size: 1.5rem;
    }
    
    .check-item {
        padding: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}
