/* --- Design Tokens & Global Styles --- */
:root {
    --color-ink: #0a0f1a;
    --color-ink-soft: #111827;
    --color-slate: #1f2937;
    --color-mist: #f5f7fb;
    --color-sky: #33d2ff;
    --color-teal: #12b3c7;
    --color-coral: #f9735f;
    --color-text: #0f172a;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 6rem;
    --shadow-soft: 0 20px 45px -30px rgba(15, 23, 42, 0.5);
    --shadow-strong: 0 25px 45px -35px rgba(15, 23, 42, 0.8);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-mist);
    color: var(--color-text);
}

.bg-navy {
    background-color: var(--color-ink);
}

.bg-light {
    background-color: var(--color-mist);
}

.text-sky {
    color: var(--color-sky);
}

.text-coral {
    color: var(--color-coral);
}

.card-light {
    background-color: #ffffff;
}

.hidden {
    display: none;
}

/* --- Reusable Button Styles --- */
.btn-primary {
    background: linear-gradient(135deg, var(--color-teal), var(--color-sky));
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px -12px rgba(18, 179, 199, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
}

.btn-outline {
    border: 1px solid rgba(51, 210, 255, 0.6);
    color: var(--color-sky);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(51, 210, 255, 0.1);
    color: #fff;
}

/* --- Navigation Links --- */
.nav-link {
    color: #4b5563;
    transition: color 0.3s ease;
}

.dark .nav-link {
    color: #d1d5db;
}

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

.dark .nav-link:hover {
    color: var(--color-sky);
}

.nav-link-active {
    color: var(--color-sky);
    font-weight: 600;
}

.dark .nav-link-active {
    color: var(--color-sky);
}

/* --- Theme Toggle & Menu Buttons --- */
.theme-toggle,
.theme-toggle-mobile {
    color: #4b5563;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark .theme-toggle,
.dark .theme-toggle-mobile {
    color: #d1d5db;
}

.theme-toggle:hover,
.theme-toggle-mobile:hover {
    background-color: #e5e7eb;
}

.dark .theme-toggle:hover,
.dark .theme-toggle-mobile:hover {
    background-color: #374151;
}

.theme-toggle:focus,
.theme-toggle-mobile:focus,
.menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-sky);
}

.menu-toggle {
    color: #4b5563;
}

.dark .menu-toggle {
    color: #d1d5db;
}

/* --- Mobile Menu Divider --- */
.mobile-menu-divider {
    border-top: 1px solid #e5e7eb;
}

.dark .mobile-menu-divider {
    border-top: 1px solid #374151;
}

/* --- Filter Buttons --- */
.filter-btn {
    background-color: #e5e7eb;
    color: #374151;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dark .filter-btn {
    background-color: #374151;
    color: #d1d5db;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-sky);
    color: #fff;
}

/* --- Sticky Header Placeholder --- */
#header-placeholder {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* --- Marketing Site Components --- */
.hero-section {
    background: radial-gradient(circle at top, rgba(51, 210, 255, 0.2), transparent 55%),
        linear-gradient(135deg, rgba(10, 15, 26, 0.98), rgba(15, 23, 42, 0.95));
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero-vanta {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-vanta canvas {
    width: 100% !important;
    height: 100% !important;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(18, 179, 199, 0.35), transparent 70%);
    filter: blur(40px);
    top: -120px;
    right: -120px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.section-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.section-pad {
    padding: var(--space-3xl) 0;
}

.section-pad-tight {
    padding: var(--space-2xl) 0;
}

.section-title {
    border-bottom: 3px solid var(--color-sky);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section-eyebrow {
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(51, 210, 255, 0.8);
}

.surface-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--shadow-soft);
    border-radius: 1rem;
}

.dark .surface-card {
    background: rgba(17, 24, 39, 0.9);
    border-color: rgba(148, 163, 184, 0.15);
}

.surface-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.glow-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(51, 210, 255, 0.8), transparent);
}

.pill {
    background: rgba(51, 210, 255, 0.12);
    color: var(--color-sky);
    border: 1px solid rgba(51, 210, 255, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.icon-list [data-lucide],
.icon-list svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
}

.timeline-step {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.25rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: var(--color-sky);
    box-shadow: 0 0 14px rgba(51, 210, 255, 0.7);
}

.timeline-step::after {
    content: '';
    position: absolute;
    left: 0.78rem;
    top: 1.15rem;
    width: 2px;
    height: calc(100% - 1.2rem);
    background: rgba(148, 163, 184, 0.4);
}

.timeline-step:last-child::after {
    display: none;
}

.faq-item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.25rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 1.25rem;
    color: var(--color-sky);
}

.faq-item[open] summary::after {
    content: '–';
}

.urgent-badge {
    background-color: rgba(249, 115, 95, 0.12);
    border: 1px solid var(--color-coral);
    color: var(--color-coral);
}

.quote-card {
    border-left: 4px solid var(--color-coral);
    background: rgba(249, 115, 95, 0.08);
}

/* --- Blog Page Specific Styles --- */
.post-card-link {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.post-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.dark .post-card-link:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.2);
}

/* --- Post Template Specific Styles --- */
.prose {
    font-size: 1.125rem;
    line-height: 1.75;
}

.prose h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.prose h2 {
    margin-top: 3rem;
}
