/* ==========================================================================
   Tokenly — Design System Generator Landing Page
   Stylesheet with micro-animations
   ========================================================================== */

:root {
    /* Primary — modern orange */
    --primary-50: #fff6ed;
    --primary-100: #ffead5;
    --primary-200: #ffd1a9;
    --primary-300: #ffaf70;
    --primary-400: #ff7c32;
    --primary-500: #ff591e;
    --primary-600: #ef3921;
    --primary-700: #c42721;
    --primary-800: #9b2320;
    --primary-900: #7b231d;

    /* Neutrals */
    --gray-25: #FCFCFD;
    --gray-50: #F9FAFB;
    --gray-100: #F2F4F7;
    --gray-200: #EAECF0;
    --gray-300: #D0D5DD;
    --gray-400: #98A2B3;
    --gray-500: #667085;
    --gray-600: #475467;
    --gray-700: #344054;
    --gray-800: #1D2939;
    --gray-900: #101828;

    /* Accents */
    --emerald: #10B981;
    --rose: #F43F5E;
    --amber: #F59E0B;
    --blue: #3B82F6;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 24px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.08), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
    --shadow-lg: 0 12px 16px -4px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
    --shadow-xl: 0 20px 24px -4px rgba(16, 24, 40, 0.08), 0 8px 8px -4px rgba(16, 24, 40, 0.03);
    --shadow-2xl: 0 32px 64px -12px rgba(16, 24, 40, 0.14);
    --shadow-purple: 0 20px 40px -12px rgba(255, 89, 30, 0.35);

    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-25);
    color: var(--gray-900);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    overflow-x: hidden;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ==========================================================================
   Keyframes — micro-animations
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translate3d(-32px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translate3d(32px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) translateY(-10px);
    }
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: perspective(1800px) rotateY(-6deg) translateY(0);
    }

    50% {
        transform: perspective(1800px) rotateY(-6deg) translateY(-8px);
    }
}

@keyframes floatCard2 {

    0%,
    100% {
        transform: perspective(1800px) rotateY(-6deg) translateY(0);
    }

    50% {
        transform: perspective(1800px) rotateY(-6deg) translateY(6px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 89, 30, 0.35);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 89, 30, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes caret {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes growBar {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounceIcon {

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

    50% {
        transform: translateY(-2px);
    }
}

/* Scroll reveal base — JS adds .in-view */
[data-animate] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    will-change: opacity, transform;
}

[data-animate="left"] {
    transform: translate3d(-32px, 0, 0);
}

[data-animate="right"] {
    transform: translate3d(32px, 0, 0);
}

[data-animate="scale"] {
    transform: scale(0.96);
}

[data-animate].in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered children via custom property --d */
[data-animate][style*="--d"] {
    transition-delay: var(--d);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

section {
    overflow: hidden;
    padding: 120px 0;
}

@media (max-width: 991px) {
    .container {
        padding: 0 8px;
    }
    section {
        padding: 60px 0 !important;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition:
        transform .2s var(--ease-out),
        box-shadow .25s var(--ease-out),
        background-color .2s var(--ease-out),
        color .2s var(--ease-out),
        border-color .2s var(--ease-out);
}

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

.btn-primary {
    background: var(--primary-600);
    color: #fff;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.08),
        inset 0 -2px 0 rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.25) 50%,
            transparent 60%,
            transparent 100%);
    background-size: 200% 100%;
    transition: opacity .3s;
    opacity: 0;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover::before {
    opacity: 1;
    animation: shimmer 1.2s var(--ease-in-out);
}

.btn-secondary {
    background: #fff;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    color: var(--gray-900);
}

.btn-lg {
    height: 52px;
    padding: 0 22px;
    font-size: 15px;
}

.btn-sm {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
}

.btn .arrow {
    transition: transform .25s var(--ease-out);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(252, 252, 253, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease-in-out), background-color .25s var(--ease-in-out);
}

.navbar.scrolled {
    border-bottom-color: var(--gray-100);
    background: rgba(252, 252, 253, 0.92);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--gray-900);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform .2s var(--ease-out);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 4px 10px -2px rgba(255, 89, 30, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out);
}

.logo:hover .logo-mark {
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 6px 14px -2px rgba(255, 89, 30, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color .2s var(--ease-out);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-out);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    padding: 96px 0 120px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 89, 30, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(59, 130, 246, 0.06), transparent 60%),
        var(--gray-25);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 70%, rgba(168, 85, 247, 0.06), transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 80%, rgba(99, 102, 241, 0.06), transparent 60%);
    animation: gradientShift 14s var(--ease-in-out) infinite;
    background-size: 200% 200%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .7s var(--ease-out) .05s forwards;
    transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
    cursor: default;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.badge-tag {
    padding: 2px 8px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    animation: pulseGlow 2.8s var(--ease-in-out) infinite;
}

h1.hero-title {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .15s forwards;
}

h1.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary-600) 0%, #f6c13b 50%, var(--primary-600) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s var(--ease-in-out) infinite;
}

