/* --- globals.css --- */
:root {
    /* Sleek & Trustworthy Palette */
    --primary: #0f172a;
    /* Deep Navy Blue */
    --primary-light: #1e293b;
    /* Lighter Navy */
    --accent: #4f46e5;
    /* Indigo */
    --accent-hover: #4338ca;
    /* Darker Indigo */
    --background: #f8fafc;
    /* Very Light Slate */
    --surface: #ffffff;
    /* Pure White */
    --text-main: #0f172a;
    /* Dark Navy text */
    --text-muted: #64748b;
    /* Slate Gray text */
    --border: #e2e8f0;
    /* Light Gray border */
    --success: #10b981;
    /* Emerald */
    --danger: #ef4444;
    /* Red */

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 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);
    --radius: 0.75rem;
    /* 12px rounded corners */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Fallback since Next.js handled fonts */
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

button {
    font-family: inherit;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- page.module.css (Converted to standard classes) --- */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a {
    margin-left: 2rem;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
    font-size: 0.95rem;
}

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

.main {
    flex: 1;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    gap: 5rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* Background gradient blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(248, 250, 252, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.heroContent {
    flex: 1;
    max-width: 600px;
}

.heroTitle {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.heroTitle span {
    background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heroSubtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.heroFeatures {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.featureItem {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkIcon {
    color: var(--success);
}

.heroWidget {
    flex: 0 0 auto;
    position: relative;
    z-index: 10;
}

.footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
    background: white;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 4rem 5%;
        text-align: center;
        gap: 3rem;
    }

    .heroContent {
        max-width: 800px;
    }

    .heroFeatures {
        justify-content: center;
    }

    .heroTitle {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .heroTitle {
        font-size: 2.5rem;
    }

    .heroFeatures {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Utilities for JS-toggled states */
.hidden {
    display: none !important;
}