/* ═══════════════════════════════════════════════
   ACStudioX — global.css v2
   No emojis. No generic patterns. Senior-grade.
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700&family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    /* Core palette */
    --bg: #05050a;
    --bg-2: #080810;
    --bg-3: #0c0c18;
    --bg-4: #101020;
    --bg-5: #141428;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.065);

    /* Accent system */
    --a1: #0df2c4;
    /* primary teal */
    --a1-glow: rgba(13, 242, 196, 0.15);
    --a1-border: rgba(13, 242, 196, 0.2);
    --a2: #8b5cf6;
    /* violet */
    --a3: #ec4899;
    /* pink - danger/cta */
    --a4: #3b82f6;
    /* blue - info */
    --gold: #f59e0b;

    /* Text */
    --t1: #eeeef8;
    --t2: #8888aa;
    --t3: #44445a;

    /* UI */
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.10);
    --border-a: rgba(13, 242, 196, 0.22);
    --r: 16px;
    --r-s: 10px;
    --r-xs: 6px;
    --nav-h: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--t1);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    font-feature-settings: 'ss01' on, 'ss02' on, 'cv05' on, 'cv08' on;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Syne', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: 'Inter', sans-serif;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--a2);
    border-radius: 99px;
}

/* ── Noise ── */
.noise {
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
    animation: noiseMove 8s steps(10) infinite;
}

@keyframes noiseMove {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
}

/* ── Cursor ── */
.cur {
    position: fixed;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--a1);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .2s cubic-bezier(0.4, 0, 0.2, 1), height .2s cubic-bezier(0.4, 0, 0.2, 1), background .2s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: difference;
}

.cur-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--a1);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--a1);
}

body.ch .cur {
    width: 56px;
    height: 56px;
    background: rgba(13, 242, 196, 0.08);
    border-width: 2px;
}

/* ── Layout ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

.container-sm {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-2);
}

.section-alt2 {
    background: var(--bg-3);
}

/* ── Eyebrow ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--a1);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--a1);
}

/* ── Section heading ── */
.sh {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    color: var(--t1);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.sh em {
    font-style: normal;
    background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.sh em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--a1), var(--a2));
    opacity: 0.3;
    border-radius: 99px;
}

.lead {
    font-size: 15px;
    color: var(--t2);
    line-height: 1.8;
    max-width: 540px;
}

/* ── Page header ── */
.page-header {
    padding: calc(var(--nav-h) + 100px) 0 64px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ph-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 28% 60%, rgba(13, 242, 196, 0.06) 0%, transparent 55%);
}

.ph-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 242, 196, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 242, 196, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 50%, black, transparent 70%);
}

.breadcrumb {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--t3);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--a1);
    transition: opacity .2s;
}

.breadcrumb a:hover {
    opacity: .7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 99px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all .28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
    transform: translateX(-100%);
    transition: transform .5s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--a1);
    color: #000;
    box-shadow: 0 4px 16px rgba(13, 242, 196, 0.2);
}

.btn-primary:hover {
    background: #04e0b4;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(13, 242, 196, 0.35);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    color: var(--t2);
    background: transparent;
    border: 1px solid var(--border-2);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    color: var(--t1);
    border-color: var(--border-a);
    background: rgba(13, 242, 196, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 242, 196, 0.12);
}

.btn-lg {
    padding: 17px 38px;
    font-size: 15px;
}

.btn svg {
    transition: transform .28s;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.btn:hover svg {
    transform: translate(2px, -2px);
}

/* ── Cards ── */
.card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r);
    position: relative;
    overflow: hidden;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--a1), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.card::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(13, 242, 196, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    border-color: var(--border-a);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(13, 242, 196, 0.1);
}

/* ── Tags / Chips ── */
.tag {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .05em;
    color: var(--a1);
    background: rgba(13, 242, 196, 0.07);
    border: 1px solid var(--a1-border);
    padding: 3px 10px;
    border-radius: 99px;
}

