/* =========================================================
   ANDRION AI CONSULTING - PREMIUM REDESIGN
   Dark hero + Light content sections
   ========================================================= */

/* ============ VARIABLES ============ */
:root {
    --brand: #ff914d;
    --brand-dark: #e67a38;
    --brand-light: #ffb380;
    --brand-soft: rgba(255, 145, 77, 0.08);
    --brand-gradient: linear-gradient(135deg, #ff914d 0%, #ff6b2b 100%);
    --brand-gradient-text: linear-gradient(135deg, #ff914d 0%, #ffc844 100%);

    --dark: #050508;
    --dark-surface: #0c0c10;
    --dark-card: rgba(255, 255, 255, 0.04);
    --dark-border: rgba(255, 255, 255, 0.08);

    --bg: #ffffff;
    --bg-soft: #f8f8f7;
    --bg-cream: #f5f3f0;
    --bg-card: #ffffff;

    --text: #0a0a0a;
    --text-soft: #3f3f46;
    --text-muted: #71717a;
    --text-light: #a1a1aa;

    --border: rgba(10, 10, 10, 0.06);
    --border-strong: rgba(10, 10, 10, 0.12);

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 24px 60px rgba(0,0,0,0.12);
    --shadow-brand: 0 20px 50px rgba(255,145,77,0.25);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 900; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { font-size: 1.05rem; line-height: 1.7; color: var(--text-soft); }

.text-gradient {
    background: var(--brand-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============ UTILITIES ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }
.section-tight-top { padding-top: 24px; }
.section-no-top { padding-top: 0; }

/* --- Neural network animated background --- */
.section-connections {
    position: relative;
    overflow: hidden;
}
.section-connections > * { position: relative; z-index: 1; }
.neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border: 1px solid rgba(255,145,77,0.15);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.section-tag .dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

.section-header { text-align: center; max-width: 780px; margin: 0 auto 80px; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { font-size: 1.2rem; color: var(--text-muted); }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 0 8px;
    transition: all 0.5s var(--ease);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Index page: dark hero → dark translucent navbar */
.dark-hero .navbar {
    background: rgba(5, 5, 8, 0.5);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-logo-img {
    height: 36px;
    width: auto;
    transition: all 0.5s var(--ease);
}
.dark-hero .nav-logo-img { filter: brightness(0) invert(1); }
.dark-hero .navbar.scrolled .nav-logo-img { filter: none; }
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-menu li { list-style: none; }
.nav-menu a {
    position: relative;
    padding: 7px 16px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}
.nav-menu a:hover {
    color: var(--text);
    background: rgba(10, 10, 10, 0.04);
}
.nav-menu a.active { color: var(--brand-dark); font-weight: 600; }
.nav-menu a.active::after { transform: translateX(-50%) scaleX(1); }

/* Index: white nav links over dark hero */
.dark-hero .nav-menu a { color: rgba(255, 255, 255, 0.55); }
.dark-hero .nav-menu a:hover { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.06); }
.dark-hero .nav-menu a.active { color: var(--brand); }

.navbar.scrolled .nav-menu a { color: var(--text-muted); }
.navbar.scrolled .nav-menu a:hover { color: var(--text); background: rgba(10,10,10,0.04); }
.navbar.scrolled .nav-menu a.active { color: var(--brand-dark); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: var(--transition);
}
.btn-nav:hover { background: var(--brand); border-color: var(--brand); }
.navbar.scrolled .btn-nav {
    background: var(--text);
    color: white;
    border-color: var(--text);
}
.navbar.scrolled .btn-nav:hover { background: var(--brand); border-color: var(--brand); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    padding: 0;
    transition: background 0.25s ease;
}
.nav-toggle:hover { background: rgba(10,10,10,0.05); }
.dark-hero .nav-toggle:hover { background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-toggle:hover { background: rgba(10,10,10,0.05); }

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    position: relative;
}
.dark-hero .nav-toggle span { background: white; }
.navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-toggle span:nth-child(1) { transform: translateY(-5px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
.nav-toggle.active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-2px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: -1;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 8px 30px rgba(255,145,77,0.35), 0 0 60px rgba(255,145,77,0.1);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,145,77,0.5), 0 0 80px rgba(255,145,77,0.15);
}

.btn-dark { background: var(--text); color: white; }
.btn-dark:hover { background: var(--brand); transform: translateY(-2px); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Light section ghost */
.section .btn-ghost,
.section-cream .btn-ghost,
.footer .btn-ghost {
    background: white;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.section .btn-ghost:hover,
.section-cream .btn-ghost:hover {
    background: var(--bg-cream);
    border-color: var(--brand);
    color: var(--brand);
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
    contain: layout style;
}
.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 145, 77, 0.35) 0%, transparent 70%);
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbFloat1 18s ease-in-out infinite;
}
.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 70%);
    bottom: 10%;
    left: -8%;
    animation: orbFloat2 22s ease-in-out infinite;
}
.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, transparent 70%);
    top: 50%;
    right: -5%;
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    33% { transform: translateX(-45%) translateY(-40px) scale(1.08); }
    66% { transform: translateX(-55%) translateY(30px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-50px) scale(1.1); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(40px) scale(1.05); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent 80%);
}

/* ============ SUBPAGE HERO ANIMATED LINES ============ */
.subpage-hero-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 145, 77, 0.06) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 100%);
}

/* Animated diagonal grid lines on light background */
.subpage-hero-lines::before {
    content: '';
    position: absolute;
    inset: -150%;
    width: 400%;
    height: 400%;
    background-image:
        repeating-linear-gradient(
            -55deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 145, 77, 0.1) 40px,
            rgba(255, 145, 77, 0.1) 41px
        ),
        repeating-linear-gradient(
            35deg,
            transparent 0px,
            transparent 65px,
            rgba(10, 10, 30, 0.05) 65px,
            rgba(10, 10, 30, 0.05) 66px
        );
    animation: subpageLinesSlide 20s linear infinite;
}

@keyframes subpageLinesSlide {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(82px, 82px); }
}

