/* ============================================================
   Property Service Connect — Landing Page Styles
   Brand: Dark theme, blue accents, Inter font
   ============================================================ */

/* --- Reset & Custom Properties --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0B1120;
    --bg-secondary: #0F172A;
    --bg-card: #131C31;
    --bg-card-hover: #172035;

    --blue-300: #93C5FD;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;

    --orange-400: #FB923C;
    --orange-500: #F97316;
    --orange-600: #EA580C;

    --green-400: #4ADE80;
    --green-500: #22C55E;

    --text-primary: #E2E8F0;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    --border-subtle: rgba(59, 130, 246, 0.1);
    --border-card: rgba(59, 130, 246, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);

    --nav-height: 72px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-400);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--blue-500);
    border-radius: 2px;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Background Patterns --- */
.bg-grid {
    position: relative;
}

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-radial::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll.visible .stagger-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.visible .stagger-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.visible .stagger-3 {
    transition-delay: 0.3s;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-logo img,
.nav-logo svg {
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--orange-500);
    color: #fff !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--orange-600);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(96, 165, 250, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 500;
    color: var(--blue-400);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    animation: pulseGlow 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--blue-400);
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-trust {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 36px;
}

.hero-trust strong {
    color: var(--blue-400);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--blue-500);
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    max-width: 500px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-visual svg {
    width: 100%;
    height: auto;
}

/* Node glow/glare animations */
@keyframes nodeGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 2px rgba(96, 165, 250, 0.3));
        opacity: 0.7;
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.8)) drop-shadow(0 0 16px rgba(59, 130, 246, 0.4));
        opacity: 1;
    }
}

@keyframes nodeGlare {
    0%, 100% {
        filter: drop-shadow(0 0 1px rgba(147, 197, 253, 0.2));
        opacity: 0.5;
    }
    40% {
        filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.9)) drop-shadow(0 0 12px rgba(96, 165, 250, 0.5));
        opacity: 1;
    }
    60% {
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
        opacity: 0.9;
    }
}

.outer-nodes circle {
    animation: nodeGlowPulse 3.5s ease-in-out infinite;
}

.outer-nodes circle:nth-child(1)  { animation-delay: 0s; }
.outer-nodes circle:nth-child(2)  { animation-delay: 0.3s; }
.outer-nodes circle:nth-child(3)  { animation-delay: 0.6s; }
.outer-nodes circle:nth-child(4)  { animation-delay: 0.9s; }
.outer-nodes circle:nth-child(5)  { animation-delay: 1.2s; }
.outer-nodes circle:nth-child(6)  { animation-delay: 1.5s; }
.outer-nodes circle:nth-child(7)  { animation-delay: 1.8s; }
.outer-nodes circle:nth-child(8)  { animation-delay: 2.1s; }
.outer-nodes circle:nth-child(9)  { animation-delay: 2.4s; }
.outer-nodes circle:nth-child(10) { animation-delay: 2.7s; }
.outer-nodes circle:nth-child(11) { animation-delay: 3.0s; }
.outer-nodes circle:nth-child(12) { animation-delay: 3.3s; }

.inner-nodes circle {
    animation: nodeGlare 5s ease-in-out infinite;
}

.inner-nodes circle:nth-child(1) { animation-delay: 0.5s; }
.inner-nodes circle:nth-child(2) { animation-delay: 1.3s; }
.inner-nodes circle:nth-child(3) { animation-delay: 2.1s; }
.inner-nodes circle:nth-child(4) { animation-delay: 0.8s; }
.inner-nodes circle:nth-child(5) { animation-delay: 1.8s; }
.inner-nodes circle:nth-child(6) { animation-delay: 2.6s; }

@media (prefers-reduced-motion: reduce) {
    .outer-nodes circle,
    .inner-nodes circle {
        animation: none;
    }
}

/* ============================================================
   PAIN → SOLUTION (3 columns)
   ============================================================ */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.pain-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--blue-400);
}

.pain-icon svg {
    width: 28px;
    height: 28px;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pain-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS (3 steps)
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-400), var(--blue-500));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Conversion stat */
.conversion-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 56px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

.conv-stat {
    text-align: center;
}

