/* ─────────────────────────────────────────────
   Finantr Landing Page — Custom Styles
   ───────────────────────────────────────────── */

html {
    scroll-behavior: smooth;
}

/* ── Glassmorphic nav ── */
.nav-glass {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background: rgba(250, 250, 248, 0.85);
}

/* ── Gradient accent text ── */
.gradient-text {
    background: linear-gradient(135deg, #1B5C5E, #6B9E7F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Card hover lift ── */
.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 92, 94, 0.08);
}

/* ── Tax clock ring draw ── */
.tax-ring {
    animation: ringDraw 2s ease-out forwards;
}
@keyframes ringDraw {
    from { stroke-dashoffset: 251; }
    to   { stroke-dashoffset: 80; }
}

/* ── Scroll-reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero entrance ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.animate-fade-up {
    animation: fadeUp 0.6s ease-out both;
}
.animate-fade-in {
    animation: fadeIn 0.6s ease-out both;
}

/* ── Slow pulse for status dots ── */
@keyframes pulseSlow {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.animate-pulse-slow {
    animation: pulseSlow 3s ease-in-out infinite;
}

/* ── FAQ accordion ── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 200px;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

/* ── Mobile slide-out menu ── */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* ── Dot pattern overlay ── */
.dot-pattern {
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 32px 32px;
}