/* Soft glow sweep */
.subpage-hero-lines::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 145, 77, 0.08) 50%,
        transparent 100%
    );
    top: -100px;
    animation: subpageScan 8s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes subpageScan {
    0%   { top: -100px; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: calc(100% + 100px); opacity: 0; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-badge .dot-live {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
    50% { box-shadow: 0 0 0 8px rgba(34,197,94,0.08); }
}

.hero h1 { color: white; margin-bottom: 28px; }
.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.pricing-hero .hero-desc,
.about-hero .hero-desc,
.works-hero .hero-desc,
.contact-hero .hero-desc {
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Social Proof */
.hero-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
}
.hero-proof-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hero-proof-text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.4); }
.hero-proof-text strong { color: rgba(255, 255, 255, 0.8); }

.hero-stars { display: flex; gap: 3px; color: var(--brand); justify-content: center; }
.star-animated {
    animation: starPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255, 145, 77, 0.5));
}
.star-animated:nth-child(1) { animation-delay: 0s; }
.star-animated:nth-child(2) { animation-delay: 0.15s; }
.star-animated:nth-child(3) { animation-delay: 0.3s; }
.star-animated:nth-child(4) { animation-delay: 0.45s; }
.star-animated:nth-child(5) { animation-delay: 0.6s; }
@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
}

/* Logos marquee */
.hero-logos-track {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.hero-logos-slide {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: logoScroll 21s linear infinite;
}
.hero-logos-slide:hover { animation-play-state: paused; }

.hero-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    padding: 0;
    background: none;
    opacity: 0.85;
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.hero-logo:hover { opacity: 1; }
.hero-logo--carluci { max-width: 52px; }

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ HERO MOCKUP ============ */
.mockup-wrap {
    max-width: 680px;
    width: 100%;
    margin: 80px auto 0;
    position: relative;
    z-index: 2;
    animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mockup-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(255, 145, 77, 0.12) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.mockup-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.mockup-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 220px;
    margin: 0 auto;
}

.mockup-body {
    padding: 32px;
    min-height: 300px;
}

.chat-mockup { max-width: 420px; margin: 0 auto; }

.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
    opacity: 0;
    animation: fadeInChat 0.6s forwards;
}
.chat-message:nth-child(1) { animation-delay: 0.3s; }
.chat-message:nth-child(2) { animation-delay: 1s; }
.chat-message:nth-child(3) { animation-delay: 1.7s; }

@keyframes fadeInChat {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255,145,77,0.3);
}
.chat-avatar svg { width: 16px; height: 16px; }
.chat-message.user .chat-avatar {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    max-width: 80%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}
.chat-message.user { flex-direction: row-reverse; }
.chat-message.user .chat-bubble {
    background: var(--brand-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(255,145,77,0.25);
}
.chat-bubble strong {
    display: block;
    font-size: 0.72rem;
    color: var(--brand);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.chat-message.user .chat-bubble strong { color: rgba(255,255,255,0.8); }

/* ============ STATS ============ */
.stats-section {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stat-item {
    text-align: left;
    padding-right: 30px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 16px;
}
.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
}
.stat-number .suffix {
    font-size: 0.5em;
    color: var(--brand);
    margin-left: 4px;
}
.stat-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; }

/* ============ BENTO GRID ============ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.bento {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.bento:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,145,77,0.25);
}
.bento-lg { grid-column: span 4; grid-row: span 2; min-height: 440px; }
.bento-md { grid-column: span 3; min-height: 280px; }
.bento-sm { grid-column: span 2; min-height: 280px; }

.bento-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255,145,77,0.12);
}
.bento-icon svg { width: 26px; height: 26px; }
.bento h3 { margin-bottom: 12px; font-size: 1.4rem; }
.bento p { color: var(--text-muted); font-size: 0.96rem; }

.bento-visual { margin-top: 28px; }

/* Bento chat demo */
.bento-chat-demo {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: var(--r);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--border);
}
.bento-chat-row { display: flex; align-items: flex-start; gap: 10px; }
.bento-chat-row.reply { flex-direction: row-reverse; }
.bento-chat-avatar-sm {
    width: 28px;
    height: 28px;
    background: var(--brand-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}
.bento-chat-msg {
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
    border: 1px solid var(--border);
    color: var(--text-soft);
}
.bento-chat-msg-reply {
    background: var(--text);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.84rem;
}

/* Workflow visual */
.workflow-nodes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    background: var(--bg-soft);
    border-radius: var(--r);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}
.workflow-node {
    flex: 1;
    min-width: 85px;
    padding: 14px 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-xs);
}
.workflow-node svg { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--brand); }
.workflow-arrow { color: var(--brand); opacity: 0.5; }
.workflow-arrow svg { width: 16px; height: 16px; }

/* Dashboard visual */
.dashboard-visual {
    background: var(--bg-soft);
    border-radius: var(--r);
    padding: 20px;
    margin-top: 24px;
    border: 1px solid var(--border);
}
.dashboard-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.dashboard-stat {
    background: white;
    padding: 14px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}
.dashboard-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.dashboard-stat-value { font-size: 1.3rem; font-weight: 700; color: var(--text); }
.dashboard-stat-value .trend { font-size: 0.75rem; color: #22c55e; font-weight: 600; margin-left: 6px; }

.dashboard-chart {
    height: 60px;
    background: white;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    padding: 10px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}
.dashboard-bar {
    flex: 1;
    background: var(--brand-gradient);
    border-radius: 3px;
    opacity: 0.8;
}

/* ============ INTEGRATIONS ============ */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}
.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: var(--transition);
    cursor: default;
}
.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 145, 77, 0.2);
}
.integration-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}
.integration-card:hover .integration-icon { transform: scale(1.08); }
.integration-icon svg { width: 26px; height: 26px; }
.integration-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
}
.integration-card:hover .integration-img { transform: scale(1.08); }
.integration-name { font-size: 0.82rem; font-weight: 600; color: var(--text-soft); }

