/* ==========================================
   KARDINAL ANTY — Design System
   Exact replication of dogelonmars.com
   ========================================== */

/* ---- Font Faces ---- */
@font-face {
    font-display: swap;
    font-family: disp;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/falconpunch.woff) format("woff");
}
@font-face {
    font-display: swap;
    font-family: disp-2;
    font-style: normal;
    font-weight: 400;
    src: url(fonts/avengance.woff2) format("woff2"), url(fonts/avengance.woff) format("woff");
}

/* ---- Root Sizing (same as dogelonmars) ---- */
:root { --size: 390; }
@media (min-width: 650px) { :root { --size: 1800; } }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html {
    font-size: clamp(1px, 20px, calc(10 * 100vw / var(--size)));
    line-height: 1.5;
    font-family: 'Roboto Flex', sans-serif;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    font-feature-settings: "kern" off;
    font-kerning: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(239,63,40,.4) rgba(15,15,28,.6);
}
/* Custom scrollbar for webkit */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(15,15,28,.8); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ef3f28, #ee9b01);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ee9b01, #ef3f28);
}
html, body { overscroll-behavior: none; width: 100%; }
::selection { background: rgba(239,63,40,.35); color: #f8d9ad; }
::-moz-selection { background: rgba(239,63,40,.35); color: #f8d9ad; }
body {
    background-color: #0f0f1c;
    color: #f8d9ad;
    font-family: 'Roboto Flex', sans-serif;
    font-size: max(12px, min(30px, 1.9rem));
    font-weight: 400;
    line-height: 1.36;
}
@media (min-width: 650px) { body { font-size: max(12px, min(30px, 2.2rem)); } }
body.is-loading { cursor: wait; overflow: hidden; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: 400; }
a { color: inherit; text-decoration: none; }
ul,ol,menu { list-style: none; }
img,video { max-width: 100%; height: auto; display: block; vertical-align: middle; }
button { cursor: pointer; border-radius: 0; font-family: inherit; -webkit-appearance: none; appearance: none; background: transparent; }

/* ---- Layout ---- */
.site-max { max-width: 152rem; padding-left: 2rem; padding-right: 2rem; margin: 0 auto; width: 100%; }
.site-max.--l { max-width: 166rem; }
.site-max .site-max { padding: 0; }

/* ---- Typography ---- */
.h1 { color: #ef3f28; font-family: disp; font-size: 3.6rem; line-height: 1; text-transform: uppercase; }
@media (min-width: 650px) { .h1 { font-size: clamp(5rem, 5.5vw, 10rem); } }
.h2 { font-family: disp; font-size: 4rem; line-height: 1; text-transform: uppercase; }
@media (min-width: 650px) { .h2 { font-size: 7rem; } }
.h3 { font-family: disp-2; font-size: 2.7rem; line-height: 1.1; text-transform: uppercase; }
@media (min-width: 650px) { .h3 { font-size: 4.5rem; } }
.b-large { font-size: 2.3rem; line-height: 1.4; }
@media (min-width: 650px) { .b-large { font-size: 2.7rem; } }
.font-disp { font-family: disp; text-transform: uppercase; }
.font-disp-2 { font-family: disp-2; text-transform: uppercase; }
.text-red { color: #ef3f28; }
.text-yellow { color: #ee9b01; }
.text-green { color: #18c8a9; }
.text-black { color: #0f0f1c; }

/* ---- Gradients ---- */
.bg-gradient { background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%); }
.bg-gradient-flipped { background: linear-gradient(180deg, #1b1010 -26.51%, #d93e22 247.68%); }
.bord-gradient { background: linear-gradient(180deg, #ee9b01 50%, #ef3f28); }
.btn__inner { background: linear-gradient(180deg, #ee9b01, #ef3f28 21%, #392136 70%, #08193c 94%); }

/* ---- Frame ---- */
.frame { border: .5rem solid #0f0f1c; border-radius: 2rem; }

/* ---- Media Helpers ---- */
.media-fill { position: relative; }
.media-fill img, .media-fill video { object-fit: cover; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.media-fit { position: relative; }
.media-fit img, .media-fit video { object-fit: cover; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.media-contain { position: relative; }
.media-contain img { object-fit: contain; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.lazy-image { opacity: 0; transition: opacity .5s cubic-bezier(.25,.46,.45,.94); }
.lazy-image.is-loaded { opacity: 1; }

/* ---- Skewed Text ---- */
.skewed-text {
    color: #0f0f1c; font-family: disp; text-transform: uppercase; line-height: 1;
    margin-left: .2em; overflow: hidden; padding: .3em .9em .3em .7em;
    position: relative; transform-origin: bottom left;
}
.skewed-text::before {
    background-color: #ef3f28; border: .2em solid #0f0f1c; border-radius: .35em;
    content: ""; height: 100%; left: .2em; right: .2em; top: 0;
    position: absolute; transform: skewX(-20deg); transform-origin: left; z-index: -1;
}
@media (min-width: 650px) { .skewed-text::before { border-width: .1em; } }
.skewed-text.--rotated { transform: rotate(-6deg); }
.skewed-text.is-to-animate::before { transform: skewX(-20deg) scaleX(0); transition: transform 1s cubic-bezier(.19,1,.22,1); }
.skewed-text.is-to-animate.is-animated::before { transform: skewX(-20deg) scaleX(1); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn { display: inline-flex; position: relative; }
.btn-wrap {
    display: flex; align-items: center; justify-content: center; text-align: center;
    position: relative; border-radius: 9999px; padding: 0 2.8rem; height: 6rem;
}
@media (min-width: 650px) { .btn-wrap { padding: 0 5rem; height: 8rem; } }
.btn-wrap .btn__inner { position: absolute; inset: .5rem; border-radius: 9999px; overflow: hidden; }
.btn-label { position: relative; font-size: 2.1rem; text-transform: uppercase; font-family: disp-2; line-height: 1; z-index: 2; }
@media (min-width: 650px) { .btn-label { font-size: 3rem; } }
.btn .sparkle {
    position: absolute; height: 3rem; width: 3rem; transform: scale(0);
    z-index: 2; top: -1.5rem; right: 3rem;
    transition: transform .3s cubic-bezier(.19,1,.22,1);
}
@media (hover:hover) and (pointer:fine) { .btn:hover .sparkle { transform: scale(1); } }

/* Icon Button */
.btn-icon .btn-wrap { min-width: 6rem; max-width: 6rem; padding: 0; }
@media (min-width: 650px) { .btn-icon .btn-wrap { min-width: 8rem; max-width: 8rem; } }
.btn-icon svg { display: block; position: relative; z-index: 3; width: 2.5rem; height: auto; margin-bottom: .3rem; }
@media (min-width: 650px) { .btn-icon svg { width: 3.8rem; } }
.btn-icon .sparkle { top: -1rem; right: 1rem; }

/* ==========================================
   LOADING SCREEN
   ========================================== */
.loading-screen {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background-color: #0f0f1c;
    transition: opacity .8s ease, visibility .8s ease;
}
.loading-screen.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo { position: relative; }
.loading-logo .logo-text {
    font-family: disp; font-size: 5rem; text-transform: uppercase;
    color: #ef3f28; letter-spacing: .05em; white-space: nowrap;
    animation: loadPulse 1.5s ease-in-out infinite;
}
@media (min-width: 650px) { .loading-logo .logo-text { font-size: 8rem; } }
@keyframes loadPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding-top: 1.5rem; pointer-events: none;
}
@media (min-width: 650px) { .header { padding-top: 4rem; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-link {
    pointer-events: auto; font-family: disp; font-size: 2rem;
    text-transform: uppercase; color: #f8d9ad; line-height: 1; letter-spacing: .05em;
}
@media (min-width: 650px) { .logo-link { font-size: 3.6rem; } }
.header-nav { display: flex; align-items: center; gap: 2.5rem; }
.header-links { display: none; align-items: center; gap: 2.5rem; }
@media (min-width: 650px) { .header-links { display: flex; } }
.header-links a {
    font-family: disp-2; font-size: 1.9rem; text-transform: uppercase;
    line-height: 1; transition: color .5s ease; pointer-events: auto;
}
@media (hover:hover) and (pointer:fine) { .header-links a:hover { color: #ee9b01; } }
.hamburger {
    width: 5.8rem; height: 5.8rem; position: relative; pointer-events: auto;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .6rem;
}
@media (min-width: 650px) { .hamburger { width: 6.7rem; height: 6.7rem; } }
.hamburger span {
    display: block; width: 2.8rem; height: .3rem; background: #f8d9ad;
    border-radius: .2rem; transition: all .3s cubic-bezier(.19,1,.22,1);
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(.5rem, .5rem); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(.5rem, -.5rem); }

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
    position: fixed; inset: 0; display: flex; align-items: start; justify-content: center;
    visibility: hidden; opacity: 0; padding-top: 10rem; z-index: 999;
    transition: all .5s cubic-bezier(.19,1,.22,1);
}
@media (min-width: 650px) { .mobile-menu { align-items: center; padding-top: 0; } }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu .menu-bg { position: absolute; inset: 0; }
.mobile-menu .menu-bg img { width: 100%; height: 100%; object-fit: cover; }
.menu-nav { position: relative; z-index: 2; width: 100%; max-width: 100rem; padding: 0 2rem; }
.menu-list { display: flex; flex-direction: column; width: 100%; }
.menu-item-link {
    display: flex; align-items: center; width: 100%;
    background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%);
    border: .5rem solid #0f0f1c; padding: 2rem;
    font-family: disp; font-size: 5rem; text-transform: uppercase; white-space: nowrap;
    color: #f8d9ad; transition: color .5s ease;
}
@media (min-width: 650px) { .menu-item-link { font-size: 7rem; padding: 2rem 4rem; } }
.menu-list li:first-child .menu-item-link { border-radius: 2rem 2rem 0 0; }
.menu-list li:last-child .menu-item-link { border-radius: 0 0 2rem 2rem; }
.menu-list li + li .menu-item-link { margin-top: -.5rem; }
@media (hover:hover) and (pointer:fine) { .menu-item-link:hover { color: #ee9b01; } }

/* ==========================================
   HERO
   ========================================== */
.hero { position: relative; z-index: 5; }
@media (min-width: 650px) { .hero { min-height: 100vh; } }
.hero-spacer { display: none; }
@media (min-width: 650px) { .hero-spacer { display: block; padding-top: 85%; } }
.hero-bg { position: relative; background: #0f0f1c; z-index: 2; }
@media (min-width: 650px) { .hero-bg { position: absolute; inset: 0; } }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; }
@media (max-width: 649px) { .hero-bg-img { position: relative; } }
.hero-bg-img .aspect { padding-top: 150%; }
@media (min-width: 650px) { .hero-bg-img { top: -37.5rem; } .hero-bg-img .aspect { padding-top: 70%; } }
.hero-content {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding-top: 9rem; pointer-events: none; z-index: 5;
}
@media (min-width: 650px) { .hero-content { position: absolute; inset: 0; padding-top: 12rem; } }
.hero-cta { margin-top: 2rem; pointer-events: auto; }
.hero-badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
    margin-top: 3rem; padding: 0 2rem; pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .6rem 1.4rem; border-radius: 10rem;
    background: rgba(255,255,255,.07); backdrop-filter: blur(8px);
    border: 1px solid rgba(248,217,173,.15);
    font-size: 1.4rem; color: #f8d9ad; white-space: nowrap;
    transition: background .3s, border-color .3s;
}
@media (hover:hover) and (pointer:fine) {
    .hero-badge:hover { background: rgba(255,255,255,.13); border-color: rgba(248,217,173,.35); }
}
/* Hero GIF showcase */
.hero-gif {
    margin-top: 3rem; pointer-events: none;
    width: 100%; max-width: 42rem; padding: 0 2rem;
    position: relative; z-index: 5;
}
.hero-gif-img {
    width: 100%; height: auto; display: block;
    border-radius: 1.6rem; border: none;
    background: transparent;
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,.35);
    animation: gifFloat 6s ease-in-out infinite;
}
@keyframes gifFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-.8rem) scale(1.01); }
}

/* ==========================================
   STORY SECTION
   ========================================== */
.story-section { position: relative; margin-bottom: 5rem; z-index: 4; }
.story-bg { pointer-events: none; position: absolute; top: 0; left: 0; width: 100%; z-index: 0; }
.story-bg-img { position: relative; width: 100%; }
.story-bg-img .aspect { padding-top: 150%; }
@media (min-width: 650px) { .story-bg-img .aspect { padding-top: 70%; } }
.story-text-area {
    display: flex; flex-direction: column; align-items: start;
    width: 100%; max-width: 65rem;
}
@media (min-width: 650px) { .story-text-area { margin-left: auto; } }
.story-buttons { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
@media (min-width: 650px) { .story-buttons { flex-direction: row; gap: 3.5rem; } }
.button-group { display: flex; }

/* Ground */
.ground { position: relative; z-index: 1; margin-top: 5rem; }
@media (min-width: 650px) { .ground { margin-top: 25rem; } }
.ground .aspect { padding-top: 42.6%; }
@media (min-width: 650px) { .ground .aspect { padding-top: 17.8%; } }

/* ==========================================
   STATS
   ========================================== */
.stats-section { margin-bottom: 5rem; position: relative; z-index: 5; }
@media (min-width: 650px) { .stats-section { margin-bottom: 10rem; } }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 4rem; }
@media (min-width: 650px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.stat-card {
    background: #18c8a9; border-radius: 2rem; padding: 3rem 2rem; text-align: center;
    border: .5rem solid #0f0f1c;
}
.stat-value { font-family: disp; font-size: 4rem; line-height: 1; color: #0f0f1c; text-transform: uppercase; }
@media (min-width: 650px) { .stat-value { font-size: 7rem; } }
.stat-label {
    font-family: disp-2; font-size: 1.8rem; line-height: 1.2;
    color: #0f0f1c; margin-top: 1rem; text-transform: uppercase;
}
@media (min-width: 650px) { .stat-label { font-size: 2.4rem; } }

/* ==========================================
   MARQUEE
   ========================================== */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@keyframes marquee-reversed { 0% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.marquee-wrapper.is-active .marquee { animation: marquee var(--time) linear infinite; }
.marquee-wrapper.is-active .marquee.--reversed { animation: marquee-reversed var(--time) linear infinite; }

/* Partners Marquee */
.partners-section {
    overflow: hidden; padding: 3rem 0; pointer-events: none;
    position: relative; z-index: 6; margin-bottom: 2rem;
}
@media (min-width: 650px) { .partners-section { padding: 9rem 0; margin-bottom: 0; } }
.partners-inner { position: relative; transform: rotate(-6deg); width: 100%; }
.partners-title { display: flex; justify-content: center; }
.marquee-row { display: flex; }
.marquee-row.--right { text-align: right; justify-content: flex-end; }
.partner-item {
    display: flex; align-items: center; justify-content: center;
    height: 3rem; min-width: 10rem; margin-right: 6rem;
    font-family: disp-2; font-size: 1.8rem; text-transform: uppercase; white-space: nowrap; opacity: .7;
}
@media (min-width: 650px) { .partner-item { height: 5rem; min-width: 16rem; margin-right: 12rem; font-size: 2.4rem; } }
.partner-item.mt { margin-top: 4rem; }
@media (min-width: 650px) { .partner-item.mt { margin-top: 8.5rem; } }

/* Big Marquee */
.big-marquee {
    position: relative; overflow: hidden; padding: 3rem 0;
    pointer-events: none; z-index: 6; margin-bottom: 5rem;
}
@media (min-width: 650px) { .big-marquee { padding: 9rem 0; margin-bottom: 12.5rem; } }
.big-marquee .bm-inner { position: relative; transform: rotate(-6deg); }
.marquee-line { display: flex; }
.marquee-line.--right { text-align: right; justify-content: flex-end; }
.marquee-text { white-space: nowrap; margin-right: 5rem; }

/* ==========================================
   FEATURES
   ========================================== */
.features-section { position: relative; z-index: 5; margin-bottom: 5rem; }
@media (min-width: 650px) { .features-section { margin-bottom: 12.5rem; } }
.features-bg { pointer-events: none; position: absolute; top: -30rem; left: 0; width: 100%; z-index: 0; }
@media (min-width: 650px) { .features-bg { top: -60rem; } }
.features-bg .aspect { padding-top: 350%; }
@media (min-width: 650px) { .features-bg .aspect { padding-top: 140%; } }
.features-content { position: relative; z-index: 2; overflow: visible; }
.features-list { display: flex; flex-direction: column; gap: 6rem; }

/* Single Feature Card */
.feature-card { position: relative; width: 100%; }
.feature-image { border: .5rem solid #0f0f1c; border-radius: 2rem; overflow: hidden; position: relative; }
.feature-image .aspect { padding-top: 100%; }
@media (min-width: 650px) { .feature-image .aspect { padding-top: 38.5%; } }
.feature-image .image-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon { font-size: 15rem; opacity: .15; }
@media (min-width: 650px) { .feature-icon { font-size: 25rem; } }
.feature-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-end; padding: 5rem; overflow: hidden;
    z-index: 4;
    background: linear-gradient(to top, rgba(15,15,28,.7) 0%, transparent 50%);
}
.feature-overlay-title {
    font-family: disp; font-size: 2.6rem; line-height: 1; text-transform: uppercase;
    color: #f8d9ad; max-width: 75rem; position: relative; z-index: 2;
    text-shadow: 0 .2rem 3rem rgba(0,0,0,.7);
}
@media (min-width: 650px) { .feature-overlay-title { font-size: 7rem; } }
.feature-info { position: relative; display: flex; flex-direction: column; margin-top: -.5rem; }
@media (min-width: 650px) { .feature-info { flex-direction: row; margin-top: 0; } }
.feature-info-text { flex: 1; display: flex; align-items: center; padding: 2rem; }
@media (min-width: 650px) {
    .feature-info-text {
        background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%);
        border-radius: 2rem; border-top-right-radius: 0;
        border: .5rem solid #0f0f1c; border-top: 0; border-right: 0; padding: 2rem 4.5rem;
    }
}
.feature-info-text p { max-width: 77.5rem; }
.feature-info-btn { position: relative; padding: 2rem; margin-top: 3rem; }
@media (min-width: 650px) {
    .feature-info-btn {
        background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%);
        border-radius: 2rem; border-top-left-radius: 0;
        border: .5rem solid #0f0f1c; border-top: 0; padding: 2rem; margin-top: 0;
    }
}
@media (max-width: 649px) {
    .feature-info {
        border: .5rem solid #0f0f1c; border-radius: 2rem;
        background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%); padding: 2rem;
    }
    .feature-info-text { padding: 0; }
    .feature-info-btn { padding: 0; margin-top: 2rem; }
}

/* Mini Feature Cards */
.mini-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; z-index: 2; }
@media (min-width: 650px) { .mini-cards { grid-template-columns: repeat(3, 1fr); gap: 9rem; } }
.mini-card { display: flex; flex-direction: column; text-align: left; }
.mini-card-image { position: relative; border-radius: 2rem; border: .5rem solid #0f0f1c; overflow: hidden; }
.mini-card-image .aspect { padding-top: 85%; }
@media (min-width: 650px) { .mini-card-image .aspect { padding-top: 110%; } }
.mini-card-image .image-inner {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a0a2e, #0f3460); display: flex; align-items: center; justify-content: center;
}
.mini-card-body {
    position: relative; flex: 1; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: space-between;
    background: linear-gradient(180deg, #1b1010 -26.51%, #d93e22 247.68%);
    border-radius: 2rem; border: .5rem solid #0f0f1c; border-top: 0; padding: 3rem 2rem;
}
@media (min-width: 650px) { .mini-card-body { padding: 3rem; } }
.mini-card-body p { margin-top: 1rem; }

/* Ground Bottom */
.ground-bottom { position: relative; margin-top: -5rem; margin-left: -10rem; margin-right: -10rem; z-index: 1; }
@media (min-width: 650px) { .ground-bottom { margin-top: -10rem; margin-left: 0; margin-right: 0; } }
.ground-bottom .aspect { padding-top: 23.75%; }
.ground-bottom img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================
   USE CASES
   ========================================== */
.use-cases { position: relative; z-index: 4; margin-bottom: 10rem; }
@media (min-width: 650px) { .use-cases { margin-bottom: 16rem; } }
.use-bg { pointer-events: none; position: absolute; top: -15rem; left: 0; width: 100%; z-index: 0; }
@media (min-width: 650px) { .use-bg { top: -30rem; } }
.use-bg .aspect { padding-top: 150%; }
@media (min-width: 650px) { .use-bg .aspect { padding-top: 70%; } }
.use-cases-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; position: relative; z-index: 2; }
@media (min-width: 650px) { .use-cases-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.use-card {
    border-radius: 2rem; border: .5rem solid #0f0f1c; overflow: hidden;
    background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%);
    padding: 3rem 2.5rem; display: flex; flex-direction: column; gap: 1.5rem;
    min-height: 0;
}
.use-card-title { font-family: disp-2; font-size: 2.4rem; text-transform: uppercase; line-height: 1.1; }
@media (min-width: 650px) { .use-card-title { font-size: 3rem; } }

/* ==========================================
   TWO COLUMNS
   ========================================== */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 650px) { .two-col { grid-template-columns: repeat(2, 1fr); gap: 9.5rem; } }
.two-col-card { position: relative; }
.card-image { border: .5rem solid #0f0f1c; border-radius: 2rem; overflow: hidden; position: relative; }
.card-image .aspect { padding-top: 70%; }
@media (min-width: 650px) { .card-image .aspect { padding-top: 100%; } }
.card-image .image-inner {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #16213e, #0f3460, #1a0a2e);
    display: flex; align-items: center; justify-content: center;
}
.card-body {
    position: relative; border: .5rem solid #0f0f1c; border-radius: 2rem;
    display: flex; flex-direction: column; align-items: flex-start;
    margin-top: -.5rem; background: linear-gradient(0deg, #1b1010 -26.51%, #d93e22 247.68%); z-index: 2;
}
.card-overlay {
    position: absolute; bottom: calc(100% - 13rem); left: 0; width: 100%;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
    padding: 5rem 2rem; overflow: hidden;
}
@media (min-width: 650px) { .card-overlay { padding: 5rem; } }
.card-overlay-title {
    font-family: disp; font-size: 2.6rem; line-height: 1; text-transform: uppercase;
    color: #f8d9ad; position: relative; z-index: 2; text-shadow: 0 .2rem 3rem rgba(0,0,0,.7);
}
@media (min-width: 650px) { .card-overlay-title { font-size: 5.5rem; } }
.card-body-inner { padding: 10rem 2rem 2rem; }
@media (min-width: 650px) { .card-body-inner { padding: 10rem 4rem 4rem; } }

/* Version badge */
.version-badge {
    display: inline-block; margin-top: 1.5rem;
    padding: .4rem 1.2rem; border-radius: 10rem;
    background: rgba(24,200,169,.12); border: 1px solid rgba(24,200,169,.25);
    color: #18c8a9; font-size: 1.3rem; font-family: monospace;
    letter-spacing: .03em;
}

/* Footer email contact */
.footer-contact {
    margin-top: 2rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(248,217,173,.1);
}
.footer-email {
    font-family: 'Roboto Flex', sans-serif; font-size: 1.6rem;
    color: rgba(248,217,173,.6); transition: color .3s;
}
@media (hover:hover) and (pointer:fine) {
    .footer-email:hover { color: #ee9b01; }
}

/* ==========================================
   BLOG SECTION (index page)
   ========================================== */
.blog-section { position: relative; z-index: 5; margin-bottom: 10rem; }
@media (min-width: 650px) { .blog-section { margin-bottom: 16rem; } }
.blog-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem;
    margin-top: 4rem; position: relative; z-index: 2;
}
@media (min-width: 650px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

.blog-card {
    display: flex; flex-direction: column;
    border-radius: 2rem; overflow: hidden;
    background: linear-gradient(160deg, rgba(30,20,40,.95), rgba(15,15,28,.98));
    border: 1px solid rgba(248,217,173,.1);
    transition: transform .4s cubic-bezier(.19,1,.22,1), border-color .4s ease, box-shadow .4s ease;
    text-decoration: none; color: #f8d9ad;
}
@media (hover:hover) and (pointer:fine) {
    .blog-card:hover {
        transform: translateY(-.8rem);
        border-color: rgba(239,63,40,.4);
        box-shadow: 0 2rem 6rem rgba(239,63,40,.15), 0 0 4rem rgba(238,155,1,.08);
    }
    .blog-card:hover .blog-card__read { color: #ef3f28; }
    .blog-card:hover .blog-card__img img { transform: scale(1.08); }
}
.blog-card__img {
    position: relative; height: 20rem; overflow: hidden;
    background: linear-gradient(135deg, #1a0a2e, #16213e);
    display: flex; align-items: center; justify-content: center;
}
@media (min-width: 650px) { .blog-card__img { height: 24rem; } }
.blog-card__img img {
    max-height: 85%; max-width: 85%; object-fit: contain;
    transition: transform .6s cubic-bezier(.19,1,.22,1);
}
.blog-card__body {
    padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; flex: 1;
}
.blog-card__tag {
    display: inline-block; align-self: flex-start;
    padding: .3rem 1rem; border-radius: 10rem;
    background: rgba(239,63,40,.15); border: 1px solid rgba(239,63,40,.3);
    color: #ef3f28; font-size: 1.2rem; font-family: disp-2;
    text-transform: uppercase; letter-spacing: .05em;
}
.blog-card__tag--blue { background: rgba(66,133,244,.15); border-color: rgba(66,133,244,.3); color: #4285f4; }
.blog-card__tag--pink { background: rgba(238,45,86,.15); border-color: rgba(238,45,86,.3); color: #ee2d56; }
.blog-card__tag--green { background: rgba(24,200,169,.15); border-color: rgba(24,200,169,.3); color: #18c8a9; }
.blog-card__tag--yellow { background: rgba(238,155,1,.15); border-color: rgba(238,155,1,.3); color: #ee9b01; }
.blog-card__tag--cyan { background: rgba(0,188,212,.15); border-color: rgba(0,188,212,.3); color: #00bcd4; }
.blog-card__title {
    font-family: disp-2; font-size: 2.2rem; text-transform: uppercase;
    line-height: 1.15; color: #f8d9ad;
}
@media (min-width: 650px) { .blog-card__title { font-size: 2.6rem; } }
.blog-card__excerpt {
    font-size: 1.5rem; line-height: 1.5; color: rgba(248,217,173,.6); flex: 1;
}
@media (min-width: 650px) { .blog-card__excerpt { font-size: 1.6rem; } }
.blog-card__read {
    font-family: disp-2; font-size: 1.4rem; text-transform: uppercase;
    color: rgba(248,217,173,.5); transition: color .3s; margin-top: auto;
}

/* Use-card link variant */
.use-card--link {
    text-decoration: none; color: #f8d9ad; cursor: pointer;
    transition: transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
}
@media (hover:hover) and (pointer:fine) {
    .use-card--link:hover {
        transform: translateY(-.6rem) scale(1.02);
        box-shadow: 0 2rem 5rem rgba(239,63,40,.2);
    }
    .use-card--link:hover .use-card-link-label { opacity: 1; }
}
.use-card-link-label {
    font-family: disp-2; font-size: 1.4rem; text-transform: uppercase;
    color: #ee9b01; opacity: .5; transition: opacity .3s;
}

/* ==========================================
   SERVICES LANDING PAGE (services.html)
   ========================================== */

/* --- Hero --- */
.srv-hero {
    position: relative; overflow: hidden;
    padding: 16rem 0 8rem;
    text-align: center;
}
.srv-hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(239,63,40,.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 80%, rgba(24,200,169,.08) 0%, transparent 50%),
        #0f0f1c;
}
.srv-hero__inner { position: relative; z-index: 2; }
.srv-hero__badge {
    display: inline-block; padding: .6rem 2rem; border-radius: 10rem;
    background: rgba(239,63,40,.1); border: 1px solid rgba(239,63,40,.2);
    color: #f8d9ad; font-size: 1.3rem; font-family: disp-2;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3rem;
}
.srv-hero__title {
    font-family: disp; font-size: clamp(4rem, 8vw, 10rem);
    line-height: .95; color: #f8d9ad; text-transform: uppercase;
    margin-bottom: 2rem;
}
.srv-hero__subtitle {
    max-width: 60rem; margin: 0 auto;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: rgba(248,217,173,.55); line-height: 1.6;
}

/* --- Section --- */
.srv-section {
    padding: 6rem 0;
    position: relative;
}
.srv-section--proxy { padding-top: 2rem; }
.srv-section__header {
    display: flex; align-items: center; gap: 2rem;
    margin-bottom: 4rem;
}
.srv-section__icon { font-size: 3.5rem; }
.srv-section__title {
    font-family: disp; font-size: clamp(2.4rem, 4vw, 4rem);
    color: #f8d9ad; text-transform: uppercase; line-height: 1.1;
}
.srv-section__desc {
    font-size: 1.4rem; color: rgba(248,217,173,.45); margin-top: .4rem;
}

/* --- Grid --- */
.srv-grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 650px) {
    .srv-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
@media (min-width: 650px) {
    .srv-section--proxy .srv-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Card --- */
.srv-card {
    display: flex; flex-direction: column;
    padding: 3rem; border-radius: 2rem;
    background: linear-gradient(160deg, rgba(30,20,40,.85), rgba(15,15,28,.95));
    border: 1px solid rgba(248,217,173,.08);
    text-decoration: none; color: #f8d9ad;
    transition: transform .45s cubic-bezier(.19,1,.22,1), border-color .4s, box-shadow .4s;
    gap: 1.8rem; position: relative; overflow: hidden;
}
.srv-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(239,63,40,.07) 0%, transparent 70%);
    opacity: 0; transition: opacity .4s;
}
.srv-card--proxy::before {
    background: radial-gradient(ellipse at 50% 0%, rgba(24,200,169,.07) 0%, transparent 70%);
}
@media (hover:hover) and (pointer:fine) {
    .srv-card:hover {
        transform: translateY(-.8rem);
        border-color: rgba(239,63,40,.35);
        box-shadow: 0 2.5rem 6rem rgba(239,63,40,.15), 0 0 4rem rgba(238,155,1,.08);
    }
    .srv-card:hover::before { opacity: 1; }
    .srv-card--proxy:hover {
        border-color: rgba(24,200,169,.35);
        box-shadow: 0 2.5rem 6rem rgba(24,200,169,.12), 0 0 4rem rgba(24,200,169,.06);
    }
    .srv-card:hover .srv-card__cta { opacity: 1; transform: translateX(.5rem); }
    .srv-card--proxy:hover .srv-card__cta { color: #18c8a9; }
}

/* --- Card Head --- */
.srv-card__head {
    display: flex; align-items: center; gap: 1.5rem;
}
.srv-card__logo {
    width: 5.5rem; height: 5.5rem; flex-shrink: 0;
    border-radius: 1.2rem; overflow: hidden;
    background: rgba(30,20,40,.6); border: 1px solid rgba(248,217,173,.06);
    object-fit: contain;
}
@media (min-width: 650px) { .srv-card__logo { width: 6.5rem; height: 6.5rem; } }
.srv-card__logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.srv-card__name {
    font-family: disp-2; font-size: 2rem; text-transform: uppercase;
    line-height: 1.1; color: #f8d9ad;
}
@media (min-width: 650px) { .srv-card__name { font-size: 2.4rem; } }
.srv-card__tag {
    display: inline-block;
    padding: .2rem .8rem; border-radius: 10rem;
    background: rgba(239,63,40,.12); border: 1px solid rgba(239,63,40,.25);
    color: #ef3f28; font-size: 1.1rem; font-family: disp-2;
    text-transform: uppercase; letter-spacing: .04em; margin-top: .3rem;
}
.srv-card__tag--proxy {
    background: rgba(24,200,169,.12); border-color: rgba(24,200,169,.25); color: #18c8a9;
}

/* --- Card Body --- */
.srv-card__text {
    font-size: 1.4rem; line-height: 1.55; color: rgba(248,217,173,.5);
    flex: 1;
}
@media (min-width: 650px) { .srv-card__text { font-size: 1.5rem; } }

.srv-card__features {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .5rem;
}
.srv-card__features li {
    font-size: 1.3rem; color: rgba(24,200,169,.75);
    padding-left: 1.8rem; position: relative;
}
.srv-card__features li::before {
    content: '✓'; position: absolute; left: 0; color: #18c8a9;
    font-weight: 700;
}

.srv-card__cta {
    font-family: disp-2; font-size: 1.3rem; text-transform: uppercase;
    color: rgba(248,217,173,.4); transition: color .3s, opacity .3s, transform .3s;
    margin-top: auto; opacity: .7;
}
.srv-card__cta--proxy { color: rgba(24,200,169,.5); }

/* --- Promo Badge --- */
.srv-card__promo {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1.2rem; border-radius: 1rem;
    background: linear-gradient(135deg, rgba(24,200,169,.12), rgba(238,155,1,.1));
    border: 1px solid rgba(24,200,169,.2);
    font-size: 1.2rem; color: #18c8a9; font-family: disp-2;
    text-transform: uppercase; letter-spacing: .03em;
}
.srv-card__promo code {
    padding: .15rem .6rem; border-radius: .5rem;
    background: rgba(24,200,169,.15); color: #f8d9ad;
    font-family: monospace; font-size: 1.3rem; letter-spacing: .05em;
}

/* --- Why Section --- */
.srv-why {
    padding: 8rem 0; position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(238,155,1,.04) 0%, transparent 60%);
}
.srv-why__title {
    font-family: disp; font-size: clamp(2.4rem, 4vw, 4rem);
    color: #f8d9ad; text-transform: uppercase; text-align: center;
    margin-bottom: 5rem;
}
.srv-why__grid {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 650px) { .srv-why__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.srv-why__card {
    text-align: center; padding: 3rem 2rem;
    border-radius: 2rem;
    background: rgba(30,20,40,.5);
    border: 1px solid rgba(248,217,173,.06);
}
.srv-why__icon { font-size: 3.5rem; display: block; margin-bottom: 1.5rem; }
.srv-why__card h3 {
    font-family: disp-2; font-size: 1.8rem; color: #f8d9ad;
    text-transform: uppercase; margin-bottom: 1rem;
}
.srv-why__card p {
    font-size: 1.4rem; line-height: 1.5; color: rgba(248,217,173,.45);
}

/* --- CTA Section --- */
.srv-cta {
    padding: 8rem 0 10rem;
    text-align: center;
    position: relative;
}
.srv-cta::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(239,63,40,.08) 0%, transparent 60%);
}
.srv-cta__inner { position: relative; z-index: 2; }
.srv-cta__title {
    font-family: disp; font-size: clamp(3rem, 6vw, 6rem);
    color: #f8d9ad; text-transform: uppercase; margin-bottom: 2rem;
}
.srv-cta__text {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: rgba(248,217,173,.5); max-width: 50rem; margin: 0 auto 3rem;
    line-height: 1.5;
}
.srv-cta__btn {
    display: inline-block; padding: 1.6rem 4rem;
    border-radius: 10rem; text-decoration: none;
    font-family: disp-2; font-size: 1.6rem; text-transform: uppercase;
    letter-spacing: .05em; color: #0f0f1c;
    background: linear-gradient(135deg, #f8d9ad 0%, #ee9b01 50%, #ef3f28 100%);
    background-size: 200% auto;
    transition: transform .3s, box-shadow .3s, background-position .5s;
}
.srv-cta__btn:hover {
    transform: translateY(-.3rem);
    box-shadow: 0 1.5rem 4rem rgba(239,63,40,.25);
    background-position: right center;
}


/* ==========================================
   BLOG ARTICLE PAGES
   ========================================== */
.header--blog { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(15,15,28,.85); backdrop-filter: blur(2rem); -webkit-backdrop-filter: blur(2rem); }

.blog-article { padding-top: 8rem; }
@media (min-width: 650px) { .blog-article { padding-top: 10rem; } }

.blog-article__hero {
    position: relative; padding: 4rem 0 6rem; overflow: hidden;
}
@media (min-width: 650px) { .blog-article__hero { padding: 6rem 0 10rem; } }
.blog-article__hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a0510 0%, #0f0f1c 40%, #061428 100%);
    z-index: 0;
}
.blog-article__hero-bg--pink { background: linear-gradient(135deg, #2a0520 0%, #0f0f1c 40%, #0a1028 100%); }
.blog-article__hero-bg--green { background: linear-gradient(135deg, #0a2520 0%, #0f0f1c 40%, #061428 100%); }
.blog-article__hero-bg--yellow { background: linear-gradient(135deg, #2a1a05 0%, #0f0f1c 40%, #061428 100%); }
.blog-article__hero-bg--cyan { background: linear-gradient(135deg, #052a2a 0%, #0f0f1c 40%, #061428 100%); }
.blog-article__hero-bg::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, #0f0f1c, transparent);
}
.blog-article__hero-inner {
    position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.5rem;
}

.blog-back {
    font-family: disp-2; font-size: 1.4rem; text-transform: uppercase;
    color: rgba(248,217,173,.5); transition: color .3s;
}
@media (hover:hover) and (pointer:fine) { .blog-back:hover { color: #ef3f28; } }

.blog-article__title {
    font-family: disp; font-size: 3.4rem; line-height: 1; text-transform: uppercase;
    color: #ef3f28;
}
@media (min-width: 650px) { .blog-article__title { font-size: clamp(5rem, 4.5vw, 8rem); } }

.blog-article__meta {
    font-size: 1.4rem; color: rgba(248,217,173,.4); font-family: 'Roboto Flex', sans-serif;
}

.blog-article__content {
    position: relative; padding-bottom: 8rem;
}
.blog-article__body {
    max-width: 90rem; margin: 0 auto;
}

.blog-article__intro {
    font-size: 2rem; line-height: 1.6; color: rgba(248,217,173,.85);
    margin-bottom: 4rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(248,217,173,.1);
}
@media (min-width: 650px) { .blog-article__intro { font-size: 2.2rem; } }

/* TOC */
.blog-toc {
    background: rgba(30,20,40,.6); border: 1px solid rgba(248,217,173,.1);
    border-radius: 1.5rem; padding: 2.5rem 3rem; margin-bottom: 5rem;
}
.blog-toc__title {
    font-family: disp-2; font-size: 1.8rem; text-transform: uppercase;
    color: #ee9b01; margin-bottom: 1.5rem;
}
.blog-toc__list {
    list-style: decimal; padding-left: 2rem; display: flex; flex-direction: column; gap: .8rem;
}
.blog-toc__list li { color: rgba(248,217,173,.4); font-size: 1.5rem; }
.blog-toc__list a {
    color: rgba(248,217,173,.7); transition: color .3s;
}
@media (hover:hover) and (pointer:fine) { .blog-toc__list a:hover { color: #ef3f28; } }

/* Section blocks */
.blog-section-block { margin-bottom: 5rem; }
@media (min-width: 650px) { .blog-section-block { margin-bottom: 7rem; } }
.blog-section-block h2 {
    font-family: disp; font-size: 2.8rem; line-height: 1.1; text-transform: uppercase;
    color: #ef3f28; margin-bottom: 2rem;
}
@media (min-width: 650px) { .blog-section-block h2 { font-size: 4rem; } }
.blog-section-block p { line-height: 1.65; color: rgba(248,217,173,.75); margin-bottom: 1.5rem; }
.blog-section-block p:last-child { margin-bottom: 0; }

/* Blog steps */
.blog-steps { display: flex; flex-direction: column; gap: 2rem; margin: 2.5rem 0; }
.blog-step {
    display: flex; gap: 2rem; align-items: flex-start;
    padding: 2.5rem; border-radius: 1.5rem;
    background: rgba(30,20,40,.5); border: 1px solid rgba(248,217,173,.08);
}
.blog-step__num {
    font-family: disp; font-size: 3rem; color: #ef3f28; line-height: 1;
    min-width: 4rem; text-align: center;
}
@media (min-width: 650px) { .blog-step__num { font-size: 4rem; min-width: 5rem; } }
.blog-step h4 {
    font-family: disp-2; font-size: 1.8rem; text-transform: uppercase;
    color: #f8d9ad; margin-bottom: .5rem; line-height: 1.2;
}
@media (min-width: 650px) { .blog-step h4 { font-size: 2.1rem; } }
.blog-step p { color: rgba(248,217,173,.65); font-size: 1.5rem; line-height: 1.55; margin-bottom: 0; }

/* Blog list */
.blog-list {
    list-style: none; padding: 0; margin: 2rem 0;
    display: flex; flex-direction: column; gap: 1.2rem;
}
.blog-list li {
    position: relative; padding-left: 2rem; color: rgba(248,217,173,.75);
    font-size: 1.6rem; line-height: 1.55;
}
.blog-list li::before {
    content: ''; position: absolute; left: 0; top: .7em;
    width: .8rem; height: .8rem; border-radius: 50%;
    background: #ef3f28;
}

/* Feature grid (in articles) */
.blog-feature-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem; margin: 2.5rem 0;
}
@media (min-width: 650px) { .blog-feature-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-feature-card {
    padding: 2.5rem; border-radius: 1.5rem;
    background: rgba(30,20,40,.5); border: 1px solid rgba(248,217,173,.08);
    transition: border-color .3s, transform .3s;
}
@media (hover:hover) and (pointer:fine) {
    .blog-feature-card:hover {
        border-color: rgba(239,63,40,.3);
        transform: translateY(-.3rem);
    }
}
.blog-feature-card h4 {
    font-family: disp-2; font-size: 1.8rem; text-transform: uppercase;
    color: #f8d9ad; margin-bottom: .8rem; line-height: 1.2;
}
.blog-feature-card p { color: rgba(248,217,173,.6); font-size: 1.5rem; line-height: 1.55; margin-bottom: 0; }

/* Tip / Warning boxes */
.blog-tip, .blog-warning {
    display: flex; gap: 1.5rem; align-items: flex-start;
    padding: 2rem 2.5rem; border-radius: 1.5rem; margin: 2.5rem 0;
}
.blog-tip {
    background: rgba(24,200,169,.06); border: 1px solid rgba(24,200,169,.2);
}
.blog-warning {
    background: rgba(238,155,1,.06); border: 1px solid rgba(238,155,1,.2);
}
.blog-tip__icon { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.blog-tip strong, .blog-warning strong { color: #f8d9ad; }
.blog-tip div, .blog-warning div { color: rgba(248,217,173,.7); font-size: 1.5rem; line-height: 1.55; }
.blog-tip code, .blog-section-block code {
    background: rgba(239,63,40,.1); border: 1px solid rgba(239,63,40,.2);
    padding: .1em .5em; border-radius: .4rem; font-size: .9em;
    color: #ee9b01; font-family: monospace;
}

/* Blog CTA */
.blog-cta {
    text-align: center; padding: 5rem 3rem; border-radius: 2rem;
    background: linear-gradient(160deg, rgba(239,63,40,.08), rgba(238,155,1,.05));
    border: 1px solid rgba(239,63,40,.2); margin-top: 4rem;
}
.blog-cta h3 {
    font-family: disp; font-size: 2.6rem; text-transform: uppercase;
    color: #ef3f28; margin-bottom: 1rem; line-height: 1.1;
}
@media (min-width: 650px) { .blog-cta h3 { font-size: 3.6rem; } }
.blog-cta p { color: rgba(248,217,173,.65); margin-bottom: 2.5rem; font-size: 1.6rem; }
.blog-cta .btn { display: inline-flex; }

/* Blog footer */
.blog-footer {
    background: rgba(15,15,28,.95); border-top: 1px solid rgba(248,217,173,.08);
    padding: 4rem 0;
}
.blog-footer__inner {
    display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center;
}
.blog-footer__links {
    display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
}
.blog-footer__links a {
    font-size: 1.4rem; color: rgba(248,217,173,.5); transition: color .3s;
}
@media (hover:hover) and (pointer:fine) { .blog-footer__links a:hover { color: #ef3f28; } }
.blog-footer__copy { font-size: 1.3rem; color: rgba(248,217,173,.25); }

/* ==========================================
   FAQ
   ========================================== */
.faq-section { position: relative; z-index: 5; margin: 5rem 0; }
@media (min-width: 650px) { .faq-section { margin: 10rem 0; } }
.faq-item { border-bottom: .3rem solid rgba(248,217,173,.2); }
.faq-item:first-child { border-top: .3rem solid rgba(248,217,173,.2); }
.faq-question {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 2.5rem 0; font-family: disp-2; font-size: 2.1rem;
    text-transform: uppercase; line-height: 1.1; color: #f8d9ad; background: none; text-align: left;
}
@media (min-width: 650px) { .faq-question { font-size: 3rem; } }
.faq-icon { width: 2rem; height: 2rem; flex-shrink: 0; margin-left: 2rem; transition: transform .5s cubic-bezier(.19,1,.22,1); }
@media (min-width: 650px) { .faq-icon { width: 3rem; height: 3rem; } }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.19,1,.22,1); }
.faq-answer-inner { padding-bottom: 2.5rem; line-height: 1.5; }

/* ==========================================
   FOOTER
   ========================================== */
.footer { position: relative; margin-top: 10rem; z-index: 5; }
@media (min-width: 650px) { .footer { margin-top: 15rem; } }
.footer-bg { pointer-events: none; position: absolute; top: 0; left: 0; width: 100%; z-index: 0; }
@media (min-width: 650px) { .footer-bg { top: -33.33%; } }
.footer-bg .aspect { padding-top: 150%; }
@media (min-width: 650px) { .footer-bg .aspect { padding-top: 75%; } }
.footer-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(15,15,28,.4) 0%,
        rgba(15,15,28,.65) 25%,
        rgba(15,15,28,.8) 50%,
        rgba(15,15,28,.92) 100%);
    pointer-events: none;
}
.footer-content {
    position: relative;
    z-index: 10;
    padding-bottom: 6rem;
    pointer-events: none;
}
.footer-cta {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; position: relative; z-index: 10;
}
.footer-cta .h1 {
    max-width: 100%; position: relative; z-index: 10;
    text-shadow: 0 .4rem 4rem rgba(15,15,28,1), 0 0 8rem rgba(15,15,28,.7);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.footer-cta .b-large { max-width: 80rem; margin-top: 2rem; padding: 0 3rem; }
@media (min-width: 650px) { .footer-cta .b-large { margin-top: 3rem; padding: 0; } }
.footer-btn { margin-top: 3rem; pointer-events: auto; position: relative; z-index: 10; }
@media (min-width: 650px) { .footer-btn { margin-top: 3.5rem; } }

/* Social Card */
.social-card {
    display: flex; flex-direction: column; border-radius: 2rem;
    border: .5rem solid #0f0f1c; overflow: hidden;
    background: linear-gradient(180deg, #1b1010 -26.51%, #d93e22 247.68%);
    margin-top: 5rem; pointer-events: auto;
    position: relative; z-index: 10;
    box-shadow: 0 2rem 6rem rgba(0,0,0,.6), 0 0 0 1px rgba(248,217,173,.12);
}
@media (min-width: 650px) { .social-card { flex-direction: row; margin-top: 0; } }
.social-main { position: relative; flex: 1; padding: 4.5rem; overflow: hidden; z-index: 5; }
.social-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 650px) { .social-nav { gap: 2rem; } }
.social-links-col { display: none; padding: 4.5rem 4rem; position: relative; z-index: 5; }
@media (min-width: 650px) { .social-links-col { display: block; border-left: .5rem solid #0f0f1c; } }
.footer-mascot + .social-main { border-top: .5rem solid #0f0f1c; }
@media (min-width: 650px) { .footer-mascot + .social-main { border-top: 0; border-left: .5rem solid #0f0f1c; } }
@media (min-width: 650px) { .footer-mascot { order: 3; border-left: .5rem solid #0f0f1c; } }
.social-links-list { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2rem; }
.social-links-list a {
    font-family: disp-2; text-transform: uppercase; line-height: 1; font-size: 3rem;
    transition: color .5s ease;
}
@media (hover:hover) and (pointer:fine) { .social-links-list a:hover { color: #ee9b01; } }
.copyright {
    display: flex; flex-direction: column; align-items: center; padding-top: 3.5rem;
    text-transform: capitalize; font-size: 1.5rem; pointer-events: auto;
    position: relative; z-index: 10;
    text-shadow: 0 .2rem 1rem rgba(15,15,28,.5);
}
@media (min-width: 650px) { .copyright { flex-direction: row; justify-content: space-between; } }

/* ==========================================
   CANVAS STARS
   ========================================== */
.stars-layer { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.stars-layer canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.js-reveal { opacity: 0; transform: translateY(3rem); transition: opacity .8s cubic-bezier(.19,1,.22,1), transform .8s cubic-bezier(.19,1,.22,1); }
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal-delay-1 { transition-delay: .1s; }
.js-reveal-delay-2 { transition-delay: .2s; }
.js-reveal-delay-3 { transition-delay: .3s; }
.js-reveal-delay-4 { transition-delay: .4s; }
.js-s-chars .char {
    display: inline-block; opacity: 0; transform: translateY(100%);
    transition: opacity .6s cubic-bezier(.19,1,.22,1), transform .6s cubic-bezier(.19,1,.22,1);
}
.js-s-chars.is-animated .char { opacity: 1; transform: translateY(0); }

/* ==========================================
   MASCOT CHARACTER SYSTEM
   ========================================== */
@keyframes mascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2rem); }
}
@keyframes mascotFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-1.5rem) rotate(-0.5deg); }
    66% { transform: translateY(-0.5rem) rotate(0.5deg); }
}
@keyframes mascotGlow {
    0%, 100% { filter: drop-shadow(0 0 1rem rgba(239,63,40,0)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.45)); }
    50% { filter: drop-shadow(0 0 3rem rgba(239,63,40,.25)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.45)); }
}

/* ---- HERO MASCOT ---- */
.hero-mascot-wrap {
    position: absolute;
    right: -2rem;
    bottom: 0;
    width: 42%;
    max-width: 45rem;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
@media (max-width: 649px) {
    .hero-mascot-wrap {
        width: 45%;
        max-width: 20rem;
        right: -1rem;
    }
}
.hero-mascot-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1rem 3rem rgba(0,0,0,.5));
    animation: mascotFloat 6s ease-in-out infinite;
}

/* ---- STORY MASCOT ---- */
.story-mascot-wrap {
    position: absolute;
    left: 15%;
    top: 2rem;
    width: 40rem;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}
@media (max-width: 649px) {
    .story-mascot-wrap { display: none; }
}
.story-mascot-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1rem 3rem rgba(0,0,0,.5));
    animation: mascotFloat2 7s ease-in-out infinite;
}

/* ---- FEATURE CARD CHARACTERS ---- */
.feature-char {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 85%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.5));
    animation: mascotFloat 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
@media (max-width: 649px) {
    .feature-char {
        height: 75%;
    }
}

/* ---- PROXY MANAGER: Browser UI + Chair Cat ---- */
.proxy-browser-bg {
    background: linear-gradient(135deg, #0a1628 0%, #0f2040 50%, #101535 100%) !important;
    overflow: hidden;
}
.browser-ui {
    position: absolute;
    top: 8%;
    right: 5%;
    width: 55%;
    max-width: 65rem;
    background: #141c2e;
    border-radius: 1.2rem;
    border: .2rem solid rgba(248,217,173,.15);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 1rem 4rem rgba(0,0,0,.5);
    font-family: 'Roboto Flex', monospace;
}
@media (max-width: 649px) {
    .browser-ui {
        top: 5%;
        right: 3%;
        width: 60%;
        border-radius: .8rem;
    }
}
.browser-ui__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1.2rem;
    background: #1a2340;
    border-bottom: .15rem solid rgba(248,217,173,.1);
}
.browser-ui__dots {
    display: flex;
    gap: .4rem;
    flex-shrink: 0;
}
.dot {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
}
.dot--red { background: #ef3f28; }
.dot--yellow { background: #ee9b01; }
.dot--green { background: #18c8a9; }
.browser-ui__tabs {
    display: flex;
    gap: .3rem;
    overflow: hidden;
}
.browser-tab {
    padding: .3rem 1rem;
    font-size: 1rem;
    border-radius: .5rem .5rem 0 0;
    background: rgba(248,217,173,.05);
    color: rgba(248,217,173,.5);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .03em;
}
@media (min-width: 650px) { .browser-tab { font-size: 1.3rem; padding: .4rem 1.5rem; } }
.browser-tab--active {
    background: rgba(238,155,1,.15);
    color: #ee9b01;
}
.browser-ui__addr {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1.2rem;
    background: #0f1828;
    border-bottom: .1rem solid rgba(248,217,173,.08);
    font-size: .9rem;
    color: rgba(248,217,173,.4);
}
@media (min-width: 650px) { .browser-ui__addr { font-size: 1.2rem; padding: .6rem 1.5rem; } }
.addr-lock { font-size: .9rem; }
.addr-text { opacity: .7; }
.browser-ui__body {
    padding: .8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
@media (min-width: 650px) { .browser-ui__body { padding: 1rem 1.5rem; gap: .6rem; } }
.proxy-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem .8rem;
    background: rgba(248,217,173,.04);
    border-radius: .5rem;
    font-size: .9rem;
    color: rgba(248,217,173,.65);
}
@media (min-width: 650px) { .proxy-row { font-size: 1.2rem; padding: .6rem 1rem; gap: 1.2rem; } }
.proxy-flag { font-size: 1.2rem; }
@media (min-width: 650px) { .proxy-flag { font-size: 1.6rem; } }
.proxy-ip { flex: 1; font-family: monospace; }
.proxy-type {
    padding: .15rem .5rem;
    background: rgba(24,200,169,.15);
    color: #18c8a9;
    border-radius: .3rem;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 600;
}
@media (min-width: 650px) { .proxy-type { font-size: 1rem; padding: .2rem .7rem; } }
.proxy-status { font-size: .7rem; }
.proxy-status--ok { color: #18c8a9; }
.proxy-status--warn { color: #ee9b01; }

/* Cat on chair - sits on the left, bigger, and rides left-right */
.feature-char-proxy {
    position: absolute;
    bottom: 0;
    left: 5%;
    height: 90%;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    object-position: bottom left;
    filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.5));
    pointer-events: none;
    z-index: 3;
    animation: chairRide 6s ease-in-out infinite;
}
@media (max-width: 649px) {
    .feature-char-proxy {
        height: 78%;
        left: 0;
        max-width: 50%;
    }
}
@keyframes chairRide {
    0%, 100% { transform: translateX(0); }
    30% { transform: translateX(3rem); }
    70% { transform: translateX(-2rem); }
}

/* ---- ROCKET CAT — PINNED TO SECTIONS ---- */
.rocket-section {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
    width: 16rem;
    right: 2rem;
    top: 8rem;
    opacity: 0;
    transition: opacity .6s ease, transform .6s ease;
}
@media (min-width: 650px) {
    .rocket-section { width: 24rem; right: 4rem; top: 10rem; }
}
@media (max-width: 649px) { .rocket-section { display: none; } }
.rocket-section.is-visible {
    opacity: 1;
}
.rocket-section img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 .8rem 3rem rgba(239,63,40,.35)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.5));
    animation: rocketFloat 5s ease-in-out infinite;
}
@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-2rem) rotate(-5deg); }
}
/* Rocket trail */
.rocket-section::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 6rem;
    background: radial-gradient(ellipse at center, rgba(239,63,40,.4) 0%, rgba(238,155,1,.15) 40%, transparent 70%);
    border-radius: 50%;
    animation: rocketTrailPinned .5s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes rocketTrailPinned {
    0% { opacity: .5; transform: translateX(-50%) scaleY(1); }
    100% { opacity: .9; transform: translateX(-50%) scaleY(1.3); }
}

/* ---- FOOTER MASCOT ---- */
.footer-mascot {
    position: relative;
    width: 100%;
    max-width: 28.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15,15,28,.3) 0%, rgba(25,15,20,.2) 100%);
}
@media (max-width: 649px) {
    .footer-mascot {
        max-width: 100%;
        max-height: 22rem;
    }
}
.footer-mascot img {
    width: 100%;
    height: auto;
    max-height: 32rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.4));
    animation: mascotFloat 7s ease-in-out infinite;
}

/* ==========================================
   ENHANCED ANIMATIONS — dogelonmars parity
   ========================================== */

/* ---- Smooth Scroll ---- */
html { scroll-behavior: smooth; }

/* ---- Line-by-Line Reveal (js-s-lines) ---- */
.js-s-lines { overflow: hidden; }
.js-s-lines .line { display: block; overflow: hidden; }
.js-s-lines .line-inner {
    display: block; transform: translateY(120%);
    transition: transform .9s cubic-bezier(.19,1,.22,1);
}
.js-s-lines.is-animated .line-inner { transform: translateY(0); }

/* ---- Hover Image Zoom (h-trig / h-scale) ---- */
.h-trig { cursor: pointer; }
.h-scale { overflow: hidden; border-radius: inherit; }
.h-scale .image-bg,
.h-scale .image-inner { transition: transform .7s cubic-bezier(.19,1,.22,1); }
@media (hover:hover) and (pointer:fine) {
    .h-trig:hover .h-scale .image-bg,
    .h-trig:hover .h-scale .image-inner { transform: scale(1.035); }
    .h-trig:hover .feature-char { transform: translateX(-50%) scale(1.06); }
}

/* ---- Button Glow Hover ---- */
.btn-wrap { transition: filter .4s ease, box-shadow .4s ease; }
@media (hover:hover) and (pointer:fine) {
    .btn:hover .btn-wrap {
        filter: brightness(1.15);
        box-shadow: 0 0 3rem rgba(238,155,1,.3);
    }
}

/* ---- Mini Card Cat Image ---- */
.mini-card-img {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 75%; height: auto; max-height: 90%;
    object-fit: contain; object-position: bottom center;
    z-index: 2; pointer-events: none;
    filter: drop-shadow(0 .5rem 2rem rgba(0,0,0,.5));
}

/* ---- Two-Col Card Image (reworked) ---- */
.two-col-card .card-image {
    aspect-ratio: 4 / 3;
}
@media (min-width: 650px) {
    .two-col-card .card-image { aspect-ratio: 1 / 1; }
}
.two-col-card .card-image .aspect {
    display: none;
}
.two-col-card .card-image .image-inner {
    position: absolute; inset: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem;
}
.two-col-card .card-image .image-inner img {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 1rem 3rem rgba(0,0,0,.5));
    animation: svgFloat 5s ease-in-out infinite;
}
@media (max-width: 649px) {
    .two-col-card .card-image .image-inner { padding: 2rem; }
    .two-col-card .card-image .image-inner img { max-width: 65%; max-height: 65%; }
}

/* ---- Section Mascot (think, fly, space) ---- */
.section-mascot {
    position: absolute; z-index: 3;
    pointer-events: none; will-change: transform;
}
.section-mascot img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 1rem 2rem rgba(0,0,0,.5));
}
.section-mascot--right {
    right: 2rem; top: 50%; transform: translateY(-50%);
    width: 16rem;
}
@media (max-width: 649px) { .section-mascot--right { display: none; } }
@media (min-width: 650px) { .section-mascot--right { right: 4rem; width: 24rem; } }
.section-mascot--left {
    left: 2rem; top: 5rem;
    width: 14rem;
}
@media (max-width: 649px) { .section-mascot--left { display: none; } }
@media (min-width: 650px) { .section-mascot--left { left: 4rem; top: 3rem; width: 22rem; } }
.section-mascot--right-far {
    right: 0; bottom: 0;
    width: 18rem;
}
@media (max-width: 649px) { .section-mascot--right-far { display: none; } }
@media (min-width: 650px) { .section-mascot--right-far { width: 26rem; right: 2rem; } }

/* ---- Mouse-Reactive Parallax Layer ---- */
[data-mouse-parallax] { will-change: transform; }

/* ---- Improved Loading Animation ---- */
@keyframes loadLogoEnter {
    0% { transform: scale(.6) translateY(2rem); opacity: 0; }
    60% { transform: scale(1.05) translateY(-.5rem); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.loading-logo { animation: loadLogoEnter .7s cubic-bezier(.19,1,.22,1) forwards; display: flex; flex-direction: column; align-items: center; }

/* ---- Feature card character hover glow ---- */
.feature-char { transition: transform .7s cubic-bezier(.19,1,.22,1), filter .5s ease; }

/* ---- Skewed label entrance for use-card titles ---- */
.use-card { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover:hover) and (pointer:fine) {
    .use-card:hover {
        transform: translateY(-.5rem);
        box-shadow: 0 1rem 4rem rgba(0,0,0,.3);
    }
}

/* ---- Social card character scale on hover ---- */
@media (hover:hover) and (pointer:fine) {
    .social-card:hover .footer-mascot img { transform: scale(1.05); }
}
.footer-mascot img { transition: transform .5s cubic-bezier(.19,1,.22,1); }

/* Responsive utilities */
@media (max-width: 649px) { .hide-mobile { display: none !important; } }
@media (min-width: 650px) { .hide-desktop { display: none !important; } }

/* ==========================================
   ALIVE CAT ANIMATIONS
   Make every cat image feel "alive"
   ========================================== */
@keyframes catBreathe {
    0%, 100% { transform: scale(1) translateY(0); }
    40% { transform: scale(1.015) translateY(-0.3rem); }
    70% { transform: scale(0.995) translateY(0.15rem); }
}
@keyframes catBreatheCentered {
    0%, 100% { transform: translateX(-50%) scale(1) translateY(0); }
    40% { transform: translateX(-50%) scale(1.018) translateY(-0.4rem); }
    70% { transform: translateX(-50%) scale(0.994) translateY(0.2rem); }
}
@keyframes catGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 1rem rgba(239,63,40,0)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.45)); }
    50% { filter: drop-shadow(0 0 2.5rem rgba(239,63,40,.2)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.45)); }
}
@keyframes catEyeShimmer {
    0%, 90%, 100% { filter: drop-shadow(0 .5rem 2rem rgba(0,0,0,.5)) brightness(1); }
    95% { filter: drop-shadow(0 .5rem 2rem rgba(0,0,0,.5)) brightness(1.08); }
}
@keyframes catTailWag {
    0%, 100% { transform: scaleX(1); }
    25% { transform: scaleX(1.003) rotate(0.2deg); }
    75% { transform: scaleX(0.997) rotate(-0.2deg); }
}

/* General alive class for all cats */
.mascot-alive {
    animation: catBreathe 5s ease-in-out infinite, catGlowPulse 4s ease-in-out infinite 1s;
    transition: transform .5s cubic-bezier(.19,1,.22,1), filter .5s ease;
}
@media (hover:hover) and (pointer:fine) {
    .mascot-alive:hover {
        animation-play-state: paused;
        transform: scale(1.05);
        filter: drop-shadow(0 0 3rem rgba(238,155,1,.35)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.5)) brightness(1.08);
    }
}

/* Hero mascot alive override */
.hero-mascot-wrap .mascot-alive {
    animation: catBreathe 6s ease-in-out infinite, mascotGlow 5s ease-in-out infinite;
}

/* Feature chars alive: need centered transform */
.feature-char.mascot-alive {
    animation: catBreatheCentered 6s ease-in-out infinite, catEyeShimmer 8s ease-in-out infinite;
}
@media (hover:hover) and (pointer:fine) {
    .h-trig:hover .feature-char.mascot-alive {
        animation-play-state: paused;
        transform: translateX(-50%) scale(1.06);
        filter: drop-shadow(0 0 3rem rgba(238,155,1,.3)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.5));
    }
}

/* Mini card cats: centered transform */
.mini-card-img.mascot-alive {
    animation: catBreatheCentered 5.5s ease-in-out infinite, catGlowPulse 4.5s ease-in-out infinite 0.5s;
}

/* Footer mascot alive */
.footer-mascot .mascot-alive {
    animation: catBreathe 5s ease-in-out infinite, mascotGlow 6s ease-in-out infinite;
}

/* Story mascot alive */
.story-mascot-wrap .mascot-alive {
    animation: mascotFloat2 7s ease-in-out infinite, catGlowPulse 5s ease-in-out infinite;
}

/* Proxy cat alive: chair ride + glow */
.feature-char-proxy.mascot-alive {
    animation: chairRide 6s ease-in-out infinite, catGlowPulse 4s ease-in-out infinite;
}
@media (hover:hover) and (pointer:fine) {
    .h-trig:hover .feature-char-proxy.mascot-alive {
        animation-play-state: paused;
        transform: translateX(1rem) scale(1.04);
        filter: drop-shadow(0 0 3rem rgba(238,155,1,.3)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.5));
    }
}

/* Loading logo image */
.loading-logo-img {
    width: 8rem;
    height: auto;
    margin-bottom: 1.5rem;
    animation: loadPulse 1.5s ease-in-out infinite;
}
@media (min-width: 650px) { .loading-logo-img { width: 12rem; } }

/* ==========================================
   USE-CASE CARD IMAGE SYSTEM
   ========================================== */
.use-card--has-img {
    padding-top: 0;
    overflow: hidden;
}
.use-card-img-wrap {
    position: relative;
    width: 100%;
    height: 14rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 1rem;
}
@media (min-width: 650px) {
    .use-card-img-wrap { height: 18rem; }
}
.use-card-cat {
    height: 100%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 .5rem 1.5rem rgba(0,0,0,.4));
    pointer-events: auto;
    cursor: pointer;
}
.use-card-cat.mascot-alive {
    animation: catBreathe 5s ease-in-out infinite, catGlowPulse 4s ease-in-out infinite;
}
@media (hover:hover) and (pointer:fine) {
    .use-card:hover .use-card-cat {
        animation-play-state: paused;
        transform: scale(1.08) translateY(-0.3rem);
        filter: drop-shadow(0 0 2rem rgba(238,155,1,.3)) drop-shadow(0 .5rem 2rem rgba(0,0,0,.4));
    }
}
.use-card-cat { transition: transform .4s cubic-bezier(.19,1,.22,1), filter .4s ease; }

/* Use-card icon for cards without cat images */
.use-card-icon {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6rem;
}
.use-card-svg {
    width: 6rem;
    height: 6rem;
}
@media (min-width: 650px) {
    .use-card-svg { width: 8rem; height: 8rem; }
}

/* ==========================================
   TWO-COL SVG STYLING
   ========================================== */
.two-col-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: auto;
    max-width: 20rem;
    z-index: 2;
    pointer-events: none;
    animation: svgFloat 5s ease-in-out infinite;
}
@keyframes svgFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -52%) scale(1.04); }
}
.svg-sparkle {
    animation: svgSparkle 3s ease-in-out infinite;
}
@keyframes svgSparkle {
    0%, 100% { opacity: .3; r: 2; }
    50% { opacity: .8; r: 4; }
}
@media (hover:hover) and (pointer:fine) {
    .h-trig:hover .two-col-svg {
        animation-play-state: paused;
        transform: translate(-50%, -50%) scale(1.1);
        transition: transform .4s cubic-bezier(.19,1,.22,1);
    }
}

/* ==========================================
   DECORATIVE STICKERS
   ========================================== */
.deco-sticker {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    opacity: .35;
    animation: stickerFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 .5rem 1rem rgba(0,0,0,.3));
}
@media (max-width: 649px) { .deco-sticker { display: none; } }
@keyframes stickerFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-0.8rem) rotate(2deg); }
    66% { transform: translateY(0.3rem) rotate(-1deg); }
}
.deco-sticker--1 {
    top: 0;
    right: 5%;
    width: 5rem;
    animation-delay: 0s;
}
.deco-sticker--2 {
    bottom: 1rem;
    left: 5%;
    width: 4rem;
    animation-delay: 2s;
}
.deco-sticker--3 {
    top: 2rem;
    right: 3%;
    width: 4.5rem;
    animation-delay: 1s;
}
.deco-sticker--4 {
    bottom: 3rem;
    left: 4%;
    width: 4rem;
    animation-delay: 3s;
}
.deco-sticker--5 {
    top: 5rem;
    left: 8%;
    width: 5rem;
    animation-delay: 1.5s;
    opacity: .25;
}

/* ==========================================
   FOOTER LEDGE
   ========================================== */
.footer-ledge {
    position: absolute;
    top: -3rem;
    left: 0;
    width: 100%;
    z-index: 6;
    pointer-events: none;
    line-height: 0;
}
.footer-ledge img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .7;
}

/* ==========================================
   DOGELONMARS-INSPIRED ENHANCEMENTS
   ========================================== */

/* Stat card entrance scale-up */
.stat-card {
    transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .stat-card:hover {
        transform: translateY(-.5rem) scale(1.03);
        box-shadow: 0 1rem 3rem rgba(24,200,169,.2);
    }
}

/* FAQ item smooth highlight */
.faq-question { transition: color .3s ease; }
.faq-item.is-open .faq-question { color: #ee9b01; }

/* Feature card subtle glow on scroll-reveal */
.feature-card.is-visible .feature-image {
    box-shadow: 0 0 0 rgba(239,63,40,0);
    animation: cardEntryGlow 1.5s ease-out forwards;
}
@keyframes cardEntryGlow {
    0% { box-shadow: 0 0 4rem rgba(239,63,40,.3); }
    100% { box-shadow: 0 0 0 rgba(239,63,40,0); }
}

/* Two-col card image alive override: no centering conflict */
.two-col-card-img.mascot-alive {
    animation: svgFloat 5s ease-in-out infinite, catGlowPulse 4.5s ease-in-out infinite;
}

/* Smooth parallax for sections */
.features-section, .use-cases, .faq-section {
    transition: opacity .3s ease;
}

/* Mini card gradient shine on hover */
@media (hover:hover) and (pointer:fine) {
    .mini-card:hover .mini-card-image {
        box-shadow: 0 0 3rem rgba(238,155,1,.15);
    }
}
.mini-card-image { transition: box-shadow .4s ease; }

/* ==========================================
   PREMIUM EFFECTS v2.0 — WOW OVERHAUL
   ========================================== */

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef3f28, #ee9b01, #18c8a9);
    z-index: 10001;
    width: 0%;
    pointer-events: none;
    box-shadow: 0 0 1rem rgba(239,63,40,.5);
}

/* ---- Cursor Glow Follower ---- */
.cursor-glow {
    position: fixed;
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,63,40,.07) 0%, rgba(238,155,1,.03) 35%, transparent 70%);
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    will-change: transform;
    transition: opacity .4s ease;
}
.cursor-glow.is-active { opacity: 1; }
@media (max-width: 649px) { .cursor-glow { display: none; } }

/* ---- Header Blur on Scroll ---- */
.header {
    transition: background .4s ease, border-color .4s ease;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(15,15,28,.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(248,217,173,.08);
}

/* ---- Nav Animated Underlines ---- */
.header-links a { position: relative; }
.header-links a::after {
    content: '';
    position: absolute;
    bottom: -.4rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef3f28, #ee9b01);
    transition: width .3s cubic-bezier(.19,1,.22,1);
    border-radius: 1px;
}
@media (hover:hover) and (pointer:fine) {
    .header-links a:hover::after { width: 100%; }
}

/* ---- CTA Button Pulse Glow ---- */
.hero-cta .btn-wrap,
.footer-btn .btn-wrap {
    animation: btnPulseGlow 3s ease-in-out infinite;
}
@keyframes btnPulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(238,155,1,.3); }
    50% { box-shadow: 0 0 4rem .5rem rgba(238,155,1,.12); }
}

/* ---- @property for animated gradient borders ---- */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}

/* ==========================================
   PREMIUM DOWNLOAD CARDS
   ========================================== */
.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 650px) {
    .download-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}