.conv-stat .value {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.conv-stat .label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.conv-stat.old .value {
    color: var(--text-dim);
}

.conv-stat.new .value {
    color: var(--green-400);
}

.conv-arrow {
    font-size: 28px;
    color: var(--blue-400);
}

.conv-note {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ============================================================
   CRM ADD-ON
   ============================================================ */
.crm-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.crm-content {
    flex: 1;
}

.crm-features {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.crm-features .check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    color: var(--green-400);
    margin-top: 1px;
}

.crm-features .check svg {
    width: 14px;
    height: 14px;
}

.crm-visual {
    flex: 1;
    max-width: 520px;
}

.crm-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.crm-mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.crm-mockup-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.crm-mockup-header span:nth-child(1) {
    background: #EF4444;
}

.crm-mockup-header span:nth-child(2) {
    background: #F59E0B;
}

.crm-mockup-header span:nth-child(3) {
    background: #22C55E;
}

.crm-mockup-body {
    display: grid;
    gap: 12px;
}

.crm-mockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.crm-mockup-pin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crm-mockup-pin svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.crm-mockup-info {
    flex: 1;
    min-width: 0;
}

.crm-mockup-info .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.crm-mockup-info .detail {
    font-size: 12px;
    color: var(--text-muted);
}

.crm-mockup-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-won {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green-400);
}

.status-pending {
    background: rgba(251, 146, 60, 0.15);
    color: var(--orange-400);
}

.status-new {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue-400);
}

/* Communications Timeline (CRM mockup) */
.comm-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comm-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comm-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.comm-badge.sms {
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
}

.comm-badge.sms.incoming {
    background: rgba(34, 197, 94, 0.12);
    color: #4ADE80;
}

.comm-badge.email {
    background: rgba(139, 92, 246, 0.12);
    color: #A78BFA;
}

.comm-badge.email.incoming {
    background: rgba(34, 197, 94, 0.12);
    color: #4ADE80;
}

.comm-badge.note {
    background: rgba(245, 158, 11, 0.12);
    color: #FBBF24;
}

.comm-time {
    font-size: 9px;
    color: var(--text-dim);
}

.comm-bubble {
    font-size: 11px;
    line-height: 1.5;
    padding: 6px 10px;
    border-radius: 8px;
    max-width: 95%;
}

.comm-bubble.outgoing {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--text-secondary);
    border-top-left-radius: 2px;
}

.comm-bubble.incoming {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.12);
    color: var(--text-secondary);
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.comm-bubble.note {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-left: 2px solid rgba(245, 158, 11, 0.4);
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================
   GUARANTEE + FOMO
   ============================================================ */
.guarantee-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.guarantee-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
}

.guarantee-card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
    border-color: rgba(59, 130, 246, 0.25);
}

.guarantee-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-card h3 .emoji {
    font-size: 28px;
}

.guarantee-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.fomo-counter {
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.fomo-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--orange-400);
    line-height: 1;
    min-width: 60px;
    text-align: center;
}

.fomo-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.fomo-text strong {
    color: var(--text-primary);
}

/* ============================================================
   KUNDCASE (KC) — Testimonial-style case study cards
   ============================================================ */
.kc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.kc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--green-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.kc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(59, 130, 246, 0.08);
}

.kc-card:hover::before {
    opacity: 1;
}

/* Badge */
.kc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    width: fit-content;
}

.kc-badge.avlopp {
    background: rgba(245, 158, 11, 0.12);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.kc-badge.el {
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.kc-badge.bygg {
    background: rgba(34, 197, 94, 0.12);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Big highlight stat */
.kc-highlight-stat {
    text-align: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(34, 197, 94, 0.06) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.kc-big-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #60A5FA, #4ADE80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.kc-stat-sub {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Quote */
.kc-quote {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 3px solid var(--blue-500);
    padding-left: 16px;
    margin: 0;
    flex: 1;
}

/* Mini stats row */
.kc-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.kc-mini-stat {
    text-align: center;
    flex: 1;
}

.kc-mini-stat strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.kc-mini-stat span {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Author */
.kc-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), #6366F1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.kc-author-info {
    flex: 1;
    min-width: 0;
}

.kc-author-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.kc-author-info span {
    font-size: 11px;
    color: var(--text-dim);
}

.kc-stars {
    color: #FBBF24;
    font-size: 14px;
    letter-spacing: 2px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .kc-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   SOCIAL PROOF / TESTIMONIALS
   ============================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 24px;
    row-gap: 0;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--blue-500);
    align-self: start;
}

.testimonial-result {
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-result .stat {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-400);
}

.testimonial-result .stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-logo {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

.testimonial-logo svg {
    height: 36px;
    width: auto;
}

.testimonial-info .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-info .role {
    font-size: 12px;
    color: var(--text-dim);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    border-color: var(--blue-500);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured::before {
    content: 'Populärast';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--blue-500);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 16px 0;
    line-height: 1;
}

.pricing-card .price .currency {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .price .period {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--green-400);
    flex-shrink: 0;
}

.pricing-btn {
    display: block;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    text-align: center;
}

.pricing-btn.primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: #fff;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.4);
}

.pricing-btn.outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-card);
}

