/* ============================================
   BECOME CTO — SHARED STYLES
   ============================================ */

/* VARIABLES */
:root {
    --navy: #032757;
    --blue: #2563EB;
    --blue-hover: #1e55d4;
    --blue-soft: rgba(37, 99, 235, 0.08);
    --blue-border: rgba(37, 99, 235, 0.15);
    --blue-200: #d2e3f8;
    --blue-50: #f5f9ff;
    --bg-light: #ecf0f1;
    --bg-section: #f8f8f8;
    --bg-white: #ffffff;
    --text-primary: #032757;
    --text-body: #2c3e50;
    --text-muted: #5f6a7a;
    --border-light: #e2e2e2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
    --shadow-blue: 0 8px 24px rgba(37,99,235,0.12);
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Lato', sans-serif;
    color: var(--text-primary);
    line-height: 1.15;
    font-weight: 800;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 40px;
}

.container--narrow {
    max-width: 1000px;
}

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 90px;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--navy);
    padding: 0;
    line-height: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

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

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

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

.nav-links a.active {
    color: var(--navy);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    background: var(--blue);
    color: #fff !important;
    border-radius: 2px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.12s ease;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--blue-hover);
    color: #fff !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 28px;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--blue);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--blue-hover);
    color: #fff !important;
}

.btn-secondary {
    background: rgba(75, 75, 75, 0.85);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(75, 75, 75, 1);
    color: #fff !important;
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: #fff !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: clamp(60px, 8vw, 100px) 20px;
}

.section--light {
    background: var(--bg-section);
}

.section--alt {
    background: var(--bg-light);
}

.section--dark {
    background: var(--navy);
    color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}

.section--blue {
    background: var(--blue);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 14px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.section--dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #021b3d 0%, #032757 40%, #0a3470 100%);
    color: #fff;
    padding: clamp(60px, 8vw, 100px) 20px clamp(50px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 100%, rgba(37,99,235,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-content h1 {
    text-align: center;
}

.page-hero-content p {
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-align: center;
}

.page-hero p {
    font-size: clamp(17px, 2.5vw, 20px);
    line-height: 1.6;
    opacity: 0.85;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.page-hero--centered {
    text-align: center;
}

/* ============================================
   PROSE CONTENT
   ============================================ */
.prose {
    max-width: 760px;
    margin: 0 auto;
}

.prose h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    margin: 48px 0 16px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    margin: 36px 0 12px;
}

.prose p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-body);
}

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

.prose strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ============================================
   CARDS (generic)
   ============================================ */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 50%;
    margin-bottom: 20px;
}

.card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--blue-soft);
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    text-align: center;
    padding: clamp(40px, 6vw, 60px) 20px;
}

.cta-banner p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.cta-banner a:hover {
    opacity: 0.85;
}

/* ============================================
   CALLOUT BOX
   ============================================ */
.callout {
    background: var(--blue-50);
    border: 2px solid var(--blue-200);
    border-radius: 2px;
    padding: clamp(24px, 4vw, 48px);
    margin: 40px 0;
}

.callout h3 {
    margin-bottom: 12px;
}

.callout p {
    margin-bottom: 16px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: left;
}

.footer-brand h4 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 4px;
}

.footer-brand .footer-cto {
    color: var(--blue);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
    max-width: 300px;
}

.footer-col h5 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #fff;
}
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    margin: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: var(--blue);
    color: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.35s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px 40px 28px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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