:root {
    /* Color Palette */
    --primary: #0F172A;        /* Deep slate for primary (very premium) */
    --primary-light: #F1F5F9;  /* Slate 100 */
    --primary-dark: #020617;   /* Slate 950 */
    --secondary: #2563EB;      /* Bright blue for trust/health */
    --secondary-dark: #1D4ED8; /* Darker blue for hover */
    --accent: #10B981;         /* Emerald green for conversion/CTA */
    --accent-dark: #059669;    /* Darker emerald */
    
    /* Text Colors */
    --text-dark: #1E293B;      /* Slate 800 */
    --text-light: #64748B;     /* Slate 500 */
    --text-muted: #94A3B8;     /* Slate 400 */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;       /* Slate 50 */
    --bg-dark: #0F172A;        /* Slate 900 */
    
    /* Borders & UI */
    --border: #E2E8F0;         /* Slate 200 */
    --border-light: #F1F5F9;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows - Soft & Modern */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 30px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Layout */
    --max-width: 1200px;
}

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

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 8vw, 4rem); margin-bottom: var(--space-md); }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.25rem; margin-bottom: var(--space-xs); }

p {
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
    color: var(--text-light);
}

/* GRID SYSTEM */
.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-micro { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-2-1 { grid-template-columns: 2fr 1fr; }

@media (max-width: 1024px) {
    .grid-3, .grid-4, .grid-6, .grid-2-1 { grid-template-columns: repeat(2, 1fr); }
    .grid-micro { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-6, .grid-2-1, .grid-micro { grid-template-columns: 1fr; gap: var(--space-sm); }
}

/* LAYOUT & SPACING UTILS */
.section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--bg-dark); color: var(--bg-white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--bg-white); }
.bg-dark p { color: var(--text-muted); }

.section-header {
    max-width: 768px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-light); opacity: 0.8; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.mt-auto { margin-top: auto; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-md { border-radius: var(--radius-md); }
.rounded-3xl { border-radius: var(--radius-xl); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* HEADER & NAVBAR */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo i { color: var(--secondary); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

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

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

/* BUTTONS & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    gap: 0.5rem;
}

.btn i { width: 20px; height: 20px; }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }
.btn-full { width: 100%; }

.btn-primary { 
    background: var(--secondary); 
    color: var(--bg-white); 
    box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.4); 
}
.btn-primary:hover { 
    background: var(--secondary-dark); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.5); 
}

.btn-secondary { 
    background: var(--accent); 
    color: var(--bg-white); 
    box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.4); 
}
.btn-secondary:hover { 
    background: var(--accent-dark); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.5); 
}

.btn-outline { 
    border-color: var(--border); 
    color: var(--text-dark); 
    background: transparent; 
}
.btn-outline:hover { 
    border-color: var(--secondary); 
    color: var(--secondary); 
    background: var(--primary-light);
}

/* CARDS & BENTO GRID */
.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-light);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--secondary);
    color: var(--bg-white);
    transform: scale(1.05) rotate(5deg);
}

.card-icon i { width: 32px; height: 32px; }

/* MICRO CARDS (Pills) */
.micro-card {
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    gap: 1rem;
}
.micro-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* TABLES (PREMIUM LOOK) */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin: var(--space-md) 0;
    width: 100%;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background-color: var(--primary-light); }

/* LISTS (SEO Friendly Content) */
ul.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-md);
}

ul.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

ul.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
}

/* NEW PREMIUM FOOTER (Horizontal & Wide) */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    border-top: 4px solid var(--secondary);
}

.footer-trust-bar {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #CBD5E1;
}

.trust-item svg {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

.footer-brand h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-nav h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.footer-nav a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--bg-white);
}

/* REVEAL ON SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* STICKY CTA MOBILE */
.sticky-cta-mobile {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 9999;
    display: none;
}

.pulse-btn {
    animation: pulse 2s infinite;
    width: 100%;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* MOBILE RESPONSIVE OVERRIDES */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
        text-align: center;
        gap: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block !important;
        background: var(--primary-light);
        border: 1px solid var(--border);
        padding: 8px;
        border-radius: var(--radius-sm);
        color: var(--primary);
    }
    
    /* Layout Adjustments */
    .sticky-cta-mobile { display: block; }
    body { padding-bottom: 100px; }
    .card { padding: 1.5rem; }
    .section { padding: var(--space-lg) 0; }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .trust-flex {
        justify-content: center;
    }
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    /* Typography Overrides */
    p { font-size: 1rem; }
}

/* HERO SECTION SPECIFICS */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E2E8F0 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top right, rgba(37,99,235,0.05) 0%, transparent 50%);
    pointer-events: none;
}