.dl-card {
    position: relative;
    border-radius: 2.4rem;
    transition: transform .5s cubic-bezier(.19,1,.22,1);
}
.dl-card__border {
    position: absolute;
    inset: 0;
    border-radius: 2.4rem;
    padding: 2px;
    background: conic-gradient(from var(--border-angle), #ef3f28, #ee9b01, #18c8a9, #0f3460, #ef3f28);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    z-index: 1;
    pointer-events: none;
}
.dl-card__inner {
    position: relative;
    background: linear-gradient(160deg, rgba(20,8,38,.97) 0%, rgba(15,40,70,.9) 50%, rgba(18,28,50,.97) 100%);
    border-radius: 2.4rem;
    overflow: hidden;
    z-index: 0;
}
.dl-card__visual {
    position: relative;
    height: 26rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
@media (min-width: 650px) {
    .dl-card__visual { height: 34rem; }
}
.dl-card__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(5rem);
    opacity: .35;
    pointer-events: none;
    transition: opacity .6s ease, transform .6s ease;
}
.dl-card__orb--1 {
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, #ef3f28 0%, transparent 70%);
    top: -5rem;
    right: -5rem;
    animation: orbDrift1 8s ease-in-out infinite;
}
.dl-card__orb--2 {
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, #ee9b01 0%, transparent 70%);
    bottom: -4rem;
    left: -4rem;
    animation: orbDrift2 7s ease-in-out infinite 1s;
}
.dl-card--alt .dl-card__orb--1 {
    background: radial-gradient(circle, #18c8a9 0%, transparent 70%);
}
.dl-card--alt .dl-card__orb--2 {
    background: radial-gradient(circle, #ef3f28 0%, transparent 70%);
}
@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-3rem, 2rem) scale(1.15); }
    66% { transform: translate(1rem, -1rem) scale(.9); }
}
@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2rem, -1.5rem) scale(1.1); }
    66% { transform: translate(-1rem, 1rem) scale(.95); }
}
.dl-card__img {
    position: relative;
    max-width: 65%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 1.5rem 4rem rgba(0,0,0,.6));
    transition: transform .6s cubic-bezier(.19,1,.22,1), filter .5s ease;
}
.dl-card__content {
    position: relative;
    padding: 3rem;
    border-top: 1px solid rgba(248,217,173,.08);
    background: linear-gradient(180deg, rgba(15,15,28,.3) 0%, rgba(15,15,28,.6) 100%);
}
@media (min-width: 650px) {
    .dl-card__content { padding: 3.5rem 4rem; }
}
.dl-card__title {
    font-family: disp;
    font-size: 3rem;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f8d9ad 0%, #ef3f28 50%, #ee9b01 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}
@media (min-width: 650px) {
    .dl-card__title { font-size: 4.5rem; }
}
.dl-card--alt .dl-card__title {
    background-image: linear-gradient(135deg, #f8d9ad 0%, #18c8a9 50%, #ee9b01 100%);
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}
/* Download card hover */
@media (hover:hover) and (pointer:fine) {
    .dl-card:hover { transform: translateY(-.8rem); }
    .dl-card:hover .dl-card__img {
        transform: scale(1.08) translateY(-.5rem);
        filter: drop-shadow(0 2rem 5rem rgba(239,63,40,.25)) drop-shadow(0 1rem 3rem rgba(0,0,0,.5));
    }
    .dl-card:hover .dl-card__border { animation-duration: 2s; }
    .dl-card:hover .dl-card__orb { opacity: .55; }
}

/* ---- Hero Badge Glass Enhancement ---- */
.hero-badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(248,217,173,.18);
    background: rgba(255,255,255,.08);
    transition: all .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .hero-badge:hover {
        background: rgba(255,255,255,.15);
        border-color: rgba(248,217,173,.4);
        transform: translateY(-2px);
        box-shadow: 0 .5rem 2rem rgba(0,0,0,.2);
    }
}

/* ---- Hero GIF — no frame, clean ---- */
/* (border & box-shadow handled inline in base .hero-gif-img) */

/* ---- Stat Card Glass Shine ---- */
.stat-card { position: relative; overflow: hidden; }
.stat-card::after {
    content: '';
    position: absolute;
    top: -80%;
    left: -80%;
    width: 260%;
    height: 260%;
    background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 35%, transparent 65%, rgba(255,255,255,.08) 100%);
    transform: rotate(45deg) translateY(100%);
    transition: transform .7s cubic-bezier(.19,1,.22,1);
    pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
    .stat-card:hover::after { transform: rotate(45deg) translateY(-30%); }
}

