:root {
    --bg: #0b0c11;
    --bg-2: #0f1016;
    --panel: #13151b;
    --panel-2: #16181f;
    --border: rgba(255, 255, 255, 0.07);
    --text: #eef1f4;
    --muted: #a2a9b6;
    --accent: #42b6a0;
    --accent-2: #2c9c88;
    --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
    --radius: 6px;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 100%;
    background:
        radial-gradient(160% 120% at 15% 10%, rgba(22, 241, 138, 0.06), transparent 28%),
        radial-gradient(140% 100% at 85% 0%, rgba(22, 241, 138, 0.04), transparent 25%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    overflow-x: hidden;
    background-color: var(--bg);
    overscroll-behavior: none;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(140% 120% at 15% 10%, rgba(66, 182, 160, 0.04), transparent 28%),
        radial-gradient(120% 90% at 85% 0%, rgba(66, 182, 160, 0.03), transparent 25%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overscroll-behavior: none;
}

body.is-fullscreen {
    overflow: hidden;
}

html.demo-active-mode,
body.demo-active-mode {
    overflow: hidden;
    height: 100%;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.site-header.is-scrolled {
    background: rgba(12, 14, 19, 0.98);
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.55);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #54f5db, #33c9a9, #2d94ff);
    display: grid;
    place-items: center;
    color: #032021;
    font-size: 1rem;
    font-weight: 800;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 8px 22px rgba(52, 200, 180, 0.35),
        0 18px 42px rgba(45, 148, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.logo-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 45%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.18), transparent 45%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.logo-text strong {
    font-size: 1rem;
}

.logo-text span {
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 600;
    color: #d7deeb;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(66, 182, 160, 0.12);
    transform: translateY(-1px);
}

.cta-link {
    background: linear-gradient(120deg, #46e0ca, #2da390);
    color: #041014;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(70, 224, 202, 0.25);
}

main {
    padding-top: 90px;
}

.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 24px 90px;
    background: radial-gradient(160% 140% at 50% 20%, rgba(66, 182, 160, 0.04), transparent 40%),
        linear-gradient(180deg, #0f1016, #0b0c11 70%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03), transparent 40%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 60%);
    z-index: 0;
}

.hero.demo-active {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    padding: 0;
    margin: 0;
    z-index: 900;
}

.hero.demo-active.is-fullscreen {
    top: 0;
    height: 100vh;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    max-width: 1200px;
    width: 100%;
    transition: opacity 0.5s ease;
}

.hero.demo-active .hero-grid {
    pointer-events: none;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    margin: 12px 0 16px;
    letter-spacing: -0.5px;
    line-height: 1.08;
    max-width: 20ch;
    text-wrap: balance;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(66, 182, 160, 0.12);
    color: #d7f0e9;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pill {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button.primary {
    background: linear-gradient(130deg, #46e0ca, #2da390);
    color: #071015;
    box-shadow: 0 10px 26px rgba(70, 224, 202, 0.3);
}

.button.ghost {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
}

.button:hover {
    transform: translateY(-1px);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.metric-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.metric-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.metric-sub {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-panel {
    background: linear-gradient(160deg, rgba(14, 19, 28, 0.95), rgba(12, 18, 27, 0.8));
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header,
.panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.panel-footer {
    border-top: 1px solid var(--border);
    border-bottom: none;
    color: var(--muted);
    font-size: 0.9rem;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.adapter-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 260px;
}

.adapter-card {
    width: 100%;
    background: linear-gradient(145deg, rgba(10, 16, 24, 0.9), rgba(14, 21, 32, 0.82));
    border: 1px solid rgba(66, 182, 160, 0.22);
    border-radius: 12px;
    padding: 12px 12px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adapter-summary {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.adapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.2px;
}

.adapter-badge.positive {
    background: rgba(66, 182, 160, 0.14);
    color: var(--accent);
    border-color: rgba(66, 182, 160, 0.45);
}

.adapter-badge.warn {
    background: rgba(244, 192, 96, 0.16);
    color: #f4c060;
    border-color: rgba(244, 192, 96, 0.5);
}

.adapter-badge.negative {
    background: rgba(255, 94, 94, 0.16);
    color: #ff8a8a;
    border-color: rgba(255, 94, 94, 0.5);
}

.adapter-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.adapter-row {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(66, 182, 160, 0.08), rgba(6, 9, 14, 0.82));
    border: 1px solid rgba(66, 182, 160, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.24);
}

.adapter-label {
    color: var(--muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.adapter-value {
    color: var(--text);
    word-break: break-word;
    font-weight: 600;
}

.panel-title {
    font-weight: 700;
}

.panel-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(43, 226, 194, 0.14);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    isolation: isolate;
}

.chip {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(66, 182, 160, 0.12);
    color: var(--accent);
    font-weight: 700;
    border: 1px solid rgba(66, 182, 160, 0.35);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.18;
    transform: scale(1);
    animation: statusPulse 2.2s ease-in-out infinite;
    z-index: -1;
}

@keyframes statusPulse {
    0% {
        opacity: 0.18;
        transform: scale(1);
    }
    50% {
        opacity: 0.05;
        transform: scale(1.4);
    }
    100% {
        opacity: 0.18;
        transform: scale(1);
    }
}

.panel-body {
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
}

.panel-graph {
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.94), rgba(6, 9, 14, 0.82), rgba(6, 9, 14, 0.94));
    padding: 18px;
    overflow: hidden;
    min-height: 320px;
}

.preview-embed {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 6px;
    z-index: 0;
}

.preview-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    inset: 0;
}

.preview-embed .is-preview {
    filter: saturate(1.05) brightness(1.05);
    opacity: 1.0;
    pointer-events: none;
    transform: scale(1.02);
    transform-origin: center;
}

.panel-graph::before {
    content: "";
    display: none;
}

.panel-graph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 14, 0.68), rgba(6, 9, 14, 0.36));
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.hero.demo-active .panel-graph {
    background: transparent;
    border-color: transparent;
}

.hero.demo-active .panel-graph::after {
    content: none;
}

.hero.demo-active .preview-embed {
    z-index: 2;
}

.graph-grid {
    display: none;
}

.graph-lines {
    display: none;
}

.graph-lines.delayed {
    display: none;
}

.small-label {
    font-size: 0.85rem;
}

.small-label.accent {
    color: var(--accent);
}

.browser-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.browser-status.ok {
    border-color: rgba(66, 182, 160, 0.45);
    background: rgba(66, 182, 160, 0.1);
    color: var(--accent);
}

.browser-status.warn {
    border-color: rgba(244, 192, 96, 0.5);
    background: rgba(244, 192, 96, 0.12);
    color: #f4c060;
}

.browser-status.bad {
    border-color: rgba(255, 94, 94, 0.55);
    background: rgba(255, 94, 94, 0.12);
    color: #ff8a8a;
}

#demoIframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 1;
    transition: opacity 0.15s ease;
    z-index: 50;
}

.hero.demo-active #demoIframe.is-active {
    position: fixed;
    inset: 72px 0 0 0;
    pointer-events: auto;
    filter: none;
    transform: none;
    z-index: 950;
}

.hero.demo-active.is-fullscreen #demoIframe.is-active {
    inset: 0;
}

.demo-controls {
    position: absolute;
    top: auto;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.fullscreen-button,
.reset-button {
    padding: 10px 14px;
    border: 1px solid var(--border);
    cursor: pointer;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.25s ease;
}

.fullscreen-button:hover,
.reset-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
}

section {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-header p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 760px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 10px 0 8px;
}

.card p {
    color: var(--muted);
    margin: 0;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(45, 224, 192, 0.12);
    color: var(--accent);
    border: 1px solid rgba(45, 224, 192, 0.3);
    font-size: 1.2rem;
}

.workflow .timeline {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.workflow .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(45, 224, 192, 0.12);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 800;
    font-size: 1rem;
    border: 1px solid rgba(45, 224, 192, 0.3);
}

.workflow h3 {
    margin: 0 0 6px;
}

.workflow p {
    margin: 0;
    color: var(--muted);
}

.step-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--muted);
}