.tag-v {
    color: var(--a2);
    background: rgba(139, 92, 246, 0.07);
    border-color: rgba(139, 92, 246, 0.2);
}

.tag-b {
    color: var(--a4);
    background: rgba(59, 130, 246, 0.07);
    border-color: rgba(59, 130, 246, 0.2);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

/* ── Reveals ── */
.rv {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.in {
    opacity: 1;
    transform: none;
}

.rv-l {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-l.in {
    opacity: 1;
    transform: none;
}

.rv-r {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv-r.in {
    opacity: 1;
    transform: none;
}

/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--t1);
    cursor: pointer;
    user-select: none;
    gap: 20px;
    transition: color .2s;
    font-family: 'Syne', sans-serif;
    text-align: left;
}

.faq-q:hover {
    color: var(--a1);
}

.faq-item.open .faq-q {
    color: var(--a1);
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s, border-color .3s, background .3s;
}

.faq-icon svg {
    color: var(--t3);
    transition: color .3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--a1-border);
    background: rgba(13, 242, 196, 0.06);
}

.faq-item.open .faq-icon svg {
    color: var(--a1);
}

.faq-a {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease, padding .45s ease;
    text-align: left;
}

.faq-item.open .faq-a {
    max-height: 260px;
    padding-bottom: 22px;
}

/* ── Feature list ── */
.feat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--t2);
    line-height: 1.65;
}

.feat-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--a1);
}

/* ── Form ── */
.fi {
    background: var(--bg-4);
    border: 1px solid var(--border);
    border-radius: var(--r-s);
    padding: 12px 16px;
    color: var(--t1);
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    width: 100%;
    transition: border-color .2s;
}

.fi:focus {
    border-color: rgba(13, 242, 196, 0.4);
}

.fi::placeholder {
    color: var(--t3);
}

.fi-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t3);
    margin-bottom: 7px;
    display: block;
}

.fi-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Status dot ── */
.sdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--a1);
    box-shadow: 0 0 8px var(--a1);
    animation: sdotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sdotPulse {

    0%,
    100% {
        box-shadow: 0 0 6px var(--a1);
    }

    50% {
        box-shadow: 0 0 14px var(--a1), 0 0 28px rgba(13, 242, 196, 0.3);
    }
}

/* ── Progress bar ── */
.pbar {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.pfill {
    height: 100%;
    background: linear-gradient(90deg, var(--a1), var(--a2));
    border-radius: 99px;
}

/* ── Marquee ── */
.mq {
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
    padding: 0;
}

.mq-track {
    display: flex;
    animation: mq-scroll 32s linear infinite;
    width: max-content;
}

.mq-track:hover {
    animation-play-state: paused;
}

.mq-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 32px;
    white-space: nowrap;
}

.mq-word {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t3);
    letter-spacing: .05em;
}

.mq-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--a1);
}

@keyframes mq-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ══════════════ NAVBAR ══════════════ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 56px);
    max-width: 1160px;
    height: var(--nav-h);
    z-index: 800;
    transition: all .3s ease;
}

.navbar.sc {
    top: 12px;
}

.nav-in {
    height: 100%;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-2);
    border-radius: 99px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all .3s ease;
}

.navbar.sc .nav-in {
    background: rgba(5, 5, 10, 0.95);
    border-color: var(--border-a);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(13, 242, 196, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--t1);
    flex-shrink: 0;
}

.logo-mark {
    width: 28px;
    height: 28px;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nl {
    padding: 8px 13px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--t2);
    border-radius: 6px;
    position: relative;
    transition: color .2s;
}

.nl::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 13px;
    right: 13px;
    height: 1.5px;
    background: var(--a1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nl:hover {
    color: var(--t1);
}

.nl:hover::after {
    transform: scaleX(1);
}

.nl.active {
    color: var(--a1);
}

.nl.active::after {
    transform: scaleX(1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-2);
    border-radius: 99px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: var(--t1);
    transition: all .25s ease;
    white-space: nowrap;
}

.nav-cta-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--a1);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s;
}

