* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* JS sets this to match the fixed header height */
    --header-offset: 106px;
}

/* Base accessibility and mobile navigation classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hide mobile elements by default */
.close-panel,
#mobile-nav-title {
    display: none;
}

body {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    color: #333;
    line-height: 1.6;
}

.header {
    background: #197813;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.header-tagline {
    color: rgba(255, 255, 255, 0.98);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    text-shadow: 0 1px 0 rgba(0,0,0,0.28);
}

.header-tagline-dynamic {
    margin-left: 0.35rem;
}

.rotating-word {
    display: inline-block;
    min-width: 14ch; /* prevents most layout shift when words change */
    transition: opacity 220ms ease, transform 220ms ease;
    will-change: opacity, transform;
    color: #ffd700;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.22), 0 1px 0 rgba(0,0,0,0.22);
}

.rotating-word.is-changing {
    opacity: 0;
    transform: translateY(-0.12em);
}

.logo h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 350px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 2rem;
}

/* Hamburger button (hidden on desktop) */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-box {
    width: 36px;
    height: 22px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 36px;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    left: 0;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger-inner { top: 9px; }
.hamburger-inner::before { content: '' ; top: -9px; }
.hamburger-inner::after  { content: '' ; top: 9px; }

/* Main nav container for mobile toggle */
.main-nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    color: #ffd700;
}

nav a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.hero {
    background: linear-gradient(rgba(25, 120, 19, 0.8), rgba(25, 120, 19, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23197813" width="1200" height="600"/><path fill="%23197813" d="M0 300 Q 300 250 600 300 T 1200 300 V 600 H 0 Z"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: var(--header-offset);
}

.hero h1,
.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .announcement {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #ffd700;
    text-align: center;
}


.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    background: #ffffff;
    color: #197813;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    background: #145f0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: #ffffff;
}

.cta-button.cta-button-inverse {
    background: #197813;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    border: 2px solid rgba(255, 215, 0, 0.75);
}

.cta-button.cta-button-inverse:hover {
    background: #ffffff;
    color: #197813;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    border-color: rgba(25, 120, 19, 0.65);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.problem {
    background: #fff;
}

.problem .section-title {
    margin-bottom: 2rem;
}

.problem-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch; /* make both sides equal height */
}

/* ensure panels expand to fill grid cells */
.problem-left,
.solution-right {
    display: flex;
    flex-direction: column;
    height: 100%; /* fill grid row height */
}


.split-title {
    text-align: left;
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
}
/*
.problem-left {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(25, 120, 19, 0.12);
}
*/

.problem-left {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 120, 19, 0.06) 0%, rgba(255, 215, 0, 0.10) 100%);
    border: 1px solid rgba(25, 120, 19, 0.10);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.solution-right {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 120, 19, 0.06) 0%, rgba(255, 215, 0, 0.10) 100%);
    border: 1px solid rgba(25, 120, 19, 0.10);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.problem-lede {
    font-size: 1.25rem;
    color: #197813;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.problem-sub {
    color: #555;
    font-size: 1.1rem;
}