.hero-sub {
    font-size: 19px;
    color: var(--gray-600);
    line-height: 1.55;
    max-width: 520px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .25s forwards;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .35s forwards;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--gray-500);
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .45s forwards;
}

.avatar-stack {
    display: flex;
}

.avatar-stack .avt {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    background: linear-gradient(135deg, var(--primary-300), var(--primary-600));
    box-shadow: var(--shadow-xs);
    transition: transform .25s var(--ease-spring);
}

.avatar-stack:hover .avt {
    transform: translateY(-2px);
}

.avatar-stack .avt:nth-child(1) {
    margin-left: 0;
    background: linear-gradient(135deg, #FBA5B5, #F43F5E);
    transition-delay: 0s;
}

.avatar-stack .avt:nth-child(2) {
    background: linear-gradient(135deg, #A5B4FC, #6366F1);
    transition-delay: .05s;
}

.avatar-stack .avt:nth-child(3) {
    background: linear-gradient(135deg, #6EE7B7, #10B981);
    transition-delay: .1s;
}

.avatar-stack .avt:nth-child(4) {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    transition-delay: .15s;
}

.stars {
    color: var(--amber);
    letter-spacing: 2px;
    font-size: 14px;
}

/* Hero preview card */
.hero-preview {
    position: relative;
    background: #fff;
    border-radius: var(--r-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-2xl);
    padding: 20px;
    opacity: 0;
    transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) translateX(32px);
    animation:
        fadeIn .9s var(--ease-out) .3s forwards;
}
@media (max-width: 991px) {
    .hero-preview {
        zoom: .5;
        transform: unset;
    }
}

.hp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 16px;
}

.hp-dots {
    display: flex;
    gap: 6px;
}

.hp-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    transition: transform .2s var(--ease-spring);
}

.hp-dots:hover span:nth-child(1) {
    transform: scale(1.15);
    background: #FCA5A5;
}

.hp-dots:hover span:nth-child(2) {
    transform: scale(1.15);
    background: #FDE68A;
    transition-delay: .05s;
}

.hp-dots:hover span:nth-child(3) {
    transform: scale(1.15);
    background: #86EFAC;
    transition-delay: .1s;
}

.hp-dots span:first-child {
    background: #FCA5A5;
}

.hp-dots span:nth-child(2) {
    background: #FDE68A;
}

.hp-dots span:nth-child(3) {
    background: #86EFAC;
}

.hp-url {
    flex: 1;
    margin: 0 12px;
    height: 26px;
    background: var(--gray-50);
    border-radius: 8px;
    font-size: 11px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hp-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.hp-title .pill {
    font-size: 10px;
    padding: 3px 8px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 999px;
    font-weight: 600;
}

.hp-palette {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 6px;
    margin-bottom: 18px;
}

.sw {
    aspect-ratio: 1;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease-out);
    cursor: pointer;
}

