/* ============================================================
   FlexHR Landing Site - CSS
   Color palette inspired by OrganiCode branding
   Dark premium theme with teal/cyan accents
   ============================================================ */

:root {
    /* Brand - Emerald / Teal / Lime */
    --fh-primary: #059669;            /* emerald-600 */
    --fh-primary-dark: #047857;       /* emerald-700 */
    --fh-primary-light: #a7f3d0;      /* emerald-200 */
    --fh-accent: #10b981;             /* emerald-500 - main interactive */
    --fh-accent-rgb: 16, 185, 129;
    --fh-accent-2: #2dd4bf;           /* teal-400 - aurora variety */
    --fh-accent-2-rgb: 45, 212, 191;
    --fh-accent-3: #84cc16;           /* lime-500 - depth pop */
    --fh-accent-3-rgb: 132, 204, 22;
    --fh-accent-glow: rgba(16, 185, 129, 0.3);
    --fh-bg-body: #0f172a;
    --fh-bg-darker: #0c1220;
    --fh-bg-card: #1e293b;
    --fh-bg-card-hover: #334155;
    --fh-text: #e2e8f0;
    --fh-text-muted: #cbd5e1;
    --fh-success: #22c55e;
    --fh-danger: #ef4444;
    --fh-warning: #f59e0b;
    --fh-border: rgba(255, 255, 255, 0.08);
    --fh-radius: 12px;
    --fh-radius-sm: 8px;
    --fh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fh-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --fh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Override Bootstrap's secondary color for text-muted */
    --bs-secondary-color: #cbd5e1;
}

/* ============================================================
   Base
   ============================================================ */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--fh-font);
    background-color: var(--fh-bg-body);
    color: var(--fh-text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: rgba(16, 185, 129, 0.4);
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--fh-accent);
    text-decoration: none;
    transition: color var(--fh-transition);
}

a:hover {
    color: var(--fh-primary-light);
}

.text-gradient {
    background: linear-gradient(135deg, var(--fh-accent), var(--fh-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--fh-accent);
}

.bg-darker {
    background-color: var(--fh-bg-darker);
}

.section-padding {
    padding: 80px 0;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--fh-border);
    margin: 0 auto;
    max-width: 800px;
}

/* ============================================================
   Section Headers
   ============================================================ */

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.section-header h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--fh-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--fh-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   Navbar
   ============================================================ */

.navbar {
    padding: 16px 0;
    transition: all var(--fh-transition);
    background: rgba(14, 22, 33, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1050;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(9, 16, 25, 0.95);
    border-bottom-color: var(--fh-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff !important;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--fh-accent);
}

.brand-logo {
    height: 40px;
    width: auto;
    display: block;
}

.navbar.scrolled .brand-logo {
    height: 34px;
}

.brand-accent {
    color: var(--fh-accent);
}

.navbar .nav-link {
    color: var(--fh-text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    position: relative;
    transition: color var(--fh-transition);
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--fh-accent);
    transition: all var(--fh-transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 60%;
}

.btn-nav-cta {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
    border-radius: 50px !important;
}

.navbar-toggler {
    border: 1px solid var(--fh-border);
    padding: 6px 10px;
}

.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(226, 232, 240, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    isolation: isolate;
}

/* --- Hero Aurora (animated mesh) --- */
.hero-aurora {
    position: absolute;
    inset: -20%;
    z-index: -2;
    filter: blur(80px);
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: 0.55;
    mix-blend-mode: screen;
    will-change: transform;
}

.aurora-blob.blob-1 {
    width: 640px;
    height: 640px;
    top: -10%;
    left: -8%;
    background: radial-gradient(circle at 30% 30%, var(--fh-primary), transparent 70%);
    animation: blobDrift1 18s ease-in-out infinite alternate;
}

.aurora-blob.blob-2 {
    width: 520px;
    height: 520px;
    top: 25%;
    right: -5%;
    background: radial-gradient(circle at 50% 50%, var(--fh-accent-2), transparent 70%);
    animation: blobDrift2 22s ease-in-out infinite alternate;
}

.aurora-blob.blob-3 {
    width: 420px;
    height: 420px;
    bottom: -10%;
    left: 30%;
    background: radial-gradient(circle at 50% 50%, var(--fh-accent-3), transparent 70%);
    opacity: 0.4;
    animation: blobDrift3 26s ease-in-out infinite alternate;
}

/* --- Hero Grid overlay --- */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    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: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

/* --- Grain overlay for premium feel --- */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
    mix-blend-mode: overlay;
}

/* --- Cursor spotlight --- */
.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--sx, 50%) var(--sy, 30%), rgba(16, 185, 129, 0.12), transparent 60%);
    transition: background 0.15s linear;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(45, 212, 191, 0.18));
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #cfe3ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    backdrop-filter: blur(6px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fh-accent-2);
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
    animation: pulseDot 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .word-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(40%);
    filter: blur(8px);
    animation: wordReveal 0.8s var(--fh-ease-out) forwards;
    margin-right: 0.25em;
}