.nav-cta:hover {
    border-color: var(--border-a);
}

.nav-cta:hover .nav-cta-dot {
    transform: rotate(45deg);
}

.ham {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.ham span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--t1);
    border-radius: 99px;
    transition: all .3s;
}

.mob-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px 20px 20px;
    background: rgba(5, 5, 10, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.mob-nav a {
    font-size: 14px;
    color: var(--t2);
    padding: 10px 12px;
    border-radius: 8px;
    transition: all .2s;
}

.mob-nav a:hover {
    background: rgba(13, 242, 196, 0.05);
    color: var(--a1);
}

.mob-cta {
    background: var(--a1) !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-align: center;
    border-radius: 99px !important;
    margin-top: 10px;
}

.mob-nav.open {
    display: flex;
}

/* ══════════════ FOOTER ══════════════ */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
    align-items: start;
}

.f-brand,
.footer-brand {
    max-width: 420px;
}

.f-brand .logo,
.footer-brand .logo,
.footer-brand .nav-logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.f-brand p,
.footer-brand p {
    font-size: 14px;
    color: var(--t2);
    line-height: 1.75;
    margin-bottom: 28px;
}

.f-nl,
.nl-form {
    display: flex;
    gap: 8px;
    max-width: 420px;
    align-items: stretch;
}

.f-nl input,
.nl-form input {
    flex: 1;
    min-width: 0;
    background: var(--bg-4);
    border: 1px solid var(--border);
    border-radius: var(--r-s);
    padding: 12px 16px;
    color: var(--t1);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .2s;
}

.f-nl input:focus,
.nl-form input:focus {
    border-color: rgba(13, 242, 196, 0.4);
}

.f-nl input::placeholder,
.nl-form input::placeholder {
    color: var(--t3);
}

.f-nl button,
.nl-form button,
.nl-submit {
    background: var(--a1);
    color: #000;
    border: none;
    border-radius: var(--r-s);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.f-nl button:hover,
.nl-form button:hover,
.nl-submit:hover {
    background: #04e0b4;
    transform: translateY(-1px);
}

.f-nav,
.footer-nav-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.f-col,
.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-col-title,
.fnc-title {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t3);
    margin-bottom: 8px;
    font-weight: 700;
}

.f-col a,
.footer-nav-col a {
    font-size: 13.5px;
    color: var(--t2);
    transition: all .2s;
    display: inline-block;
}

.f-col a:hover,
.footer-nav-col a:hover {
    color: var(--a1);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t3);
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--a1);
    transition: opacity .2s;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* ══════════════ CTA BANNER ══════════════ */
.cta-band,
.cta-banner {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.cta-band-glow,
.cta-banner-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(13, 242, 196, 0.07) 0%, transparent 62%);
    pointer-events: none;
}

.cta-band-inner,
.cta-banner-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 28px;
}

.cta-band h2,
.cta-banner h2 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 900;
    color: var(--t1);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-band h2 em,