.hp-palette .sw:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.hp-grid2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.hp-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-md);
    padding: 14px;
}

.hp-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.type-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
}

.type-row .name {
    color: var(--gray-400);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
}

.type-1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.type-2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
}

.type-3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.type-4 {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-600);
}

.tokens li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px dashed var(--gray-200);
    color: var(--gray-600);
    transition: background-color .15s ease, padding-left .2s var(--ease-out);
    border-radius: 4px;
}

.tokens li:last-child {
    border-bottom: 0;
}

.tokens li:hover {
    background: var(--primary-50);
    padding-left: 6px;
    color: var(--gray-800);
}

.tokens li span.v {
    color: var(--primary-700);
    font-weight: 500;
}

/* Floating micro cards */
.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xl);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    opacity: 0;
}

.float-card.fc-1 {
    left: -40px;
    top: 30%;
    animation:
        fadeIn .6s var(--ease-out) 1.4s forwards,
        floatCard1 5.5s var(--ease-in-out) 2s infinite;
}

.float-card.fc-2 {
    right: -32px;
    bottom: 40px;
    animation:
        fadeIn .6s var(--ease-out) 1.7s forwards,
        floatCard2 6s var(--ease-in-out) 2.3s infinite;
}

.fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-50);
    color: var(--primary-700);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 10px;
}

.fc-icon.ok {
    background: #ECFDF5;
    color: var(--emerald);
}

.fc-body strong {
    display: block;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 12px;
}

.fc-body span {
    color: var(--gray-500);
    font-size: 11px;
}

/* Logo strip */
.logo-strip {
    border-top: 1px solid var(--gray-100);
    padding: 48px 0;
}

.logo-strip .label {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.logos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.65;
    filter: grayscale(1);
    transition: opacity .3s var(--ease-out), filter .3s var(--ease-out);
}

.logos-row:hover {
    opacity: 0.9;
    filter: grayscale(0.5);
}

.logos-row .l {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: -0.01em;
    transition: transform .25s var(--ease-spring), color .25s;
}

.logos-row .l:hover {
    transform: scale(1.08);
    color: var(--gray-700);
}

/* ==========================================================================
   Section heads (shared)
   ========================================================================== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-head p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.55;
}

/* ==========================================================================
   Problem
   ========================================================================== */
.problem {
    background: var(--gray-50);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .problem-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
}

.p-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-xs);
    transition:
        transform .3s var(--ease-out),
        box-shadow .3s var(--ease-out),
        border-color .3s var(--ease-out);
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.p-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #FEF2F2;
    color: var(--rose);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid #FECACA;
    transition: transform .3s var(--ease-spring);
}

.p-card:hover .p-icon {
    transform: rotate(-6deg) scale(1.08);
}

.p-icon.amb {
    background: #FFFBEB;
    color: var(--amber);
    border-color: #FDE68A;
}

.p-icon.blu {
    background: #EFF6FF;
    color: var(--blue);
    border-color: #BFDBFE;
}

.p-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
    letter-spacing: -0.01em;
}

.p-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.55;
}

