﻿/* MissionAssist360 Marketing Styles - Dark Theme */

:root {
    --brand: #dc2626;
    --brand-dark: #b91c1c;
    --brand-600: #dc2626;
    --brand-700: #b91c1c;
    --bg: #0a0a0b;
    --panel: #0f1115;
    --card: #11131a;
    --subtle: #0c0d11;
    --text: #e9e9ee;
    --muted: #a8a8b3;
    --heading: #f7f7f9;
    --border: #1b1e26;
    --border-soft: #161921;
    --shadow: rgba(0, 0, 0, .35);
    --ring: rgba(220, 38, 38, .45);
    --green: #22c55e;
    --purple: #7c3aed;
    --blue: #60a5fa;
    --slate-500: #64748b; /* blue-gray */
    --slate-600: #475569;
}

/* Reset */
* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0
}

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

a {
    color: var(--text);
    text-decoration: none;
    transition: color .15s ease, opacity .15s ease
}

    a:hover {
        color: #ffffff;
        opacity: 1
    }

/* Base */
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

    .container.narrow {
        max-width: 980px
    }

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        position: static;
        width: auto;
        height: auto;
        padding: .5rem 1rem;
        background: var(--brand);
        color: white;
        border-radius: 8px;
    }

/* Header - Fixed for mobile */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,11,.95);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border);
}

    .site-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo nav actions";
        align-items: center;
        gap: 16px;
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

.logo {
    grid-area: logo;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    flex-shrink: 0;
}

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

.nav {
    grid-area: nav;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

    .nav a {
        color: var(--muted);
        white-space: nowrap;
        padding: 8px 4px;
        font-size: 15px;
        font-weight: 500;
    }

        .nav a[aria-current="page"], .nav a:hover {
            color: var(--heading)
        }

.actions {
    grid-area: actions;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 60;
    transition: border-color .2s ease;
}

    .mobile-menu-toggle:hover {
        border-color: var(--brand);
    }

    .mobile-menu-toggle:focus-visible {
        outline: 2px solid var(--ring);
        outline-offset: 2px;
    }

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
    margin: 0 auto;
}

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: transform .2s ease, opacity .2s ease;
    }

/* Hamburger animation when open */
.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    box-shadow: 0 6px 18px var(--shadow);
    transition: .18s ease;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

    .btn:hover {
        transform: translateY(-1px)
    }

    .btn:focus-visible {
        outline: 2px solid var(--ring);
        outline-offset: 2px
    }

    .btn.primary {
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
        border-color: transparent;
        color: #fff;
        font-weight: 600;
    }

    .btn.bluegray {
        background: linear-gradient(135deg, var(--slate-500), var(--slate-600));
        border-color: transparent;
        color: #fff;
        font-weight: 600;
    }

    .btn.ghost {
        background: transparent;
        border-color: var(--border-soft);
    }

    .btn.inverse {
        background: #ffffff;
        color: #0a0a0b;
        border-color: transparent
    }

        .btn.inverse.ghost {
            background: transparent;
            color: #ffffff;
            border-color: rgba(255,255,255,.4)
        }

    .btn.lg {
        height: 48px;
        padding: 0 24px;
        font-weight: 600;
        font-size: 15px;
    }

    .btn.block {
        width: 100%;
    }

/* Hero */
.hero {
    padding: 80px 0 72px;
    background: radial-gradient(1200px 600px at 20% -10%, rgba(220,38,38,.25), transparent 60%), linear-gradient(180deg, rgba(20,22,28,.85), rgba(10,10,11,1));
    border-bottom: 1px solid var(--border);
}

.hero-centered .hero-copy {
    text-align: center;
    margin: 0 auto 32px;
    max-width: 720px
}

.hero-copy h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--heading);
    text-shadow: 0 1px 0 rgba(0,0,0,.6);
    font-weight: 700;
}

.lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

.cta {
    display: flex;
    gap: 12px;
    margin: 24px 0 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-centered .cta {
    justify-content: center
}

.bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    justify-content: center;
    font-size: 15px;
}

    .bullets li {
        padding-left: 24px;
        position: relative
    }

        .bullets li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #7ddc84;
            font-weight: 700;
        }