.problem-bubbles {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.problem-bubbles .bubble {
    max-width: 520px;
    padding: 1rem 1.2rem;
    color: #333;
    background: #ffffff;
    border: 2px solid rgba(25, 120, 19, 0.18);
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    position: relative;
}

/* Thought-bubble dots (left side) */
.problem-bubbles .bubble::before,
.problem-bubbles .bubble::after {
    content: "";
    position: absolute;
    background: #ffffff;
    border: 2px solid rgba(25, 120, 19, 0.18);
    border-radius: 999px;
}

.problem-bubbles .bubble::before {
    width: 14px;
    height: 14px;
    left: 18px;
    bottom: -10px;
}

.problem-bubbles .bubble::after {
    width: 8px;
    height: 8px;
    left: 8px;
    bottom: -22px;
}

/* Alternate bubbles to the right (like a back-and-forth thread) */
.problem-bubbles .bubble:nth-child(even) {
    margin-left: auto;
    border-color: rgba(255, 215, 0, 0.45);
    background: linear-gradient(135deg, #ffffff 0%, #fffdf2 100%);
}

.problem-bubbles .bubble:nth-child(even)::before,
.problem-bubbles .bubble:nth-child(even)::after {
    left: auto;
    right: 18px;
    border-color: rgba(255, 215, 0, 0.45);
    background: #fffdf2;
}

.problem-bubbles .bubble:nth-child(even)::after {
    right: 8px;
}

.problem-bubbles .bubble-quote {
    color: #197813;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Positioning section outcomes — business-focused list with checkmarks */
.positioning-outcomes {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.positioning-outcome-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(25, 120, 19, 0.15);
    border-radius: 10px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.positioning-outcome-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #197813;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.positioning-outcome-check::after {
    content: "✓";
}

@media (max-width: 560px) {
    .positioning-outcomes {
        grid-template-columns: 1fr;
    }
}

/* ── Chat thread mockup ───────────────────────────────────────── */
.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #f0f0f0;
    border-radius: 18px;
    padding: 1.1rem 1rem;
    max-width: 480px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
}

.chat-message.chat-out {
    flex-direction: row-reverse;
}

.chat-avatar {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.chat-avatar-you  { background: #197813; }
.chat-avatar-m    { background: #3b82f6; }
.chat-avatar-t    { background: #8b5cf6; }

.chat-bubble-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 75%;
}

.chat-message.chat-out .chat-bubble-wrap {
    align-items: flex-end;
}

.chat-name {
    font-size: 0.7rem;
    color: #888;
    font-weight: 600;
    padding: 0 0.4rem;
}

.chat-message.chat-out .chat-name {
    color: #197813;
}

.chat-bubble {
    padding: 0.6rem 0.9rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.45;
    word-break: break-word;
}

.chat-bubble-you {
    background: #197813;
    color: #fff;
    border-bottom-right-radius: 5px;
}

.chat-bubble-other {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chat-time {
    font-size: 0.65rem;
    color: #aaa;
    padding: 0 0.4rem;
}

.chat-seen-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #999;
    font-style: italic;
    padding: 0.1rem 0.5rem;
}

.chat-seen-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.chat-system-msg {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c0392b;
    background: rgba(192, 57, 43, 0.09);
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
}
/* ── end chat thread ──────────────────────────────────────────── */

/* ── Tee sheet mockup (partner page) ─────────────────────────── */
.tee-sheet {
    max-width: 560px;
    margin: 2rem auto 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    border: 1px solid rgba(25,120,19,0.12);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tee-sheet-header {
    background: #197813;
    color: #fff;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tee-sheet-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.tee-sheet-subtitle {
    font-size: 0.78rem;
    opacity: 0.75;
}

.tee-sheet-rows {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(25,120,19,0.08);
}

.tee-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.15s;
}

.tee-row:last-child {
    border-bottom: none;
}

.tee-row-full   { background: rgba(25, 120, 19, 0.04); }
.tee-row-partial { background: rgba(245, 158, 11, 0.05); }
.tee-row-empty  { background: rgba(192, 57, 43, 0.04); }

.tee-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.tee-players {
    display: flex;
    gap: 5px;
    align-items: center;
}

.tee-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
}

.tee-dot-filled  { background: #197813; }
.tee-dot-pending {
    background: transparent;
    border: 2px dashed #f59e0b;
}
.tee-dot-gone {
    background: #e5e7eb;
    position: relative;
}
.tee-dot-gone::after {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #c0392b;
    line-height: 18px;
    text-align: center;
}

.tee-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.tee-status-ok {
    background: rgba(25, 120, 19, 0.12);
    color: #197813;
}

.tee-status-warn {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.tee-status-empty {
    background: rgba(192, 57, 43, 0.12);
    color: #c0392b;
}

.tee-sheet-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.tee-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    flex: 1;
}

.tee-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.tee-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
}

.tee-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .tee-sheet {
        max-width: 100%;
    }

    .tee-row {
        grid-template-columns: 60px 1fr auto;
        gap: 0.5rem;
        padding: 0.6rem 0.9rem;
    }

    .tee-dot {
        width: 15px;
        height: 15px;
    }
}
/* ── end tee sheet ────────────────────────────────────────────── */

.problem-close {
    margin-top: 2.5rem;
    text-align: left;
    font-size: 1.2rem;
    color: #197813;
}

.solution-steps {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.solution-step {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(25, 120, 19, 0.12);
    border-radius: 14px;
    padding: 1.25rem 1.25rem;
}

.solution-step .step-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.solution-step .step-badge {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #197813;
    color: #fff;
    font-weight: 800;
    border: 3px solid #ffd700;
    flex: 0 0 auto;
}

.solution-step h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #197813;
}

.solution-step p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}

.solution-close {
    margin-top: 1.75rem;
    text-align: left;
    font-size: 1.2rem;
    color: #197813;
}

.features {
    background: #fff;
}

.features .section-title {
    margin-bottom: 1rem;
}

.section-kicker {
    text-align: center;
    margin: 0 auto 2.25rem;
    max-width: 900px;
}

.section-kicker span {
    display: inline-block;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(25, 120, 19, 0.10) 0%, rgba(255, 215, 0, 0.18) 100%);
    border: 1px solid rgba(25, 120, 19, 0.14);
    color: #197813;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.differentiation-card {
    max-width: 920px;
    margin: 2.25rem auto 0;
}

.differentiation-card .diff-kicker {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.16);
    color: #197813;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.differentiation-card .diff-lede {
    margin-top: 0.5rem;
}