/* ==========================================================================
   Solution
   ========================================================================== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.sol-eyebrow {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.solution h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.solution p.lead {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 28px;
}

.check-list {
    list-style: none;
    margin-bottom: 36px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-700);
    font-size: 15px;
    transition: transform .25s var(--ease-out), color .25s;
}

.check-list li:hover {
    transform: translateX(4px);
    color: var(--gray-900);
}

.check-list li .c {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    transition: transform .3s var(--ease-spring), background .25s;
}

.check-list li:hover .c {
    background: var(--primary-600);
    color: #fff;
    transform: scale(1.12) rotate(-6deg);
}

.sol-illust {
    position: relative;
    border-radius: var(--r-xl);
    padding: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5)),
        radial-gradient(circle at 20% 10%, rgba(255, 89, 30, 0.12), transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(59, 130, 246, 0.1), transparent 50%),
        var(--gray-50);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.si-row {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.si-tile {
    flex: 1;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    padding: 16px;
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.si-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.si-tile .t {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.si-swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.si-swatches i {
    display: block;
    aspect-ratio: 1;
    border-radius: 4px;
    transition: transform .25s var(--ease-spring);
}

.si-swatches:hover i:nth-child(1) {
    transform: translateY(-3px);
    transition-delay: 0s;
}

.si-swatches:hover i:nth-child(2) {
    transform: translateY(-3px);
    transition-delay: .04s;
}

.si-swatches:hover i:nth-child(3) {
    transform: translateY(-3px);
    transition-delay: .08s;
}

.si-swatches:hover i:nth-child(4) {
    transform: translateY(-3px);
    transition-delay: .12s;
}

.si-swatches:hover i:nth-child(5) {
    transform: translateY(-3px);
    transition-delay: .16s;
}

.scale-ladder {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
}

.scale-ladder b {
    background: var(--primary-300);
    width: 10px;
    border-radius: 3px 3px 0 0;
    display: block;
    transform-origin: bottom;
    transition: background .25s, transform .3s var(--ease-spring);
}

.scale-ladder:hover b {
    background: var(--primary-500);
}

.scale-ladder b:hover {
    transform: scaleY(1.12);
    background: var(--primary-700);
}

.code-snippet {
    background: var(--gray-900);
    border-radius: var(--r-md);
    padding: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #E4E4E7;
    line-height: 1.7;
    box-shadow: var(--shadow-md);
    position: relative;
}

.code-snippet::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 14px;
    background: #C084FC;
    vertical-align: -2px;
    margin-left: 4px;
    animation: caret 1s steps(1) infinite;
}

.code-snippet .k {
    color: #C084FC;
}

.code-snippet .s {
    color: #86EFAC;
}

.code-snippet .n {
    color: #93C5FD;
}

.code-snippet .c {
    color: #6B7280;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
    background: var(--gray-50);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feat-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-xs);
    transition:
        transform .3s var(--ease-out),
        box-shadow .3s var(--ease-out),
        border-color .3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 89, 30, 0.08), transparent 45%);
    opacity: 0;
    transition: opacity .3s var(--ease-out);
    pointer-events: none;
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

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

.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 14px -4px rgba(255, 89, 30, 0.35);
    transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
    position: relative;
    z-index: 1;
}

.feat-card:hover .feat-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 10px 22px -4px rgba(255, 89, 30, 0.5);
}

.feat-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.feat-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .feat-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 1200px) {
    .feat-card {
        padding: 16px;
    }
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.steps-wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.steps-wrap::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 14%;
    right: 14%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--gray-300) 0, var(--gray-300) 6px, transparent 6px, transparent 12px);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    color: var(--primary-600);
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    transition: transform .35s var(--ease-spring), color .25s, background .25s, box-shadow .3s;
    cursor: default;
}

.step-num::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-100), transparent);
    z-index: -1;
    filter: blur(6px);
    opacity: 0.7;
    transition: opacity .3s, filter .3s;
}

.step:hover .step-num {
    transform: scale(1.08) rotate(-4deg);
    background: var(--primary-600);
    color: #fff;
    box-shadow: 0 12px 24px -8px rgba(255, 89, 30, 0.45);
}

.step:hover .step-num::after {
    opacity: 1;
    filter: blur(10px);
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.step p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
}

/* ==========================================================================
   Showcase
   ========================================================================== */
.showcase {
    background: linear-gradient(180deg, var(--gray-25) 0%, var(--gray-50) 100%);
}

