:root {
    --bg: #050505;
    --surface: #0a0c12;
    --card: #11131a;
    --card-soft: #141821;
    --line: #1f2330;
    --accent: #00cafe;
    --accent-strong: #19e3ff;
    --text: #f4f7fb;
    --muted: #9da7ba;
    --success: #37ffa9;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    cursor: none;
}

body.cursor-native {
    cursor: auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    background: var(--accent);
    color: #02121d;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s ease;
    z-index: 10000;
}

.skip-link:focus {
    top: 16px;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, border 0.3s ease, background 0.3s ease, opacity 0.2s ease,
        box-shadow 0.3s ease;
    z-index: 9999;
    opacity: 0;
}

.custom-cursor.visible {
    opacity: 1;
    box-shadow: 0 0 18px rgba(0, 202, 254, 0.35);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.4);
    border-color: #f6f6f9;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: #00d9ff;
    border-color: #00d9ff;
    box-shadow: 0 0 24px rgba(0, 202, 254, 0.45);
}

body.cursor-native .custom-cursor {
    opacity: 0;
}

.page {
    min-height: 100vh;
    background: radial-gradient(circle at 20% 20%, rgba(0, 202, 254, 0.08), transparent 45%) no-repeat,
        radial-gradient(circle at 80% 0%, rgba(0, 110, 255, 0.12), transparent 40%) no-repeat,
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.brand-mark {
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 1px;
    transition: transform 0.35s ease;
}

.brand-mark span,
.brand-mark::before,
.brand-mark::after {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 202, 254, 0.5);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
    transform: translateY(-1px);
}

.brand:hover .brand-mark span,
.brand:hover .brand-mark::before,
.brand:hover .brand-mark::after {
    background: #f2f2f5;
    box-shadow: 0 3px 12px rgba(242, 242, 245, 0.45);
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    gap: 42px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.main-nav a {
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
    color: var(--text);
    border-color: rgba(0, 202, 254, 0.45);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 999px;
    padding: 16px 32px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn.primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #02121d;
    box-shadow: 0 10px 30px rgba(0, 202, 254, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 202, 254, 0.45);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

main {
    width: min(1200px, 90vw);
    margin: 0 auto;
    padding-bottom: 120px;
}

section {
    margin-top: 88px;
    animation: fadeUp 0.9s ease both;
}

.hero-grid,
.integration-intro,
.integration-flow,
.integration-stack,
.benefits,
.security,
.cases,
.chat-demo,
.contact,
.faq,
.vision-block,
#vision-contact,
#vision-hero .hero-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.page section:nth-of-type(1) {
    animation-delay: 0.05s;
}

.page section:nth-of-type(2) {
    animation-delay: 0.15s;
}

.page section:nth-of-type(3) {
    animation-delay: 0.25s;
}

.page section:nth-of-type(4) {
    animation-delay: 0.35s;
}

.page section:nth-of-type(5) {
    animation-delay: 0.45s;
}

.page section:nth-of-type(6) {
    animation-delay: 0.55s;
}

.page section:nth-of-type(7) {
    animation-delay: 0.65s;
}

.page section:nth-of-type(8) {
    animation-delay: 0.75s;
}

.page section:nth-of-type(9) {
    animation-delay: 0.85s;
}

.page section:nth-of-type(10) {
    animation-delay: 0.95s;
}

.hero {
    margin-top: 48px;
    padding: 80px 60px;
    border-radius: 32px;
    background: radial-gradient(circle at top right, rgba(0, 202, 254, 0.16), transparent 55%) no-repeat,
        var(--card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 20% 20%, rgba(0, 202, 254, 0.18), transparent 60%);
    opacity: 0.6;
    filter: blur(40px);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 202, 254, 0.3);
    box-shadow: 0 35px 80px rgba(0, 202, 254, 0.2);
}

.hero-grid {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin: 0 0 24px;
}

.accent {
    color: var(--accent);
}

.lead {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions.centered {
    justify-content: center;
}

.integrations {
    text-align: left;
}

.integrations h2,
.security h2,
.cases h2,
.contact h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
}

.integration-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}

.lead.small {
    font-size: 1rem;
    max-width: 540px;
    color: var(--muted);
}

.integration-stats {
    display: flex;
    gap: 16px;
}

.stat-card {
    min-width: 150px;
    padding: 18px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.03);
}

.stat-card span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-card p {
    margin: 6px 0 0;
    color: var(--muted);
}

