/* ============================================================
   Omni Workbench — Healy-inspired theme
   ============================================================ */

:root {
    --github-dark: #000000;
    --github-gray: #0a0a0a;
    --github-border: rgba(255, 255, 255, 0.08);
    --github-text: #94a3b8;

    --violet-primary: #7c3aed;
    --violet-light: #a78bfa;
    --violet-dark: #6d28d9;
    --blue-secondary: #3b82f6;
    --blue-light: #60a5fa;

    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-muted-light: #64748b;
    --white: #ffffff;

    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-inter);
    background: var(--github-dark);
    color: var(--github-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.font-inter { font-family: var(--font-inter); }
.font-mono { font-family: var(--font-mono); }

.bg-github-dark { background-color: var(--github-dark); }
.bg-github-gray { background-color: var(--github-gray); }
.bg-github-dark\/95 { background-color: rgba(0, 0, 10, 0.84); }
.text-github-text { color: var(--github-text); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-violet-primary { color: var(--violet-primary); }
.text-transparent { color: transparent; }
.border-github-border { border-color: var(--github-border); }

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.from-violet-primary { --tw-gradient-from: var(--violet-primary); }
.to-blue-secondary { --tw-gradient-to: var(--blue-secondary); }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }

.overflow-hidden { overflow: hidden; }
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-3 { padding-bottom: 0.75rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-4 { margin-top: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.15; }
.leading-relaxed { line-height: 1.75; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

.fluid-text-h1 {
    font-size: clamp(2.5rem, 6vw + 0.75rem, 5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.fluid-text-h2 {
    font-size: clamp(1.9rem, 3.5vw + 0.75rem, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.anchor-offset {
    scroll-margin-top: 90px;
}

.ambient-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0, 80, 255, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 30% 60%, rgba(80, 0, 220, 0.06) 0%, transparent 70%);
}

.glow-wrap {
    position: absolute;
    inset: 0;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.glow-blob-violet,
.glow-blob-blue {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    filter: blur(140px);
}

.glow-blob-violet {
    height: 420px;
    background: rgba(109, 40, 217, 0.15);
}

.glow-blob-blue {
    height: 760px;
    background: rgba(29, 78, 216, 0.12);
}

.section-glow-center::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 80, 255, 0.10) 0%, rgba(60, 0, 200, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-muted-30 {
    background: rgba(10, 10, 20, 0.6);
}

footer.bg-github-gray {
    background: rgba(5, 5, 12, 0.9);
}

footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--github-border);
}

footer ul {
    list-style: none;
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--github-border);
}

.mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--github-text);
    background: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.mobile-menu-button:hover,
.mobile-nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: block;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: color 0.2s ease, background 0.2s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container,
.logo-container-small {
    flex-shrink: 0;
}

.logo-container {
    width: 36px;
    height: 36px;
}

.logo-container-small {
    width: 28px;
    height: 28px;
}

.logo-svg,
.logo-svg-small {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    white-space: nowrap;
}

.hero-section {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 96px;
}

.hero-badge,
.coming-soon-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--violet-light);
    font-size: 14px;
    font-weight: 500;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-pill-large,
.btn-secondary-pill-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary-pill-large {
    background: var(--violet-primary);
    color: var(--text-white);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25);
}

.btn-primary-pill-large:hover {
    background: var(--violet-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.btn-secondary-pill-large {
    color: var(--github-text);
    border: 1px solid var(--github-border);
    background: transparent;
}

.btn-secondary-pill-large:hover {
    border-color: var(--violet-primary);
    color: var(--text-white);
    background: rgba(124, 58, 237, 0.1);
}

.floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.feature-card {
    position: relative;
    z-index: 1;
    background: var(--github-gray);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: left;
    box-shadow: var(--shadow-lg);
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    outline-width: 6px;
    outline-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(124, 58, 237, 0.10);
}

.feature-icon-violet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: rgba(124, 58, 237, 0.15);
    color: var(--violet-light);
    transition: background 0.3s ease;
}

.feature-card:hover .feature-icon-violet {
    background: rgba(124, 58, 237, 0.20);
}

.section-panel {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    outline: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.footer-link {
    color: var(--violet-light);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
}

@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: calc(96px + env(safe-area-inset-top));
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .fluid-text-h1 {
        font-size: clamp(2rem, 10vw, 3.4rem);
        line-height: 1.08;
    }

    .text-xl,
    .md\:text-2xl {
        font-size: 1rem;
        line-height: 1.6;
    }

    .feature-card,
    .section-panel {
        padding: 24px;
    }

    .btn-primary-pill-large,
    .btn-secondary-pill-large {
        width: 100%;
        padding: 14px 20px;
    }

    .logo-text {
        max-width: calc(100vw - 7rem);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

::selection {
    background: rgba(167, 139, 250, 0.4);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--github-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--github-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--github-text);
}