.differentiation-card .diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.differentiation-card .diff-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(25, 120, 19, 0.12);
    border-radius: 14px;
    padding: 1.1rem 1.1rem;
}

.differentiation-card .diff-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.differentiation-card .diff-badge {
    display: inline-block;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(25, 120, 19, 0.10);
    border: 1px solid rgba(25, 120, 19, 0.14);
    color: #197813;
    font-weight: 800;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

.differentiation-card .diff-badge-alt {
    background: rgba(255, 215, 0, 0.16);
    border-color: rgba(255, 215, 0, 0.35);
}

.differentiation-card h4 {
    margin: 0;
    color: #197813;
    font-size: 1.1rem;
}

.differentiation-card .diff-item p {
    margin: 0;
}

.social-proof {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.features .container {
    padding-bottom: 2.25rem;
}

.cta-section .container {
    padding-top: 1.75rem;
    padding-bottom: 2.75rem;
}

.cta-section .cta-actions {
    margin-bottom: 1rem;
}

.cta-section .cta-note {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 0;
    margin-bottom: 0;
}

.features .section-divider {
    height: 1px;
    max-width: 900px;
    margin: 0 auto 2.25rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(25, 120, 19, 0.35),
        rgba(255, 215, 0, 0.85),
        rgba(25, 120, 19, 0.35),
        transparent
    );
    position: relative;
}

.features .section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #197813;
    border: 3px solid #ffd700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.features .container > .section-divider:first-child,
.partner-positioning .container > .section-divider:first-child {
    margin-top: 0;
    margin-bottom: 2.25rem;
}

.partner-positioning .section-divider {
    height: 1px;
    max-width: 900px;
    margin: 0 auto 2.25rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(25, 120, 19, 0.35),
        rgba(255, 215, 0, 0.85),
        rgba(25, 120, 19, 0.35),
        transparent
    );
    position: relative;
}

.partner-positioning .section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #197813;
    border: 3px solid #ffd700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.cta-section .section-divider {
    height: 1px;
    max-width: 900px;
    margin: 0 auto 2.25rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(25, 120, 19, 0.35),
        rgba(255, 215, 0, 0.85),
        rgba(25, 120, 19, 0.35),
        transparent
    );
    position: relative;
}

.cta-section .section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #197813;
    border: 3px solid #ffd700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #ffd700;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #197813;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #555;
    line-height: 1.8;
}

.partner {
    background: #fff;
}

.partner-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partner-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partner-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #ffd700;
}

.partner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.partner-card h3 {
    color: #197813;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.partner-card p {
    color: #555;
    line-height: 1.8;
}