.integration-flow {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.integration-step {
    border-radius: 24px;
    padding: 26px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.integration-step h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.integration-step p {
    margin: 0 0 16px;
    color: var(--muted);
}

.integration-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text);
}

.integration-step li {
    position: relative;
    padding-left: 16px;
    font-size: 0.95rem;
}

.integration-step li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.integration-step:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 202, 254, 0.4);
    box-shadow: 0 16px 32px rgba(0, 202, 254, 0.15);
}

.integration-stack {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stack-pill {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    color: var(--muted);
}

.chat-demo {
    margin-top: 80px;
    padding: 48px;
    border-radius: 30px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.chat-copy ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-copy li {
    position: relative;
    padding-left: 18px;
}

.chat-copy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.chat-window {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at top right, rgba(0, 202, 254, 0.15), transparent 50%), #070a0f;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 320px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.chat-message {
    display: flex;
    gap: 12px;
}

.chat-message p {
    margin: 0;
    padding: 14px 18px;
    border-radius: 16px;
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.bot p {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user p {
    background: rgba(0, 202, 254, 0.12);
    color: var(--text);
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 202, 254, 0.2);
    color: var(--accent);
    font-weight: 600;
}

.chat-message.typing p {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: auto;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    opacity: 0.5;
    animation: typing 1s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.benefit-card {
    padding: 28px;
    border-radius: 22px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    min-height: 160px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.benefit-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
}

.benefit-card p {
    margin: 0;
    color: var(--muted);
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 202, 254, 0.35);
    box-shadow: 0 18px 40px rgba(0, 202, 254, 0.2);
}

.security {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
    background: var(--card);
    border-radius: 28px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.security:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 202, 254, 0.35);
    box-shadow: 0 24px 56px rgba(0, 202, 254, 0.18);
}

.security-copy ul {
    padding-left: 20px;
    color: var(--muted);
    margin: 24px 0 0;
}

.security-panel {
    background: var(--card-soft);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.security-panel:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 202, 254, 0.35);
    box-shadow: 0 18px 45px rgba(0, 202, 254, 0.2);
}

.shield svg {
    width: 120px;
    height: 140px;
    display: block;
    margin: 0 auto 24px;
}

.shield path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 4;
}

.shield polyline {
    fill: none;
    stroke: var(--accent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    color: var(--muted);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pill:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(0, 202, 254, 0.4);
    box-shadow: 0 12px 30px rgba(0, 202, 254, 0.2);
}

.cases {
    text-align: center;
}

.case-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.case-card {
    padding: 28px;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.case-card h3 {
    margin: 10px 0 12px;
}

.case-card p {
    margin: 0;
    color: var(--muted);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 202, 254, 0.35);
    box-shadow: 0 20px 38px rgba(0, 202, 254, 0.18);
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 202, 254, 0.12);
    color: var(--accent);
    font-size: 0.85rem;
    margin: 0;
}

.faq {
    text-align: center;
}

.faq-grid {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 24px;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.faq-item[open] {
    transform: translateY(-6px);
    border-color: rgba(0, 202, 254, 0.35);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 0 0 20px;
    color: var(--muted);
    padding-bottom: 10px;
}

.contact {
    text-align: center;
    background: var(--card);
    border-radius: 32px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.contact:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 202, 254, 0.3);
    box-shadow: 0 24px 48px rgba(0, 202, 254, 0.15);
}

.contact-form {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 24px;
    text-align: left;
    position: relative;
}

.contact .eyebrow,
.contact h2,
.contact .lead {
    text-align: center;
}

.vision-block,
#vision-contact {
    text-align: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    background: #080b11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .honeypot {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 202, 254, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 202, 254, 0.25);
}

.contact-form .input-error {
    border-color: #ff7b7b;
    box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.2);
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 16px;
}

.form-response {
    grid-column: 1 / -1;
    min-height: 24px;
    font-size: 0.95rem;
    color: var(--muted);
    text-align: center;
}

.form-response.success {
    color: #5effc0;
}

.form-response.error {
    color: #ff9d7b;
}

.contact-alt {
    margin-top: 18px;
    color: var(--muted);
}

.contact-alt a {
    color: var(--accent);
}

.site-footer {
    margin: 80px auto 40px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .top-bar {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .hero {
        padding: 40px;
    }
}

@media (max-width: 640px) {
    .top-bar {
        padding: 20px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 28px;
    }

    .contact {
        padding: 32px 22px;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

@keyframes typing {
    0% {
        opacity: 0.2;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }

    100% {
        opacity: 0.2;
        transform: translateY(0);
    }
}