/* Demo video panel */
.demo-video {
    margin-top: 32px;
    background: linear-gradient(180deg,#121520,#0e1017);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(220,38,38,.12);
}

    .demo-video video {
        width: 100%;
        height: auto;
        display: block
    }

/* Generic Cards */
.features {
    padding: 72px 0;
    border-bottom: 1px solid var(--border)
}

    .features h2 {
        font-size: clamp(28px, 4vw, 36px);
        margin: 0 0 32px;
        color: var(--heading);
        font-weight: 700;
        text-align: center;
    }

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

@media (min-width: 640px) {
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .grid3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0,0,0,.35);
    }

    .card h3 {
        margin: 0 0 10px;
        font-size: 20px;
        color: var(--heading);
        font-weight: 600;
    }

    .card p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
    }

    .card ul {
        margin: 12px 0 0;
        padding-left: 20px;
    }

        .card ul li {
            margin: 6px 0;
        }

/* CTA band */
.cta-band {
    padding: 64px 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark))
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: white;
    flex-wrap: wrap;
}

    .cta-band-inner > div {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

.cta-band h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
}

.cta-band p {
    margin: 0;
    font-size: clamp(15px, 2vw, 17px);
    opacity: .95;
}

/* Footer - MOBILE GRID FIX */
.site-footer {
    padding: 56px 0 24px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}

/* Mobile: Logo full width, Product & Company side-by-side */
.footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "logo logo"
        "product company";
}

    .footer-grid > div:first-child {
        grid-area: logo;
    }

    .footer-grid > nav:nth-of-type(1) {
        grid-area: product;
    }

    .footer-grid > nav:nth-of-type(2) {
        grid-area: company;
    }

/* Tablet: 2 columns */
@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-areas: "logo product company";
        gap: 32px;
    }
}

/* Desktop: 3 columns with proper proportions */
@media (min-width: 960px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-areas: "logo product company";
        gap: 48px;
    }
}

.footer-grid > div {
    min-width: 0;
}

.footer-grid h4 {
    margin: 0 0 16px;
    color: var(--heading);
    font-size: 16px;
    font-weight: 600;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-grid ul li {
        margin: 10px 0;
    }

        .footer-grid ul li a {
            display: inline-block;
            padding: 4px 0;
            color: var(--muted);
            transition: color .2s ease;
        }

            .footer-grid ul li a:hover {
                color: var(--heading);
            }

.footer-grid .logo {
    margin-bottom: 16px;
}

.footer-grid .muted {
    font-size: 15px;
    line-height: 1.6;
}

.muted {
    color: var(--muted)
}

.fineprint {
    border-top: 1px solid var(--border);
    margin-top: 32px;
    padding-top: 24px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

    .fineprint p {
        margin: 0;
    }

/* PRICING PAGE (dark) */
.pricing-page .hero.hero-centered .lead {
    color: var(--muted)
}

/* Pricing grid */
.pricing-page .pricing-cards {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .pricing-page .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-page .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Plan card */
.pricing-page .plan-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

    .pricing-page .plan-card.popular {
        border-color: rgba(220,38,38,.6);
        box-shadow: 0 0 0 1px rgba(220,38,38,.18), 0 12px 28px rgba(220,38,38,.10), 0 8px 24px rgba(0,0,0,.30);
    }

/* Badges */
.pricing-page .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.08);
    text-shadow: 0 1px 0 rgba(0,0,0,.3);
}

    .pricing-page .badge.enterprise {
        background: var(--purple)
    }

/* Typography inside plan */
.pricing-page .plan-desc {
    color: var(--muted);
    margin: 0 0 16px
}

.pricing-page .plan-price {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0;
    color: var(--heading)
}

.pricing-page .plan-features {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

    .pricing-page .plan-features li {
        margin: 8px 0
    }

/* CTA + helper text */
.pricing-page .plan-cta {
    margin-top: 20px
}

.pricing-page .plan-hint {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: center
}

/* Billing toggle */
.pricing-page .billing-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--panel);
    margin-top: 16px;
}

    .pricing-page .billing-toggle button {
        padding: 10px 16px;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-weight: 700;
        color: var(--muted);
        font-size: 14px;
    }

        .pricing-page .billing-toggle button.active {
            background: linear-gradient(135deg, var(--brand), var(--brand-dark));
            color: #fff;
        }

.pricing-page .save-pill {
    margin-left: 8px;
    background: var(--green);
    color: #0a0a0b;
    border-radius: 999px;
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 800;
}

/* Price visibility toggles */
.price-monthly, .price-yearly, .save-yearly {
    display: none
}

.billing-monthly .price-monthly {
    display: inline
}