/* ============ PROCESS / PILLARS ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-grid-3 { grid-template-columns: repeat(3, 1fr); }

.process-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,145,77,0.25);
}
.process-icon {
    width: 52px;
    height: 52px;
    background: var(--brand-gradient);
    color: white;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(255,145,77,0.25);
}
.process-icon svg { width: 24px; height: 24px; }
.process-card h4 { margin-bottom: 10px; }
.process-card p { font-size: 0.92rem; color: var(--text-muted); }

.process-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* ============ FOOTER ============ */
/* ---- Footer Premium ---- */
.footer {
    background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
    color: white;
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
    opacity: 0.6;
}
.footer::after {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,145,77,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-cta {
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
    padding: 90px 20px 80px;
    position: relative;
    z-index: 1;
}
.footer-cta h2 {
    color: white;
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}
.footer-cta p {
    color: rgba(255,255,255,0.45);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* --- Footer main grid area --- */
.footer-main {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand .nav-logo {
    color: white;
    margin-bottom: 22px;
    display: inline-block;
}
.footer-logo-img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-col h4 {
    color: rgba(255,255,255,0.92);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 28px;
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a,
.footer-col ul li span {
    color: rgba(255,255,255,0.4);
    font-size: 0.88rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: var(--brand);
    padding-left: 4px;
}

/* Contact column — labeled items */
.footer-contact-item {
    margin-bottom: 18px;
}
.footer-contact-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 4px;
    font-weight: 600;
}
.footer-contact-value {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: color 0.25s ease;
    display: inline-block;
}
.footer-contact-value:hover {
    color: var(--brand);
}
.footer-contact-hours {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-contact-hours .footer-contact-item {
    margin-bottom: 8px;
}
.footer-contact-hours .footer-contact-value {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.35);
}

/* --- Footer bottom bar --- */
.footer-bottom {
    margin-top: 64px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; }

/* ============ ABOUT PAGE ============ */
.about-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: white;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.about-hero h1 { color: var(--text); }
.about-hero::before { display: none; }
.about-hero .container-sm,
.pricing-hero .container-sm,
.works-hero .container-sm,
.contact-hero .container-sm { position: relative; z-index: 3; }
.about-story { max-width: 860px; margin: 0 auto; }
.about-story p { font-size: 1.1rem; line-height: 1.75; margin-bottom: 24px; color: var(--text-soft); }

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-pillar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.about-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,145,77,0.25);
}
.about-pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.about-pillar-icon svg { width: 28px; height: 28px; }
.about-pillar h4 { margin-bottom: 10px; font-size: 1.1rem; }
.about-pillar p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.about-story p strong { color: var(--brand); font-weight: 600; }

.ceo-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 44px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    align-items: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}
.ceo-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,145,77,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.ceo-image {
    aspect-ratio: 4/5;
    background: var(--brand-gradient);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}
.ceo-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3));
}
.ceo-info { position: relative; z-index: 1; }
.ceo-name { font-size: 1.9rem; margin-bottom: 8px; }
.ceo-role { color: var(--brand); font-weight: 600; margin-bottom: 24px; font-size: 1.05rem; }
.ceo-quote {
    padding: 24px 28px;
    background: var(--bg-cream);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--r) var(--r) 0;
    font-style: italic;
    color: var(--text-soft);
    font-size: 1.1rem;
    margin: 24px 0;
}


.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.value-card {
    padding: 36px 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.value-icon {
    width: 52px; height: 52px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { margin-bottom: 12px; font-size: 1.15rem; }
.value-card p { font-size: 0.92rem; color: var(--text-muted); }

.guarantees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.guarantee-item:hover { border-color: var(--brand); transform: translateX(4px); box-shadow: var(--shadow); }
.guarantee-check {
    width: 36px; height: 36px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,145,77,0.3);
}
.guarantee-check svg { width: 18px; height: 18px; }
.guarantee-item span { font-weight: 600; font-size: 1rem; color: var(--text); }

/* ============ PRICING PAGE ============ */
.pricing-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: white;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.pricing-hero h1 { color: var(--text); }

/* --- Pricing Section --- */
.pricing-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
}

/* --- Dark galaxy variant --- */
.pricing-dark {
    background: var(--dark) !important;
    color: white;
}
#pricing-galaxy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
}
.pricing-dark .section-header p { color: rgba(255,255,255,0.55); }
.pricing-dark .section-tag { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.1); }
.pricing-dark .section-tag .dot { background: var(--brand); }
.pricing-dark h2 { color: white; }

/* Background glows (hidden on dark variant — galaxy replaces them) */
.pricing-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.pricing-dark .pricing-bg-glow { display: none; }
.pricing-bg-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,145,77,0.3) 0%, transparent 70%);
    top: -200px; right: -150px;
}
.pricing-bg-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,107,43,0.2) 0%, transparent 70%);
    bottom: -150px; left: -100px;
}

/* --- Billing Toggle --- */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}
.pricing-toggle-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s var(--ease);
    cursor: pointer;
}
.pricing-toggle-label.is-active {
    color: white;
}
.pricing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s var(--ease);
}
.pricing-toggle-switch:hover {
    border-color: var(--brand);
}
.pricing-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.35s var(--ease);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pricing-toggle-switch.is-annual .pricing-toggle-knob {
    left: calc(100% - 23px);
    background: var(--brand);
}
.pricing-toggle-switch.is-annual {
    background: rgba(255,145,77,0.15);
    border-color: var(--brand);
}
.pricing-toggle-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand);
    background: rgba(255,145,77,0.12);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* --- Maintenance price --- */
.pricing-maintenance {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.pricing-maintenance strong {
    color: var(--text);
    font-weight: 700;
}
.pricing-dark .pricing-maintenance {
    color: rgba(255,255,255,0.4);
}
.pricing-dark .pricing-maintenance strong {
    color: rgba(255,255,255,0.8);
}

/* --- Disabled features --- */
.pf-disabled {
    opacity: 0.35;
}
.pf-icon-disabled {
    stroke: var(--text-muted) !important;
}
.pricing-dark .pf-icon-disabled {
    stroke: rgba(255,255,255,0.3) !important;
}

/* --- Cards Grid --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
    margin-top: 48px;
    align-items: stretch;
}

/* --- Card Base --- */
.pricing-card {
    position: relative;
    border-radius: var(--r-xl);
    transition: all 0.45s var(--ease);
}
.pricing-card-inner {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-xl);
    padding: 32px 22px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0,0,0,0.04),
        0 1px 2px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.45s var(--ease);
}

/* Top accent bar */
.pricing-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    opacity: 0.6;
    transition: opacity 0.4s var(--ease);
}
.pricing-card:hover .pricing-card-inner::before {
    opacity: 1;
}
.pricing-card.is-popular .pricing-card-inner::before,
.pricing-card.is-enterprise .pricing-card-inner::before {
    opacity: 1;
    height: 4px;
}