.pricing-btn.outline:hover {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-note strong {
    color: var(--green-400);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-banner .hero-buttons {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--blue-400);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 64px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 300px;
        margin: 0 auto;
    }

    .pain-grid,
    .steps-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid::before {
        display: none;
    }

    .crm-section .container {
        flex-direction: column;
    }

    .crm-visual {
        max-width: 100%;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }

    .pricing-card {
        padding: 28px 20px;
    }
}

/* ============================================================
   CONTENT BLOCKS (For Företag & Fastighetsägare subsections)
   ============================================================ */
.content-block {
    margin-top: 2.5rem;
    text-align: left;
}

.content-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--blue-400);
    margin-bottom: 16px;
    line-height: 1.3;
}

.content-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 800px;
}

.content-block p:last-of-type {
    margin-bottom: 0;
}

/* ============================================================
   FÖR FÖRETAG — Visual Section Styles
   ============================================================ */

/* Process section */
.ff-process {
    margin-top: 64px;
}

.ff-process-header {
    margin-bottom: 40px;
}

.ff-process-intro {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
}

/* 3-step cards */
.ff-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ff-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ff-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.35);
}

.ff-step-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--blue-400);
}

.ff-step-icon svg {
    width: 26px;
    height: 26px;
}

.ff-step-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.ff-step-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ff-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stat bar */
.ff-stat-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

.ff-stat {
    text-align: center;
}

.ff-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--blue-400);
    line-height: 1.2;
}

.ff-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.ff-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-card);
}

/* Delivery side-by-side */
.ff-delivery {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 80px;
}

.ff-delivery-content {
    flex: 1;
}

.ff-delivery-visual {
    flex: 1;
    max-width: 440px;
}

.ff-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(59, 130, 246, 0.1));
}

.ff-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.ff-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, transform 0.2s;
}

.ff-option:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.ff-option-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    color: var(--blue-400);
}

.ff-option-icon svg {
    width: 20px;
    height: 20px;
}

.ff-option h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ff-option p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Pricing value cards */
.ff-pricing-section {
    margin-top: 80px;
}

.ff-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.ff-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ff-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.35);
}

.ff-value-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.ff-value-icon svg {
    width: 26px;
    height: 26px;
}

.ff-value-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue-400);
}

.ff-value-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green-400);
}

.ff-value-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-400);
}

.ff-value-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.ff-value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {

    .ff-steps-grid,
    .ff-value-grid {
        grid-template-columns: 1fr;
    }

    .ff-delivery {
        flex-direction: column;
        gap: 40px;
    }

    .ff-delivery-visual {
        max-width: 100%;
    }

    .ff-stat-bar {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }

    .ff-stat-divider {
        width: 60px;
        height: 1px;
    }
}

/* ============================================================
   CRM DETAILS GRID
   ============================================================ */
.crm-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Enhanced CRM detail cards */
.crm-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.crm-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.35);
}

/* Icon + mini illustration wrapper */
.crm-detail-icon-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-card);
}

.crm-detail-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--blue-400);
}

.crm-detail-mini {
    flex: 1;
    height: 52px;
    max-width: 200px;
}

.crm-detail-card .content-heading {
    font-size: 17px;
    margin-bottom: 10px;
}

.crm-detail-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Tag pills */
.crm-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.crm-card-tags li {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--blue-400);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 4px 12px;
}