.partner-form-section {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    padding: 2.5rem;
    border-radius: 15px;
    color: #fff;
}

.partner-form-section h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.partner-form-section > p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.partner-form {
    margin-top: 1.5rem;
}

.partner-form .form-group {
    margin-bottom: 1.5rem;
}

.partner-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.partner-form input,
.partner-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.partner-form input::placeholder,
.partner-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.partner-form input:focus,
.partner-form textarea:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.partner-form textarea {
    min-height: 120px;
    resize: vertical;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    background: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #197813;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.footer {
    background: #197813;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

.about-section {
    background: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffd700;
    border: 4px solid #197813;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: #197813;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-member p {
    color: #555;
    line-height: 1.8;
    text-align: left;
}

.contact-section {
    background: linear-gradient(135deg, #197813 0%, #197813 100%);
    color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffd700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: #ffd700;
    color: #197813;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.help-contact {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.help-contact a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.help-contact a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff6b6b;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    /* make header-content relative so hamburger can be absolutely positioned */
    /* keep header items in a row on mobile so hamburger sits to the right of the logo */
    .header-content {
        position: relative;
        width: 100%;
        align-items: center;
        flex-direction: row; /* keep logo left and hamburger right */
        justify-content: space-between;
        padding: 0 1rem;
    }

    .header-right {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    /* keep header bar clean on mobile; menu lives in overlay */
    .header-tagline {
        display: none;
    }

    /* show hamburger and place it inline on the right (no overlap) */
    .hamburger {
        display: block;
        position: relative;
        right: auto;
        top: auto;
        margin-left: auto;
        z-index: 1200;
    }

    /* mobile nav: full-screen overlay that slides down */
    /* overlay backdrop */
    .main-nav {
        position: fixed;
        inset: 0; /* left:0; right:0; top:0; bottom:0 */
        display: block;
        background: rgba(0,0,0,0.35);
        transform: translateX(100%); /* hidden by default (off-screen to right) */
        transition: transform 0.32s ease-in-out;
        z-index: 1300; /* above header and hamburger */
        pointer-events: none; /* disable clicks when closed */
    }

    /* panel that slides in from the right */
    .nav-panel {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        /* narrower panel for a slimmer mobile menu */
        width: min(84vw, 250px);
        background: #fff;
        color: #222;
        box-shadow: -8px 0 30px rgba(0,0,0,0.25);
        transform: translateX(0); /* panel sits at right inside the overlay */
        display: flex;
        flex-direction: column;
        padding: 1.25rem 1.5rem;
        gap: 1.5rem;
    }

    /* when nav is open (body class), show overlay and slide panel in */
    body.nav-open .main-nav {
        transform: translateX(0);
        pointer-events: auto; /* allow interactions */
    }

    /* animate hamburger into an X when nav open */
    body.nav-open .hamburger-inner {
        transform: rotate(45deg);
        top: 9px;
    }
    body.nav-open .hamburger-inner::before {
        transform: rotate(-90deg);
        top: 0;
    }
    body.nav-open .hamburger-inner::after {
        opacity: 0;
    }

    /* shrink the logo on small screens to avoid overlap with controls */
    .logo-icon {
        width: 160px;
        height: 60px;
    }

    /* close button inside the panel */
    .close-panel {
        display: inline-grid !important;
        background: transparent;
        border: 2px solid #0b6b3a;
        color: #0b6b3a;
        width: 48px;
        height: 48px;
        border-radius: 6px;
        font-size: 22px;
        line-height: 1;
        place-items: center;
        margin-left: auto;
        cursor: pointer;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 0.5rem;
    }

    .nav-links a {
        color: #197813;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 600;
    }

    /* End of mobile nav styles */
    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .problem-split {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .problem-left {
        padding-right: 0;
        border-right: none;
    }

    .solution-right {
        padding: 1.5rem;
    }

    .problem-lede {
        font-size: 1.25rem;
    }

    .problem-bubbles .bubble {
        max-width: 100%;
    }

    .chat-thread {
        max-width: 100%;
    }

    .differentiation-card .diff-grid {
        grid-template-columns: 1fr;
    }
}