.hero-title .word-reveal:nth-child(1) { animation-delay: 0.05s; }
.hero-title .word-reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-title .word-reveal:nth-child(3) { animation-delay: 0.25s; }
.hero-title .word-reveal:nth-child(4) { animation-delay: 0.35s; }
.hero-title .word-reveal:nth-child(5) { animation-delay: 0.45s; }
.hero-title .word-reveal:nth-child(6) { animation-delay: 0.55s; }
.hero-title .word-reveal:nth-child(7) { animation-delay: 0.65s; }
.hero-title .word-reveal:nth-child(8) { animation-delay: 0.75s; }
.hero-title .word-reveal:nth-child(9) { animation-delay: 0.85s; }

.gradient-animate {
    background: linear-gradient(100deg, var(--fh-accent) 0%, var(--fh-accent-2) 30%, var(--fh-primary-light) 55%, var(--fh-accent-2) 80%, var(--fh-accent) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wordReveal 0.8s var(--fh-ease-out) 0.25s forwards, gradientShift 6s linear infinite 1s;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--fh-text-muted);
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust span {
    color: var(--fh-text-muted);
    font-size: 0.85rem;
}

.hero-trust i {
    color: var(--fh-success);
}

/* reveal-up helper (fades + rises with optional staggered delay) */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.8s var(--fh-ease-out) forwards;
    animation-delay: var(--reveal-delay, 0s);
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    perspective: 1400px;
    animation: fadeInUp 1s var(--fh-ease-out) 0.2s both;
}

.mockup-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(16, 185, 129, 0.35), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.8;
    animation: mockupGlow 6s ease-in-out infinite alternate;
}

.tilt-inner {
    transition: transform 0.6s var(--fh-ease-out);
    transform-style: preserve-3d;
}

.hero-mockup.is-tilting .tilt-inner {
    transition: transform 0.08s linear;
}

/* Screenshot variant of hero mockup */
.hero-mockup-image {
    perspective: 1600px;
    display: flex;
    justify-content: center;
}

.hero-mockup-image .tilt-static {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f1117;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.55),
        0 12px 30px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    transform: rotateX(6deg) rotateY(-10deg) rotateZ(-1deg);
    transform-origin: center center;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--fh-ease-out);
}

.hero-mockup-image .tilt-static:hover {
    transform: rotateX(4deg) rotateY(-7deg) rotateZ(-0.5deg);
}

.hero-screenshot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .hero-mockup-image .tilt-static {
        transform: none;
    }
}

/* Live indicator in mockup titlebar */
.mockup-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--fh-success);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fh-success);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseDot 1.8s infinite;
}

/* Floating notification cards (sit around the mockup, feel alive) */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid var(--fh-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    animation: floatIn 0.7s var(--fh-ease-out) forwards, floatBob 6s ease-in-out infinite;
    min-width: 210px;
    pointer-events: none;
}

.float-card-1 {
    top: 8%;
    left: -6%;
    animation-delay: 1.2s, 1.9s;
}

.float-card-2 {
    top: 44%;
    right: -10%;
    animation-delay: 1.5s, 2.2s;
}

.float-card-3 {
    bottom: 6%;
    left: 6%;
    animation-delay: 1.8s, 2.5s;
}

.float-card-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.float-card-icon.approved { background: rgba(34, 197, 94, 0.18); color: var(--fh-success); }
.float-card-icon.info     { background: rgba(16, 185, 129, 0.18); color: var(--fh-accent); }
.float-card-icon.pending  { background: rgba(132, 204, 22, 0.18); color: var(--fh-accent-3); }

.float-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.float-card-sub {
    font-size: 0.7rem;
    color: var(--fh-text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0;
    animation: reveal 1s ease-out 2s forwards;
    transition: border-color var(--fh-transition);
    z-index: 2;
}

.hero-scroll-hint:hover { border-color: var(--fh-accent); }

.hero-scroll-hint span {
    width: 4px;
    height: 8px;
    background: var(--fh-accent);
    border-radius: 2px;
    animation: scrollHint 1.8s ease-in-out infinite;
}

.mockup-window {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    border: 1px solid var(--fh-border);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    gap: 8px;
}

.mockup-titlebar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--fh-text-muted);
}

