/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
   :root {
    /* Color Palette */
    --color-midnight-navy: #0B1020;
    --color-carbon-ink: #111827;
    --color-cobalt-signal: #2563FF;
    --color-cobalt-dark: #1D4ED8; /* Darker variant for hover */
    --color-white: #F8FAFC;
    --color-mist-gray: #E5E7EB;
    --color-slate-gray: #94A3B8;
    --color-border-dark: #1F2937;
    --color-muted-surface: #F3F6FA;

    /* Semantic Colors */
    --bg-primary: var(--color-midnight-navy);
    --bg-secondary: var(--color-carbon-ink);
    --bg-surface: rgba(31, 41, 55, 0.4); /* #1F2937 with alpha */
    
    --text-primary: var(--color-white);
    --text-secondary: var(--color-mist-gray);
    --text-tertiary: var(--color-slate-gray);
    
    --border-color: var(--color-border-dark);
    --accent: var(--color-cobalt-signal);
    --accent-hover: var(--color-cobalt-dark);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Type Scale */
    --text-h1: clamp(3.5rem, 5vw + 1rem, 4.5rem);      /* 56-72px */
    --text-h2: clamp(2.5rem, 4vw + 1rem, 3rem);        /* 40-48px */
    --text-h3: clamp(1.5rem, 2vw + 1rem, 1.875rem);    /* 24-30px */
    --text-lg: 1.25rem;                                /* 20px */
    --text-base: 1.125rem;                             /* 18px */
    --text-sm: 0.875rem;                               /* 14px */

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

    /* Radii - Sharper, more rigid for enterprise feel */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--text-h1);
    font-weight: 700;
}

h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: var(--text-h3);
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

strong {
    font-weight: 600;
    color: var(--text-primary);
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: var(--space-xl) 0;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
}

.bg-alt {
    background-color: var(--bg-secondary);
}

.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 255, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    padding: 0.5rem 1.25rem;
    font-size: var(--text-sm);
}

.btn-outline:hover {
    border-color: var(--text-secondary);
    background-color: var(--bg-surface);
    color: var(--color-white);
}

.btn-block {
    width: 100%;
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

.form-group {
    margin-bottom: var(--space-sm);
}

label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input::placeholder, textarea::placeholder {
    color: var(--text-tertiary);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(37, 99, 255, 0.2);
}

/* ==========================================================================
   Sections
   ========================================================================== */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background-color: rgba(11, 16, 32, 0.85); /* Midnight Navy with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.5);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    display: block;
    height: 42px;   /* adjust if needed */
    width: auto;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
}

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

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(rgba(11, 16, 32, 0.8), rgba(11, 16, 32, 0.95)), url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Trust Strip */
.trust-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(17, 24, 39, 0.5);
    padding: var(--space-md) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.trust-item {
    display: flex;
    flex-direction: column;
    padding: 0 var(--space-sm);
    border-left: 1px solid var(--border-color);
}

.trust-item:first-child {
    border-left: none;
    padding-left: 0;
}

.trust-value {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.trust-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--space-lg);
    }
    .trust-item:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .trust-item {
        border-left: none;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }
}

/* Audience Section */
/* Minimal specific styling needed, relying on global utilities */

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.service-card:hover {
    border-color: var(--text-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(37, 99, 255, 0.1);
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.service-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.service-desc {
    margin-bottom: 0;
    font-size: var(--text-base);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.process-step {
    position: relative;
    padding-top: var(--space-md);
    border-top: 2px solid var(--border-color);
    transition: border-color var(--transition-normal);
}

.process-step:hover {
    border-top-color: var(--accent);
    background-color: rgba(37, 99, 255, 0.02);
}

.step-number {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.step-title {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: var(--text-sm);
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Aevara */
.why-section {
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.9)), url('images/why-aevara-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr; /* Simplistic layout for now, easily extendable */
}

.why-list {
    margin-top: var(--space-md);
}

.why-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.why-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.why-list strong {
    color: var(--color-white);
}

/* Founder Section */
.founder-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 2px solid var(--accent);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}

.founder-tag {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.founder-name {
    margin-bottom: 0.25rem;
}

.founder-title {
    display: block;
    color: var(--accent);
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.founder-bio p {
    font-size: var(--text-lg);
    margin-bottom: 1.5rem;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.contact-form-wrapper {
    background-color: var(--bg-primary);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* Footer */
.site-footer {
    padding: var(--space-md) 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo img {
    display: block;
    height: 32px;   /* adjust if needed */
    width: auto;
}
.footer-legal p {
    margin-bottom: 0;
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}