/* ---- Use-Card Enhanced Hover ---- */
.use-card {
    transition: transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
    border-color: #0f0f1c;
}
@media (hover:hover) and (pointer:fine) {
    .use-card:hover {
        transform: translateY(-.8rem);
        box-shadow: 0 2rem 5rem rgba(0,0,0,.25), 0 0 3rem rgba(239,63,40,.1);
    }
}

/* ---- FAQ Enhanced ---- */
.faq-item {
    transition: background .3s ease;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 1rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}
.faq-item.is-open {
    background: rgba(238,155,1,.04);
}

/* ---- Improved Scroll Reveal ---- */
.js-reveal {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 1s cubic-bezier(.19,1,.22,1), transform 1s cubic-bezier(.19,1,.22,1);
}

/* ---- 3D Card Tilt Base ---- */
.dl-card {
    transform-style: preserve-3d;
}

/* ---- Feature Card Glow Ring on Scroll ---- */
.feature-card.is-visible .feature-image {
    box-shadow: 0 0 0 rgba(239,63,40,0);
    animation: featureEntryGlow 2s ease-out forwards;
}
@keyframes featureEntryGlow {
    0% { box-shadow: 0 0 6rem rgba(239,63,40,.35); }
    100% { box-shadow: 0 0 0 rgba(239,63,40,0); }
}

