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

:root {
    --primary: #0f172a;
    /* Deep Slate */
    --accent: #0ea5e9;
    /* Sky Blue */
    --accent-dark: #0284c7;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass: rgba(255, 255, 255, 0.75);
    --border: rgba(226, 232, 240, 0.8);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    background: radial-gradient(circle at top right, #e0f2fe, transparent);
    text-align: center;
}

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Glass Panels & Cards */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Mobile Banner */
.mobile-call-banner {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 20px;
    font-weight: 800;
    text-decoration: none;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
    }

    header .btn-primary {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }

    .mobile-call-banner {
        display: block;
    }

    /* Force vertical stacking for inline grids/flexboxes on mobile */
    [style*="display: grid"], 
    [style*="display: flex"]:not(.header-container):not(.nav-menu) {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .container {
        padding: 0 20px;
    }

    main {
        padding-top: 120px !important;
    }
}