.billing-yearly .price-yearly, .billing-yearly .save-yearly {
    display: inline
}

/* CONTACT PAGE - CENTERED PROPERLY */
.contact-section {
    padding: 72px 0;
    border-bottom: 1px solid var(--border);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 960px) {
    .contact-grid {
        grid-template-columns: 1.8fr 1fr;
        gap: 40px;
    }
}

@media (min-width: 1200px) {
    .contact-grid {
        gap: 56px;
    }
}

/* Contact cards */
.contact-grid .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

    .contact-grid .card h2 {
        margin: 0 0 16px;
        color: var(--heading);
        font-size: 24px;
        font-weight: 700;
    }

.contact-grid .muted {
    color: var(--muted);
}

/* Form controls */
.contact-grid form .field {
    margin-bottom: 20px;
}

    .contact-grid form .field label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--text);
        margin: 0 0 8px;
    }

    .contact-grid form .field input,
    .contact-grid form .field select,
    .contact-grid form .field textarea {
        width: 100%;
        font-size: 16px;
        height: 50px;
        border-radius: 12px;
        border: 1px solid var(--border);
        background: #0f1115;
        color: var(--text);
        transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
        padding: 12px 16px;
        font-family: inherit;
    }

    .contact-grid form .field textarea {
        min-height: 160px;
        height: auto;
        line-height: 1.6;
        resize: vertical;
    }

        .contact-grid form .field input::placeholder,
        .contact-grid form .field textarea::placeholder {
            color: #8b8b97;
        }

        .contact-grid form .field input:focus,
        .contact-grid form .field select:focus,
        .contact-grid form .field textarea:focus {
            outline: none;
            border-color: rgba(220,38,38,.55);
            box-shadow: 0 0 0 3px var(--ring);
            background: #11131a;
        }

.form-actions {
    margin-top: 24px;
}

.status {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

    .status.ok {
        color: var(--green);
    }

    .status.err {
        color: #f87171;
    }

/* Submit button sizing */
.contact-grid form .btn.lg {
    width: 100%;
    font-weight: 700;
}

@media (min-width: 640px) {
    .contact-grid form .btn.lg {
        width: auto;
        min-width: 200px;
    }
}

/* Keep info panel visible while scrolling form on desktop */
@media (min-width: 960px) {
    .contact-grid aside.card {
        position: sticky;
        top: 88px;
    }
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

@media (max-width: 959px) {
    .hero {
        padding: 56px 0 48px;
    }

    .cta-band {
        padding: 48px 0;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

        .cta-band-inner > div {
            width: 100%;
        }

    .features {
        padding: 56px 0;
    }
}

@media (max-width: 768px) {
    /* Mobile header with hamburger */
    .site-header .container {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo menu actions";
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-menu-toggle {
        grid-area: menu;
        display: block;
        justify-self: start;
    }

    .nav {
        grid-area: nav;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,11,.98);
        backdrop-filter: saturate(180%) blur(12px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .3s ease, padding .3s ease;
    }

        .nav.open {
            max-height: 400px;
            opacity: 1;
            padding: 16px 0;
        }

        .nav a {
            padding: 14px 20px;
            font-size: 16px;
            border-bottom: 1px solid var(--border-soft);
            width: 100%;
            text-align: left;
        }

            .nav a:last-child {
                border-bottom: none;
            }

    .actions .btn {
        height: 38px;
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    /* Hide hamburger on desktop */
    .mobile-menu-toggle {
        display: none !important;
    }
}

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

    .hero {
        padding: 48px 0 40px;
    }

    .features {
        padding: 48px 0;
    }

    .cta {
        flex-direction: column;
        align-items: stretch;
    }

        .cta .btn {
            width: 100%;
        }

    .cta-band {
        padding: 40px 0;
    }

    .cta-band-inner > div .btn {
        width: 100%;
    }

    .contact-section {
        padding: 48px 0;
    }

    .contact-grid .card {
        padding: 24px;
    }

    .site-footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 480px) {
    .actions {
        gap: 6px;
    }

        .actions .btn {
            padding: 0 12px;
            font-size: 12px;
        }
}

/* Chat launcher button (shared) */
.chat-button{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1000;
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  color:#fff;
  border:none;
  border-radius:999px;
  padding:12px 16px;
  box-shadow:0 6px 20px rgba(0,0,0,0.4);
  cursor:pointer;
  font-weight:700;
}
