:root {
    /* Primary Brand Colors */
    --primary-blue: #0032A0;
    --accent-teal: #40E0D0;
    --dark-blue: #001A52;
    
    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-off-white: #f8fafc;
    
    /* Text Colors */
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    
    /* UI Elements */
    --shadow-sm: 0 4px 12px rgba(0, 50, 160, 0.05);
    --shadow-md: 0 12px 24px rgba(0, 50, 160, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 50, 160, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 50, 160, 0.05);
}

nav {
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Push everything toward the right */
    align-items: center;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-right: auto; /* Push logo to the left, and leave space before nav items */
}

.logo-img {
    height: 48px; /* Increased from 32px for prominence */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.6rem; /* Increased from 1.4rem */
    font-weight: 800;
    color: var(--primary-blue);
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin-left: 4rem; /* Considerable space between logo/name and nav items */
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%; /* Vertical centering baseline */
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.header-actions {
    margin-left: 3rem; /* Extra space between Careers and Get Started */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 50, 160, 0.3);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 50, 160, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 50, 160, 0.1);
}

.btn-secondary:hover {
    background: var(--bg-off-white);
    border-color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 60px 0 100px;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(64, 224, 208, 0.1);
    color: var(--accent-teal);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    border: 1px solid rgba(64, 224, 208, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    display: block;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.stat-card {
    bottom: -30px;
    left: -40px;
    min-width: 220px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: rgba(64, 224, 208, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    font-family: 'Outfit', sans-serif;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Page Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Solutions Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.solution-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; /* Ensure cards match parent grid height */
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 50, 160, 0.1);
}

.solution-icon-box {
    width: 100%;
    height: 120px; /* Increased and standardized icon box */
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.solution-icon {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.solution-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.solution-card > p {
    min-height: 3.5rem; /* Force taglines to align horizontally */
    margin-bottom: 1.5rem;
}

/* Team spotlight */
.team-spotlight {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.founder-card {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 900px;
    border: 1px solid rgba(0, 50, 160, 0.05);
}

.founder-image-box {
    flex-shrink: 0;
    position: relative;
}

.founder-image {
    width: 240px;
    height: 240px;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.founder-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--accent-teal);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.founder-info h3 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.founder-role {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Footer */
footer {
    background: var(--text-heading); /* Restored dark navy background */
    color: white;
    padding: 3rem 0 1.5rem; /* Reduced height */
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Forms */
.contact-form-container {
    margin: 0 auto; 
    max-width: 800px; 
    gap: 2rem; 
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 50, 160, 0.05);
}

.form-row {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block; 
    font-size: 0.85rem; 
    font-weight: 600; 
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%; 
    padding: 1rem; 
    border-radius: 12px; 
    border: 1px solid rgba(0, 50, 160, 0.1); 
    background: #f8fafc; 
    font-family: inherit;
}

/* Split Path Section */
.split-path {
    padding: 8rem 0;
    background: #f8fafc;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.path-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.path-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.path-content {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.path-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal-accent);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.path-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.path-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.path-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.path-link::after {
    content: "→";
    transition: transform 0.2s ease;
}

.path-card:hover .path-link::after {
    transform: translateX(5px);
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    border-top: 1px solid #edf2f7;
    background: white;
}

.proof-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.proof-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.store-badges {
    display: flex;
    gap: 1.5rem;
}

.badge-placeholder {
    height: 48px;
    padding: 0 1.5rem;
    background: #111827;
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text span {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-layout { flex-direction: column; text-align: center; gap: 3rem; }
    .hero p { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .founder-card { flex-direction: column; text-align: center; padding: 3rem; }
    .stat-card { left: 50%; transform: translateX(-50%); bottom: -20px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.75rem; }
    .container { padding: 0 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
}
