/**
 * OutageScout Marketing Site CSS
 * Brand Colors: Blue #368eff, Green #1a7f4d
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --os-blue: #368eff;
    --os-blue-dark: #2d7ae6;
    --os-green: #1a7f4d;
    --os-green-dark: #157a47;
    --os-text: #2c2c2c;
    --os-text-muted: #6c757d;
    --os-bg-light: #eceef2;
    --os-bg-subtle: #f4f5f7;
    --os-border: #d5d9e0;
    --os-radius: 10px;
    --os-radius-lg: 16px;
    --os-shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --os-shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --os-shadow-md: 0 4px 16px rgba(0,0,0,0.14);
    --os-shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
    --os-transition: all 0.25s ease;
}

/* ============================================
   Base / Reset
   ============================================ */
body.os-marketing {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--os-text);
    background: var(--os-bg-subtle);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ============================================
   Fixed Header (gradient bar + rule + nav)
   ============================================ */
.os-mkt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

/* ============================================
   Accent Bar & Rule
   ============================================ */
.os-accent-bar {
    height: 15px;
    background: linear-gradient(135deg, var(--os-blue) 0%, var(--os-green) 100%);
}

.os-accent-rule {
    height: 3px;
    background: #000000;
}

/* ============================================
   Navigation
   ============================================ */
.os-mkt-nav {
    background: #ffffff;
    padding: 0.75rem 0;
}

.os-mkt-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.os-mkt-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--os-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.os-mkt-brand:hover {
    color: var(--os-text);
    text-decoration: none;
}

.os-mkt-brand i {
    color: var(--os-blue);
    font-size: 1.3rem;
}

.os-mkt-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.os-mkt-nav-link {
    color: var(--os-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--os-transition);
}

.os-mkt-nav-link:hover {
    color: var(--os-blue);
    text-decoration: none;
}

.os-mkt-nav-link.active {
    color: var(--os-blue);
    border-bottom-color: var(--os-blue);
}

.os-mkt-nav-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--os-text);
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile nav */
.os-mkt-mobile-nav {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--os-border);
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-mobile-nav.show {
    display: block;
}

.os-mkt-mobile-link {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--os-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--os-border);
    transition: var(--os-transition);
}

.os-mkt-mobile-link:hover,
.os-mkt-mobile-link.active {
    background: var(--os-bg-light);
    color: var(--os-blue);
}

.os-mkt-mobile-cta {
    color: var(--os-blue);
    font-weight: 600;
}

/* ============================================
   Buttons
   ============================================ */
.os-mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--os-radius);
    cursor: pointer;
    transition: var(--os-transition);
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.os-mkt-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-btn-primary {
    background: linear-gradient(135deg, var(--os-blue) 0%, var(--os-green) 100%);
    color: #ffffff;
}

.os-mkt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--os-shadow-md);
    color: #ffffff;
    text-decoration: none;
}

.os-mkt-btn-outline {
    background: transparent;
    color: var(--os-blue);
    border: 2px solid var(--os-blue);
}

.os-mkt-btn-outline:hover {
    background: var(--os-blue);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--os-shadow-md);
}

.os-mkt-btn-white {
    background: #ffffff;
    color: var(--os-blue);
    font-weight: 600;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--os-shadow-lg);
    color: var(--os-blue);
    text-decoration: none;
}

/* ============================================
   Sections
   ============================================ */
.os-mkt-section {
    padding: 4rem 0;
}

.os-mkt-section-light {
    background: var(--os-bg-light);
}

.os-mkt-section-dark {
    background: linear-gradient(135deg, #1a2332 0%, #1a3b5c 50%, #1a3326 100%);
    color: #ffffff;
}

.os-mkt-section-gradient {
    background: linear-gradient(135deg, var(--os-blue) 0%, var(--os-green) 100%);
    color: #ffffff;
}

/* ============================================
   Hero
   ============================================ */
.os-mkt-hero {
    padding: 4rem 0 3.5rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--os-bg-subtle) 100%);
}

.os-mkt-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--os-text);
}

