/* =====================================================
   Paceline Mobile - Theme
   Secure, policy-managed mobile connectivity
   Brand: professional blue + emerald green on lifted navy
   ===================================================== */

:root {
    /* Brand Colors */
    --primary-navy: #1b2d49;
    --primary-teal: #34d399;   /* emerald green - primary accent */
    --primary-orange: #3b82f6; /* professional blue - secondary accent */

    /* Extended Palette */
    --dark-bg: #14223b;
    --darker-bg: #0e1a30;
    --card-bg: #1b2d49;
    --card-hover: #253a5e;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #d1dce9;
    --text-muted: #9fb0c6;

    /* Accent Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #34d399 100%);
    --gradient-accent: linear-gradient(135deg, #34d399 0%, #3b82f6 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 24px rgba(52, 211, 153, 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --max-width: 1280px;
    --section-padding: 6rem 0;
}

/* =====================================================
   CSS Reset & Base Styles
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* =====================================================
   Typography
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   Layout Utilities
   ===================================================== */

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

.section {
    padding: var(--section-padding);
}

/* =====================================================
   Navigation
   ===================================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.main-nav.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    z-index: 1001;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-teal);
}

.nav-link i.fa-chevron-down {
    font-size: 0.75rem;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--card-hover);
    color: var(--primary-teal);
    padding-left: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        background: var(--darker-bg);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        padding: 1rem 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item.active .dropdown-menu {
        max-height: 500px;
    }
}

/* =====================================================
   Buttons
   ===================================================== */

.btn-primary,
.btn-secondary,
.btn-primary-small,
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary,
.btn-primary-large {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-teal);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 500;
    transition: var(--transition);
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    color: var(--primary-teal);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   Section Headers
   ===================================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    background: rgba(52, 211, 153, 0.1);
    color: var(--primary-teal);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* =====================================================
   Value Props Section
   ===================================================== */

.what-we-do {
    background: var(--darker-bg);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* =====================================================
   Services Section
   ===================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 0.75rem;
}

/* =====================================================
   Solutions Section
   ===================================================== */

.solutions-section {
    background: var(--darker-bg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-xl);
}

.solution-content {
    padding: 2.5rem 2rem;
}

.solution-content i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.solution-content h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.solution-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* =====================================================
   Process Timeline
   ===================================================== */

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* =====================================================
   CTA Sections
   ===================================================== */

.cta-section {
    background: var(--darker-bg);
}

.cta-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content {
    text-align: left;
}

.cta-content i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.capability-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.capability-form input {
    background: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.capability-form input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.cta-section-dark {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content-center h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content-center > p {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    line-height: 1.7;
}

.footer-logo {
    width: 50px;
    border-radius: var(--radius-sm);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-teal);
    color: var(--text-primary);
    border-color: var(--primary-teal);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-teal);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-location {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }
}

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

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step {
        gap: 1.5rem;
    }
}

/* =====================================================
   Light Theme for Company Pages
   ===================================================== */

body.light-theme {
    background-color: #f8fafc;
    color: #1e293b;
}

body.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .nav-link {
    color: #475569;
}

body.light-theme .nav-link:hover,
body.light-theme .nav-link.active {
    color: var(--primary-teal);
}

body.light-theme .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body.light-theme .dropdown-menu a {
    color: #475569;
}

body.light-theme .dropdown-menu a:hover {
    background: #f1f5f9;
    color: var(--primary-teal);
}

body.light-theme .mobile-menu-toggle span {
    background: #1e293b;
}

body.light-theme .logo,
body.light-theme .logo span {
    color: #1e293b;
}

body.light-theme .hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #ddd6fe 100%);
}

body.light-theme .hero-background {
    background:
        radial-gradient(circle at 20% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

body.light-theme .hero-badge {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--primary-navy);
}

body.light-theme .hero-title,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
    color: #0f172a;
}

body.light-theme .hero-subtitle {
    color: #475569;
}

body.light-theme .section {
    background: #ffffff;
}

body.light-theme .section:nth-child(even) {
    background: #f8fafc;
}

/* Override dark background sections in light theme */
body.light-theme .section[style*="background: var(--darker-bg)"] {
    background: #f1f5f9 !important;
}

body.light-theme .section-label {
    background: rgba(52, 211, 153, 0.1);
    color: var(--primary-navy);
}

body.light-theme .section-description {
    color: #475569;
}