.cta-banner h2 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-band p,
.cta-banner p {
    font-size: 16px;
    color: var(--t2);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-row,
.cta-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.trust-row span,
.cta-badges span {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--t3);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.trust-check {
    width: 14px;
    height: 14px;
    color: var(--a1);
    flex-shrink: 0;
}

/* ═══ Animations ═══ */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes barAnim {

    0%,
    100% {
        opacity: .5
    }

    50% {
        opacity: 1
    }
}

@keyframes particle {
    0% {
        left: -10px;
        opacity: 0
    }

    10% {
        opacity: .7
    }

    90% {
        opacity: .7
    }

    100% {
        left: 100%;
        opacity: 0
    }
}

/* ═══ Responsive ═══ */
@media (max-width:768px) {
    .section {
        padding: 72px 0;
    }

    .navbar {
        width: calc(100% - 32px);
        top: 12px;
        left: 16px;
        transform: none;
    }

    .nav-in {
        padding: 0 20px;
        border-radius: 20px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .ham {
        display: flex;
    }

    .mob-nav {
        border-radius: 0 0 20px 20px;
        margin-top: -1px;
    }

    .page-header {
        padding: calc(var(--nav-h) + 80px) 0 64px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .f-nav,
    .footer-nav-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .f-brand,
    .footer-brand {
        max-width: 100%;
    }

    .f-nl,
    .nl-form {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cta-band,
    .cta-banner {
        padding: 80px 0;
    }

    .cta-band h2,
    .cta-banner h2 {
        font-size: 32px;
    }

    .cta-band-inner,
    .cta-banner-inner {
        padding: 0 20px;
    }

    .trust-row,
    .cta-badges {
        gap: 16px;
    }

    .trust-row span,
    .cta-badges span {
        font-size: 10px;
    }

    /* FAQ responsive */
    #faq .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .faq-q {
        font-size: 14px;
        padding: 18px 0;
    }

    .sh {
        font-size: clamp(24px, 6vw, 42px);
    }

    .lead {
        font-size: 14px;
    }
}

@media (max-width:480px) {
    .f-nav,
    .footer-nav-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .container-sm {
        padding: 0 20px;
    }

    .trust-row,
    .cta-badges {
        flex-direction: column;
        gap: 12px;
    }

    .f-nl,
    .nl-form {
        flex-direction: column;
        gap: 10px;
    }

    .f-nl button,
    .nl-form button,
    .nl-submit {
        width: 100%;
    }
}


/* ═══ Enhanced Micro-interactions ═══ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Magnetic button effect */
.btn, .nav-cta {
    will-change: transform;
}

/* Smooth page transitions */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    * {
        scroll-margin-top: 100px;
    }
}

/* Enhanced focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--a1);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Gradient text animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sh em {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}


/* ============================================
   TRUST-BUILDING ENHANCEMENTS
   ============================================ */

/* Smooth navbar backdrop blur on scroll */
.navbar.sc {
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 12, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Enhanced button states for trust */
.btn, .btn-primary, .btn-outline, .btn-main {
  position: relative;
  overflow: hidden;
}

.btn::after, .btn-primary::after, .btn-main::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after, .btn-primary:active::after, .btn-main:active::after {
  width: 300px;
  height: 300px;
  transition: width 0s, height 0s;
}

/* Card glow effect on hover */
.card, .svc-card, .price-card, .testi-card, .case-card {
  position: relative;
}

.card::before, .svc-card::before, .price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, 
    rgba(13, 242, 196, 0.3), 
    rgba(139, 92, 246, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before, .svc-card:hover::before, .price-card:hover::before {
  opacity: 1;
}

/* Smooth focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--a1);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Enhanced link hover states */
a {
  transition: color 0.3s ease, transform 0.2s ease;
}

/* Smooth image loading */
img {
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.1s forwards;
}

/* Trust badge pulse */
@keyframes trustPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.trust-check, .pf-check {
  animation: trustPulse 2s ease-in-out infinite;
}

/* Smooth section transitions */
.section {
  position: relative;
  overflow: hidden;
}

/* Enhanced scroll indicator */
.scroll-hint {
  animation: fadeInUp 1s ease-out 1.2s both;
}

.sh-runner {
  animation: scrollRun 2s ease-in-out infinite;
}

@keyframes scrollRun {
  0%, 100% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* Cursor hover states */
body.ch .cur {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(13, 242, 196, 0.2);
  border-color: var(--a1);
}

body.ch .cur-dot {
  transform: translate(-50%, -50%) scale(0.5);
  background: var(--a1);
}

/* Smooth reveal states */
.rv, .rv-l, .rv-r, .reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rv-l, .reveal-left {
  transform: translateX(-40px) translateY(0);
}

.rv-r, .reveal-right {
  transform: translateX(40px) translateY(0);
}

.rv.in, .rv-l.in, .rv-r.in, 
.reveal.in, .reveal-left.in, .reveal-right.in {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Enhanced form states */
.form-input:hover, .form-textarea:hover, .form-select:hover {
  border-color: rgba(13, 242, 196, 0.3);
}

/* Smooth page transitions */
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageEnter 0.6s ease-out;
}

/* Enhanced shadow on scroll */
.navbar.sc {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1),
              0 0 0 1px rgba(13, 242, 196, 0.05);
}

/* Smooth color transitions */
* {
  transition-property: color, background-color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Override for elements that need specific transitions */
.btn, .card, .navbar, [class*="reveal"], [class*="rv"] {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================
   LOGO IMAGE STYLING
   ============================================ */

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Adjust logo spacing */
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Navbar logo - bigger for better visuals */
.navbar .logo {
  display: flex;
  align-items: center;
  z-index: 100;
  position: relative;
}

.navbar .logo-img {
  height: 85px;
  max-width: 280px;
  margin-left: -15px;
  position: relative;
  top: -3px;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(1.1) contrast(1.05);
}

/* Footer logo - professional sizing with proper spacing */
.footer-brand .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  height: 100px;
  width: auto;
  display: block;
  opacity: 0.9;
  filter: brightness(1.2) contrast(1.1);
  transition: opacity 0.3s ease;
}

.footer-brand .logo:hover .logo-img {
  opacity: 1;
}

.footer-brand p {
  margin-top: 12px;
}


/* ═══ Trust Badges Section ═══ */
.trust-section {
  padding: 60px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.trust-badge {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all .3s ease;
}

.trust-badge:hover {
  border-color: var(--border-a);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.tb-title {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 6px;
}

.tb-desc {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.5;
}

/* ═══ Enhanced Testimonials ═══ */
.testi-card {
  padding: 32px;
  position: relative;
}

.testi-card.feat {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(13, 242, 196, 0.03), rgba(139, 92, 246, 0.03));
}

.testi-q {
  font-size: 72px;
  font-family: 'Syne', sans-serif;
  color: var(--a1);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

.testi-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--t1);
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #000;
  flex-shrink: 0;
}

.testi-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--t1);
  margin-bottom: 2px;
}

.testi-role {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--t3);
  letter-spacing: .02em;
}

.testi-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
  
  .testi-card.feat {
    grid-column: span 1;
  }
  
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ═══ Security Badge ═══ */
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 242, 196, 0.06);
  border: 1px solid var(--a1-border);
  border-radius: 99px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--a1);
  letter-spacing: .05em;
}