.showcase-frame {
    background: #fff;
    border-radius: var(--r-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    max-width: 1180px;
    margin: 0 auto;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.showcase-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


    transform: translateY(-4px);
    box-shadow: 0 40px 80px -16px rgba(16, 24, 40, 0.18);
}

.sf-top {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sf-top .hp-dots span {
    width: 12px;
    height: 12px;
}

.sf-tabs {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}

.sf-tab {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
}

.sf-tab:hover {
    color: var(--gray-900);
}

.sf-tab.active {
    background: #fff;
    box-shadow: var(--shadow-xs);
    color: var(--gray-900);
}

.sf-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 560px;
}

.sf-side {
    border-right: 1px solid var(--gray-200);
    padding: 20px 16px;
    background: var(--gray-25);
}

.sf-side h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    font-weight: 600;
    margin: 12px 8px 8px;
}

.sf-side h4:first-child {
    margin-top: 0;
}

.sf-side ul {
    list-style: none;
}

.sf-side li {
    padding: 8px 10px;
    font-size: 13px;
    color: var(--gray-600);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: background .2s var(--ease-out), color .2s, padding-left .2s var(--ease-out);
}

.sf-side li:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    padding-left: 14px;
}

.sf-side li.active {
    background: var(--primary-50);
    color: var(--primary-700);
}

.sf-side li .d {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: background .2s, transform .2s;
}

.sf-side li.active .d {
    background: var(--primary-600);
    animation: pulseGlow 2.4s var(--ease-in-out) infinite;
}

.sf-side li:hover .d {
    transform: scale(1.3);
}

.sf-main {
    padding: 28px 32px;
}

.sf-breadcrumb {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.sf-breadcrumb strong {
    color: var(--gray-800);
    font-weight: 600;
}

.sf-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sf-h h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.sf-h .sub {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

.sf-actions {
    display: flex;
    gap: 8px;
}

.palette-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 0;
    margin-bottom: 32px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.palette-grid .cell {
    aspect-ratio: 1 / 1.4;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    transition: flex .4s var(--ease-out);
    cursor: pointer;
}

.palette-grid .cell .n {
    font-weight: 600;
    font-size: 10px;
    transition: font-size .2s var(--ease-out);
}

.palette-grid .cell .h {
    font-size: 9px;
    opacity: 0.85;
    transition: opacity .2s, transform .2s var(--ease-out);
}

.palette-grid .cell:hover .n {
    font-size: 12px;
}

.palette-grid .cell:hover .h {
    opacity: 1;
    transform: translateY(-2px);
}

.palette-grid .cell.light {
    color: var(--gray-900);
}

.palette-grid .cell.dark {
    color: rgba(255, 255, 255, 0.92);
}

.sf-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sf-panel {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-md);
    padding: 20px;
    transition: transform .3s var(--ease-out), box-shadow .3s;
}

.sf-panel:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sf-panel h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sf-panel h5 .tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    padding: 2px 6px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 4px;
}

.type-stack .tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-200);
    transition: padding-left .2s var(--ease-out);
}

.type-stack .tr:hover {
    padding-left: 4px;
}

.type-stack .tr:last-child {
    border-bottom: 0;
}

.type-stack .meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gray-500);
}

.spacing-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spacing-bars .sb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spacing-bars .sb .lbl {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gray-600);
    width: 40px;
}

.spacing-bars .sb .bar {
    height: 8px;
    background: var(--primary-500);
    border-radius: 4px;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .9s var(--ease-out), background .25s;
}

.spacing-bars .sb:hover .bar {
    background: var(--primary-700);
}

.showcase.in-view-section .spacing-bars .sb .bar {
    transform: scaleX(1);
}

.showcase.in-view-section .spacing-bars .sb:nth-child(1) .bar {
    transition-delay: .05s;
}

.showcase.in-view-section .spacing-bars .sb:nth-child(2) .bar {
    transition-delay: .12s;
}

.showcase.in-view-section .spacing-bars .sb:nth-child(3) .bar {
    transition-delay: .19s;
}

.showcase.in-view-section .spacing-bars .sb:nth-child(4) .bar {
    transition-delay: .26s;
}

.showcase.in-view-section .spacing-bars .sb:nth-child(5) .bar {
    transition-delay: .33s;
}