.mockup-body {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 50px;
    background: rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sidebar-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    transition: all var(--fh-transition);
}

.sidebar-item.active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--fh-accent);
}

.mockup-content {
    flex: 1;
    padding: 16px;
}

.mockup-stat-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-stat {
    flex: 1;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--fh-radius-sm);
    padding: 12px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fh-accent);
    font-family: 'Courier New', monospace;
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: var(--fh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-bottom: 16px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--fh-radius-sm);
}

.chart-bar {
    flex: 1;
    height: var(--bar-h, 60%);
    background: linear-gradient(180deg, var(--fh-accent-2), var(--fh-accent), var(--fh-primary));
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    transform-origin: bottom;
    transform: scaleY(0);
    animation:
        barGrow 1s var(--fh-ease-out) calc(0.8s + var(--bar-d, 0s)) forwards,
        barPulse 3.6s ease-in-out calc(2s + var(--bar-d, 0s)) infinite;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--fh-text-muted);
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
}

.list-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.list-dot.approved { background: var(--fh-success); }
.list-dot.pending { background: var(--fh-warning); }
.list-dot.info { background: var(--fh-accent); }

/* ============================================================
   Problem Section
   ============================================================ */

.problem-section {
    padding: 40px 0;
    background: var(--fh-bg-darker);
}

.problem-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    border: 1px solid var(--fh-border);
    border-left: 4px solid var(--fh-warning);
}

.problem-icon {
    font-size: 2rem;
    color: var(--fh-warning);
    flex-shrink: 0;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.problem-card p {
    color: var(--fh-text-muted);
    margin-bottom: 0;
}

/* ============================================================
   Feature Cards
   ============================================================ */

.feature-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 32px;
    border: 1px solid var(--fh-border);
    height: 100%;
    transition: all var(--fh-transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fh-primary), var(--fh-accent));
    transform: scaleX(0);
    transition: transform var(--fh-transition);
}

.feature-card:hover {
    background: var(--fh-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-accent));
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================================
   Highlight Cards
   ============================================================ */

.highlight-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 24px;
    border: 1px solid var(--fh-border);
    height: 100%;
    transition: all var(--fh-transition);
    text-align: center;
}

.highlight-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.highlight-card i {
    font-size: 1.75rem;
    color: var(--fh-accent);
    margin-bottom: 12px;
    display: block;
}

.highlight-card h6 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.highlight-card p {
    color: var(--fh-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ============================================================
   Philosophy Cards
   ============================================================ */

.philosophy-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 24px;
    border: 1px solid var(--fh-border);
    height: 100%;
    transition: all var(--fh-transition);
    border-bottom: 3px solid transparent;
}

.philosophy-card:hover {
    border-bottom-color: var(--fh-accent);
    transform: translateY(-2px);
}

.philosophy-card i {
    font-size: 1.5rem;
    color: var(--fh-accent);
    margin-bottom: 12px;
    display: block;
}

.philosophy-card h6 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.philosophy-card p {
    color: var(--fh-text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ============================================================
   Process Cards
   ============================================================ */

.process-card {
    text-align: center;
    padding: 32px;
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    border: 1px solid var(--fh-border);
    height: 100%;
    transition: all var(--fh-transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.process-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-accent));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.process-card p {
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================================
   Comparison Table
   ============================================================ */

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    overflow: hidden;
    border: 1px solid var(--fh-border);
}

.comparison-table thead th {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--fh-text-muted);
    border-bottom: 1px solid var(--fh-border);
    white-space: nowrap;
}

.comparison-table thead th.featured-col {
    color: var(--fh-accent);
    background: rgba(16, 185, 129, 0.15);
}

.comparison-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--fh-border);
    font-size: 0.9rem;
    color: var(--fh-text-muted);
}

.comparison-table tbody td.featured-col {
    background: rgba(16, 185, 129, 0.05);
}

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover td.featured-col {
    background: rgba(16, 185, 129, 0.1);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .text-success { color: var(--fh-success) !important; }
.comparison-table .text-danger { color: var(--fh-danger) !important; }
.comparison-table .text-warning { color: var(--fh-warning) !important; }

.comparison-quote {
    text-align: center;
}

.comparison-quote blockquote {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 24px 32px;
    border: 1px solid var(--fh-border);
    border-left: 4px solid var(--fh-primary);
    color: var(--fh-text-muted);
    font-style: italic;
    font-size: 0.95rem;
    display: inline-block;
    max-width: 700px;
}

.comparison-quote .bi-quote {
    color: var(--fh-accent);
    font-size: 1.25rem;
    margin-right: 8px;
}

/* ============================================================
   Pricing Cards
   ============================================================ */

.pricing-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 36px 28px;
    border: 1px solid var(--fh-border);
    height: 100%;
    transition: all var(--fh-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--fh-accent);
    border-width: 2px;
    box-shadow:
        0 0 0 1px rgba(16, 185, 129, 0.4),
        0 18px 50px rgba(16, 185, 129, 0.25),
        0 0 80px rgba(16, 185, 129, 0.2);
    transform: scale(1.02);
    isolation: isolate;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-accent));
    color: #fff;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-amount {
    margin-bottom: 8px;
}