/* ---- Download Card Entry Glow ---- */
.dl-card.is-visible .dl-card__border {
    animation: rotateBorder 4s linear infinite, dlCardEntryGlow 1.5s ease-out forwards;
}
@keyframes dlCardEntryGlow {
    0% { filter: brightness(2) drop-shadow(0 0 3rem rgba(239,63,40,.5)); }
    100% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
}

/* ---- Smooth section color transitions ---- */
.stats-section,
.features-section,
.use-cases,
.faq-section {
    transition: opacity .3s ease;
}

/* ---- Better social card hover ---- */
.social-card {
    transition: box-shadow .4s ease, transform .4s ease;
}
@media (hover:hover) and (pointer:fine) {
    .social-card:hover {
        box-shadow: 0 2rem 6rem rgba(0,0,0,.3), 0 0 4rem rgba(239,63,40,.1);
        transform: translateY(-.3rem);
    }
}

/* ---- Copyright subtle style ---- */
.copyright { opacity: .6; transition: opacity .3s ease; }
@media (hover:hover) and (pointer:fine) {
    .copyright:hover { opacity: 1; }
}

/* ==========================================
   TEXT GLOW ON SCROLL
   ========================================== */
.h1, .h2 {
    transition: text-shadow .8s ease;
}
.h1.is-glowing {
    text-shadow: 0 0 4rem rgba(239,63,40,.3), 0 .2rem 2rem rgba(0,0,0,.5);
}
.h2.is-glowing {
    text-shadow: 0 0 3rem rgba(238,155,1,.2), 0 .2rem 1.5rem rgba(0,0,0,.4);
}