/* Hover state */
.pricing-card:hover {
    transform: translateY(-8px);
}
.pricing-card:hover .pricing-card-inner {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 4px 16px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border-color: rgba(255,145,77,0.15);
}

/* --- Card Header --- */
.pricing-card-header {
    text-align: center;
    margin-bottom: 4px;
}

.pricing-card-icon {
    width: 52px; height: 52px;
    margin: 0 auto 18px;
    background: var(--bg-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    transition: all 0.4s var(--ease);
}
.pricing-card:hover .pricing-card-icon {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(255,145,77,0.3);
    transform: scale(1.05);
}

.pricing-card-tier {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 16px;
}

.pricing-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}
.pricing-amount {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pricing-period {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

/* --- Savings Tag --- */
.pricing-savings-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand);
    background: var(--brand-soft);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 10px;
}

/* --- Divider --- */
.pricing-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-strong) 50%, transparent 100%);
    margin: 20px 0;
}

/* --- Features List --- */
.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.45;
}
.pf-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    fill: none;
    stroke: var(--brand);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 1px;
}

/* --- CTA Button --- */
.pricing-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}
.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s var(--ease);
    cursor: pointer;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
}
.pricing-cta-download {
    background: rgba(255,145,77,0.08);
    color: var(--brand, #ff914d);
    border: 1.5px solid rgba(255,145,77,0.25);
    font-family: inherit;
}
.pricing-cta-download:hover {
    background: rgba(255,145,77,0.18);
    border-color: rgba(255,145,77,0.5);
    color: #ff914d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,145,77,0.2);
}
.pricing-cta:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
    box-shadow: 0 8px 24px rgba(255,145,77,0.3);
    transform: translateY(-2px);
}
.pricing-cta svg {
    transition: transform 0.3s var(--ease);
}
.pricing-cta:hover svg {
    transform: translateX(4px);
}

/* ===== FEATURED CARD — Popular ===== */
.pricing-card.is-popular,
.pricing-card.is-best {
    z-index: 2;
}
.pricing-card.is-popular .pricing-card-inner,
.pricing-card.is-best .pricing-card-inner {
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,145,77,0.2);
    box-shadow:
        0 8px 40px rgba(255,145,77,0.1),
        0 2px 8px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Animated gradient border for featured cards */
.pricing-card.is-popular::before,
.pricing-card.is-best::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--r-xl) + 2px);
    background: linear-gradient(135deg, #ff914d, #ff6b2b, #ffc844, #ff914d);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
    opacity: 0.6;
}
.pricing-card.is-popular:hover::before,
.pricing-card.is-best:hover::before {
    opacity: 1;
}

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

/* Badge */
.pricing-card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(255,145,77,0.4);
    white-space: nowrap;
}

/* Featured card icon */
.pricing-card.is-popular .pricing-card-icon,
.pricing-card.is-best .pricing-card-icon {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(255,145,77,0.25);
}

/* Featured card tier text */
.pricing-card.is-popular .pricing-card-tier,
.pricing-card.is-best .pricing-card-tier {
    color: var(--brand);
}

/* Featured CTA */
.pricing-card.is-popular .pricing-cta,
.pricing-card.is-best .pricing-cta {
    background: var(--brand-gradient);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(255,145,77,0.3);
}
.pricing-card.is-popular .pricing-cta:hover,
.pricing-card.is-best .pricing-cta:hover {
    box-shadow: 0 12px 36px rgba(255,145,77,0.45);
    transform: translateY(-3px);
}

/* Featured hover */
.pricing-card.is-popular:hover .pricing-card-inner,
.pricing-card.is-best:hover .pricing-card-inner {
    box-shadow:
        0 24px 70px rgba(255,145,77,0.15),
        0 4px 16px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ===== ENTERPRISE CARD — Dark Premium ===== */
.pricing-card.is-enterprise {
    z-index: 2;
}
.pricing-card.is-enterprise .pricing-card-inner {
    background: linear-gradient(145deg, #0c0c10 0%, #1a1a24 100%);
    border-color: rgba(255,255,255,0.08);
    color: white;
    box-shadow:
        0 8px 40px rgba(0,0,0,0.2),
        0 2px 8px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.06);
}
.pricing-card.is-enterprise .pricing-card-icon {
    background: rgba(255,255,255,0.08);
    color: var(--brand-light);
}
.pricing-card.is-enterprise:hover .pricing-card-icon {
    background: var(--brand-gradient);
    color: white;
}
.pricing-card.is-enterprise .pricing-card-tier { color: var(--brand-light); }
.pricing-card.is-enterprise .pricing-amount { color: white; }
.pricing-card.is-enterprise .pricing-period { color: rgba(255,255,255,0.5); }
.pricing-card.is-enterprise .pricing-card-desc { color: rgba(255,255,255,0.5); }
.pricing-card.is-enterprise .pricing-card-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}
.pricing-card.is-enterprise .pricing-features li { color: rgba(255,255,255,0.65); }
.pricing-card.is-enterprise .pf-icon { stroke: var(--brand-light); }
.pricing-card.is-enterprise .pricing-cta {
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
}
.pricing-card.is-enterprise .pricing-cta:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255,145,77,0.3);
}
.pricing-card.is-enterprise:hover .pricing-card-inner {
    box-shadow:
        0 24px 70px rgba(0,0,0,0.3),
        0 4px 16px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.08);
    border-color: rgba(255,145,77,0.2);
}
/* Enterprise animated border */
.pricing-card.is-enterprise::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--r-xl) + 2px);
    background: linear-gradient(135deg, #ff914d, #ff6b2b, #ffc844, #ff914d);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
    opacity: 0.5;
}
.pricing-card.is-enterprise:hover::before {
    opacity: 1;
}
/* Enterprise badge */
.pricing-card.is-enterprise .pricing-card-badge {
    background: linear-gradient(135deg, #ffc844 0%, #ff914d 100%);
}

/* ===== DARK MODE CARD OVERRIDES ===== */
.pricing-dark .pricing-card-inner {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 24px rgba(0,0,0,0.2),
        0 1px 2px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
.pricing-dark .pricing-card-inner::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
}
.pricing-dark .pricing-card:hover .pricing-card-inner {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.3),
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.08);
    border-color: rgba(255,145,77,0.2);
}
.pricing-dark .pricing-card-icon {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
}
.pricing-dark .pricing-card:hover .pricing-card-icon {
    background: var(--brand-gradient);
    color: white;
}
.pricing-dark .pricing-card-tier { color: rgba(255,255,255,0.7); }
.pricing-dark .pricing-amount { color: white; }
.pricing-dark .pricing-period { color: rgba(255,255,255,0.4); }
.pricing-dark .pricing-card-desc { color: rgba(255,255,255,0.45); }
.pricing-dark .pricing-card-divider {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
}
.pricing-dark .pricing-features li { color: rgba(255,255,255,0.6); }
.pricing-dark .pf-icon { stroke: var(--brand-light); }
.pricing-dark .pricing-cta {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.12);
}
.pricing-dark .pricing-cta:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* Featured cards on dark */
.pricing-dark .pricing-card.is-popular .pricing-card-inner,
.pricing-dark .pricing-card.is-best .pricing-card-inner {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255,145,77,0.15);
    box-shadow:
        0 8px 40px rgba(255,145,77,0.08),
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.08);
}
.pricing-dark .pricing-card.is-popular:hover .pricing-card-inner,
.pricing-dark .pricing-card.is-best:hover .pricing-card-inner {
    box-shadow:
        0 24px 70px rgba(255,145,77,0.12),
        0 4px 16px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.1);
}
.pricing-dark .pricing-card.is-popular .pricing-card-icon,
.pricing-dark .pricing-card.is-best .pricing-card-icon {
    background: var(--brand-gradient);
    color: white;
}
.pricing-dark .pricing-card.is-popular .pricing-card-tier,
.pricing-dark .pricing-card.is-best .pricing-card-tier { color: var(--brand-light); }
.pricing-dark .pricing-card.is-popular .pricing-cta,
.pricing-dark .pricing-card.is-best .pricing-cta {
    background: var(--brand-gradient);
    color: white;
    border: none;
}

