:root {
    --primary: #4f46e5;
    --primary-2: #7c3aed;
    --accent: #06b6d4;
    --bg: #f8fafe;
    --bg-soft: #f1f5ff;
    --card-bg: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(15, 23, 42, 0.12);
    --glow: rgba(79, 70, 229, 0.2);
    --slider-accent: #818cf8;
    --announce-h: 46px;
}


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    padding-top: calc(var(--announce-h) + 16px);
    transition: padding-top 0.25s ease;
}

body.announcement-closed {
    --announce-h: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Syne", sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px var(--glow);
    transition: all 0.25s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-custom {
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 999px;
    padding: 11px 26px;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.16);
    color: #4f46e5;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-weight: 700;
}

#announcement {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: linear-gradient(90deg, #eef2ff, #ecfeff);
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
    color: #334155;
}

#announcement .inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    position: relative;
    text-align: center;
}

.announce-pill {
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 3px 9px;
}

#announcementClose {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
}

#announcementClose:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
}

#navbar {
    position: fixed;
    top: calc(var(--announce-h) + 12px);
    left: 50%;
    width: min(800px, calc(100% - 24px));
    transform: translate(-50%, 0);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    z-index: 1100;
    transition: all 0.32s ease;
    padding: 10px 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

#navbar.nav-full {
    top: var(--announce-h);
    left: 0;
    width: 100%;
    transform: translate(0, 0);
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

#navbar.nav-hidden {
    transform: translate(-50%, -140%);
    opacity: 0;
    pointer-events: none;
}

#navbar.nav-full.nav-hidden {
    transform: translate(0, -140%);
}

.nav-link {
    color: var(--muted) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px !important;
}

.nav-link:hover {
    color: #0f172a !important;
}

.navbar-toggler {
    border: 1px solid var(--border);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(79, 70, 229, 0.14) 0%, transparent 62%), radial-gradient(ellipse 50% 40% at 20% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 52%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.16);
    color: #4338ca;
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%,
    100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.35); }
}

@keyframes float-soft {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

#hero h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

#hero .lead,
.section-subtitle {
    color: var(--muted);
    line-height: 1.8;
}

.hero-panel,
#heroCard,
.opportunity-box,
.app-card,
.feature-card,
.pricing-card,
.testi-card,
.accordion-item,
.stack-preview,
.stack-step,
.big-footer {
    background: #ffffff00;
    border-radius: 16px;
}

.hero-panel {
    margin-top: 30px;
    border-left: 3px solid var(--slider-accent);
    padding: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hero-panel-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

#mainFeatureIcon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.2);
    color: var(--slider-accent);
}

#mainFeatureDesc { color: var(--muted); white-space: pre-line; }

#heroCard {
    padding: 28px;
    animation: float-soft 6s ease-in-out infinite;
}