/* ==========================================
   SECTION DEPTH PARALLAX
   ========================================== */
.stats-section,
.features-section,
.use-cases,
.faq-section {
    transition: transform .15s linear, opacity .3s ease;
    will-change: transform;
}

/* ==========================================
   SMOOTH GRADIENT DIVIDERS BETWEEN SECTIONS
   ========================================== */
.stats-section::before,
.features-section::before,
.use-cases::before {
    content: '';
    position: absolute;
    top: -8rem;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to bottom, transparent, rgba(15,15,28,.4));
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   HERO SCROLL FADE
   ========================================== */
.hero-content {
    transition: opacity .1s linear;
}

/* ==========================================
   ENHANCED CARD HOVER GLOW RING
   ========================================== */
.feature-card {
    position: relative;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 2.2rem;
    background: linear-gradient(135deg, rgba(239,63,40,.25), transparent 40%, transparent 60%, rgba(238,155,1,.2));
    opacity: 0;
    transition: opacity .5s ease;
    z-index: -1;
    pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
    .feature-card:hover::before { opacity: 1; }
}

/* ==========================================
   MINI CARD HOVER LIFT + BORDER GLOW
   ========================================== */
.mini-card {
    transition: transform .4s cubic-bezier(.19,1,.22,1), box-shadow .4s ease;
}
@media (hover:hover) and (pointer:fine) {
    .mini-card:hover {
        transform: translateY(-.6rem);
        box-shadow: 0 1.5rem 4rem rgba(0,0,0,.2), 0 0 2rem rgba(238,155,1,.08);
    }
}