.pricing-amount .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
    vertical-align: top;
}

.pricing-amount .price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.pricing-amount .period {
    font-size: 0.8rem;
    color: #cbd5e1;
}

.pricing-desc {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.pricing-features li {
    padding: 7px 0;
    font-size: 0.9rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.pricing-features li i {
    color: var(--fh-accent);
    margin-top: 3px;
    flex-shrink: 0;
    font-weight: 700;
}

/* Featured card - brighter tier label, softer ambient glow, bolder text */
.pricing-card.featured {
    background: linear-gradient(180deg, #1f2e3d 0%, #1a2635 100%);
}

.pricing-card.featured .pricing-tier {
    color: var(--fh-primary-light);
}

.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-features li {
    color: #f1f5f9;
}

.pricing-card.featured .pricing-features li i {
    color: var(--fh-primary-light);
}

/* ============================================================
   Testimonial Cards
   ============================================================ */

.testimonial-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 28px;
    border: 1px solid var(--fh-border);
    height: 100%;
    text-align: center;
    transition: all var(--fh-transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-accent));
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card h6 {
    margin-bottom: 12px;
}

.testimonial-card p {
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 20px 32px;
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    border: 1px solid var(--fh-border);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--fh-accent);
    line-height: 1.2;
}

.stat-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--fh-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   Signup Section
   ============================================================ */

.signup-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.signup-section h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #fff;
}

.signup-form .form-control,
.signup-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--fh-radius-sm);
    backdrop-filter: blur(10px);
    transition: all var(--fh-transition);
}

.signup-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.signup-form .form-control:focus,
.signup-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--fh-accent);
    box-shadow: 0 0 0 3px var(--fh-accent-glow);
    color: #fff;
}

.signup-form .form-select {
    color: rgba(255, 255, 255, 0.8);
}

.signup-form .form-select option {
    background: var(--fh-bg-card);
    color: var(--fh-text);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--fh-radius-sm);
    transition: all var(--fh-transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--fh-accent), var(--fh-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--fh-primary);
    color: var(--fh-accent);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--fh-radius-sm);
    background: transparent;
    transition: all var(--fh-transition);
}

.btn-outline-primary:hover {
    background: var(--fh-primary);
    border-color: var(--fh-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: var(--fh-radius-sm);
    background: transparent;
    transition: all var(--fh-transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ============================================================
   Page Header (for Features / Pricing pages)
   ============================================================ */

.page-header {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--fh-bg-darker);
    border-bottom: 1px solid var(--fh-border);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

/* ============================================================
   Feature Detail (Features page)
   ============================================================ */

.feature-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--fh-primary), var(--fh-accent));
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--fh-text-muted);
}

.feature-list li i {
    color: var(--fh-success);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   Pricing Info Card (Pricing page)
   ============================================================ */

.pricing-info-card {
    background: var(--fh-bg-card);
    border-radius: var(--fh-radius);
    padding: 32px;
    border: 1px solid var(--fh-border);
}

.pricing-info-card h5 {
    margin-bottom: 8px;
}

.pricing-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-info-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--fh-text-muted);
}

/* ============================================================
   Accordion (FAQ)
   ============================================================ */

.accordion-item {
    background: var(--fh-bg-card);
    border: 1px solid var(--fh-border);
    margin-bottom: 8px;
    border-radius: var(--fh-radius-sm) !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--fh-bg-card);
    color: var(--fh-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 20px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(16, 185, 129, 0.1);
    color: var(--fh-accent);
}

.accordion-button::after {
    filter: invert(1) brightness(0.6);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(0.5) sepia(1) hue-rotate(140deg) brightness(1.2);
}

.accordion-body {
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    padding: 0 20px 16px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--fh-bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--fh-border);
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand i {
    color: var(--fh-accent);
    font-size: 1.4rem;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
}

.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--fh-text-muted);
    font-size: 0.9rem;
    transition: color var(--fh-transition);
}

.footer-links a:hover {
    color: var(--fh-accent);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--fh-text-muted);
    transition: all var(--fh-transition);
}

