:root {
    --c-primary: #43506C;
    --c-secondary: #3D619B;
    --c-danger: #EF4B4C;
    --c-light: #E9E9EB;
    --grad-main: linear-gradient(135deg, #43506C 0%, #3D619B 100%);
    --grad-soft: linear-gradient(135deg, #4a5878 0%, #4a72b3 55%, #3D619B 100%);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal[data-reveal="right"] { transform: translateX(50px); }
.reveal[data-reveal="zoom"] { transform: scale(0.9); }
.reveal.is-visible[data-reveal] { transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ===== Section eyebrow / titles ===== */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(67, 80, 108, 0.08);
    color: var(--c-primary);
    margin-bottom: 18px;
}
.section-eyebrow.on-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(6px);
}
.section-heading {
    font-weight: 800;
    letter-spacing: -0.02em;
}
.heading-accent {
    position: relative;
    display: inline-block;
}
.heading-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.08em;
    width: 100%;
    height: 0.32em;
    background: rgba(61, 97, 155, 0.22);
    border-radius: 4px;
    z-index: -1;
}

/* ===== HERO ===== */
.hero-section {
    background: var(--grad-main);
    padding: 130px 0 150px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(99, 132, 196, 0.55) 0%, transparent 45%),
        radial-gradient(circle at 82% 70%, rgba(40, 50, 80, 0.6) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    z-index: -2;
}
@keyframes heroGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.15) translate(-2%, 2%); opacity: 1; }
}

/* Grid overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
    z-index: -1;
}

/* Interactive particle canvas */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Cursor-following spotlight */
.hero-spotlight {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 35%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}
.hero-section:hover .hero-spotlight { opacity: 1; }

/* Wave divider */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ===== 3D tilt cards ===== */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out, box-shadow 0.45s var(--ease-spring);
    will-change: transform;
}
.tilt > * { transform: translateZ(0.01px); }
.tilt .business-icon,
.tilt .platform-icon,
.tilt .use-case-image i { transform: translateZ(45px); }
.tilt .business-title,
.tilt .platform-title,
.tilt .use-case-title { transform: translateZ(28px); }

/* Cursor spotlight glow inside cards */
.glow-card {
    position: relative;
    --mx: 50%;
    --my: 50%;
}
.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(61, 97, 155, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.glow-card:hover::after { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* Magnetic buttons keep transition smooth */
.magnetic { will-change: transform; }

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}
.shape {
    position: absolute;
    border-radius: 30%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    animation: float 9s ease-in-out infinite;
}
.shape:nth-child(1) { width: 90px; height: 90px; top: 12%; left: 8%; animation-delay: 0s; }
.shape:nth-child(2) { width: 140px; height: 140px; top: 18%; right: 10%; animation-delay: 1.5s; border-radius: 50%; }
.shape:nth-child(3) { width: 60px; height: 60px; bottom: 28%; left: 16%; animation-delay: 3s; border-radius: 50%; }
.shape:nth-child(4) { width: 110px; height: 110px; bottom: 16%; right: 8%; animation-delay: 4.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-28px) rotate(25deg); }
}