/* ==========================================
   FOOTER FIXES — CLEAR LAYERING
   ========================================== */
.footer .footer-bg .media-fit img {
    opacity: .35;
}
.footer-cta .btn-wrap {
    position: relative;
    z-index: 6;
}
.footer .social-card .btn-wrap {
    position: relative;
    z-index: 6;
}

/* ==========================================
   STAT CARD STAGGER FLOAT
   ========================================== */
.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: .1s; }
.stat-card:nth-child(3) { animation-delay: .2s; }
.stat-card:nth-child(4) { animation-delay: .3s; }

/* ==========================================
   PARTNER MARQUEE GLOW
   ========================================== */
.partner-item {
    transition: opacity .3s ease, text-shadow .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .partner-item:hover {
        opacity: 1 !important;
        text-shadow: 0 0 2rem rgba(248,217,173,.3);
    }
}

/* ==========================================
   USE CARD IMAGE HOVER PULSE
   ========================================== */
.use-card-img-wrap {
    transition: background .4s ease;
}
@media (hover:hover) and (pointer:fine) {
    .use-card:hover .use-card-img-wrap {
        background: radial-gradient(ellipse at center, rgba(239,63,40,.08) 0%, transparent 70%);
    }
}

/* ==========================================
   DOWNLOAD CARD VISUAL GRID LINES
   ========================================== */