.security-badge svg {
  width: 14px;
  height: 14px;
}

/* ═══ Verified Badge ═══ */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--a1);
  letter-spacing: .05em;
}

.verified-badge svg {
  width: 16px;
  height: 16px;
}

/* ── Section Layout Helpers ── */
.section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-intro .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
}

.section-intro .lead {
  margin: 16px auto 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-header .sh {
  margin-bottom: 0;
}

.section-header .lead {
  max-width: 380px;
}

.section-header .btn {
  white-space: nowrap;
}

.section-footer {
  text-align: center;
  margin-top: 56px;
}

.section-note {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--t3);
  margin-bottom: 24px;
}

.section-footer .section-note:last-child {
  font-size: 10px;
  margin-top: 24px;
  margin-bottom: 0;
}

.section-footer .security-badge {
  margin: 0 auto;
}

@media(max-width:768px) {
  .section-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section-header .lead {
    max-width: 100%;
  }
  
  .section-header .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE & TABLET OPTIMIZATION
   ═══════════════════════════════════════════════════════ */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  /* Container adjustments */
  .container {
    padding: 0 32px;
  }

  /* Navbar adjustments */
  .navbar {
    top: 12px;
  }

  .nav-in {
    padding: 12px 20px;
  }

  .navbar .logo-img {
    height: 70px;
  }

  /* Hero section */
  .hero-h {
    font-size: clamp(36px, 5vw, 56px);
  }

  /* Section headings */
  .sh {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  /* Grid adjustments */
  .bva-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ section */
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet Portrait & Large Mobile (768px and below) */
@media (max-width: 768px) {
  /* Base typography */
  body {
    font-size: 15px;
  }

  /* Container */
  .container {
    padding: 0 24px;
  }

  .container-sm {
    padding: 0 24px;
  }

  /* Navbar mobile */
  .navbar {
    top: 8px;
  }

  .nav-in {
    padding: 10px 16px;
  }

  .navbar .logo-img {
    height: 55px;
    margin-left: 0;
  }

  .nav-links {
    display: none;
  }

  .ham {
    display: flex;
  }

  /* Hero section */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 80px) 0 60px;
  }

  .hero-h {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .hero-sub {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hs-div {
    display: none;
  }

  /* Section spacing */
  .section {
    padding: 60px 0;
  }

  .section-alt {
    padding: 60px 0;
  }

  /* Section headings */
  .sh {
    font-size: 28px;
    line-height: 1.3;
  }

  .section-heading {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
  }

  /* Buttons */
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 15px;
  }

  /* Stack section */
  .stack-section {
    padding: 60px 0;
  }

  .stack-item {
    padding: 10px 16px;
    font-size: 11px;
  }

  .stack-item svg {
    width: 16px;
    height: 16px;
  }

  /* Trust badges */
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Marquee */
  .mq-word {
    font-size: 10px;
  }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    padding: 32px 24px;
  }

  .metric-val {
    font-size: 40px;
  }

  /* Services grid */
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Capabilities */
  .cap-grid {
    grid-template-columns: 1fr;
  }

  /* Before/After comparison */
  .bva-panel {
    padding: 28px 24px;
  }

  /* Testimonials */
  .testi-grid {
    grid-template-columns: 1fr;
  }

  /* Work flow */
  .work-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .work-step-num {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .work-connector {
    margin-left: 29px;
    height: 32px;
  }

  /* Tech categories */
  .tech-categories {
    grid-template-columns: 1fr;
  }

  /* Project types */
  .proj-type {
    padding: 24px 20px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-brand .logo-img {
    height: 80px;
  }

  /* Page header */
  .page-header {
    padding: calc(var(--nav-h) + 80px) 0 48px;
  }

  .section-heading {
    font-size: 32px;
  }

  /* Contact form */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-grid {
    gap: 16px;
  }

  /* Blog grid */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Cases grid */
  .cases-grid {
    grid-template-columns: 1fr;
  }

  /* CTA banner */
  .cta-band-inner h2,
  .cta-banner-inner h2 {
    font-size: 32px;
  }

  .trust-row {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Mobile (540px and below) */
@media (max-width: 540px) {
  /* Container */
  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar .logo-img {
    height: 50px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 60px) 0 48px;
  }

  .hero-h {
    font-size: 28px;
  }

  .hero-pill {
    font-size: 9px;
    padding: 4px 12px 4px 6px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Section spacing */
  .section {
    padding: 48px 0;
  }

  /* Headings */
  .sh {
    font-size: 24px;
  }

  .section-heading {
    font-size: 28px;
  }

  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 14px;
  }

  /* Stack section */
  .stack-header {
    margin-bottom: 32px;
  }

  .stack-label {
    font-size: 10px;
  }

  .stack-desc {
    font-size: 13px;
  }

  /* Cards */
  .card {
    padding: 24px 20px;
  }

  /* Metrics */
  .metric {
    padding: 28px 20px;
  }

  .metric-val {
    font-size: 36px;
  }

  /* Services */
  .svc-card {
    padding: 24px 20px;
  }

  /* Work steps */
  .work-step-num {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .work-step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .work-connector {
    margin-left: 24px;
  }

  /* Footer */
  .footer-nav-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand .logo-img {
    height: 70px;
  }

  .nl-form {
    flex-direction: column;
  }

  .nl-form input {
    border-radius: 8px;
  }

  .nl-submit {
    border-radius: 8px;
    width: 100%;
  }

  /* Page header */
  .page-header {
    padding: calc(var(--nav-h) + 60px) 0 40px;
  }

  .breadcrumb {
    font-size: 11px;
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .fa-q {
    font-size: 14px;
    padding: 16px 0;
  }

  .fa-a {
    font-size: 13px;
  }

  /* CTA */
  .cta-band-inner h2,
  .cta-banner-inner h2 {
    font-size: 28px;
  }

  .cta-band-inner p,
  .cta-banner-inner p {
    font-size: 14px;
  }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .hero-h {
    font-size: 24px;
  }

  .sh {
    font-size: 22px;
  }

  .section-heading {
    font-size: 24px;
  }

  .navbar .logo-img {
    height: 45px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 12px;
  }

  .metric-val {
    font-size: 32px;
  }

  .footer-brand .logo-img {
    height: 60px;
  }
}

/* Landscape mobile optimization */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 40px) 0 40px;
  }

  .section {
    padding: 40px 0;
  }

  .navbar {
    top: 8px;
  }

  .nav-in {
    padding: 8px 16px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap target sizes for mobile */
  .btn {
    min-height: 44px;
    padding: 14px 24px;
  }

  .nav-cta {
    min-height: 44px;
  }

  .ham {
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
  }

  .faq-q {
    min-height: 44px;
    padding: 20px 0;
  }

  .nl {
    min-height: 44px;
    padding: 12px 16px;
  }

  .mob-nav a {
    min-height: 44px;
    padding: 12px 16px;
  }

  /* Remove hover effects on touch devices */
  .card:hover,
  .btn:hover,
  .svc-card:hover,
  .case-card:hover {
    transform: none;
  }

  /* Improve form inputs for mobile */
  .fi,
  .form-input,
  .form-textarea,
  .form-select {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .nl-form input,
  .f-nl input {
    min-height: 44px;
    font-size: 16px;
  }
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  * {
    max-width: 100%;
  }

  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Fix dashboard card on mobile */
  .dash {
    max-width: 100%;
    overflow: hidden;
  }

  .dash-body {
    overflow-x: auto;
  }

  /* Ensure code blocks don't overflow */
  .code-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Fix table-like layouts */
  .metrics-grid,
  .svc-grid,
  .cap-grid {
    overflow-x: visible;
  }
}

/* Improve readability on small screens */
@media (max-width: 375px) {
  /* Slightly increase base font size for better readability */
  body {
    font-size: 14px;
  }

  .hero-sub,
  .lead,
  p {
    line-height: 1.7;
  }

  /* Reduce padding on very small screens */
  .card,
  .svc-card,
  .case-card,
  .ben-card {
    padding: 20px 16px;
  }

  /* Adjust button text size */
  .btn {
    font-size: 13px;
  }

  /* Smaller headings for tiny screens */
  .hero-h {
    font-size: 26px;
    line-height: 1.2;
  }

  .sh {
    font-size: 24px;
    line-height: 1.3;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
  /* Ensure focus states are visible */
  *:focus-visible {
    outline: 3px solid var(--a1);
    outline-offset: 2px;
  }

  /* Improve contrast for small text */
  .t3,
  .mq-word,
  .hs-lbl,
  .metric-sub {
    color: #6666aa; /* Slightly lighter for better contrast */
  }

  /* Ensure sufficient spacing between interactive elements */
  .hero-actions {
    gap: 16px;
  }

  .nav-links a {
    margin: 4px 0;
  }

  /* Improve mobile menu */
  .mob-nav {
    max-height: calc(100vh - var(--nav-h) - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
  /* Reduce animation complexity on mobile */
  .noise {
    animation: none;
    opacity: 0.03;
  }

  /* Simplify glow effects */
  .glow {
    filter: blur(60px);
  }

  /* Reduce backdrop blur for better performance */
  .nav-in {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Disable cursor effects on mobile */
  .cur,
  .cur-dot {
    display: none;
  }

  body {
    cursor: auto;
  }
}