.step-list li {
    line-height: 1.45;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.tech-card {
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.tech-card h3 {
    margin-top: 0;
    text-align: center;
}

.tech-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--muted);
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.tech-card a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(66, 182, 160, 0.35);
    padding-bottom: 1px;
}

.tech-card a:hover {
    color: var(--accent);
    border-bottom-color: rgba(66, 182, 160, 0.6);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

footer {
    padding: 40px 20px 50px;
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-copy {
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
    transform: translateY(-1px);
    border-color: rgba(66, 182, 160, 0.4);
    background: rgba(66, 182, 160, 0.08);
    color: var(--accent);
}

.footer-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(66, 182, 160, 0.12);
    color: var(--accent);
    border: 1px solid rgba(66, 182, 160, 0.28);
}

.footer-link__arrow {
    font-size: 0.9rem;
    color: var(--accent);
}

.footer-link__icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-link--youtube {
    border-color: rgba(255, 80, 80, 0.35);
    background: rgba(255, 80, 80, 0.04);
}

.footer-link--youtube:hover {
    border-color: rgba(255, 80, 80, 0.5);
    background: rgba(255, 80, 80, 0.12);
    color: #ff8a8a;
}

.footer-link--youtube .footer-link__icon {
    background: rgba(255, 80, 80, 0.14);
    border-color: rgba(255, 80, 80, 0.4);
    color: #ff6b6b;
}

.footer-link--youtube .footer-link__arrow {
    color: #ff8a8a;
}

.footer-link--linkedin {
    border-color: rgba(10, 102, 194, 0.35);
    background: rgba(10, 102, 194, 0.05);
}

.footer-link--linkedin:hover {
    border-color: rgba(10, 102, 194, 0.55);
    background: rgba(10, 102, 194, 0.12);
    color: #7ab3ff;
}

.footer-link--linkedin .footer-link__icon {
    background: rgba(10, 102, 194, 0.16);
    border-color: rgba(10, 102, 194, 0.4);
    color: #7ab3ff;
}

.footer-link--linkedin .footer-link__arrow {
    color: #7ab3ff;
}

@media (max-width: 960px) {
    .hero {
        padding: 0;
        width: 100%;
        margin-left: 0;
    }
    .site-header {
        padding: 12px 18px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .logo {
        width: 100%;
    }
    main {
        padding-top: 120px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .panel-header,
    .panel-footer {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.98rem;
    }
    .hero {
        padding: 40px 18px 70px;
    }
    section {
        padding: 70px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