/* Enterprise on dark — even darker */
.pricing-dark .pricing-card.is-enterprise .pricing-card-inner {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255,255,255,0.06);
}
.pricing-dark .pricing-card.is-enterprise:hover .pricing-card-inner {
    border-color: rgba(255,145,77,0.15);
}
.pricing-dark .pricing-card.is-enterprise .pricing-card-tier { color: var(--brand-light); }
.pricing-dark .pricing-card.is-enterprise .pricing-cta {
    background: rgba(255,255,255,0.06);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}
.pricing-dark .pricing-card.is-enterprise .pricing-cta:hover {
    background: var(--brand-gradient);
    border-color: transparent;
}

/* --- Entrance animation --- */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
}
.pricing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.pricing-card:nth-child(1) { transition-delay: 0.05s; }
.pricing-card:nth-child(2) { transition-delay: 0.12s; }
.pricing-card:nth-child(3) { transition-delay: 0.19s; }
.pricing-card:nth-child(4) { transition-delay: 0.26s; }

/* Keep the btn-brand for other pages */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: var(--r);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(255,145,77,0.3);
    white-space: nowrap;
}
.btn-brand:hover {
    box-shadow: 0 10px 30px rgba(255,145,77,0.5);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 11px 20px;
    font-size: 0.76rem;
}

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-detail {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.service-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,145,77,0.25); }
.service-detail-icon {
    width: 56px; height: 56px;
    background: var(--brand-gradient);
    color: white;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(255,145,77,0.25);
}
.service-detail-icon svg { width: 28px; height: 28px; }
.service-detail h3 { margin-bottom: 14px; }
.service-detail > p { color: var(--text-muted); margin-bottom: 24px; }
.service-detail ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 0.93rem;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
}
.service-detail ul li:last-child { border-bottom: none; }
.service-detail ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* ============ WORKS PAGE ============ */
.works-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: white;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.works-hero h1 { color: var(--text); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255,145,77,0.25); }
.work-image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #fff4ec 0%, #ffe4d0 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,145,77,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,145,77,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}
.work-icon-wrap {
    width: 80px; height: 80px;
    background: white;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}