.os-mkt-hero .os-mkt-hero-sub {
    font-size: 1.25rem;
    color: var(--os-text-muted);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.os-mkt-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Section Headings
   ============================================ */
.os-mkt-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.os-mkt-subheading {
    font-size: 1.1rem;
    color: var(--os-text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.os-mkt-section-dark .os-mkt-subheading {
    color: rgba(255,255,255,0.7);
}

.text-center .os-mkt-subheading {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Cards
   ============================================ */
.os-mkt-card {
    background: #ffffff;
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--os-transition);
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--os-shadow-md);
}

.os-mkt-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.os-mkt-card-icon-blue {
    background: linear-gradient(135deg, var(--os-blue), #5ba3ff);
}

.os-mkt-card-icon-green {
    background: linear-gradient(135deg, var(--os-green), #27a866);
}

.os-mkt-card-icon-dark {
    background: linear-gradient(135deg, #343a40, #495057);
}

.os-mkt-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.os-mkt-card p {
    color: var(--os-text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Scenario / nightmare cards */
.os-mkt-scenario-card {
    background: #ffffff;
    border-left: 4px solid var(--os-blue);
    border-radius: 0 var(--os-radius) var(--os-radius) 0;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--os-shadow-sm);
    transition: var(--os-transition);
}

.os-mkt-scenario-card:hover {
    border-left-color: var(--os-green);
    box-shadow: var(--os-shadow-md);
}

.os-mkt-scenario-card p {
    margin: 0;
    font-style: italic;
    color: var(--os-text);
    line-height: 1.65;
}

/* ============================================
   Steps / How-It-Works
   ============================================ */
.os-mkt-steps {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.os-mkt-step {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    position: relative;
    background: #ffffff;
    border-radius: var(--os-radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--os-blue), var(--os-green));
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.os-mkt-step p {
    color: var(--os-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Connector lines between steps (desktop) */
.os-mkt-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: calc(2rem);
    height: 2px;
    background: var(--os-border);
}

/* ============================================
   Persona Cards
   ============================================ */
.os-mkt-persona-card {
    background: #ffffff;
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius-lg);
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: var(--os-transition);
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-persona-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--os-shadow-md);
}

.os-mkt-persona-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-persona-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.os-mkt-persona-card p {
    color: var(--os-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   Feature Blocks
   ============================================ */
.os-mkt-feature-block {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--os-border);
}

.os-mkt-feature-block:last-child {
    border-bottom: none;
}

.os-mkt-feature-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.os-mkt-feature-block p {
    color: var(--os-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Placeholder for feature graphics */
.os-mkt-placeholder {
    background: linear-gradient(160deg, #e8edf4 0%, #dce4ed 40%, #dde8e2 100%);
    border: 2px dashed #bcc5d3;
    border-radius: var(--os-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    color: #7a8699;
    font-size: 0.9rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-mkt-placeholder i {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #8fa0b8;
}

.os-mkt-placeholder p {
    margin: 0;
    color: #7a8699;
}

/* ============================================
   Callout Box
   ============================================ */
.os-mkt-callout {
    background: linear-gradient(135deg, #daeaf9 0%, #e4eef8 100%);
    border: 1px solid #a8cce8;
    border-radius: var(--os-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-callout h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.os-mkt-callout p {
    color: var(--os-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   Differentiator callout
   ============================================ */
.os-mkt-diff {
    background: linear-gradient(135deg, #e2ebd8 0%, #dde8dc 100%);
    border-left: 4px solid var(--os-green);
    border-radius: 0 var(--os-radius) var(--os-radius) 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-diff p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--os-text);
}

.os-mkt-diff strong {
    color: var(--os-green-dark);
}

/* ============================================
   Pricing Table
   ============================================ */
.os-mkt-billing-toggle {
    display: inline-flex;
    background: linear-gradient(135deg, rgba(54,142,255,0.12) 0%, rgba(26,127,77,0.08) 100%);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 3rem;
    border: 1px solid rgba(54,142,255,0.25);
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-billing-toggle button {
    border: none;
    background: transparent;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4a6a8a;
    cursor: pointer;
    transition: var(--os-transition);
}

.os-mkt-billing-toggle button.active {
    background: #ffffff;
    color: var(--os-text);
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-billing-toggle .os-mkt-save-badge {
    font-size: 0.7rem;
    background: var(--os-green);
    color: #ffffff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* Pricing cards */
.os-mkt-pricing-card {
    background: #ffffff;
    border: 2px solid var(--os-border);
    border-radius: var(--os-radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: var(--os-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--os-shadow-sm);
}

.os-mkt-pricing-card.featured {
    border-color: var(--os-blue);
    box-shadow: var(--os-shadow-md);
    position: relative;
}

.os-mkt-pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--os-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.os-mkt-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--os-shadow-lg);
}

.os-mkt-pricing-tier {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.os-mkt-pricing-subtitle {
    font-size: 0.9rem;
    color: var(--os-text-muted);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.os-mkt-pricing-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--os-text);
    line-height: 1;
}

.os-mkt-pricing-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--os-text-muted);
}

.os-mkt-pricing-cycle {
    font-size: 0.85rem;
    color: var(--os-text-muted);
    margin-bottom: 1.5rem;
    min-height: 1.5em;
}

.os-mkt-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex-grow: 1;
}

.os-mkt-pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--os-bg-light);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.os-mkt-pricing-features li i {
    color: var(--os-green);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.os-mkt-pricing-features li:last-child {
    border-bottom: none;
}

.os-mkt-pricing-card .os-mkt-btn {
    width: 100%;
    margin-top: auto;
}

/* ============================================
   ROI / Stats
   ============================================ */
.os-mkt-stat-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.os-mkt-stat {
    text-align: center;
    min-width: 160px;
}

.os-mkt-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--os-blue);
    line-height: 1;
}

.os-mkt-section-dark .os-mkt-stat-number {
    color: #ffffff;
}

.os-mkt-stat-label {
    font-size: 0.9rem;
    color: var(--os-text-muted);
    margin-top: 0.5rem;
}

.os-mkt-section-dark .os-mkt-stat-label {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   FAQ
   ============================================ */
.os-mkt-faq-item {
    border: 1px solid var(--os-border);
    border-radius: var(--os-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--os-shadow-xs);
}

.os-mkt-faq-question {
    padding: 1.15rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    transition: var(--os-transition);
    user-select: none;
}

.os-mkt-faq-question:hover {
    background: var(--os-bg-light);
}

.os-mkt-faq-question i {
    transition: transform 0.25s ease;
    color: var(--os-text-muted);
}

.os-mkt-faq-item.open .os-mkt-faq-question i {
    transform: rotate(180deg);
}

.os-mkt-faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--os-text-muted);
    line-height: 1.7;
}

/* ============================================
   Social Proof
   ============================================ */
.os-mkt-proof {
    text-align: center;
    padding: 2rem 0;
}

.os-mkt-proof-stat {
    font-size: 1.1rem;
    color: var(--os-text-muted);
    font-weight: 500;
}

.os-mkt-proof-stat i {
    color: var(--os-green);
    margin-right: 0.35rem;
}

/* ============================================
   Footer
   ============================================ */
.os-mkt-footer {
    background: #1a2332;
    color: rgba(255,255,255,0.7);
    padding: 3.5rem 0 0;
}

.os-mkt-footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.os-mkt-footer-brand i {
    color: var(--os-blue);
}

.os-mkt-footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    opacity: 0.7;
}

.os-mkt-footer-heading {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.os-mkt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.os-mkt-footer-links li {
    margin-bottom: 0.5rem;
}

.os-mkt-footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--os-transition);
    font-size: 0.9rem;
}

.os-mkt-footer-links a:hover {
    color: #ffffff;
}

.os-mkt-footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.os-mkt-footer-bottom p {
    margin: 0;
}

/* ============================================
   Utility
   ============================================ */
.os-mkt-text-gradient {
    background: linear-gradient(135deg, var(--os-blue), var(--os-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.os-mkt-text-blue {
    color: var(--os-blue);
}

.os-mkt-text-green {
    color: var(--os-green);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .os-mkt-nav-links {
        display: none;
    }

    .os-mkt-hero h1 {
        font-size: 2.4rem;
    }

    .os-mkt-heading {
        font-size: 1.8rem;
    }

    .os-mkt-section {
        padding: 3rem 0;
    }

    .os-mkt-hero {
        padding: 3rem 0 2.5rem;
    }

    /* Remove step connectors on smaller screens */
    .os-mkt-step::after {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .os-mkt-nav-toggle {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .os-mkt-hero h1 {
        font-size: 2rem;
    }

    .os-mkt-hero .os-mkt-hero-sub {
        font-size: 1.05rem;
    }

    .os-mkt-heading {
        font-size: 1.6rem;
    }

    .os-mkt-section {
        padding: 2.5rem 0;
    }

    .os-mkt-step {
        min-width: 100%;
    }

    .os-mkt-pricing-amount {
        font-size: 2.2rem;
    }

    .os-mkt-callout {
        padding: 1.75rem;
    }

    .os-mkt-feature-block {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .os-mkt-hero h1 {
        font-size: 1.75rem;
    }

    .os-mkt-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .os-mkt-btn-lg {
        width: 100%;
    }
}
