:root {
    /* Brand Colors extracted from Logo & GovPulse inspiration */
    --color-primary: #1D557C;
    /* GovPulse Navy */
    --color-primary-dark: #0f3550;
    --color-accent: #C4972C;
    /* Logo Gold */
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-bg-dark: #020617;
    /* Slate 950 */
    --color-bg-card: #0f172a;
    /* Slate 900 */
    --color-success: #10b981;

    /* Gradients */
    --gradient-hero: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, #020617 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(29, 85, 124, 0.15) 0%, transparent 70%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Borders */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle borders */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* Apple-like font rendering */
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    /* Slightly lighter weight for modern look */
    letter-spacing: -0.025em;
    /* Tighter tracking like Apple/Stripe */
}

h1 {
    font-size: 4rem;
    font-weight: 700;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

/* Layout Details */
.container {
    max-width: 1200px;
    /* Slightly narrower for reading focus */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    /* For background effects */
}

/* Premium Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Stronger blur */
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    /* Adjusted to 90px */
}

.logo {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy feel */
    border-radius: 8px;
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
    /* Lift up */
    cursor: pointer;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 10px 20px rgba(29, 85, 124, 0.5));
    /* Blue glow on hover */
}



.nav-links {
    display: flex;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    /* Subtle pill background */
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-links a:hover {
    color: white;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(29, 85, 124, 0.3);
}

.btn-secondary:hover {
    background: #236491;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

/* Refined Hero Section */
.hero {
    min-height: auto;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    padding-top: 115px;
    background:
        radial-gradient(circle at 80% 20%, rgba(29, 85, 124, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(196, 151, 44, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(29, 85, 124, 0.15);
    border: 1px solid rgba(29, 85, 124, 0.3);
    border-radius: 100px;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    max-width: 640px;
    color: #94a3b8;
    line-height: 1.5;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--spacing-md);
}

.stat-item h3 {
    font-size: 2.25rem;
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Features Grid Redesign */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

/* Content Section (Whitepaper) */
.content-section {
    display: flex;
    align-items: center;
    gap: 80px;
    /* More breathing room */
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1.7;
    /* Larger images for readability */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    /* Fancy border glow */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
    /* Prevents sub-pixel rendering gaps */
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.03);
}

/* Minimalist Compliance Marquee */
.compliance-banner {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md) 0;
    margin: var(--spacing-lg) 0;
    background: rgba(255, 255, 255, 0.01);
}

.compliance-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.compliance-item {
    font-weight: 500;
    font-size: 1.1rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compliance-item svg {
    color: var(--color-success);
}

/* Footer */
footer {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo img {
    height: 48px;
    opacity: 1;
    /* Colored logo */
}

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}