.work-icon-wrap svg { width: 40px; height: 40px; }
.work-tag {
    position: absolute;
    top: 20px; left: 20px;
    padding: 6px 14px;
    background: white;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.work-content { padding: 30px; }
.work-content h3 { margin-bottom: 10px; font-size: 1.25rem; }
.work-content p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 22px; }
.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.work-client { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.work-result { font-size: 0.85rem; color: var(--brand); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.work-result svg { width: 14px; height: 14px; }

/* ============ CONTACT PAGE ============ */
.contact-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: white;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.contact-hero h1 { color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-wrap h3 { margin-bottom: 12px; font-size: 1.7rem; }
.contact-info-wrap > p { color: var(--text-muted); margin-bottom: 36px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
.contact-item:hover { border-color: var(--brand); transform: translateX(6px); box-shadow: var(--shadow); }
.contact-item-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item h4 {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-item p, .contact-item a { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-item a:hover { color: var(--brand); }

.hours-box {
    background: var(--dark);
    color: white;
    padding: 32px;
    border-radius: var(--r);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.hours-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,145,77,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hours-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
}
.hours-box h4 svg { width: 18px; height: 18px; color: var(--brand); }
.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.hour-row:last-child { border-bottom: none; }
.hour-row span:last-child { color: white; font-weight: 600; }

.contact-form {
    background: white;
    padding: 44px 38px;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,145,77,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.contact-form h3 { margin-bottom: 10px; position: relative; }
.contact-form > p { color: var(--text-muted); margin-bottom: 32px; position: relative; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: white;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255,145,77,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.accent { color: var(--brand); }
.logo-mark { display: none; }

/* ============ FLOATING CHAT WIDGET ============ */
.floating-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 145, 77, 0.4), 0 0 0 0 rgba(255, 145, 77, 0.3);
    transition: all 0.35s var(--ease);
    position: relative;
    animation: chatPulse 3s ease-in-out infinite;
}
.floating-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(255, 145, 77, 0.5);
    animation: none;
}
.floating-chat-btn svg { width: 26px; height: 26px; }
.floating-chat-btn .chat-icon-close { display: none; }
.floating-chat.active .floating-chat-btn .chat-icon-open { display: none; }
.floating-chat.active .floating-chat-btn .chat-icon-close { display: block; }
.floating-chat.active .floating-chat-btn { animation: none; }

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(255, 145, 77, 0.4), 0 0 0 0 rgba(255, 145, 77, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(255, 145, 77, 0.4), 0 0 0 12px rgba(255, 145, 77, 0); }
}

.floating-chat-bubble {
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transform: translateY(16px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}
.floating-chat.active .floating-chat-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--dark);
    color: white;
}
.floating-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
}
.floating-chat-avatar svg { width: 18px; height: 18px; color: white; }

.floating-chat-name { flex: 1; }
.floating-chat-name strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
}
.floating-chat-name span {
    font-size: 0.72rem;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.floating-chat-name span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.floating-chat-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.floating-chat-close:hover { background: rgba(255, 255, 255, 0.2); color: white; }
.floating-chat-close svg { width: 16px; height: 16px; }

.floating-chat-body {
    padding: 20px 18px;
}
.floating-chat-msg {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 14px 16px;
    border-radius: 4px 16px 16px 16px;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.55;
    position: relative;
    animation: chatMsgAppear 0.5s ease 0.3s both;
}

@keyframes chatMsgAppear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-chat-reply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    margin: 0 18px 18px;
    background: #25D366;
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.floating-chat-reply:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.floating-chat-reply svg { width: 16px; height: 16px; }

/* Auto-show bubble after delay */
.floating-chat.auto-show .floating-chat-bubble {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .floating-chat { bottom: 16px; right: 16px; }
    .floating-chat-bubble { width: calc(100vw - 32px); right: 0; }
    .floating-chat-btn { width: 54px; height: 54px; }
    .floating-chat-btn svg { width: 22px; height: 22px; }
}

/* Legacy support */
.integrations-cloud {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.integration-logo {
    aspect-ratio: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.integration-logo:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.integration-logo svg { width: 26px; height: 26px; }

/* ============ RESPONSIVE ============ */

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 28px; }

    .bento-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .bento-lg { grid-column: span 4; min-height: auto; }
    .bento-md, .bento-sm { grid-column: span 2; }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }
    .works-grid, .stats-grid, .values-grid, .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stat-item {
        border-right: none;
        padding-right: 0;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--border);
    }
    .stat-item:nth-last-child(-n+2) { padding-bottom: 0; border-bottom: none; }

    .services-grid, .ceo-card, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ceo-card { padding: 36px; }
    .ceo-image { max-width: 280px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-6px); }
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }

    .integrations-grid { grid-template-columns: repeat(3, 1fr); max-width: 600px; gap: 14px; }
    .footer-grid { gap: 40px; }

    .btn-nav { display: none; }
}