/* Keep backward compat for any remaining content-block in grid */
.crm-details-grid .content-block {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 0;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.crm-details-grid .content-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .crm-details-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PROPERTY RELATIONSHIP MAP SHOWCASE
   ============================================================ */
.prm-showcase {
    margin-top: 36px;
    margin-bottom: 36px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
}

.prm-property-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 1px solid var(--border-card);
    border-top: 3px solid #3B82F6;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.prm-prop-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.prm-stats {
    display: flex;
    gap: 16px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-card);
    font-size: 12px;
    color: var(--text-muted);
}

.prm-owners-bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prm-owner-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.prm-crown {
    font-size: 12px;
}

.prm-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: auto;
}

.prm-badge.green {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.prm-badge.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Address Cards */
.prm-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.prm-address-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.prm-address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.prm-address-card.primary {
    border-top: 3px solid #3B82F6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(59, 130, 246, 0.02) 100%);
}

.prm-address-card.external {
    border-top: 3px solid #64748B;
    border-left: 3px solid #64748B;
}

.prm-addr-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-card);
}

.prm-addr-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.prm-addr-city {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 20px;
}

.prm-ext-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #FBBF24;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    padding: 2px 6px;
    margin-top: 6px;
}

/* Persons */
.prm-persons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.prm-person {
    padding: 3px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.prm-person:hover {
    background: rgba(255, 255, 255, 0.03);
}

.prm-person.household {
    margin-left: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.prm-person-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-primary);
}

.prm-icon {
    font-size: 11px;
}

.prm-age {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: normal;
}

.prm-contact {
    margin-left: 22px;
    margin-top: 1px;
    font-size: 11px;
}

.prm-contact a {
    color: #60A5FA;
    text-decoration: none;
}

.prm-contact a:hover {
    text-decoration: underline;
    color: #93C5FD;
}

.prm-household-divider {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-card);
}

.prm-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-card);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .prm-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .prm-showcase {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .prm-property-header {
        padding: 12px 14px;
    }

    .prm-prop-title {
        font-size: 14px;
    }

    .prm-stats {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 11px;
    }

    .prm-owners-bar {
        gap: 6px;
    }

    .prm-owner-tag {
        flex-wrap: wrap;
        gap: 6px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .prm-badge {
        margin-left: 0;
        font-size: 9px;
        padding: 2px 6px;
    }

    .prm-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prm-address-card {
        padding: 12px;
    }

    .prm-person-head {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .prm-contact {
        margin-left: 18px;
    }
}

@media (max-width: 480px) {
    .prm-showcase {
        font-size: 12px;
    }

    .prm-property-header {
        padding: 10px 12px;
    }

    .prm-prop-title {
        font-size: 13px;
    }

    .prm-owner-tag {
        font-size: 10px;
    }

    .prm-badge {
        font-size: 8px;
    }

    .prm-addr-line {
        font-size: 12px;
    }

    .prm-addr-city {
        margin-left: 0;
    }
}

/* Interactive Map Showcase */
.crm-map-showcase {
    margin-bottom: 48px;
}

.crm-map-header {
    text-align: center;
    margin-bottom: 20px;
}

.crm-map-header .content-heading {
    font-size: 20px;
    margin-bottom: 8px;
}

.crm-map-header p {
    font-size: 14px;
    color: var(--text-muted);
}

#crm-demo-map {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    overflow: hidden;
}

.crm-map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Leaflet pin cleanup */
.crm-map-pin {
    background: none !important;
    border: none !important;
}

@media (max-width: 768px) {
    #crm-demo-map {
        height: 340px;
    }

    .crm-map-legend {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================================
   CASE CARDS (Kundcases)
   ============================================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.case-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.case-stat-item {
    text-align: center;
}

.case-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.case-stat-item.highlight .case-stat-value {
    color: var(--green-400);
}

.case-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.case-stat-arrow {
    font-size: 20px;
    color: var(--blue-400);
}

.case-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-card);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-card);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--blue-400);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-bottom: 20px;
}

/* ============================================================
   SUB-PAGE HERO (Fastighetsägare etc.)
   ============================================================ */
.sub-page-hero {
    min-height: 60vh;
}

.sub-page-hero .hero-content {
    max-width: 800px;
}

.sub-page-hero h1 {
    font-size: 42px;
}

/* ============================================================
   FASTIGHETSÄGARE PAGE COMPONENTS (fa-)
   ============================================================ */

