/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design System — colours extracted from the OptivAItED logo */
:root {
    --navy: #1A3C5E;        /* primary brand navy */
    --navy-dark: #0F2540;   /* deepest navy — hero / dark surfaces */
    --gold: #C4922A;        /* accent gold — CTAs & emphasis */
    --gold-dark: #92610A;   /* darker gold — links / hover on light */
    --accent-blue: #2E86AB; /* soft supporting blue from the tagline */
    --ink: #333;            /* body text */
    --ink-soft: #555;       /* secondary text */
    --surface: #fff;        /* base surface */
    --surface-alt: #f4f8fb; /* tinted section background */
    --border: #e5e5e5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--gold-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.cta-button:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 37, 64, 0.35);
}

.launch-date {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.9;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: var(--surface-alt);
}

.problem h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--navy);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.problem-item {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 37, 64, 0.08);
}

.problem-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--navy);
}

.problem-item p {
    margin-bottom: 15px;
    color: var(--ink-soft);
}

.problem-item strong {
    color: var(--ink);
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: var(--surface);
}

.solution h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--navy);
}

.section-intro {
    text-align: center;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--ink-soft);
}

.solution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--navy);
}

.step p {
    color: var(--ink-soft);
    font-size: 15px;
}

/* Built For Section */
.built-for {
    padding: 80px 0;
    background: var(--surface-alt);
}

.built-for h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 37, 64, 0.08);
}

.checkmark {
    font-size: 40px;
    color: var(--gold);
    display: block;
    margin-bottom: 15px;
}

.feature p {
    font-size: 16px;
    color: var(--ink-soft);
}

/* Meet the Founder Section */
.founder {
    padding: 110px 0;
    background: var(--surface);
}

.founder-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 48px;
}

.founder-hero {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Photo card — chest-up portrait on a soft light-grey tile */
.founder-photo {
    margin: 0;
    background: #F8F9FA;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 37, 64, 0.14);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.founder-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.founder-intro h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 6px;
}

.founder-role {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--accent-blue);
    margin-bottom: 28px;
}

.founder-intro > p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 18px;
    max-width: 56ch;
}

/* LinkedIn button beneath the biography */
.founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 11px 22px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
}

.founder-linkedin svg {
    color: var(--accent-blue);
    transition: color 0.25s;
}

.founder-linkedin:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 10px 24px rgba(46, 134, 171, 0.18);
}

.founder-linkedin:hover svg {
    color: var(--accent-blue);
}

/* Supporting founder story — keeps credibility without stealing focus */
.founder-story {
    max-width: 800px;
    margin: 72px auto 0;
    padding-top: 56px;
    border-top: 1px solid var(--border);
}

.founder-story h3 {
    font-size: 24px;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin-bottom: 18px;
}

.founder-story p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink-soft);
}

.credentials {
    list-style: none;
    padding: 0;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 32px;
}

.credentials li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--ink-soft);
}

.credentials li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* Reveal-on-scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.founder-hero .founder-intro.reveal {
    transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--surface-alt);
}

.team h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--navy);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--surface);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 37, 64, 0.08);
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--navy);
}

.team-role {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.team-member p {
    color: var(--ink-soft);
}

/* Pilot Section */
.pilot {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    text-align: center;
}

.pilot h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.pilot p {
    font-size: 18px;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pilot .cta-button {
    margin-top: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--surface-alt);
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--navy);
}

.contact p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--ink-soft);
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
}

.contact-info p {
    margin: 15px 0;
    font-size: 16px;
}

.contact-info a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

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

footer p {
    margin: 10px 0;
}

.footer-logo {
    height: 54px;
    width: auto;
    display: block;
}

footer nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

footer nav a:hover {
    color: var(--gold);
}

/* Tablet */
@media (max-width: 900px) {
    .founder-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 560px;
        text-align: center;
    }

    .founder-photo {
        max-width: 380px;
        margin: 0 auto;
    }

    .founder-intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .credentials {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    nav a {
        margin-left: 15px;
        font-size: 14px;
    }

    .problem-grid,
    .solution-steps,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .founder {
        padding: 72px 0;
    }

    .founder-intro h2 {
        font-size: 32px;
    }

    .founder-story {
        margin-top: 48px;
        padding-top: 40px;
    }

    footer .container {
        flex-direction: column;
    }

    footer nav a {
        margin: 10px 10px 0 10px;
    }
}