.social-links a:hover {
    background: var(--fh-primary);
    color: #fff;
}

.footer-divider {
    border-color: var(--fh-border);
    margin: 32px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--fh-text-muted);
}

.footer-bottom a {
    color: var(--fh-accent);
}

/* ============================================================
   Alerts
   ============================================================ */

.alert {
    border-radius: var(--fh-radius-sm);
    border: none;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--fh-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--fh-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-close {
    filter: invert(1) brightness(0.5);
}

/* ============================================================
   Animations
   ============================================================ */

@keyframes heroGlow {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wordReveal {
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 250% 50%; }
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0 currentColor; }
    70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

@keyframes barPulse {
    0%, 100% { transform: scaleY(1); }
    50%      { transform: scaleY(1.08); }
}

@keyframes blobDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(60px, 40px) scale(1.12); }
    100% { transform: translate(-30px, 80px) scale(0.95); }
}

@keyframes blobDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-80px, 60px) scale(1.08); }
    100% { transform: translate(40px, -40px) scale(1); }
}

@keyframes blobDrift3 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(70px, -50px) scale(0.9); }
    100% { transform: translate(-50px, 30px) scale(1.15); }
}

@keyframes mockupGlow {
    from { opacity: 0.5; }
    to   { opacity: 0.9; }
}

