/* =========================================================================
   Fillvox — Custom Theme CSS
   Extracted from the source design and used in conjunction with Tailwind.
   ========================================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* offset for sticky navbar on anchor jumps */
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background-color: #fafafa;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------------------
   Glass surfaces (used in navbar + dark mockups)
   ------------------------------------------------------------------------- */
.glass-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------------------------------
   Mobile menu visibility (Tailwind alone can't toggle .open)
   ------------------------------------------------------------------------- */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* -------------------------------------------------------------------------
   Animations
   ------------------------------------------------------------------------- */
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes sweep {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.animate-sweep { animation: sweep 2s linear infinite; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.6); opacity: 0.55; }
    50%      { transform: scaleY(1.4); opacity: 1; }
}
.wave-bar {
    display: inline-block;
    width: 6px;
    border-radius: 4px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    animation: wave 1.2s ease-in-out infinite;
    transform-origin: center;
}

/* Reveal on scroll (set by IntersectionObserver in JS) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pricing card hover lift */
.tier-card {
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.6);
}

/* Use-case card hover lift */
.use-case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.15);
}

/* Pain-point card hover */
.pain-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.12);
}

/* Subtle dotted background for solution section */
.dotted-bg {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Section label underline accent */
.section-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2563eb; /* brand-600 */
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-float,
    .animate-sweep,
    .wave-bar { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------------
 * Fillvox Builder Canvas page template
 * Strips wrappers so block-built pages render edge-to-edge.
 * ------------------------------------------------------------------- */
.fillvox-builder-canvas { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.fillvox-builder-canvas > .fillvox-block:first-child > section:first-child,
.fillvox-builder-canvas > section:first-child { margin-top: 0; }