body.light-theme .value-card,
body.light-theme .service-card,
body.light-theme .solution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.light-theme .value-card:hover,
body.light-theme .service-card:hover,
body.light-theme .solution-card:hover {
    background: #ffffff;
    border-color: var(--primary-teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body.light-theme .value-card p,
body.light-theme .service-card p,
body.light-theme .solution-card p {
    color: #64748b;
}

body.light-theme .service-card ul,
body.light-theme .service-card li,
body.light-theme .value-card ul,
body.light-theme .value-card li {
    color: #475569 !important;
}

body.light-theme .service-link,
body.light-theme .link-arrow {
    color: var(--primary-teal);
}

body.light-theme .process-timeline::before {
    background: var(--gradient-primary);
}

body.light-theme .step-content p {
    color: #64748b;
}

body.light-theme .trust-label {
    color: #64748b;
}

body.light-theme .cta-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

body.light-theme .cta-content-center {
    color: #0f172a;
}

body.light-theme .cta-content-center > p {
    color: #475569;
}

body.light-theme .cta-note {
    color: #64748b;
}

body.light-theme .footer {
    background: #1e293b;
    color: #e2e8f0;
}

body.light-theme .footer-brand p,
body.light-theme .footer-col a {
    color: #cbd5e1;
}

body.light-theme .footer-col h4 {
    color: #f1f5f9;
}

body.light-theme .footer-bottom {
    color: #94a3b8;
}

/* =====================================================
   Legal Pages Styling
   ===================================================== */

/* Page Hero Section for Legal Pages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f2942 100%);
    padding: 8rem 0 4rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

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

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--primary-teal);
    background: rgba(52, 211, 153, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-top: 1rem;
}

.last-updated i {
    color: var(--primary-teal);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Introduction Text (used in security.html) */
.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Legal Content Styling */
.legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.legal-intro {
    background: rgba(52, 211, 153, 0.05);
    border-left: 4px solid var(--primary-teal);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
}

.legal-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-intro a {
    color: var(--primary-teal);
    text-decoration: underline;
}

.legal-intro a:hover {
    color: var(--primary-orange);
}

/* Legal Sections */
.legal-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    list-style-type: none;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-section ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-teal);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-orange);
}

/* Contact Info Box */
.contact-info-box {
    background: rgba(52, 211, 153, 0.05);
    border: 2px solid var(--primary-teal);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-info-box p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box strong {
    color: var(--primary-teal);
    font-size: 1.1rem;
}

.contact-info-box a {
    color: var(--primary-teal);
    text-decoration: underline;
}

.contact-info-box a:hover {
    color: var(--primary-orange);
}

/* Legal Footer Note */
.legal-footer-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 0.5rem;
    text-align: center;
}

.legal-footer-note p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.legal-footer-note em {
    font-style: italic;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
        min-height: 40vh;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-intro,
    .contact-info-box {
        padding: 1.5rem;
    }
}

/* =====================================================
   Utility Classes
   ===================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* =====================================================
   Paceline Additions
   ===================================================== */

/* Logo mark (inline SVG, no image dependency) */
.logo .logo-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}
.logo .logo-mark svg { width: 22px; height: 22px; display: block; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-text .logo-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.logo .logo-text .logo-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-teal);
    margin-top: 3px;
}
.footer-logo-mark {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-glow); margin-bottom: 1rem;
}
.footer-logo-mark svg { width: 26px; height: 26px; }

/* Feature list with check icons (used on inner pages) */
.feature-list { display: grid; gap: 0.9rem; max-width: 760px; margin: 0 auto; }
.feature-list li {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding: 1rem 1.25rem; background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg);
}
.feature-list li i { color: var(--primary-teal); margin-top: 0.2rem; font-size: 1.05rem; }
.feature-list li strong { color: var(--text-primary); }

/* Simple two-column prose block */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin-bottom: 1.15rem; color: var(--text-secondary); }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul { margin: 0 0 1.15rem 0; display: grid; gap: 0.6rem; }
.prose ul li { position: relative; padding-left: 1.5rem; color: var(--text-secondary); }
.prose ul li::before {
    content: ''; position: absolute; left: 0; top: 0.6em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--gradient-primary);
}

/* Pill / eyebrow chip row */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.5rem; }
.pill {
    font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.04em;
    padding: 0.45rem 0.9rem; border-radius: 999px;
    border: 1px solid rgba(52, 211, 153,0.3); color: var(--text-secondary);
    background: rgba(52, 211, 153,0.06);
}