.hero-card-head { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--muted); font-size: 0.82rem; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; }
.hero-dots span:nth-child(1) { background: #ef4444; }
.hero-dots span:nth-child(2) { background: #f59e0b; }
.hero-dots span:nth-child(3) { background: #22c55e; }
.hero-bars { display: flex; align-items: flex-end; gap: 7px; height: 84px; margin-bottom: 18px; }
.hero-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), var(--primary-2)); opacity: 0.75; transition: all 0.45s ease; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hero-stats div { background: #f8fafc; border-radius: 10px; padding: 10px; }
.hero-stats small { color: var(--muted); font-size: 0.74rem; }

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 14px; line-height: 1.2; }
#opportunity,
#apps,
#marqueeStrip,
#stackZone,
#features,
#pricing,
#testimonials,
#faq,
#footerLarge { padding: 90px 0; }

.opportunity-box {
    padding: 28px;
    background: linear-gradient(135deg, #f7f8ff, #f6fcff);
}

.opportunity-heading h3 { font-size: 2rem; margin-bottom: 12px; }
.opportunity-heading p { color: var(--muted); }
.opportunity-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.opportunity-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.opportunity-item h4 { margin: 0; font-size: 1.4rem; }
.opportunity-item p { margin: 0; color: var(--muted); font-size: 0.82rem; }

.app-card { padding: 24px; height: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(79, 70, 229, 0.12); }
.app-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: 0.72rem; font-weight: 700; margin-bottom: 10px; }
.app-card p { color: var(--muted); margin: 0; }

#marqueeStrip { padding-top: 30px; padding-bottom: 30px; }
.marquee-shell { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 26s linear infinite; }
.marquee-item { flex: 0 0 auto; padding: 14px 28px; font-weight: 600; color: #334155; white-space: nowrap; }
.marquee-item i { color: var(--primary); margin-right: 8px; }

.stack-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.stack-preview { position: sticky; top: 140px; padding: 24px; min-height: 280px; }
.stack-preview-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: var(--primary); font-size: 1.2rem; margin-bottom: 14px; }
.stack-preview p { color: var(--muted); }
.stack-steps { display: grid; gap: 16px; }
.stack-step { padding: 20px; transition: all 0.25s ease; }
.stack-step.active { border-color: var(--primary); box-shadow: 0 14px 28px rgba(79, 70, 229, 0.1); transform: translateY(-2px); }
.stack-step small { color: var(--primary); font-weight: 700; letter-spacing: 0.4px; }
.stack-step p { color: var(--muted); margin: 10px 0 0; }

#testimonials { background: #f4f7ff; }
.feature-card { padding: 28px; height: 100%; transition: all 0.25s ease; }
.feature-card:hover,
.feature-card.feature-active { transform: translateY(-4px); border-color: var(--slider-accent); box-shadow: 0 20px 30px rgba(79, 70, 229, 0.12); }
.feature-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.2rem; }
.pricing-card { padding: 32px; }
.pricing-card.popular { border-color: var(--primary); }
.price-amount { font-size: 2.5rem; line-height: 1; margin: 10px 0 8px; }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; }
.price-features li { padding: 6px 0; color: var(--muted); font-size: 0.86rem; display: flex; gap: 10px; align-items: center; }
.price-features i { color: var(--accent); font-size: 0.74rem; }
.testi-card { padding: 28px; }
.stars { color: #f59e0b; margin-bottom: 10px; }
.testi-text { color: var(--muted); }
.accordion-item { overflow: hidden; margin-bottom: 12px; }
.accordion-button { background: var(--card-bg); color: #0f172a; box-shadow: none; }
.accordion-button:not(.collapsed) { color: var(--accent); }

.big-footer {
    padding: 48px;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand p { color: var(--muted); max-width: 420px; }
.footer-col h6 { margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 18px; color: var(--muted); font-size: 0.86rem; }

#backTop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: none;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.reveal { opacity: 0; transform: translateY(24px); transition: all 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

#bottomSlider {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: min(500px, calc(100vw - 48px));
    height: 200px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--slider-accent);
    border-radius: 18px;
    display: flex;
    overflow: hidden;
    z-index: 1005;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    animation: float-soft 7s ease-in-out infinite;
}

#bottomSlider.bs-hidden { transform: translateY(calc(100% + 32px)); opacity: 0; pointer-events: none; }
#bsGlow { position: absolute; inset: 0; pointer-events: none; }
#bsClose { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--border); background: #fff; color: var(--muted); z-index: 3; }
#bsTab { display: none; position: fixed; right: 24px; bottom: 24px; z-index: 1006; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 10px 18px; }
#bsInfo { width: 200px; min-width: 200px; border-right: 1px solid var(--border); background: rgba(248, 250, 252, 0.9); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; z-index: 2; }
#bsInfoIcon { color: var(--slider-accent); font-size: 1.5rem; }
#bsInfoNum { color: var(--muted); font-size: 0.68rem; letter-spacing: 1px; font-weight: 700; }
#bsInfoTitle { font-size: 1rem; font-weight: 700; }
#bsInfoDesc { color: var(--muted); font-size: 0.75rem; line-height: 1.6; white-space: pre-line; }
#bsInfoDots { display: flex; gap: 5px; margin-top: 4px; }
.bs-dot { width: 5px; height: 5px; border-radius: 4px; background: rgba(148, 163, 184, 0.5); cursor: pointer; }
.bs-dot-active { width: 16px; background: var(--slider-accent); }
#bsContent { flex: 1; position: relative; overflow: hidden; }
.bs-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(24px); pointer-events: none; transition: all 0.35s ease; display: flex; align-items: center; padding: 20px 45px 20px 22px; }
.bs-slide.active { opacity: 1; transform: translateX(0); pointer-events: all; }
.bs-slide-inner { display: flex; gap: 14px; align-items: flex-start; }
.bs-icon { width: 46px; min-width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.bs-slide-body h6 { margin: 0 0 6px; font-size: 0.95rem; }
.bs-slide-body p { margin: 0 0 8px; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.bs-link { color: var(--slider-accent); font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.bs-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--muted); font-size: 0.7rem; display: flex; align-items: center; justify-content: center; }
.bs-prev { left: 6px; }
.bs-next { right: 6px; }

@media (max-width: 991px) {
    #navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border);
        border-radius: 12px;
        margin-top: 12px;
        padding: 12px;
    }

    .stack-layout,
    .footer-grid,
    .opportunity-stats {
        grid-template-columns: 1fr;
    }

    .stack-preview { position: relative; top: auto; }
}

@media (max-width: 540px) {
    #announcement .inner { padding-right: 34px; }
    #bottomSlider {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
        height: auto;
        flex-direction: column;
    }

    #bsInfo {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 16px;
    }

    #bsInfoDesc { display: none; }
    #bsContent { height: 128px; }
    #bsTab { right: 16px; bottom: 16px; }
}