.hero-logo {
    margin-bottom: 1.8rem;
    animation: heroLogoIn 1s var(--ease-spring) both, floating 4s ease-in-out 1s infinite;
}
.hero-logo img {
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35));
}
@keyframes heroLogoIn {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
    animation: slideInDown 0.9s ease-out both;
}
.hero-badge .pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 rgba(110, 231, 183, 0.7);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); }
    100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
    animation: slideInDown 1s ease-out 0.1s both;
}
.hero-title .grad-text {
    background: linear-gradient(120deg, #ffffff 0%, #c9d6f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.92);
    animation: slideInUp 1s ease-out 0.3s both;
    line-height: 1.8;
    max-width: 820px;
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons { animation: fadeIn 1s ease-out 0.6s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-trust {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.9s both;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: #6ee7b7; font-size: 1.1rem; }

.btn-hero {
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s var(--ease-spring);
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-hero-primary {
    background: white;
    color: var(--c-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(67,80,108,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.btn-hero-primary:hover::after { left: 130%; }
.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}
.btn-hero-outline:hover {
    background: white;
    color: var(--c-primary);
    transform: translateY(-5px);
}

/* ===== STATS ===== */
.stats-section {
    padding: 50px 0;
    background: #fff;
    position: relative;
    z-index: 2;
    margin-top: -60px;
}
.stats-wrap {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(67, 80, 108, 0.12);
    padding: 30px 10px;
}
.stat-card {
    text-align: center;
    padding: 24px 18px;
    transition: all 0.35s var(--ease-spring);
    border-radius: 18px;
    position: relative;
}
.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 56%;
    width: 1px;
    background: linear-gradient(transparent, rgba(67,80,108,0.18), transparent);
}
.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(67, 80, 108, 0.04);
}
.stat-icon-circle {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: var(--grad-main);
    box-shadow: 0 10px 22px rgba(67, 80, 108, 0.3);
    transition: transform 0.4s var(--ease-spring);
}
.stat-card:hover .stat-icon-circle { transform: rotate(-8deg) scale(1.08); }
.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1;
}
.stat-label { font-size: 1rem; color: #6b7280; font-weight: 500; }

/* ===== BUSINESS / CAROUSEL ===== */
.business-section {
    padding: 80px 0;
    background: var(--grad-main);
    position: relative;
    overflow: hidden;
}
.business-section .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    pointer-events: none;
}
.business-section .blob-1 { width: 380px; height: 380px; background: #5a73ad; top: -120px; left: -100px; }
.business-section .blob-2 { width: 320px; height: 320px; background: #2c3654; bottom: -120px; right: -80px; }
.business-section .text-muted { color: rgba(255,255,255,0.7) !important; }
.business-card {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 42px;
    height: 100%;
    transition: all 0.45s var(--ease-spring);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
}
.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}
.business-card:hover::before { transform: scaleX(1); }
.business-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.28);
}
.business-content { position: relative; z-index: 1; }
.business-icon {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 24px;
    background: var(--grad-main);
    color: white;
    box-shadow: 0 12px 26px rgba(67, 80, 108, 0.35);
    transition: all 0.45s var(--ease-spring);
}
.business-card:hover .business-icon { transform: scale(1.12) rotate(-6deg); }
.business-title { font-size: 1.45rem; font-weight: 700; color: #2a3548; margin-bottom: 15px; }
.business-text { color: #5b6472; line-height: 1.8; font-size: 1rem; }

.carousel-indicators {
    position: relative;
    margin-top: 44px;
    margin-bottom: 20px;
}
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 7px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.35s ease;
}
.carousel-indicators button.active {
    background-color: #fff;
    width: 32px;
    border-radius: 10px;
}
.carousel-indicators button:hover { background-color: rgba(255, 255, 255, 0.8); }

.carousel-control-prev,
.carousel-control-next {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.35s ease;
}
.carousel-control-prev { left: -10px; }
.carousel-control-next { right: -10px; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.1);
}
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 18px; height: 18px; }

/* ===== USE CASES ===== */
.use-cases-section { padding: 80px 0; background: #f7f8fb; }
.use-case-card {
    border: 1px solid rgba(67, 80, 108, 0.06);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.45s var(--ease-spring);
    box-shadow: 0 12px 30px rgba(67, 80, 108, 0.08);
    background: #fff;
}
.use-case-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 60px rgba(67, 80, 108, 0.22);
}
.use-case-image {
    height: 180px;
    background: var(--grad-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.6rem;
    position: relative;
    overflow: hidden;
    transition: all 0.45s ease;
}
.use-case-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: 0.5;
}
.use-case-image i {
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--ease-spring);
}
.use-case-card:hover .use-case-image i { transform: scale(1.18) rotate(-6deg); }
.use-case-body { padding: 30px; }
.use-case-title { font-size: 1.3rem; font-weight: 700; color: #2a3548; margin-bottom: 15px; }
.use-case-text { color: #5b6472; line-height: 1.7; font-size: 0.95rem; }

/* ===== PLATFORMS ===== */
.platforms-section {
    padding: 80px 0;
    background: var(--grad-main);
    color: white;
    position: relative;
    overflow: hidden;
}
.platforms-section .blob {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}
.platforms-section .blob-1 { background: #5a73ad; top: -100px; right: -80px; }
.platforms-section .blob-2 { background: #2c3654; bottom: -120px; left: -90px; }
.platform-card {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 44px;
    background: rgba(255, 255, 255, 0.97);
    transition: all 0.45s var(--ease-spring);
    height: 100%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    color: #2a3548;
}
.platform-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}
.platform-icon {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 26px;
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 14px 30px rgba(67, 80, 108, 0.35);
    transition: transform 0.45s var(--ease-spring);
}
.platform-card:hover .platform-icon { transform: scale(1.1) rotate(-6deg); }
.platform-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 18px; color: #2a3548; }
.platform-text { font-size: 1rem; line-height: 1.8; color: #5b6472; margin-bottom: 24px; }
.platform-features { list-style: none; padding: 0; margin: 0; }
.platform-features li {
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2a3548;
    font-weight: 500;
}
.platform-features li i { color: var(--c-secondary); font-size: 1.15rem; }

/* ===== API ===== */
.api-section { padding: 80px 0; background: #fff; }
.api-card {
    border: none;
    border-radius: 24px;
    padding: 16px;
    background: var(--grad-main);
    transition: all 0.45s ease;
    box-shadow: 0 25px 55px rgba(67, 80, 108, 0.28);
}
.api-card:hover { transform: translateY(-8px); box-shadow: 0 35px 70px rgba(67, 80, 108, 0.4); }
.api-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
}
.api-window-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.api-window-bar .dot-r { background: #ff5f56; }
.api-window-bar .dot-y { background: #ffbd2e; }
.api-window-bar .dot-g { background: #27c93f; }
.api-window-bar .title { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-left: 8px; font-family: monospace; }
.api-code {
    background: #1b1d23;
    border-radius: 16px;
    padding: 28px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.85;
    color: #d4d4d4;
}
.api-code .method { color: #6ee7b7; font-weight: bold; }
.api-code .endpoint { color: #fbbf24; }
.api-code .json {
    color: #f472b6;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing-loop 8s steps(50, end) infinite;
}
.api-code .json::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #f472b6;
    margin-left: 2px;
    animation: cursor-blink 8s infinite;
}
.api-code .comment { color: #6b7280; font-style: italic; }
@keyframes typing-loop {
    0% { width: 0; }
    37.5% { width: 100%; }
    75% { width: 100%; }
    100% { width: 0; }
}
@keyframes cursor-blink {
    0%, 37.5% { opacity: 1; }
    37.6%, 75% { opacity: 0; }
    75.1%, 100% { opacity: 0; }
}
.api-button {
    background: var(--grad-main);
    border: none;
    color: white;
    box-shadow: 0 12px 28px rgba(67, 80, 108, 0.3);
    transition: all 0.4s var(--ease-spring);
}
.api-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(67, 80, 108, 0.45);
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: var(--grad-main);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(110, 130, 190, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(40, 50, 80, 0.5) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: 3rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.cta-text {
    font-size: 1.25rem;
    margin-bottom: 38px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.92;
}
.cta-button {
    background: white;
    color: var(--c-primary);
    border: none;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--ease-spring);
}
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }

.text-custom-primary { color: #43506C !important; }
.text-custom-secondary { color: #3D619B !important; }
.text-custom-danger { color: #EF4B4C !important; }
.bg-custom-primary { background-color: #43506C !important; }
.bg-custom-secondary { background-color: #3D619B !important; }
.bg-custom-primary-light { background-color: rgba(67, 80, 108, 0.1) !important; }

/* ===== Drifting aurora blobs ===== */
.business-section .blob,
.platforms-section .blob {
    animation: blobDrift 16s ease-in-out infinite;
}
.business-section .blob-2,
.platforms-section .blob-2 {
    animation-duration: 21s;
    animation-direction: reverse;
}
@keyframes blobDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(50px, -40px) scale(1.18); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ===== Shimmering stat numbers ===== */
.stat-number {
    background-size: 220% auto;
}
.stat-card:hover .stat-number {
    animation: shimmerText 1.4s linear infinite;
}
@keyframes shimmerText { to { background-position: 220% center; } }

/* ===== CTA particle canvas ===== */
.cta-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* ===== Roadmap Section ===== */
.roadmap-section {
    padding: 80px 0;
    background: #f7f8fb;
}
.roadmap-card {
    border: 1px solid rgba(67, 80, 108, 0.08);
    border-radius: 20px;
    padding: 32px;
    background: #fff;
    transition: all 0.4s var(--ease-spring);
    box-shadow: 0 8px 24px rgba(67, 80, 108, 0.06);
    height: 100%;
    position: relative;
}
.roadmap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(67, 80, 108, 0.15);
}
.roadmap-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--grad-main);
    color: #fff;
    box-shadow: 0 10px 24px rgba(67, 80, 108, 0.25);
    transition: transform 0.4s var(--ease-spring);
}
.roadmap-card:hover .roadmap-icon {
    transform: scale(1.1) rotate(-6deg);
}
.roadmap-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2a3548;
    margin-bottom: 12px;
}
.roadmap-text {
    color: #5b6472;
    line-height: 1.7;
    font-size: 0.95rem;
}
.roadmap-release {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3D619B;
    background: rgba(61, 97, 155, 0.12);
    padding: 4px 10px;
    border-radius: 12px;
}
.roadmap-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.roadmap-check svg {
    width: 48px;
    height: 48px;
    stroke: #10b981;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 45;
    stroke-dashoffset: 45;
    animation: drawCheck 2s ease-in-out infinite;
}
@keyframes drawCheck {
    0% { stroke-dashoffset: 45; opacity: 0; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -45; opacity: 0; }
}
.roadmap-clock {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
}
.roadmap-clock svg {
    width: 100%;
    height: 100%;
    stroke: #3D619B;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
}
.roadmap-clock .clock-face {
    stroke: #3D619B;
    stroke-width: 2;
}
.roadmap-clock .clock-hand {
    transform-origin: center;
    animation: clockRotate 4s linear infinite;
}
.roadmap-clock .clock-hand-hour {
    animation: clockRotate 12s linear infinite;
}
@keyframes clockRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Animated underline links in platform text ===== */
.platform-text a {
    color: var(--c-secondary);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(var(--c-secondary), var(--c-secondary));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.35s ease;
}
.platform-text a:hover { background-size: 100% 2px; }

/* ===== API list items hover shift ===== */
.api-feature {
    transition: transform 0.3s ease, color 0.3s ease;
}
.api-feature:hover {
    transform: translateX(8px);
    color: var(--c-primary);
}

/* ===== Section eyebrow shine ===== */
.section-eyebrow { position: relative; overflow: hidden; }
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    animation: eyebrowShine 4.5s ease-in-out infinite;
}
@keyframes eyebrowShine {
    0%, 60% { left: -120%; }
    80%, 100% { left: 160%; }
}

/* ===== Live chat demo ===== */
.demo-section { padding: 80px 0; background: #fff; }
.demo-points { display: flex; flex-direction: column; gap: 16px; }
.demo-point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    color: #2a3548;
}
.demo-point-ic {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 80, 108, 0.1);
    color: var(--c-primary);
    font-size: 1.15rem;
}
.chat-demo {
    max-width: 460px;
    margin: 0 auto;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(67, 80, 108, 0.25);
    overflow: hidden;
    border: 1px solid rgba(67, 80, 108, 0.08);
}
.chat-header {
    background: var(--grad-main);
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.chat-name { font-weight: 700; font-size: 1.05rem; }
.chat-status { font-size: 0.8rem; opacity: 0.85; display: flex; align-items: center; gap: 6px; }
.chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 rgba(110, 231, 183, 0.7);
    animation: pulseDot 2s infinite;
}
.chat-body {
    padding: 22px;
    height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f0f2f7;
}
.chat-msg {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    animation: msgIn 0.4s var(--ease-spring) forwards;
    word-wrap: break-word;
}
@keyframes msgIn { to { opacity: 1; transform: none; } }
.chat-msg.user {
    align-self: flex-end;
    background: var(--grad-main);
    color: #fff;
    border-bottom-right-radius: 5px;
}
.chat-msg.bot {
    align-self: flex-start;
    background: #fff;
    color: #2a3548;
    border: 1px solid rgba(67, 80, 108, 0.1);
    border-bottom-left-radius: 5px;
    box-shadow: 0 4px 14px rgba(67, 80, 108, 0.06);
}
.chat-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--c-secondary);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: cursor-blink-2 0.9s steps(1) infinite;
}
@keyframes cursor-blink-2 { 50% { opacity: 0; } }
.chat-typing {
    align-self: flex-start;
    background: #fff;
    border: 1px solid rgba(67, 80, 108, 0.1);
    border-radius: 18px;
    border-bottom-left-radius: 5px;
    padding: 14px 18px;
    display: inline-flex;
    gap: 5px;
    box-shadow: 0 4px 14px rgba(67, 80, 108, 0.06);
}
.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9aa3b2;
    animation: typingBounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-7px); opacity: 1; }
}

/* ===== How it works (timeline) ===== */
.how-section { padding: 80px 0; background: #f7f8fb; }
.how-grid { position: relative; }
.how-grid::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 16.66%;
    right: 16.66%;
    height: 3px;
    background: linear-gradient(90deg, rgba(67,80,108,0.25), rgba(67,80,108,0.35), rgba(67,80,108,0.25));
    z-index: 0;
}
@media (max-width: 991px) { .how-grid::before { display: none; } }
.how-step { text-align: center; position: relative; z-index: 1; padding: 0 14px; }
.how-step-num {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    background: var(--grad-main);
    box-shadow: 0 16px 34px rgba(67, 80, 108, 0.35);
    position: relative;
    transition: transform 0.4s var(--ease-spring);
}
.how-step:hover .how-step-num { transform: translateY(-8px) scale(1.06); }
.how-step-num .badge-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--c-primary);
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.how-step-title { font-size: 1.3rem; font-weight: 700; color: #2a3548; margin-bottom: 12px; }
.how-step-text { color: #5b6472; line-height: 1.7; font-size: 0.97rem; }

/* ===== Savings calculator ===== */
.calc-section { padding: 80px 0; background: var(--grad-main); color: #fff; position: relative; overflow: hidden; }
.calc-section .blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); opacity: 0.4; pointer-events: none; animation: blobDrift 18s ease-in-out infinite; }
.calc-section .blob-1 { background: #5a73ad; top: -120px; left: -70px; }
.calc-section .blob-2 { background: #2c3654; bottom: -130px; right: -70px; animation-direction: reverse; }
.calc-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 28px;
    padding: 46px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    color: #2a3548;
}
.calc-value-label { font-weight: 600; color: #5b6472; }
.calc-value-big { font-size: 2rem; font-weight: 800; color: var(--c-primary); }
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: #e3e7ef;
    outline: none;
    margin: 18px 0 8px;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad-main);
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(67, 80, 108, 0.4);
    transition: transform 0.2s ease;
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #3D619B;
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(67, 80, 108, 0.4);
}
.calc-result {
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    background: rgba(67, 80, 108, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.calc-result .num { font-size: 2.6rem; font-weight: 800; line-height: 1; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.calc-result .cap { color: #5b6472; font-weight: 500; margin-top: 8px; }

/* ===== Pricing ===== */
.pricing-section { padding: 80px 0; background: #fff; }
.price-card {
    border: 1px solid rgba(67, 80, 108, 0.1);
    border-radius: 24px;
    padding: 40px 34px;
    height: 100%;
    background: #fff;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(67, 80, 108, 0.18); }
.price-card.featured {
    background: var(--grad-main);
    color: #fff;
    border: none;
    box-shadow: 0 30px 65px rgba(67, 80, 108, 0.4);
    transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-10px); }
.price-badge {
    position: absolute;
    top: 18px;
    right: -30px;
    transform: rotate(45deg);
    background: var(--c-danger);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 50px;
    letter-spacing: 0.05em;
    overflow: hidden;
}
.price-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    animation: badgeShine 3s ease-in-out infinite;
}
@keyframes badgeShine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}
.price-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.price-amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price-amount small { font-size: 1rem; font-weight: 500; opacity: 0.7; }
.price-desc { opacity: 0.75; margin-bottom: 22px; font-size: 0.95rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; }
.price-features li { padding: 8px 0; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.price-features li i { color: #6ee7b7; }
.price-card:not(.featured) .price-features li i { color: var(--c-secondary); }
.price-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.35s var(--ease-spring);
}
.price-card:not(.featured) .price-btn { background: var(--grad-main); color: #fff; }
.price-card.featured .price-btn { background: #fff; color: var(--c-primary); }
.price-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; background: #f7f8fb; }
.faq-item {
    background: #fff;
    border: 1px solid rgba(67, 80, 108, 0.1);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.open { box-shadow: 0 12px 30px rgba(67, 80, 108, 0.12); border-color: rgba(61, 97, 155, 0.4); }
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 26px;
    font-size: 1.08rem;
    font-weight: 600;
    color: #2a3548;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
.faq-q .faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(67, 80, 108, 0.1);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s var(--ease-spring), background 0.3s ease;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(135deg); background: var(--c-primary); color: #fff; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-a-inner { padding: 0 26px 22px; color: #5b6472; line-height: 1.7; }

@media (max-width: 768px) {
    .hero-section { padding: 90px 0 110px; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .stat-number { font-size: 2.4rem; }
    .stat-card:not(:last-child)::after { display: none; }
    .cta-title { font-size: 2rem; }
    .business-card, .platform-card { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    * { animation-duration: 0.001s !important; }
}
