/* ============================================================
   landing.css — Optimum Apex LLC public landing page
   Aesthetic: Warm Authority — editorial + approachable
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --teal-deep: #145250;
    --teal: #1a6b68;
    --teal-light: #1f857f;
    --teal-pale: #dff0ed;
    --sand: #f5f0e8;
    --sand-dark: #ebe4d8;
    --charcoal: #2c2c2c;
    --slate: #4a4a4a;
    --warm-gray: #6b6560;
    --cream: #faf7f2;
    --accent-coral: #d4856a;
    --white: #ffffff;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

    --nav-height: 72px;
    --section-pad: 100px;
    --max-width: 1140px;
    --radius: 12px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }


/* ============================================================
   NOISE TEXTURE OVERLAY — subtle grain for depth
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(20, 82, 80, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--teal-deep);
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--teal);
}

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

.nav-links a:not(.nav-login) {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s;
}

.nav-links a:not(.nav-login):hover {
    color: var(--teal);
}

.nav-links a:not(.nav-login)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-light);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-login):hover::after {
    width: 100%;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--teal-deep);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.nav-login:hover {
    background: var(--teal);
    transform: translateY(-1px);
}

.nav-login svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}


/* ============================================================
   HERO
   ============================================================ */
.bio {
    padding: 160px 32px var(--section-pad);
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, var(--cream) 0%, var(--sand) 40%, var(--teal-pale) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Decorative organic blob */
.bio::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -180px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(42, 157, 143, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bio::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(212, 133, 106, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.bio-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.bio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(42, 157, 143, 0.1);
    border: 1px solid rgba(42, 157, 143, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.bio-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-light);
}

.bio h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.12;
    color: var(--charcoal);
    max-width: 700px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.bio h1 em {
    font-style: italic;
    color: var(--teal-deep);
}

.bio-subtitle {
    font-size: 18px;
    color: var(--warm-gray);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.bio-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--teal-deep);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(26, 92, 90, 0.2);
    text-decoration: none;
}

.bio-cta:hover {
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 92, 90, 0.25);
}

.bio-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.bio-cta:hover svg {
    transform: translateX(3px);
}

/* Decorative divider */
.section-divider {
    height: 1px;
    max-width: var(--max-width);
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 92, 90, 0.12) 50%, transparent 100%);
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: var(--section-pad) 32px;
    background: var(--cream);
}

.services-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--teal-light);
    border-radius: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 16px;
    color: var(--warm-gray);
    max-width: 560px;
    margin-bottom: 56px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fffdf9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--teal-light);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--teal-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal-deep);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: var(--warm-gray);
    line-height: 1.7;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.service-tags span {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    background: var(--sand);
    color: var(--slate);
    border-radius: 100px;
}


/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about {
    padding: var(--section-pad) 32px;
    background: var(--sand);
    position: relative;
}

.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-intro {
    font-size: 18px;
    color: var(--slate);
    max-width: 680px;
    margin-bottom: 64px;
    line-height: 1.8;
}

.about-intro strong {
    color: var(--charcoal);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.team-card {
    background: #fffdf9;
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.team-card-accent {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal-light), var(--teal-deep));
    margin-bottom: 28px;
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.team-card .team-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 18px;
    letter-spacing: 0.01em;
}

.team-card p {
    font-size: 15px;
    color: var(--warm-gray);
    line-height: 1.75;
    margin-bottom: 20px;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-credentials span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--teal-pale);
    color: var(--teal-deep);
    border-radius: 100px;
    letter-spacing: 0.02em;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: var(--section-pad) 32px;
    background: var(--cream);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    padding-top: 16px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--teal-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
    color: var(--teal-deep);
}

.contact-detail-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.contact-detail-text p,
.contact-detail-text a {
    font-size: 15px;
    color: var(--warm-gray);
}

.contact-detail-text a {
    color: var(--teal);
    transition: color 0.2s;
}

.contact-detail-text a:hover {
    color: var(--teal-deep);
}

.contact-form {
    background: #fffdf9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--charcoal);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b5b0a8;
}

/* Honeypot — hidden from humans */
.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    padding: 14px 24px;
    background: var(--teal-deep);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--teal);
    transform: translateY(-1px);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.form-status.success { color: var(--teal-deep); }
.form-status.error { color: var(--accent-coral); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 40px 32px;
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo span {
    color: var(--teal-light);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    :root {
        --section-pad: 72px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 680px) {
    :root {
        --nav-height: 64px;
        --section-pad: 56px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .bio {
        padding: 120px 24px 64px;
        min-height: auto;
    }

    .bio h1 {
        font-size: 32px;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .team-card {
        padding: 28px 24px;
    }

    .contact-form {
        padding: 28px 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
