:root {
    /* The Clarity Interface Palette */
    
    /* Primary (Truth Blue) - Trustworthy, Deep, Calm */
    --color-primary: #2B4C7E;
    
    /* Secondary (Growth Mint) - Organic, Healing, Active */
    --color-secondary: #7CB342;
    
    /* Background (Soft Slate) - Clean, Clinical, Airy */
    --color-bg: #F4F7F9;
    --color-bg-card: #FFFFFF;
    
    /* Accent (Data Gold) - Alert, Insightful, Warm */
    --color-accent: #FFB300;
    
    /* Text (Deep Charcoal) - Grounded, Legible */
    --color-text: #333333;
    --color-text-muted: #555555; /* Darkened from #666666 for better contrast */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --radius-sm: 8px;
    --radius-md: 16px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(43, 76, 126, 0.05);
    --shadow-hover: 0 20px 40px rgba(43, 76, 126, 0.15);
}

/* Global Reset */
* { box-sizing: border-box; }

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: var(--spacing-sm); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover { color: var(--color-secondary); }

.mono {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }

/* Standard Header & Nav (For Inner Pages) */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(43, 76, 126, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-mark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-primary);
}

.brand-logo { height: 36px; width: auto; }

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-cta {
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta:hover {
    background-color: #1f3a63;
    transform: translateY(-1px);
}

/* Inner Page Elements */
.mission-section { padding: var(--spacing-lg) 0; background-color: #fff; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}
.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.feature-title { font-size: 1.25rem; color: var(--color-primary); margin-bottom: 0.5rem; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
input, textarea, select {
    width: 100%;
    border: 1px solid #CFD8DC;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
}

.btn-seal {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 0px #1a365d;
    position: relative;
    overflow: hidden;
}

.btn-seal:hover {
    background-color: #345d9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #1a365d;
}

.btn-seal:active {
    transform: translateY(2px);
    box-shadow: 0 0px 0px #1a365d;
}

.btn-seal::after {
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: none;
}

.btn-seal:hover::after {
    left: 100%;
    transition: all 0.6s ease;
}

/* Footer */
.site-footer, .landing-footer {
    position: relative;
    overflow: hidden;
    background-color: #F8FAFC; /* Light slate base */
    background-image: radial-gradient(#E2E8F0 1.5px, transparent 1.5px); /* Subtle tech dot texture */
    background-size: 24px 24px;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    text-align: center;
    border-top: 1px solid rgba(43, 76, 126, 0.1);
}

/* Footer Watermark Fix */
.footer-watermark {
    position: absolute;
    bottom: 20px;
    right: 30px;
    width: 100px !important; /* Slightly smaller to fit cleanly */
    height: 100px !important;
    opacity: 0.3; 
    pointer-events: none;
    z-index: 0;
}

/* --- LANDING PAGE STYLES --- */

.landing-body {
    background-color: #fff;
    display: block;
}

/* The Swoop Container */
.landing-hero-section {
    position: relative;
    background: linear-gradient(120deg, #F0F4F8 0%, #FFFFFF 100%);
    padding-top: 10rem;
    padding-bottom: 12rem;
    clip-path: ellipse(130% 100% at 50% 0%);
    margin-bottom: -4rem;
    z-index: 10;
}

.landing-hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem; /* Tighter gap to help push content together */
}

.landing-logo-wrapper {
    flex: 0 0 auto;
    margin-left: 2rem; /* Nudge to the right */
}

.landing-logo-large {
    width: clamp(200px, 25vw, 350px); /* Responsive logo size */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(43, 76, 126, 0.15));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.landing-text-wrapper {
    flex: 1 1 300px; /* Flexible width, min basis 300px */
    max-width: 500px; /* Constrained max width to force lines */
    text-align: left;
}

.landing-tagline {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.landing-subtext {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    font-weight: 300;
    text-align: center; /* Centered as requested */
    margin-left: auto;
    margin-right: auto;
}

/* --- NEW HORIZONTAL STRIPS --- */

.landing-content-section {
    background-color: #E2E8F0; /* Darker slate/grey for emphasis */
    padding-top: 6rem;
    position: relative;
    z-index: 5;
}

.landing-strip {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Slightly darker border */
}

.landing-strip:last-child { border-bottom: none; }

.landing-strip .container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px; /* Tighter width for focus */
}

/* Alternating Layouts - Odd (1st, 3rd) Reversed (Icon Right) to contrast Hero (Left) */
.landing-strip:nth-child(odd) .container {
    flex-direction: row-reverse;
}

.strip-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.strip-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: #fff;
    box-shadow: 0 15px 40px rgba(43, 76, 126, 0.08);
    color: var(--color-primary);
}

.strip-content {
    flex: 1.5;
}

.strip-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.strip-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-link:hover { gap: 1rem; color: var(--color-secondary); }

/* --- PRODUCT SHOWCASE BOX --- */
.product-showcase {
    background: #fff;
    padding: 6rem 0;
    text-align: center;
}

.product-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2B4C7E 0%, #1A365D 100%);
    border-radius: 24px;
    padding: 4rem;
    color: #fff;
    box-shadow: 0 20px 60px rgba(43, 76, 126, 0.25);
    position: relative;
    overflow: hidden;
}

.product-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.product-title {
    color: #fff !important;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-product {
    background: #fff;
    color: var(--color-primary);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-product:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Page Layouts & Semantics */
.page-section {
    padding: var(--spacing-xl) 0;
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: start;
}

.lead-quote {
    font-size: 1.25rem;
    color: var(--color-text);
    font-style: italic;
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.standard-item {
    border-top: 2px solid var(--color-primary);
    padding-top: var(--spacing-sm);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-card {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: var(--color-bg);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Contact Specific */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    padding: var(--spacing-lg);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* Responsive */
@media (max-width: 800px) {
    /* Hero Adjustments */
    .landing-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 var(--spacing-sm);
    }
    
    .landing-text-wrapper { 
        text-align: center; 
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .landing-tagline {
        font-size: 2.25rem; /* Smaller font for mobile */
    }

    .landing-logo-large {
        max-width: 80vw; /* Limit logo width */
    }

    .landing-hero-section {
        clip-path: ellipse(150% 100% at 50% 0%);
        padding-top: 8rem;
    }

    /* Content Strips */
    .landing-strip .container { 
        flex-direction: column !important; 
        text-align: center; 
    }
    
    .product-box { padding: 2rem; }
    
    .landing-content-section { padding-top: 0; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .landing-tagline { font-size: 1.75rem; }
    .landing-hero-section { padding-top: 6rem; padding-bottom: 8rem; }
    .product-box { padding: 1.5rem; }
    .strip-icon-circle { width: 80px; height: 80px; font-size: 2rem; }
}