.dl-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(248,217,173,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,217,173,.03) 1px, transparent 1px);
    background-size: 4rem 4rem;
    z-index: 1;
    pointer-events: none;
    opacity: .5;
}

/* ==========================================
   PREMIUM v3 — NOISE GRAIN OVERLAY
   ========================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9996;
    pointer-events: none;
    opacity: .02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    mix-blend-mode: overlay;
}

/* ==========================================
   PREMIUM v3 — SMOOTH ENTRANCE ANIMATIONS
   ========================================== */

/* Fade up + scale entrance for section titles */
.js-s-chars {
    opacity: 0;
    transform: translateY(2rem) scale(.97);
    transition: opacity .8s cubic-bezier(.19,1,.22,1), transform .8s cubic-bezier(.19,1,.22,1);
}
.js-s-chars.is-animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================
   PREMIUM v3 — BUTTON RIPPLE EFFECT
   ========================================== */
.btn-wrap {
    overflow: hidden;
}
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    transform: scale(0);
    animation: rippleExpand .6s ease-out forwards;
    pointer-events: none;
    z-index: 5;
}
@keyframes rippleExpand {
    to { transform: scale(4); opacity: 0; }
}

/* ==========================================
   PREMIUM v3 — FLOATING PARTICLES LAYER
   ========================================== */