/* Tablets vertical (<=768px) */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: calc(100% - 28px);
        border-radius: 14px;
        padding: 0 4px;
        background: rgba(255, 255, 255, 0.92);
        border-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    .nav-logo-img { height: 32px; }
    .nav-container { height: 50px; padding: 0 12px; }

    .nav-toggle { display: flex; }
    .nav-toggle span { background: var(--text); }
    .nav-toggle:hover { background: rgba(10,10,10,0.05); }
    .nav-overlay { display: block; }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(0,0,0,0.06);
        border-radius: 16px;
        padding: 8px;
        flex-direction: column;
        gap: 2px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        transform: translateY(-10px) scale(0.98);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s var(--ease);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 1001;
    }
    .nav-menu.active { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-soft) !important;
        border-radius: 12px;
        position: static;
        transform: none;
    }
    .nav-menu a::after { display: none; }
    .nav-menu a:hover, .nav-menu a.active {
        background: var(--brand-soft) !important;
        color: var(--brand-dark) !important;
    }
    .nav-menu a.active { font-weight: 600; }

    .section { padding: 60px 0; }
    .section-tight-top { padding-top: 24px; }
    .section-no-top { padding-top: 0; }
    .container { padding: 0 20px; }

    h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
    h2 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
    h3 { font-size: clamp(1.1rem, 4vw, 1.3rem); }
    p { font-size: 0.95rem; }

    .section-header { margin-bottom: 36px; }
    .section-header p { font-size: 0.95rem; }

    /* Hero */
    .hero { padding: 80px 20px 40px; min-height: auto; }
    .hero-badge { font-size: 0.72rem; padding: 5px 12px; margin-bottom: 18px; }
    .hero-desc { font-size: 0.93rem; margin-bottom: 24px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; padding: 16px 24px; }
    .hero-proof { gap: 14px; }
    .hero-logos-track { max-width: 300px; }
    .hero-logo { height: 46px; padding: 5px 10px; }
    .hero-logos-slide { gap: 28px; }

    /* Mockup */
    .mockup-wrap { margin: 50px auto 0; max-width: 100%; }
    .mockup-header { padding: 12px 16px; }
    .mockup-url { font-size: 0.7rem; max-width: 160px; }
    .mockup-body { padding: 20px 14px; min-height: 240px; }
    .chat-bubble { font-size: 0.84rem; padding: 10px 14px; }
    .chat-avatar { width: 30px; height: 30px; }
    .chat-avatar svg { width: 14px; height: 14px; }

    /* Stats */
    .stats-section { padding: 48px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .stat-item { text-align: center; padding-bottom: 0; border-bottom: none; }
    .stat-number { font-size: clamp(2.5rem, 9vw, 3.5rem); justify-content: center; }
    .stat-label { font-size: 0.7rem; }
    .stat-desc { font-size: 0.85rem; }

    /* Bento */
    .bento-grid, .pricing-grid, .works-grid, .values-grid,
    .process-grid, .process-grid-3, .services-grid, .guarantees-grid,
    .footer-grid, .form-row {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .bento-lg, .bento-md, .bento-sm {
        grid-column: span 1;
        min-height: auto;
        padding: 32px 26px;
    }
    .bento h3 { font-size: 1.25rem; }
    .bento-icon { width: 46px; height: 46px; margin-bottom: 20px; }
    .bento-icon svg { width: 22px; height: 22px; }

    .workflow-nodes { padding: 16px; gap: 8px; }
    .workflow-node { min-width: 70px; padding: 10px 6px; font-size: 0.7rem; }
    .workflow-arrow svg { width: 12px; height: 12px; }

    .dashboard-stats { gap: 8px; }
    .dashboard-stat { padding: 12px; }
    .dashboard-stat-value { font-size: 1.1rem; }

    .integrations-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px; }
    .integration-card { padding: 20px 12px; }
    .integration-icon { width: 46px; height: 46px; border-radius: 12px; }
    .integration-icon svg { width: 22px; height: 22px; }

    /* About */
    .about-hero { padding: 80px 0 28px; }
    .about-story p { font-size: 0.95rem; line-height: 1.7; }
    .about-pillars { grid-template-columns: 1fr; gap: 16px; }
    .about-pillar { padding: 28px 22px; }
    .about-pillar-icon { width: 48px; height: 48px; margin-bottom: 16px; }
    .about-pillar-icon svg { width: 24px; height: 24px; }
    .about-pillar h4 { font-size: 1rem; }
    .about-pillar p { font-size: 0.88rem; }
    .ceo-card { padding: 24px 20px; gap: 20px; border-radius: var(--r-lg); }
    .ceo-image { max-width: 180px; font-size: 3.5rem; }
    .ceo-name { font-size: 1.4rem; }
    .ceo-role { font-size: 0.9rem; margin-bottom: 14px; }
    .ceo-quote { padding: 14px 16px; font-size: 0.9rem; margin: 14px 0; }
    .ceo-info p { font-size: 0.9rem; }
    .value-card { padding: 24px 20px; }
    .value-card h4 { font-size: 1rem; }
    .value-card p { font-size: 0.85rem; }
    .value-icon { width: 40px; height: 40px; margin-bottom: 14px; }
    .value-icon svg { width: 20px; height: 20px; }
    .guarantee-item { padding: 16px; }
    .guarantee-item span { font-size: 0.88rem; }
    .guarantee-check { width: 30px; height: 30px; }
    .guarantee-check svg { width: 14px; height: 14px; }

    /* Pricing */
    .pricing-hero { padding: 80px 0 24px; }
    .pricing-card-inner { padding: 28px 18px 24px; }
    .pricing-amount { font-size: 2rem; }
    .pricing-card-icon { width: 44px; height: 44px; border-radius: 12px; }
    .pricing-card-desc { font-size: 0.8rem; }
    .pricing-features li { font-size: 0.8rem; padding: 6px 0; }
    .pricing-cta { padding: 12px 20px; font-size: 0.8rem; }
    .btn-sm { padding: 9px 14px; font-size: 0.72rem; }

    .process-card { padding: 24px 20px; }
    .process-number { font-size: 0.7rem; }
    .service-detail { padding: 26px 22px; }
    .service-detail h3 { font-size: 1.1rem; }
    .service-detail > p { font-size: 0.88rem; margin-bottom: 16px; }
    .service-detail ul li { font-size: 0.85rem; padding: 7px 0 7px 26px; }

    /* Works */
    .works-hero { padding: 80px 0 24px; }
    .work-content { padding: 20px; }
    .work-content h3 { font-size: 1.05rem; }
    .work-content p { font-size: 0.85rem; margin-bottom: 14px; }
    .work-meta { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 12px; }
    .work-client { font-size: 0.8rem; }
    .work-result { font-size: 0.8rem; }
    .work-icon-wrap { width: 64px; height: 64px; }
    .work-icon-wrap svg { width: 32px; height: 32px; }
    .work-tag { font-size: 0.68rem; padding: 5px 12px; top: 14px; left: 14px; }

    /* Contact */
    .contact-hero { padding: 80px 0 24px; }
    .contact-grid { gap: 24px; }
    .contact-info-wrap h3 { font-size: 1.35rem; }
    .contact-info-wrap > p { font-size: 0.9rem; margin-bottom: 22px; }
    .contact-item { padding: 16px; gap: 12px; margin-bottom: 10px; }
    .contact-item-icon { width: 38px; height: 38px; min-width: 38px; }
    .contact-item-icon svg { width: 18px; height: 18px; }
    .contact-item h4 { font-size: 0.7rem; }
    .contact-item p, .contact-item a { font-size: 0.9rem; }
    .hours-box { padding: 22px 18px; }
    .hours-box h4 { font-size: 0.85rem; margin-bottom: 14px; }
    .hour-row { font-size: 0.85rem; padding: 7px 0; }
    .contact-form { padding: 28px 20px; border-radius: var(--r-lg); }
    .contact-form h3 { font-size: 1.35rem; }
    .contact-form > p { font-size: 0.9rem; margin-bottom: 22px; }
    .form-group { margin-bottom: 14px; }
    .form-group label { font-size: 0.8rem; margin-bottom: 5px; }
    .form-group input, .form-group textarea, .form-group select {
        padding: 11px 13px;
        font-size: 16px;
    }

    /* Footer */
    .footer { padding: 48px 0 20px; }
    .footer-cta { margin-bottom: 32px; padding: 36px 20px; }
    .footer-cta h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
    .footer-cta p { font-size: 0.9rem; margin-bottom: 20px; }
    .footer-cta .btn { padding: 13px 22px; font-size: 0.9rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 24px;
        text-align: left;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-brand .nav-logo { display: block; margin: 0 auto 16px; }
    .footer-brand p { margin: 0 auto 0; font-size: 0.86rem; max-width: 320px; text-align: center; }
    .footer-col h4::after { left: 0; transform: none; }
    .footer-col h4 { margin-bottom: 16px; padding-bottom: 12px; font-size: 0.7rem; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: 0.85rem; }
    .footer-col:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 24px;
    }
    .footer-contact-item { margin-bottom: 14px; }
    .footer-contact-hours { border-top: none; padding-top: 8px; margin-top: 10px; }
    .footer-contact-hours .footer-contact-item { display: inline-block; margin-right: 24px; }
    .footer-main { padding: 48px 0 0; }
    .footer-bottom {
        margin-top: 36px;
        padding: 18px 0;
        font-size: 0.72rem;
    }
    .footer-legal { justify-content: center; gap: 14px; }

    /* Accessibility */
    .nav-menu a, .footer-col ul li a, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    body { overflow-x: hidden; }
    img, svg { max-width: 100%; }
    .footer-logo-img { height: 36px; }
}

