/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette - Professional Trust & Tech */
    --primary: #0f172a;      /* Deep Navy (Slate 900) */
    --secondary: #334155;    /* Slate 700 */
    --accent: #2563eb;       /* Royal Blue */
    --accent-hover: #1d4ed8; 
    
    /* Text Colors */
    --text-high: #1e293b;    /* Dark Slate */
    --text-body: #64748b;    /* Medium Slate */
    --bg-light: #f8fafc;     
    --white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2; /* Ensures content sits above overlay */
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

header .container {
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600 !important;
}

.nav-btn:hover {
    background-color: var(--accent);
    transform: translateY(-1px);
}

/* =========================================
   4. HERO SECTION (UPDATED FOR BG IMAGES)
   ========================================= */
.hero {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Wrapper for BG Image and Dark Overlay */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Slate 900 at 85% opacity */
}

/* Typography Overrides for Dark Backgrounds */
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--white); /* White text for contrast */
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1; /* Light Slate for readable subtext */
    margin-bottom: 40px;
}

/* Tag style for dark background */
.tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2); /* Semi-transparent blue */
    color: #60a5fa; /* Lighter blue text */
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

/* =========================================
   5. FEATURE GRID / CARDS
   ========================================= */
/* Specific styling for the cards to pop against dark or light areas */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--text-high);
}

.hero-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary); /* Keep headings dark inside white cards */
}

/* =========================================
   6. BUTTONS
   ========================================= */
.hero-btns {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn:first-child {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: none;
}

.btn:first-child:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn:last-child {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn:last-child:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* =========================================
   7. FOOTER & MODAL
   ========================================= */
footer a:hover {
    color: var(--white) !important;
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
/* =========================================
   9. TRUST & ARCHITECTURE (NEW)
   ========================================= */
/* Logo Strip */
.logo-strip {
    background: #f8fafc;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.logo-strip p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    opacity: 0.6;
    flex-wrap: wrap;
}

/* Architecture Steps */
.process-step {
    text-align: center;
    padding: 20px;
}
.process-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 20px;
}