.showcase.in-view-section .spacing-bars .sb:nth-child(6) .bar {
    transition-delay: .40s;
}

.spacing-bars .sb .sz {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gray-500);
}

/* ==========================================================================
   Use Cases
   ========================================================================== */
.use-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}

.usecase-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.uc-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-xs);
    transition: all .3s var(--ease-out);
}

.uc-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.uc-card .tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-50);
    color: var(--primary-700);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 14px;
    transition: background .25s, color .25s;
}

.uc-card:hover .tag {
    background: var(--primary-600);
    color: #fff;
}

.uc-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.uc-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 14px;
}

.uc-card a {
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    transition: gap .2s var(--ease-out);
}

.uc-card a:hover {
    gap: 8px;
}

.use-intro h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.use-intro p {
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ==========================================================================
   Comparison
   ========================================================================== */
.comparison {
    background: var(--gray-50);
}

.comp-table {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comp-head,
.comp-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
}

.comp-head {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 28px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.comp-head .h-col {
    text-align: center;
}

.comp-head .h-col.tool {
    color: var(--primary-700);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.comp-row {
    padding: 18px 28px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    color: var(--gray-800);
    transition: background .2s var(--ease-out);
}

.comp-row:last-child {
    border-bottom: 0;
}

.comp-row:hover {
    background: var(--primary-50);
}

.comp-cell {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
}

.check {
    color: var(--emerald);
    font-weight: 700;
    transition: transform .25s var(--ease-spring);
}

.comp-row:hover .check {
    transform: scale(1.2);
}

.cross {
    color: var(--gray-400);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-xs);
    position: relative;
    transition:
        transform .3s var(--ease-out),
        box-shadow .3s var(--ease-out),
        border-color .3s var(--ease-out);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.price-card.pro {
    border: 1.5px solid var(--primary-600);
    background:
        radial-gradient(ellipse at top right, rgba(255, 89, 30, 0.08), transparent 60%),
        #fff;
    box-shadow: 0 24px 48px -12px rgba(255, 89, 30, 0.18);
}

.price-card.pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px -12px rgba(255, 89, 30, 0.28);
}

.price-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px -2px rgba(255, 89, 30, 0.5);
    animation: pulseGlow 2.8s var(--ease-in-out) infinite;
}

.price-card h3 {
    font-size: 17px;
    color: var(--gray-700);
    font-weight: 600;
    margin-bottom: 8px;
}

.price-card .desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.price-amount .n {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--gray-900);
}

.price-amount .p {
    color: var(--gray-500);
    font-size: 15px;
}

.price-note {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.price-cta {
    width: 100%;
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.price-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-700);
    transition: padding-left .2s var(--ease-out);
}

.price-features li:hover {
    padding-left: 4px;
    color: var(--gray-900);
}

.price-features li .ci {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    margin-top: 2px;
    transition: transform .25s var(--ease-spring), background .25s, color .25s;
}

.price-features li:hover .ci {
    transform: scale(1.15) rotate(-10deg);
    background: var(--primary-600);
    color: #fff;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-wrap {
    padding: 80px 0 120px;
}

.final-cta {
    background:
        radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(59, 130, 246, 0.3), transparent 50%),
        linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 50%, var(--primary-700) 100%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    animation: gradientShift 10s var(--ease-in-out) infinite;
    border-radius: var(--r-2xl);
    padding: 80px 60px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.final-cta::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: floatCard1 8s var(--ease-in-out) infinite;
}

.final-cta::after {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation: floatCard2 10s var(--ease-in-out) infinite;
}

.final-cta h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.final-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.final-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
}

.btn-on-dark {
    background: #fff;
    color: var(--primary-700);
}

.btn-on-dark:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.2);
}

.btn-ghost-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-ghost-dark:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--gray-25);
    border-top: 1px solid var(--gray-200);
    padding: 64px 0 40px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.foot-about p {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.55;
}

.foot-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.005em;
}

.foot-col ul {
    list-style: none;
}

