/* ══════════════════════════════════════════════════
   Buurman — Home Page (index.html)
   ══════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(2, 132, 199, 0.12), transparent),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    padding: 5rem 0 6rem;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.2), transparent);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-orb-1 {
    top: -180px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 60%);
    animation: orb-drift 25s ease-in-out infinite;
}
.hero-orb-2 {
    bottom: -100px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    animation: orb-drift 20s ease-in-out infinite reverse;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -15px); }
    66% { transform: translate(-10px, 10px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ── Hero Dashboard Mockup ───────────────────────── */
.hero-visual { position: relative; }

.dashboard-frame {
    position: relative;
    width: 100%;
    background: var(--bg);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Titlebar */
.dashboard-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.titlebar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.titlebar-dot-red { background: #ff5f57; }
.titlebar-dot-yellow { background: #febc2e; }
.titlebar-dot-green { background: #28c840; }
.titlebar-url {
    flex: 1;
    margin-left: 0.75rem;
    height: 24px;
    background: var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-body { display: flex; min-height: 340px; }

/* Sidebar */
.dash-sidebar {
    width: 56px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}
.dash-sidebar-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.dash-sidebar-item {
    width: 36px;
    height: 32px;
    border-radius: 6px;
    background: var(--border-light);
}
.dash-sidebar-item.active {
    background: var(--primary-50);
    box-shadow: inset 0 0 0 1.5px var(--primary-100);
}

/* Main content */
.dash-main { flex: 1; padding: 1.25rem; overflow: hidden; }

.dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.dash-title { height: 20px; width: 120px; background: var(--text); border-radius: 4px; }
.dash-breadcrumb { height: 12px; width: 180px; background: var(--border); border-radius: 3px; margin-top: 0.375rem; }
.dash-add-btn {
    width: 80px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 6px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.dash-stat {
    background: var(--surface);
    border-radius: 10px;
    padding: 0.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dash-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    margin-bottom: 0.5rem;
}
.dash-stat-icon-blue { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.dash-stat-icon-green { background: linear-gradient(135deg, var(--success), var(--success-dark)); }
.dash-stat-icon-amber { background: linear-gradient(135deg, var(--accent), #f59f00); }
.dash-stat-val { height: 18px; width: 48px; background: var(--text); border-radius: 4px; margin-bottom: 0.25rem; }
.dash-stat-label { height: 10px; width: 64px; background: var(--border); border-radius: 3px; }

.dash-chart {
    background: var(--surface);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dash-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}
.dash-chart-title { height: 14px; width: 100px; background: var(--text); border-radius: 3px; }
.dash-chart-legend { display: flex; gap: 0.75rem; }
.dash-chart-legend-item { height: 10px; width: 50px; background: var(--border); border-radius: 3px; }
.dash-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 90px;
}
.dash-chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    animation: bar-grow 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.bar-blue { background: linear-gradient(180deg, var(--primary-light), var(--primary)); }
.bar-light { background: var(--primary-100); }

@keyframes bar-grow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

.dash-chart-bar:nth-child(1) { height: 55%; animation-delay: 0.1s; }
.dash-chart-bar:nth-child(2) { height: 35%; animation-delay: 0.15s; }
.dash-chart-bar:nth-child(3) { height: 75%; animation-delay: 0.2s; }
.dash-chart-bar:nth-child(4) { height: 45%; animation-delay: 0.25s; }
.dash-chart-bar:nth-child(5) { height: 90%; animation-delay: 0.3s; }
.dash-chart-bar:nth-child(6) { height: 60%; animation-delay: 0.35s; }
.dash-chart-bar:nth-child(7) { height: 40%; animation-delay: 0.4s; }
.dash-chart-bar:nth-child(8) { height: 80%; animation-delay: 0.45s; }
.dash-chart-bar:nth-child(9) { height: 50%; animation-delay: 0.5s; }
.dash-chart-bar:nth-child(10) { height: 70%; animation-delay: 0.55s; }
.dash-chart-bar:nth-child(11) { height: 65%; animation-delay: 0.6s; }
.dash-chart-bar:nth-child(12) { height: 95%; animation-delay: 0.65s; }

/* Floating accent card */
.floating-card {
    position: absolute;
    bottom: -16px;
    right: -16px;
    padding: 1.25rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: float-gentle 4s ease-in-out infinite;
    z-index: 2;
}
@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.floating-card-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.floating-card-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.125rem; }
.floating-card-value { font-size: 1.375rem; font-weight: 800; color: var(--text); }

@media (max-width: 1024px) {
    .hero { padding: 3rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-note { text-align: center; }
    .floating-card { right: 8px; bottom: -8px; }
}

@media (max-width: 640px) {
    .hero { padding: 2rem 0 3rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .dash-stats { grid-template-columns: 1fr; }
    .dashboard-body { min-height: 280px; }
    .dash-sidebar { width: 44px; padding: 0.5rem 0.25rem; }
    .dash-sidebar-logo { width: 28px; height: 28px; }
    .dash-sidebar-item { width: 30px; height: 26px; }
    .floating-card { display: none; }
}

/* ── Section Shared ──────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-heading--features {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 18ch;
    margin-inline: auto;
}

/* ── Features Grid ───────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
    border-color: var(--primary-100);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}
.feature-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.feature-card--teaser {
    border: 2px dashed var(--primary);
    background: linear-gradient(135deg, rgba(2,132,199,0.02), rgba(16,185,129,0.02));
}

.feature-illustration {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}
.feature-illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 1.5rem; }
}

/* ── Pricing ─────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 2px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.15);
}
.pricing-card.featured:hover {
    box-shadow: 0 24px 50px rgba(2, 132, 199, 0.25);
    transform: translateY(-8px);
}

.pricing-card.free-tier {
    border-color: var(--success);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.badge-green { background: linear-gradient(135deg, var(--success), var(--success-dark)); color: white; }
.badge-blue { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }

.pricing-card h3 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.pricing-price {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.pricing-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin: 0 0 2rem;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }

.check-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.check-green { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.check-blue { background: rgba(2, 132, 199, 0.12); color: var(--primary); }

.pricing-cta { width: 100%; }

.tooltip-wrap:hover .tooltip-bubble {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Billing toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.pricing-toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s;
}
.pricing-toggle-label--active {
    color: var(--text);
}
.pricing-save-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9px;
    margin-left: 6px;
    letter-spacing: 0.02em;
}
.pricing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--border);
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
    padding: 0;
}
.pricing-toggle-switch.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.pricing-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-toggle-switch.active .pricing-toggle-knob {
    transform: translateX(24px);
}

.pricing-note {
    margin-top: 3rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.pricing-note-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}
.pricing-note-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pricing-note-icon--free {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
}
.pricing-note-icon--refund {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2));
}
.pricing-note-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.pricing-note-text strong {
    display: block;
    color: var(--text);
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.pricing-note-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .pricing-note {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .pricing-note-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ── Demo Banner ─────────────────────────────────── */
.demo-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
    border-top: 3px dashed var(--accent);
    border-bottom: 3px dashed var(--accent);
    padding: 3rem 2rem;
    text-align: center;
}
.demo-banner::before,
.demo-banner::after {
    content: "\2605";
    position: absolute;
    font-size: 6rem;
    color: rgba(252, 196, 25, 0.12);
    pointer-events: none;
}
.demo-banner::before { top: -1rem; left: 2rem; transform: rotate(-15deg); }
.demo-banner::after { bottom: -1rem; right: 2rem; transform: rotate(15deg); }

.demo-starburst {
    display: inline-block;
    position: relative;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    animation: demo-pulse 2s ease-in-out infinite;
}
@keyframes demo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.demo-headline {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    color: #92400e;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.demo-headline em {
    font-style: normal;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-subtext {
    font-size: 1.0625rem;
    color: #a16207;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2.25rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 700;
    font-size: 1.0625rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}
.demo-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    animation: demo-shine 3s ease-in-out infinite;
}
@keyframes demo-shine {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

.demo-fine-print {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: #b45309;
    font-style: italic;
}

@media (max-width: 640px) {
    .demo-banner { padding: 2.5rem 1.5rem; }
    .demo-btn { width: 100%; justify-content: center; }
}