/* Mobile large (<=640px) */
@media (max-width: 640px) {
    .container, .container-sm { padding: 0 16px; }

    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .stat-item { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { padding-bottom: 0; border-bottom: none; }

    .integrations-grid { gap: 10px; }
    .integration-card { padding: 16px 8px; gap: 10px; }
    .integration-icon { width: 42px; height: 42px; }
    .integration-name { font-size: 0.78rem; }
}

/* =========================================================
   HERO GALAXY — Solo hero + stats de index.html
   ========================================================= */

/* Canvas fijo solo para el fondo de la sección hero en index */
#hero-galaxy-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: block;
}

/* Hacer transparente el hero para que se vea el canvas */
.dark-hero .hero { background: transparent; }

/* Stats "Nuestros Números" — fondo blanco original */

/* Work cards — ilustraciones SVG */
.work-illustration { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.work-image { overflow: hidden; }
.work-icon-wrap { display: none !important; }
.work-tag {
    background: white;
    color: var(--brand);
    border: none;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

/* ── Mobile logo fix: blanco en dark-hero, color al hacer scroll ── */
@media (max-width: 768px) {
    /* Elimina el filter:none !important que forzaba el logo a color en móvil */
    .nav-logo-img { height: 32px; }
}

/* =========================================================
   END HERO GALAXY
   ========================================================= */

/* Mobile small (<=480px) */
@media (max-width: 480px) {
    h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
    h2 { font-size: clamp(1.4rem, 6.5vw, 1.8rem); }

    .section { padding: 40px 0; }
    .section-tight-top { padding-top: 16px; }
    .section-no-top { padding-top: 0; }
    .section-header { margin-bottom: 24px; }
    .section-header p { font-size: 0.88rem; }

    .navbar { padding: 0 2px; }
    .nav-logo-img { height: 28px; }
    .footer-logo-img { height: 30px; }

    .hero { padding: 80px 14px 32px; }
    .hero-badge { font-size: 0.66rem; padding: 5px 10px; }
    .hero-badge span:last-child { max-width: 200px; text-align: left; }

    .about-hero, .pricing-hero, .works-hero, .contact-hero { padding: 72px 0 20px; }
    .hero-desc { font-size: 0.88rem; margin-bottom: 20px; }

    .hero-orb-1 { width: 400px; height: 400px; }
    .hero-orb-2 { width: 300px; height: 300px; }
    .hero-orb-3 { width: 250px; height: 250px; }

    .mockup-body { padding: 16px 10px; min-height: 200px; }
    .chat-message { gap: 8px; margin-bottom: 10px; }
    .chat-bubble { font-size: 0.78rem; padding: 9px 12px; }
    .chat-avatar { width: 26px; height: 26px; }
    .chat-avatar svg { width: 12px; height: 12px; }

    .hero-logos-track { max-width: 260px; }
    .hero-logo { height: 40px; padding: 4px 8px; }
    .hero-logos-slide { gap: 20px; }

    .bento-lg, .bento-md, .bento-sm,
    .service-detail,
    .process-card, .value-card,
    .work-content { padding: 22px 18px; }

    .workflow-nodes { flex-wrap: wrap; justify-content: center; }
    .workflow-node { min-width: 60px; }
    .workflow-arrow { display: none; }

    .stats-section { padding: 36px 0; }
    .stat-number { font-size: clamp(2rem, 8vw, 2.8rem); }
    .ceo-card { padding: 22px 18px; gap: 18px; }
    .ceo-image { max-width: 140px; font-size: 3rem; }
    .ceo-name { font-size: 1.25rem; }
    .ceo-role { font-size: 0.85rem; }
    .ceo-quote { padding: 12px 14px; font-size: 0.88rem; margin: 12px 0; }
    .ceo-info p { font-size: 0.88rem; }
    /* Mobile: pricing cards single column */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 24px;
    }
    .pricing-card-inner { padding: 24px 18px 22px; }
    .pricing-amount { font-size: 1.8rem; }
    .pricing-card-icon { width: 40px; height: 40px; border-radius: 10px; }
    .pricing-card-tier { font-size: 0.68rem; margin-bottom: 10px; }
    .pricing-card-desc { font-size: 0.78rem; }
    .pricing-features li { font-size: 0.78rem; padding: 5px 0; }
    .pf-icon { width: 16px; height: 16px; min-width: 16px; }
    .pricing-cta { padding: 12px 18px; font-size: 0.8rem; border-radius: 12px; }
    .pricing-card-badge { font-size: 0.62rem; padding: 5px 16px; top: -11px; }
    .pricing-bg-glow { display: none; }
    .process-number { font-size: 0.66rem; }
    .contact-form { padding: 24px 16px; }
    .contact-info-wrap h3 { font-size: 1.25rem; }
    .contact-item { padding: 14px; gap: 10px; }
    .form-group label { font-size: 0.78rem; }
    .form-group input, .form-group textarea, .form-group select { padding: 10px 12px; }
    .footer-cta { padding: 28px 16px; }
    .footer-cta h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
    .btn { padding: 14px 22px; font-size: 0.92rem; }

    .integrations-grid { gap: 8px; }
    .integration-card { padding: 14px 6px; gap: 8px; border-radius: 12px; }
    .integration-icon { width: 38px; height: 38px; border-radius: 10px; }
    .integration-icon svg { width: 18px; height: 18px; }
    .integration-name { font-size: 0.72rem; }

    .stat-number { font-size: 2.8rem; }
    .footer-cta { padding: 50px 16px 40px; }
    .footer-main { padding: 36px 0 0; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center; }
    .footer-col:last-child { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-hours .footer-contact-item { display: block; margin-right: 0; }
    .footer-bottom { margin-top: 28px; padding: 16px 0; font-size: 0.7rem; }
}

/* === Pricing features: defensa anti-doble-check (mobile/CDN cache vieja) === */
.pricing-features { list-style: none !important; padding-left: 0 !important; }
.pricing-features li { list-style: none !important; background-image: none !important; }
.pricing-features li::before,
.pricing-features li::after,
.pricing-features li::marker { content: none !important; display: none !important; background: none !important; }
.pricing-card-header { text-align: center !important; }
.pricing-card-icon { margin-left: auto !important; margin-right: auto !important; }