.foot-col li {
    margin-bottom: 10px;
}

.foot-col a {
    color: var(--gray-500);
    font-size: 14px;
    text-decoration: none;
    position: relative;
    transition: color .2s var(--ease-out), padding-left .2s var(--ease-out);
}

.foot-col a::before {
    content: "→";
    position: absolute;
    left: -14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s var(--ease-out);
}

.foot-col a:hover {
    color: var(--gray-900);
    padding-left: 4px;
}

.foot-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.foot-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--gray-500);
}

.socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
    display: grid;
    place-items: center;
    transition:
        transform .3s var(--ease-spring),
        background .25s var(--ease-out),
        color .25s var(--ease-out);
}

.social-btn:hover {
    background: var(--primary-50);
    color: var(--primary-700);
    transform: translateY(-3px) rotate(-6deg);
}

@media (max-width: 991px) {
    .hero-grid,
    .solution-grid,
    .use-grid,
    .pricing-cards,
    .steps-wrap {
        grid-template-columns: 1fr;
    }
    .foot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .uc-card {
        padding: 12px;
    }
    .final-cta {
        padding: 32px;
    }
}

.gt_float_switcher {
    font-size: 16px !important;
    box-shadow: none !important;
    background: transparent !important;
}

.gt_float_switcher .gt-selected {
    background: transparent !important;
}

.gt_float_switcher .gt_options {
    position: absolute !important;
    background: #fff;
}

.gt_float_switcher img {
    width: 24px !important;
}

.gt_float_switcher .gt-selected .gt-current-lang,
.gt_float_switcher .gt_options a {
    padding: 8px 16px !important;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    transform: unset !important;
}
.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
    transform: rotate(-180deg) !important;
}
/* ==========================================================================
   Global Mobile Fixes — max-width: 991px
   ========================================================================== */
@media (max-width: 991px) {

    /* Hero */
    .hero {
        padding: 80px 0 60px;
    }
    .hero-title {
        font-size: 36px !important;
    }
    .hero-sub {
        font-size: 15px;
    }

    /* Section paddings */
    .problem,
    .solution,
    .features,
    .howit,
    .showcase,
    .usecases,
    .comparison,
    .pricing {
        padding: 60px 0;
    }

    /* Solution section */
    .solution-grid {
        gap: 40px;
    }
    .sol-illust {
        display: none;
    }

    /* Showcase frame */
    .showcase-frame {
        overflow-x: auto;
    }
    .sf-body {
        flex-direction: column;
    }
    .sf-side {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    /* Comparison table */
    .comp-table {
        font-size: 13px;
    }
    .comp-row > div,
    .comp-head > div {
        padding: 10px 8px;
    }

    /* Pricing */
    .pricing-cards {
        gap: 16px;
    }

    /* Footer */
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .foot-about {
        grid-column: span 2;
    }

    /* Final CTA */
    .final-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 30px !important;
    }
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .foot-about {
        grid-column: span 1;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    .steps-wrap {
        gap: 32px;
    }
    .comp-head .h-col:nth-child(2) {
        display: none;
    }
    .comp-row > div:nth-child(2) {
        display: none;
    }
}

/* ==========================================================================
   Hamburger Menu (shared — used by both index & about-us)
   ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform .3s var(--ease-out), opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px 24px;
    z-index: 999;
    box-shadow: 0 8px 24px -4px rgba(16,24,40,.1);
    flex-direction: column;
    gap: 4px;
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav a {
    display: block;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--r-sm);
    transition: background .15s, color .15s;
}
.mobile-nav a:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}
.mobile-nav .mobile-cta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    padding: 0 18px;
    height: 44px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    background: var(--primary-600) !important;
    border-radius: var(--r-md) !important;
    box-shadow: 0 1px 2px rgba(16,24,40,.08), inset 0 -2px 0 rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.15);
}
.mobile-nav .mobile-cta:hover {
    background: var(--primary-700) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }
    .nav-actions .btn {
        display: none;
    }
}