.particles-layer {
    position: fixed;
    inset: 0;
    z-index: 9995;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(248,217,173,.15);
    pointer-events: none;
    will-change: transform;
}

/* ==========================================
   PREMIUM v3 — SECTION REVEAL CLIP
   ========================================== */
.section-clip-reveal {
    clip-path: inset(8% 4% 8% 4% round 2rem);
    transition: clip-path .8s cubic-bezier(.19,1,.22,1);
}
.section-clip-reveal.is-visible {
    clip-path: inset(0% 0% 0% 0% round 0rem);
}

/* ==========================================
   PREMIUM v3 — HERO PARALLAX LAYERS
   ========================================== */
.hero-bg-img {
    transition: transform .1s linear;
}

/* ==========================================
   PREMIUM v3 — GLOWING BORDER CARDS
   ========================================== */
.stat-card {
    position: relative;
    overflow: hidden;
    border: .5rem solid #0f0f1c;
    transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .3s ease, border-color .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .stat-card:hover {
        border-color: rgba(24,200,169,.3);
        transform: translateY(-.5rem) scale(1.03);
        box-shadow: 0 1rem 3rem rgba(24,200,169,.2), 0 0 2rem rgba(24,200,169,.08);
    }
}

/* ==========================================
   PREMIUM v3 — SMOOTH SCROLL SNAP FEEL
   ========================================== */
@media (min-width: 650px) {
    .hero-content {
        will-change: opacity, transform;
    }
}

/* ==========================================
   PREMIUM v3 — MARQUEE GLOW LINE
   ========================================== */
.big-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239,63,40,.3), rgba(238,155,1,.3), transparent);
    z-index: 5;
}
.big-marquee::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238,155,1,.3), rgba(24,200,169,.3), transparent);
    z-index: 5;
}

/* ==========================================
   PREMIUM v3 — FEATURE CARD SHIMMER
   ========================================== */
.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
    z-index: 5;
    pointer-events: none;
    transition: none;
}
@media (hover:hover) and (pointer:fine) {
    .h-trig:hover .feature-image::before {
        animation: shimmerSlide 1s ease forwards;
    }
}
@keyframes shimmerSlide {
    to { left: 150%; }
}

/* ==========================================
   PREMIUM v3 — FAQ ACCORDION ICON GLOW
   ========================================== */
.faq-icon {
    transition: transform .5s cubic-bezier(.19,1,.22,1), filter .3s ease;
}
.faq-item.is-open .faq-icon {
    filter: drop-shadow(0 0 .8rem rgba(238,155,1,.5));
}

/* ==========================================
   PREMIUM v3 — FOOTER GLOW ACCENT
   ========================================== */
.footer-cta::before {
    content: '';
    position: absolute;
    top: -10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60rem;
    height: 20rem;
    background: radial-gradient(ellipse at center, rgba(239,63,40,.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   PREMIUM v3 — USE CARD NUMBERING
   ========================================== */
.use-card {
    counter-increment: use-counter;
    position: relative;
}
.use-card::before {
    content: counter(use-counter, decimal-leading-zero);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: disp;
    font-size: 2rem;
    color: rgba(248,217,173,.08);
    pointer-events: none;
    z-index: 0;
}
.use-cases-grid {
    counter-reset: use-counter;
}

/* ==========================================
   PREMIUM v3 — ANIMATED GRADIENT TEXT FOR HERO SUBTITLE
   ========================================== */
.hero-content .b-large {
    background: linear-gradient(90deg, #f8d9ad, #ee9b01, #f8d9ad);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitleShimmer 6s ease-in-out infinite;
}
@keyframes subtitleShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ==========================================
   PREMIUM v3 — BADGE GLOW PULSE
   ========================================== */
.hero-badge:nth-child(1) { animation: badgePulse 4s ease-in-out infinite 0s; }
.hero-badge:nth-child(2) { animation: badgePulse 4s ease-in-out infinite .5s; }
.hero-badge:nth-child(3) { animation: badgePulse 4s ease-in-out infinite 1s; }
.hero-badge:nth-child(4) { animation: badgePulse 4s ease-in-out infinite 1.5s; }
.hero-badge:nth-child(5) { animation: badgePulse 4s ease-in-out infinite 2s; }
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(238,155,1,.0); }
    50% { box-shadow: 0 0 1.5rem 0 rgba(238,155,1,.08); }
}

/* ==========================================
   PREMIUM v3 — SOCIAL ICON HOVER ROTATE
   ========================================== */
.social-nav .btn-icon .btn-wrap {
    transition: filter .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.19,1,.22,1);
}
@media (hover:hover) and (pointer:fine) {
    .social-nav .btn-icon:hover .btn-wrap {
        transform: rotate(-8deg) scale(1.08);
    }
}

/* ==========================================
   PREMIUM v3 — SCROLL TRIGGERED SECTION BG TINT
   ========================================== */
.stats-section {
    background: radial-gradient(ellipse at 20% 50%, rgba(24,200,169,.03) 0%, transparent 50%);
}
.features-section {
    background: radial-gradient(ellipse at 80% 30%, rgba(239,63,40,.03) 0%, transparent 50%);
}
.use-cases {
    background: radial-gradient(ellipse at 50% 50%, rgba(238,155,1,.03) 0%, transparent 50%);
}

/* ==========================================
   PREMIUM v3 — VIGNETTE OVERLAY
   ========================================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9994;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(15,15,28,.15) 100%);
}

/* ==========================================
   PREMIUM v3 — LOADING SCREEN ENHANCED
   ========================================== */
.loading-screen {
    background: radial-gradient(ellipse at center, #1a1432 0%, #0f0f1c 70%);
}
.loading-screen.is-hidden {
    transform: scale(1.05);
}

/* ==========================================
   PREMIUM v3 — SMOOTH LINK FOCUS OUTLINES
   ========================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(238,155,1,.5);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ==========================================
   PREMIUM v3 — HEADER LOGO GLOW
   ========================================== */
.logo-link {
    transition: color .3s ease, text-shadow .3s ease;
}
@media (hover:hover) and (pointer:fine) {
    .logo-link:hover {
        color: #ef3f28;
        text-shadow: 0 0 2rem rgba(239,63,40,.3);
    }
}
