:root {
    --bg-dark: #0a0a0f;
    --text-primary: #ffffff;
    --text-main: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-cyan: #00f3ff;
    --accent-purple: #bc13fe;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Outfit", sans-serif;
}

.logo-stack {
    color: var(--text-main);
}
.logo-anchor {
    color: var(--accent-cyan);
}
.hidden-trap {
    display: none;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Ensure links in legal text are explicitly cyan */
.legal-page a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-page a:hover {
    opacity: 1;
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th,
td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: -100px;
    left: -100px;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: -50px;
    right: -50px;
    animation: float 12s infinite ease-in-out reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-decoration: none;
}

.logo span span:first-child {
    color: var(--text-primary);
}

.logo span span:last-child {
    color: var(--accent-cyan);
}

.logo-icon {
    height: 52px;
    width: auto;
    /* Optical adjustment */
    position: relative;
    top: -2px;
}

.dot {
    color: var(--accent-cyan);
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-right: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #555;
    position: relative;
}

.status-dot.up {
    background-color: #27c93f;
    box-shadow: 0 0 10px #27c93fa0;
}

.status-dot.down {
    background-color: #ff5f56;
    box-shadow: 0 0 10px #ff5f56a0;
}

.status-dot.up::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: pulse-dot 2s infinite;
    opacity: 0.5;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Buttons */
.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    z-index: 10;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.btn-hero {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
    transition: transform 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding: 0 5%;
    gap: 4rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.badge {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Visual / Code Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-block {
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.keyword {
    color: #c678dd;
}

.string {
    color: #98c379;
}

.variable {
    color: #e06c75;
}

.comment {
    color: #5c6370;
    display: block;
    margin-top: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 2rem;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

/* GDPR consent note under audit submit button */
.privacy-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    opacity: 0.7;
    margin-top: -0.5rem;
}

.privacy-note a {
    color: var(--accent-cyan);
    text-decoration: none;
    opacity: 0.9;
}

.privacy-note a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        height: 40px;
    }

    nav {
        gap: 1.5rem;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .glass-card {
        transform: none;
        margin-top: 3rem;
    }
}

/* Terminal Styles */
.terminal-window {
    padding: 0;
    /* Override default card padding */
    width: 100%;
    max-width: 600px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.85);
    /* Darker opacity for terminal */
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 10px;
    font-family: "Fira Code", monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.terminal-body {
    flex: 1;
    padding: 20px;
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    color: #e0e0e0;
    overflow-y: auto;
    cursor: text;
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.prompt {
    color: var(--accent-cyan);
    margin-right: 10px;
    font-weight: bold;
}

#cmd-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    flex: 1;
    outline: none;
    caret-color: var(--accent-purple);
}

.output-line {
    margin-bottom: 5px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.success {
    color: var(--accent-cyan);
}

.error {
    color: #ff5f56;
}

.info {
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent-purple);
}

/* Scrollbar for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Services / Modules Section */
.modules-section {
    padding: 8rem 5% 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.module-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.module-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.coming-soon .module-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-color: var(--glass-border);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.module-icon.grayscale {
    filter: grayscale(1);
    opacity: 0.5;
}

.module-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.module-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.module-features {
    list-style: none;
    margin-bottom: 2rem;
}

.module-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.module-features li span {
    color: var(--accent-cyan);
    font-weight: bold;
}

.module-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.price .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.buy-btn {
    background: var(--text-primary);
    color: var(--bg-dark);
    font-weight: 600;
    border: none;
}

.buy-btn:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.coming-soon {
    opacity: 0.8;
}

/* Pulse Monitor Terminal Styles */
.mt-3 {
    margin-top: 1rem !important;
}

.terminal-mode {
    padding: 0;
    gap: 0;
}

.terminal-header.small {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 0;
}

.pulse-terminal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.field-group label {
    display: block;
    color: var(--accent-cyan);
    font-family: "Fira Code", monospace;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.prefix {
    color: var(--text-secondary);
    margin-right: 0.5rem;
    font-family: "Fira Code", monospace;
}

#audit-domain,
#audit-email {
    background: transparent;
    background-color: transparent !important;
    border: none;
    color: var(--text-primary);
    width: 100%;
    outline: none;
    font-family: "Fira Code", monospace;
    font-size: 0.95rem;
    color-scheme: dark;
}

/* Fix webkit autofill white background */
#audit-domain:-webkit-autofill,
#audit-domain:-webkit-autofill:hover,
#audit-domain:-webkit-autofill:focus,
#audit-domain:-webkit-autofill:active,
#audit-email:-webkit-autofill,
#audit-email:-webkit-autofill:hover,
#audit-email:-webkit-autofill:focus,
#audit-email:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(10, 10, 15, 0.8) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-box {
    cursor: pointer;
    position: relative;
    flex: 1;
}

.radio-box input {
    position: absolute;
    opacity: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.radio-box input:checked + .radio-label {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    font-weight: 600;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

.console-output {
    font-family: "Fira Code", monospace;
    font-size: 0.85rem;
    min-height: 20px;
    color: var(--text-secondary);
}

.console-output .success {
    color: #27c93f;
}

.console-output .error {
    color: #ff5f56;
}

.console-output .processing {
    color: var(--accent-purple);
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

/* Animations */
.cursor-blink {
    animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* Legal Pages (Privacy, Terms, etc.) */
.legal-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 5% 6rem;
}

.legal-page h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: "Fira Code", monospace;
}

.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 2.5rem 0 0.75rem;
    color: var(--accent-cyan);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.4rem;
}

.legal-page h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.97rem;
}

.legal-page ul {
    margin: 0.75rem 0 0.75rem 1.5rem;
}

.legal-page ul li {
    margin-bottom: 0.4rem;
}

.legal-page .highlight-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-cyan);
    opacity: 1;
}

/* Status Page Specific */
.status-page body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: "Outfit", sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.status-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.target-url {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.check-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.up {
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid rgba(39, 201, 63, 0.2);
}

.status-badge.down {
    background: rgba(255, 95, 86, 0.1);
    color: #ff5f56;
    border: 1px solid rgba(255, 95, 86, 0.2);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

.metric-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.history-item:hover {
    border-color: var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.error-message {
    color: #ff5f56;
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem;
}

.skeleton {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
    background-size: 200% 100%;
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.05) 100%
    );
}

.sk-title {
    width: 300px;
    height: 40px;
    margin-bottom: 10px;
}
.sk-meta {
    width: 150px;
    height: 20px;
}
.sk-badge {
    width: 120px;
    height: 40px;
    border-radius: 50px;
}
.sk-metric {
    height: 100px;
    border-radius: 16px;
}

/* Blog & Long-form Content */
.blog-section {
    padding: 6rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-card .post-date {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-family: "Fira Code", monospace;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1.2;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.article-container {
    max-width: 800px;
    margin: 4rem auto 8rem;
    padding: 0 1.5rem; /* Added padding for mobile */
}

.article-header {
    margin-bottom: 4rem;
    text-align: center;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem; /* Reduced from 3.5rem */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: "Fira Code", monospace;
}

.rich-text {
    font-size: 1.15rem;
    line-height: 1.8;
}

.rich-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    margin: 3.5rem 0 1.5rem;
    color: var(--text-primary);
}

.rich-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--accent-cyan);
}

.rich-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.rich-text ul,
.rich-text ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.rich-text li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.rich-text code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "Fira Code", monospace;
    font-size: 0.9em;
    color: var(--accent-cyan);
}

.rich-text pre {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    overflow-x: auto; /* Ensure horizontal scrolling */
    -webkit-overflow-scrolling: touch;
}

.rich-text pre code {
    background: none;
    padding: 0;
    color: #e0e0e0;
}

.rich-text blockquote {
    border-left: 4px solid var(--accent-cyan);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.back-link:hover {
    color: var(--accent-cyan);
}

/* Call to Action in Blog */
.rich-text figure {
    margin: 3rem 0;
    text-align: center;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.rich-text figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: "Fira Code", monospace;
    opacity: 0.8;
}

.blog-cta {
    margin-top: 6rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.1), rgba(0, 243, 255, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    text-align: center;
}

.blog-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .rich-text {
        font-size: 1.1rem;
    }
    .blog-cta h2 {
        font-size: 2rem;
    }
}