@keyframes floatIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@keyframes scrollHint {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes shine {
    0%   { transform: translateX(-120%) skewX(-20deg); }
    60%  { transform: translateX(120%) skewX(-20deg); }
    100% { transform: translateX(120%) skewX(-20deg); }
}

@keyframes iconBoogie {
    0%, 100% { transform: rotate(0) scale(1); }
    50%      { transform: rotate(-6deg) scale(1.1); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards in same row */
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Richer card reveal: fade + rise + slight blur for cinematic feel */
.animate-on-scroll {
    filter: blur(6px);
    transition: opacity 0.7s var(--fh-ease-out), transform 0.7s var(--fh-ease-out), filter 0.7s var(--fh-ease-out);
}

.animate-on-scroll.visible {
    filter: blur(0);
}

/* ============================================================
   Scroll Progress Bar
   ============================================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    background: linear-gradient(90deg, var(--fh-accent-2), var(--fh-accent), var(--fh-accent-3));
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    transition: width 0.08s linear;
    pointer-events: none;
}

/* ============================================================
   Marquee / Integrations Strip
   ============================================================ */

.marquee-section {
    padding: 40px 0 30px;
    background: var(--fh-bg-darker);
    border-top: 1px solid var(--fh-border);
    border-bottom: 1px solid var(--fh-border);
    position: relative;
    overflow: hidden;
}

.marquee-label {
    text-align: center;
    color: var(--fh-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    opacity: 0.85;
}

.marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fh-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color var(--fh-transition);
}

.marquee-item i {
    font-size: 1.2rem;
    color: var(--fh-accent-2);
}

.marquee-item:hover {
    color: #fff;
}

/* ============================================================
   Button Shine / Magnetic polish
   ============================================================ */

.btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%) skewX(-20deg);
    animation: shine 3.5s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
}

.btn-shine .btn-arrow {
    display: inline-block;
    transition: transform 0.3s var(--fh-ease-out);
}

.btn-shine:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================================
   Feature / Philosophy Card Polish - gradient border glow
   ============================================================ */

.feature-card {
    background: linear-gradient(var(--fh-bg-card), var(--fh-bg-card)) padding-box,
                linear-gradient(135deg, transparent, transparent) border-box;
    border: 1px solid var(--fh-border);
    transition: transform 0.35s var(--fh-ease-out), box-shadow 0.35s var(--fh-ease-out), border-color 0.35s var(--fh-ease-out);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--angle, 0deg), transparent 40%, var(--fh-accent) 50%, var(--fh-accent-2) 60%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s var(--fh-ease-out);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-card:hover::after {
    opacity: 1;
    animation: spinAngle 4s linear infinite;
}

.feature-card:hover .feature-icon {
    animation: iconBoogie 0.8s ease-in-out;
}

@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes spinAngle {
    to { --angle: 360deg; }
}

.feature-icon {
    position: relative;
    transition: transform 0.35s var(--fh-ease-out);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* Highlight + philosophy + process + testimonial card hover lift */
.highlight-card,
.philosophy-card,
.process-card,
.testimonial-card,
.pricing-card,
.stat-card {
    transition: transform 0.35s var(--fh-ease-out), box-shadow 0.35s var(--fh-ease-out), border-color 0.35s var(--fh-ease-out), background 0.35s var(--fh-ease-out);
}

.highlight-card:hover i,
.philosophy-card:hover i,
.process-card:hover .process-number,
.testimonial-card:hover .testimonial-avatar {
    animation: iconBoogie 0.8s ease-in-out;
}

/* Stat card glow on hover */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(16, 185, 129, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--fh-ease-out);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card > * {
    position: relative;
}

.stat-value {
    font-variant-numeric: tabular-nums;
}

/* Featured pricing card differentiator = border + external box-shadow glow.
   (No ::before halo - it bled into the card body because the card creates
   its own stacking context via transform.) */

.pricing-card .pricing-amount .price {
    background: linear-gradient(135deg, #fff 0%, var(--fh-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Comparison table row hover scan effect */
.comparison-table tbody tr {
    transition: background var(--fh-transition);
}

.comparison-table tbody tr:hover td.featured-col {
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3);
}

/* Signup section - dark backdrop with emerald accents (keeps text legible) */
.signup-section {
    background:
        radial-gradient(ellipse 70% 55% at 20% 20%, rgba(45, 212, 191, 0.22), transparent 65%),
        radial-gradient(ellipse 70% 55% at 80% 80%, rgba(16, 185, 129, 0.28), transparent 65%),
        linear-gradient(180deg, #0a1422 0%, #0f1f2e 60%, #0c1b26 100%);
    background-size: 200% 200%, 200% 200%, 100% 100%;
    animation: gradientShift 16s ease-in-out infinite alternate;
    border-top: 1px solid var(--fh-border);
}

/* Force white→mint gradient on .text-gradient inside signup for contrast */
.signup-section .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--fh-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.35));
}

.signup-section h2 {
    color: #fff;
}

.signup-section .text-muted,
.signup-section p.text-muted {
    color: #cbd5e1 !important;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-mockup {
        margin-top: 40px;
    }

    .section-header h2 {
        font-size: 1.85rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .float-card-1 { left: 2%; }
    .float-card-2 { right: 2%; }
    .float-card-3 { left: 8%; }
}

@media (max-width: 767.98px) {
    .float-card { display: none; }
    .hero-scroll-hint { display: none; }
    .mockup-glow { opacity: 0.4; }
    .aurora-blob { opacity: 0.35; }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 1.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 10px 8px;
    }

    .signup-section h2 {
        font-size: 1.5rem;
    }

    .mockup-sidebar {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-card {
        padding: 16px 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .aurora-blob,
    .hero-content,
    .hero-mockup,
    .chart-bar,
    .float-card,
    .marquee-track,
    .badge-pulse,
    .live-dot,
    .hero-scroll-hint span,
    .mockup-glow,
    .signup-section,
    .btn-shine::before,
    .gradient-animate {
        animation: none !important;
    }

    .hero-title .word-reveal,
    .reveal-up,
    .float-card {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .feature-card:hover::after {
        animation: none;
    }
}

/* ============================================================
   Print
   ============================================================ */

@media print {
    .navbar,
    .site-footer,
    .signup-section,
    .scroll-progress,
    .hero-aurora,
    .hero-grid,
    .hero-grain,
    .hero-spotlight,
    .hero-scroll-hint,
    .float-card,
    .marquee-section {
        display: none;
    }

    body {
        background: #fff;
        color: #333;
    }

    .text-gradient {
        -webkit-text-fill-color: var(--fh-primary);
    }
}

/* ============================================================
   v2 EDITORIAL OVERRIDES
   Single green, deep forest bg, serif display, no AI gimmicks.
   This block intentionally lives at the bottom and overrides
   anything above it.
   ============================================================ */

:root {
    --fh-primary: #1f8a4c;
    --fh-primary-dark: #156339;
    --fh-primary-light: #6fcf97;
    --fh-accent: #1f8a4c;
    --fh-accent-rgb: 31, 138, 76;
    --fh-accent-2: #1f8a4c;
    --fh-accent-3: #1f8a4c;
    --fh-accent-glow: rgba(31, 138, 76, 0.18);
    /* Neutral slate-charcoal surfaces so green pops only where it counts */
    --fh-bg-body: #0f1318;
    --fh-bg-darker: #0a0d11;
    --fh-bg-card: #171b21;
    --fh-bg-card-hover: #1f242b;
    --fh-text: #e6e2d8;
    --fh-text-muted: #b1aea6;
    --fh-border: rgba(230, 226, 216, 0.08);
    --fh-radius: 4px;
    --fh-radius-sm: 4px;
    --fh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fh-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

body {
    background: var(--fh-bg-body);
    color: var(--fh-text);
}

::selection {
    background: rgba(31, 138, 76, 0.35);
    color: #fff;
}

/* Serif display headings */
h1, h2, h3 {
    font-family: var(--fh-display);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: #f3eee2;
}

h1 { font-weight: 600; }

h4, h5, h6 {
    font-family: var(--fh-font);
    font-weight: 600;
    color: #f3eee2;
}

/* Strip word-by-word reveal animation */
.hero-title .word-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    margin-right: 0.25em;
}

/* Solid green for accent words, no animated rainbow gradient */
.text-gradient,
.gradient-animate,
.hero-title .gradient-animate,
.hero-title .text-gradient {
    background: none !important;
    -webkit-text-fill-color: var(--fh-primary) !important;
    color: var(--fh-primary) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    animation: none !important;
    filter: none !important;
}

/* Hide hero AI furniture entirely */
.hero-aurora,
.aurora-blob,
.hero-grid,
.hero-grain,
.hero-spotlight,
.mockup-glow,
.hero-scroll-hint,
.float-card,
.scroll-progress {
    display: none !important;
}

.hero-section {
    min-height: auto;
    padding: 140px 0 80px;
    background: var(--fh-bg-body);
    isolation: auto;
}

.hero-badge {
    background: transparent;
    border: 1px solid rgba(230, 226, 216, 0.18);
    color: var(--fh-text-muted);
    backdrop-filter: none;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    padding: 6px 12px;
}

.badge-pulse,
.live-dot {
    display: none !important;
}

.hero-title {
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

@media (max-width: 991.98px) {
    .hero-title { font-size: 2.75rem; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
}

.hero-lead {
    font-family: var(--fh-font);
    color: var(--fh-text-muted);
    font-size: 1.1rem;
}

/* Mockup window: keep but flatten the live ticker / chart pulse */
.mockup-window {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--fh-border);
    background: var(--fh-bg-card);
}

.mockup-titlebar {
    background: rgba(0, 0, 0, 0.25);
}

.chart-bar {
    background: var(--fh-primary) !important;
    box-shadow: none !important;
    animation: barGrow 0.6s var(--fh-ease-out) forwards !important;
    opacity: 0.85;
}

.stat-number {
    color: var(--fh-primary-light) !important;
    font-family: var(--fh-font);
}

.sidebar-item.active {
    background: rgba(31, 138, 76, 0.18);
    color: var(--fh-primary-light);
}

/* Buttons: solid, no shine, no gradient */
.btn-primary {
    background: var(--fh-primary) !important;
    border: 1px solid var(--fh-primary) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: none !important;
    transition: background 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover {
    background: var(--fh-primary-dark) !important;
    border-color: var(--fh-primary-dark) !important;
    transform: none;
    box-shadow: none !important;
}

.btn-outline-primary {
    border: 1px solid var(--fh-primary);
    color: var(--fh-primary-light);
    background: transparent;
    border-radius: 4px;
}

.btn-outline-primary:hover {
    background: var(--fh-primary);
    color: #fff;
    transform: none;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.btn-outline-light:hover {
    transform: none;
}

.btn-shine::before {
    display: none !important;
    animation: none !important;
}

/* Section headers: serif display, calmer badge */
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 500;
}

.section-badge {
    background: transparent;
    border: 1px solid rgba(230, 226, 216, 0.16);
    color: var(--fh-text-muted);
    border-radius: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    padding: 5px 12px;
}

/* Marquee: keep visible but slow it down and remove pulse */
.marquee-track { animation-duration: 80s !important; }
.marquee-item i { color: var(--fh-primary) !important; }
.marquee-section { background: var(--fh-bg-darker); }

/* Feature cards: flat, single thin top border, no spinning conic gradient */
.feature-card {
    background: var(--fh-bg-card) !important;
    border: 1px solid var(--fh-border);
    border-radius: 4px;
    padding: 28px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card::before {
    background: var(--fh-primary) !important;
    transform: scaleX(1) !important;
    height: 2px;
}

.feature-card::after { display: none !important; }

.feature-card:hover {
    background: var(--fh-bg-card) !important;
    border-color: rgba(31, 138, 76, 0.35);
    transform: translateY(-2px);
    box-shadow: none;
}

.feature-card:hover .feature-icon {
    animation: none !important;
}

.feature-icon {
    background: rgba(31, 138, 76, 0.12) !important;
    color: var(--fh-primary-light);
    border-radius: 4px;
    box-shadow: none !important;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
}

/* Process cards */
.process-card {
    background: var(--fh-bg-card);
    border-radius: 4px;
    border: 1px solid var(--fh-border);
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(31, 138, 76, 0.35);
}

.process-number {
    background: transparent !important;
    color: var(--fh-primary-light) !important;
    font-family: var(--fh-display);
    font-weight: 500;
    font-size: 2rem;
    width: auto;
    height: auto;
    border-radius: 0;
    border-bottom: 2px solid var(--fh-primary);
    padding-bottom: 4px;
}

.process-card:hover .process-number,
.testimonial-card:hover .testimonial-avatar,
.highlight-card:hover i,
.philosophy-card:hover i {
    animation: none !important;
}

/* Highlight + philosophy + testimonial: flat */
.highlight-card,
.philosophy-card,
.testimonial-card,
.stat-card {
    background: var(--fh-bg-card);
    border: 1px solid var(--fh-border);
    border-radius: 4px;
}

.testimonial-avatar {
    background: rgba(31, 138, 76, 0.12) !important;
    color: var(--fh-primary-light);
}

.stat-card::before { display: none !important; }

.stat-card:hover {
    transform: none;
    border-color: rgba(31, 138, 76, 0.35);
}

.stat-value {
    color: var(--fh-primary-light) !important;
    font-family: var(--fh-display);
    font-weight: 500;
}

/* Pricing card */
.pricing-card {
    background: var(--fh-bg-card);
    border: 1px solid var(--fh-border);
    border-radius: 4px;
}

.pricing-card.featured {
    background: var(--fh-bg-card) !important;
    border: 1px solid var(--fh-primary);
    box-shadow: none !important;
    transform: none;
}

.pricing-card.featured:hover {
    transform: translateY(-2px);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.pricing-badge {
    background: var(--fh-primary) !important;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

.pricing-card .pricing-amount .price {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    font-family: var(--fh-display);
    font-weight: 600;
}

.pricing-card.featured .pricing-tier,
.pricing-card.featured .pricing-features li i {
    color: var(--fh-primary-light);
}

.pricing-features li i { color: var(--fh-primary-light); }

/* Comparison table */
.comparison-table thead th.featured-col,
.comparison-table tbody td.featured-col {
    background: rgba(31, 138, 76, 0.08) !important;
    color: var(--fh-primary-light);
}

.comparison-table tbody tr:hover td.featured-col {
    background: rgba(31, 138, 76, 0.14) !important;
    box-shadow: none !important;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background: rgba(31, 138, 76, 0.08);
    color: var(--fh-primary-light);
}

/* Signup section: flatten the animated radial gradients */
.signup-section {
    background: var(--fh-bg-body) !important;
    animation: none !important;
    border-top: 1px solid var(--fh-border);
}

.signup-section .text-gradient {
    background: none !important;
    -webkit-text-fill-color: var(--fh-text) !important;
    color: var(--fh-text) !important;
    filter: none !important;
}

.signup-form .form-control:focus,
.signup-form .form-select:focus {
    border-color: var(--fh-primary);
    box-shadow: 0 0 0 2px rgba(31, 138, 76, 0.25);
}

/* Brand accent in nav / footer */
.brand-icon,
.brand-accent,
.footer-brand i,
.brand-logo + * { color: var(--fh-primary); }

.navbar .nav-link::after { background: var(--fh-primary); }

.social-links a:hover { background: var(--fh-primary); }
.footer-links a:hover { color: var(--fh-primary-light); }
.footer-bottom a { color: var(--fh-primary-light); }
a { color: var(--fh-primary-light); }
a:hover { color: var(--fh-primary); }

/* Calm cards-on-scroll: no blur, just gentle fade */
.animate-on-scroll {
    filter: none !important;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.animate-on-scroll.visible { transform: translateY(0); filter: none !important; }

/* Reveal-up: kill the staggered drama */
.reveal-up {
    animation: reveal 0.5s ease forwards !important;
    animation-delay: 0s !important;
}

/* Problem card: green border instead of warning yellow */
.problem-card {
    background: var(--fh-bg-card);
    border: 1px solid var(--fh-border);
    border-left: 3px solid var(--fh-primary);
    border-radius: 4px;
}

.problem-icon { color: var(--fh-primary-light); }


/* ===== Footer attribution (built by OrganiCode) ===== */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.footer-bottom .footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: var(--fh-text-muted, rgba(230, 226, 216, 0.6));
}
.footer-bottom .footer-built-by {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--fh-text-muted, rgba(230, 226, 216, 0.6));
}
.footer-bottom .footer-built-by a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.footer-bottom .footer-built-by a:hover { opacity: 1; }
.footer-bottom .footer-built-by img {
    height: 22px;
    width: auto;
    display: block;
}
