/* ══════════════════════════════════════════════════════════════
   AMUSEMENT STANDARDS — main.css
   Shared styles for all pages on amusementstandards.com
   Last updated: 2026-03-16
   ══════════════════════════════════════════════════════════════ */

:root {
    --primary: #0052CC;
    --primary-dark: #003D99;
    --primary-light: #E8F0FC;
    --secondary: #FF6B35;
    --secondary-dark: #E55A2B;
    --success: #00875A;
    --warning: #FFAB00;
    --bg-light: #F7F9FC;
    --bg-white: #FFFFFF;
    --text-primary: #172B4D;
    --text-secondary: #5E6C84;
    --text-light: #8993A4;
    --border: #DFE1E6;
    --shadow: rgba(9, 30, 66, 0.08);
    --shadow-hover: rgba(9, 30, 66, 0.16);
    --font-display: 'DM Sans', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --section-padding: 120px;
    --container-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }


/* ═══════════════════════════════════════════════════════════════
   HEADER / NAV — 6-item nav used on all pages
   ═══════════════════════════════════════════════════════════════ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-decoration: none;
}

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

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Audience links (Operators, Manufacturers, Insurers) */
.nav .nav-mfr {
    color: var(--text-secondary);
    padding: 7px 13px;
    font-size: 13px;
}

.nav .nav-mfr:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* AS 360 orange pill */
.nav .nav-as360 {
    background: linear-gradient(135deg, #FF6B35, #e55a2b);
    color: #fff;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
}

.nav .nav-as360:hover {
    filter: brightness(1.08);
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.35);
    transform: translateY(-1px);
}

/* CTA button (Free Risk Review) */
.nav .nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav .nav-cta:hover {
    background: var(--primary-dark);
}

/* Active state for current page */
.nav .nav-active {
    color: var(--primary);
    background: var(--primary-light);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER — 6-column footer used on all pages
   ═══════════════════════════════════════════════════════════════ */

.footer {
    background: #060f24;
    padding: 48px 40px 24px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand-name {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.65;
    font-weight: 300;
}

.footer-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.44);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* Score-colored footer links */
.footer-score-links a.ride { color: rgba(255, 107, 53, 0.6); }
.footer-score-links a.ride:hover { color: #FF6B35; }
.footer-score-links a.splash { color: rgba(30, 158, 212, 0.6); }
.footer-score-links a.splash:hover { color: #1e9ed4; }
.footer-score-links a.play { color: rgba(31, 184, 122, 0.6); }
.footer-score-links a.play:hover { color: #1fb87a; }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}


/* ═══════════════════════════════════════════════════════════════
   HERO — shared hero pattern for service subpages
   ═══════════════════════════════════════════════════════════════ */

.hero {
    background: linear-gradient(135deg, #0052CC 0%, #003D99 100%);
    color: white;
    padding: 100px 40px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="white" opacity="0.1"/></svg>');
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-family: var(--font-mono);
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 24px;
    opacity: 0.95;
    max-width: 700px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* ═══════════════════════════════════════════════════════════════
   LAYOUT — containers, sections
   ═══════════════════════════════════════════════════════════════ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════════════════════════ */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px var(--shadow-hover);
    border-color: var(--primary);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.service-card h3 { font-size: 26px; margin-bottom: 16px; font-weight: 700; }
.service-card h4 { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin: 24px 0 12px; }
.service-card p { color: var(--text-secondary); margin-bottom: 5px; }
.service-card ul { list-style: none; margin-bottom: 5px; }
.service-card li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-secondary);
}
.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}


/* ═══════════════════════════════════════════════════════════════
   DELIVERABLES & DEMO LINKS
   ═══════════════════════════════════════════════════════════════ */

.deliverables-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
    border-left: 4px solid var(--primary);
}

.deliverables-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--text-primary);
}

.deliverables-box ul { margin: 0; }

.deliverable-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.deliverable-link:hover { color: var(--secondary); }

.demo-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--secondary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.6;
    white-space: nowrap;
}

.deliverable-link:hover .demo-badge { background: var(--primary); }

.demo-links-box {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #EEF2F7 100%);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.demo-links-box h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; color: var(--text-primary); }
.demo-links-box > p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; }

.demo-links { display: flex; flex-direction: column; gap: 10px; }

.demo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px var(--shadow);
}

.demo-link:hover {
    border-color: var(--secondary);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.12);
    transform: translateY(-2px);
}

.demo-link-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 10px;
}

.demo-link-content { flex: 1; min-width: 0; }
.demo-link-title { display: block; font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.demo-link-desc { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

.demo-link-arrow {
    font-size: 20px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}

.demo-link:hover .demo-link-arrow {
    color: var(--secondary);
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.pricing-card.featured { border-color: var(--primary); border-width: 3px; }

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pricing-description { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; min-height: 60px; }

.pricing-features { list-style: none; margin: 24px 0; }
.pricing-features li { padding: 12px 0 12px 32px; position: relative; color: var(--text-secondary); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 18px; }

.pricing-cta { width: 100%; margin-top: 32px; }


/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin: 60px 0;
}

.stat-item { text-align: center; }
.stat-number { font-size: 56px; font-weight: 700; color: var(--primary); font-family: var(--font-mono); margin-bottom: 12px; }
.stat-label { font-size: 18px; color: var(--text-secondary); }


/* ═══════════════════════════════════════════════════════════════
   BENEFITS LIST
   ═══════════════════════════════════════════════════════════════ */

.benefits-list { list-style: none; max-width: 900px; margin: 60px auto; }
.benefits-list li {
    padding: 24px 0 24px 60px;
    position: relative;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
}
.benefits-list li:last-child { border-bottom: none; }
.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 24px;
    width: 40px;
    height: 40px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}


/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="white" opacity="0.1"/></svg>');
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 { font-size: 42px; margin-bottom: 20px; font-weight: 700; }
.cta-section p { font-size: 20px; margin-bottom: 50px; opacity: 0.95; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }


/* ═══════════════════════════════════════════════════════════════
   STICKY CTA
   ═══════════════════════════════════════════════════════════════ */

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 40px;
    box-shadow: 0 -4px 12px var(--shadow);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s;
    display: none;
}

.sticky-cta.visible { transform: translateY(0); display: block; }

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

.sticky-cta h3 { font-size: 20px; font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }

    .header-inner { padding: 0 20px; }
    .nav { display: none; }

    .hero { padding: 60px 24px 80px; }
    .hero h1 { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-cta-group { flex-direction: column; }

    .container { padding: 0 24px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .section-description { font-size: 18px; }

    .service-grid { grid-template-columns: 1fr; gap: 24px; }
    .service-card { padding: 32px 24px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 32px; }

    .cta-section h2 { font-size: 32px; }
    .cta-buttons { flex-direction: column; }

    .sticky-cta-container { flex-direction: column; gap: 16px; text-align: center; }

    .footer { padding: 40px 20px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

    .demo-link { padding: 12px 14px; gap: 10px; }
    .demo-link-icon { width: 40px; height: 40px; font-size: 20px; }
    .demo-link-desc { display: none; }
    .demo-links-box { padding: 16px; }
}