/* Stat cards */
.fa-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fa-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.fa-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-stat-card strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.fa-stat-card span {
    font-size: 12px;
    color: var(--text-dim);
}

/* Steps grid */
.fa-steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.fa-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.fa-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), #6366F1);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.fa-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue-400);
}

.fa-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.fa-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.fa-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    flex-shrink: 0;
}

/* Benefits grid */
.fa-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.fa-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.fa-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.fa-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fa-benefit-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
}

.fa-benefit-icon.green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ADE80;
}

.fa-benefit-icon.orange {
    background: rgba(245, 158, 11, 0.12);
    color: #FBBF24;
}

.fa-benefit-icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #A78BFA;
}

.fa-benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.fa-benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Intro grid (side-by-side text + stat cards) */
.fa-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.fa-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .fa-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fa-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fa-steps-grid {
        flex-direction: column;
        gap: 24px;
    }

    .fa-step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .fa-benefits-grid {
        grid-template-columns: 1fr;
    }

    .fa-benefit-card {
        padding: 24px 20px;
    }

    .fa-stat-card {
        padding: 16px 12px;
    }

    .fa-stat-card strong {
        font-size: 13px;
    }

    .fa-stat-card span {
        font-size: 11px;
    }

    .sub-page-hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .fa-stat-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fa-stat-card {
        flex-direction: row;
        align-items: center;
        padding: 14px 12px;
        gap: 12px;
    }

    .fa-stat-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0;
    }

    .sub-page-hero h1 {
        font-size: 26px;
    }
}


/* ============================================================
   FÖR FÖRETAG PAGE COMPONENTS (ff-)
   ============================================================ */

/* Step cards — 3-step process */
.ff-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ff-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ff-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.ff-step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue-400);
}

.ff-step-icon svg {
    width: 28px;
    height: 28px;
}

.ff-step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-400);
    opacity: 0.4;
    font-family: 'Inter', monospace;
}

.ff-step-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ff-step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stat bar */
.ff-stat-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}

.ff-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.ff-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue-400);
    letter-spacing: -0.5px;
}

.ff-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.ff-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-card);
}

/* Delivery section — side by side */
.ff-delivery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-subtle);
}

.ff-delivery-content {
    display: flex;
    flex-direction: column;
}

.ff-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.ff-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ff-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-400);
}

.ff-option-icon svg {
    width: 22px;
    height: 22px;
}

.ff-option h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ff-option p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ff-delivery-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-illustration {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 8px 32px rgba(59, 130, 246, 0.15));
}

/* Pricing section */
.ff-pricing-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-subtle);
}

.ff-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.ff-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ff-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.ff-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ff-value-icon svg {
    width: 26px;
    height: 26px;
}

.ff-value-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
}

.ff-value-icon.green {
    background: rgba(34, 197, 94, 0.12);
    color: #4ADE80;
}

.ff-value-icon.orange {
    background: rgba(245, 158, 11, 0.12);
    color: #FBBF24;
}

.ff-value-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ff-value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process section */
.ff-process {
    margin-bottom: 16px;
}

.ff-process-header {
    text-align: center;
    margin-bottom: 16px;
}

.ff-process-intro {
    max-width: 700px;
    margin: 8px auto 0;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CRM detail cards — used on /crm page */
.crm-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.crm-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.crm-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(59, 130, 246, 0.3);
}

.crm-detail-icon-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.crm-detail-icon {
    width: 36px;
    height: 36px;
    color: var(--blue-400);
    flex-shrink: 0;
}

.crm-detail-mini {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

.crm-detail-card .content-heading {
    font-size: 18px;
    margin-bottom: 8px;
}

.crm-detail-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.crm-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.crm-card-tags li {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue-400);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ---- Responsive: ff- components ---- */
@media (max-width: 900px) {
    .ff-steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ff-delivery {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ff-delivery-visual {
        order: -1;
    }

    .ff-value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .crm-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ff-stat-bar {
        flex-direction: column;
        gap: 20px;
        padding: 24px 20px;
    }

    .ff-stat-divider {
        width: 80%;
        height: 1px;
    }

    .ff-step-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .ff-stat-value {
        font-size: 24px;
    }

    .ff-stat-label {
        font-size: 12px;
    }
}