/* ==========================================================================
   PropTech AI & reHeroes Premium Style Sheet
   ========================================================================== */

/* Custom CSS Variables & Tokens */
:root {
    /* Color Palette */
    --primary-green: hsl(150, 84%, 37%);
    --primary-green-light: hsl(150, 84%, 47%);
    --primary-green-dark: hsl(153, 93%, 22%);
    --primary-green-glow: hsla(150, 84%, 37%, 0.15);
    
    --primary-red: hsl(355, 84%, 55%);
    --primary-red-light: hsl(355, 84%, 62%);
    --primary-red-dark: hsl(355, 84%, 40%);
    --primary-red-glow: hsla(355, 84%, 55%, 0.15);

    --primary-blue: hsl(210, 100%, 50%);
    --primary-purple: hsl(265, 89%, 63%);
    
    --bg-dark: hsl(222, 47%, 11%);
    --bg-dark-card: hsl(223, 47%, 14%);
    --bg-light: hsl(210, 40%, 98%);
    --bg-light-card: hsl(0, 0%, 100%);
    
    --text-dark-main: hsl(220, 40%, 12%);
    --text-dark-muted: hsl(215, 20%, 40%);
    --text-light-main: hsl(210, 40%, 98%);
    --text-light-muted: hsl(215, 20%, 80%);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);

    --glass-dark-bg: rgba(15, 23, 42, 0.5);
    --glass-dark-border: rgba(255, 255, 255, 0.08);
    --glass-dark-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    /* Fonts & Hierarchy */
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions & Curves */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 10px;
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.w-full { width: 100%; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Buttons & Interactive Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-green-glow);
}

.btn-primary:hover {
    background-color: var(--primary-green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-dark-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.btn-red {
    background-color: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-red-glow);
}

.btn-red:hover {
    background-color: var(--primary-red-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.3);
}

.btn-link {
    background: none;
    color: var(--text-dark-main);
    padding: 0.5rem 1rem;
}

.btn-link:hover {
    color: var(--primary-green);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn-glow:hover::after {
    opacity: 1;
    left: 120%;
    top: 120%;
    transition: all 0.8s ease-in-out;
}

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

/* Custom Gradients & Badges */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-purple) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: flowText 4s linear infinite;
}

.red-gradient-text {
    background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-red-bold {
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red-glow);
}

@keyframes flowText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background-color: var(--primary-green-glow);
    color: var(--primary-green-light);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.green-tag {
    background-color: var(--primary-green-glow);
    color: var(--primary-green);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.red-tag {
    background-color: var(--primary-red-glow);
    color: var(--primary-red);
    border: 1px solid rgba(244, 63, 94, 0.1);
}

/* ==========================================================================
   Header Navigation Styling
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.8rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 65px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark-muted);
}

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

/* ==========================================================================
   Desktop Navigation Dropdown Menus Styling
   ========================================================================== */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.nav-item.dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-item.dropdown > a i {
    font-size: 0.65rem;
    transition: var(--transition-quick);
}

.nav-item.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: #ffffff;
    min-width: 240px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.8rem 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: transparent;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block !important;
    padding: 0.65rem 1.6rem !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-dark-muted) !important;
    text-align: left;
    transition: var(--transition-quick);
    border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
    background-color: var(--primary-green-glow);
    color: var(--primary-green) !important;
    border-left-color: var(--primary-green);
    padding-left: 1.8rem !important;
}

/* Adjustments for Scrolled Header to keep spacing aligned */
.main-header.scrolled .dropdown-menu {
    top: 100%;
}


.header-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark-main);
    transition: var(--transition-quick);
    border-radius: 2px;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1006;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark-main);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark-muted);
}

.drawer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.drawer-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 1rem 0;
}

.drawer-signin {
    color: var(--text-dark-main) !important;
}

/* ==========================================================================
   Hero & Background Aurora Animation
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 10rem 0 7rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

/* Animated Mesh Gradient background */
.mesh-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: multiply;
    opacity: 0.65;
    animation: rotate-gradient 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
    will-change: transform;
}

.blob-green {
    width: 500px;
    height: 500px;
    background-color: hsla(150, 84%, 47%, 0.25);
    top: -10%;
    left: -10%;
}

.blob-purple {
    width: 600px;
    height: 600px;
    background-color: hsla(265, 89%, 63%, 0.18);
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-blue {
    width: 450px;
    height: 450px;
    background-color: hsla(210, 100%, 50%, 0.2);
    top: 20%;
    right: 15%;
    animation-delay: -10s;
}

.blob-red {
    width: 550px;
    height: 550px;
    background-color: hsla(355, 84%, 55%, 0.15);
    bottom: 10%;
    left: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes rotate-gradient {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(80px, -60px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 40px) scale(0.95) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

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

.hero-text-content {
    max-width: 580px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dark-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Glassmorphism Mockups Showcase */
.hero-visual {
    position: relative;
    width: 100%;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.mockup-window {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.mockup-header {
    height: 38px;
    padding: 0 1rem;
    background-color: rgba(243, 244, 246, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-header .dot.red { background-color: #ef4444; }
.mockup-header .dot.yellow { background-color: #f59e0b; }
.mockup-header .dot.green { background-color: #10b981; }

.mockup-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark-muted);
    margin-left: auto;
    font-family: var(--font-heading);
}

.mockup-body img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.plan-review-mockup {
    width: 90%;
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
}

.plan-review-mockup:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 10;
}

.mobile-alex-mockup {
    position: absolute;
    width: 250px;
    bottom: -15%;
    left: 5%;
    transform: rotate(4deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 5;
    transition: var(--transition-smooth);
}

.mobile-alex-mockup:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 12;
}

.mobile-alex-mockup .mockup-header {
    justify-content: center;
    position: relative;
}

.mobile-alex-mockup .mobile-camera {
    position: absolute;
    width: 50px;
    height: 12px;
    background-color: #111;
    border-radius: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   Municipalities Trust Scroller
   ========================================================================== */
.trust-scroller-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 5;
}

.trust-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark-muted);
    margin-bottom: 2rem;
}

.logo-marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee-scroll 35s linear infinite;
    width: max-content;
}

.marquee-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #4b5563;
    white-space: nowrap;
}

.marquee-logo i {
    font-size: 1.3rem;
    color: var(--primary-green);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   Pillar Section 1: AI Plan Review Styling
   ========================================================================== */
.pillar-section {
    padding: 7rem 0;
    position: relative;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    transition: var(--transition-smooth);
}

.green-icon {
    background-color: var(--primary-green-glow);
    color: var(--primary-green);
}

.feature-card:hover .green-icon {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: scale(1.05) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    line-height: 1.6;
}

/* Interactive Blueprint Simulator */
.interactive-blueprint-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    align-items: center;
}

.blueprint-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blueprint-info p {
    color: var(--text-dark-muted);
    margin-bottom: 2rem;
}

.blueprint-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blueprint-btn {
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.06);
    background-color: var(--bg-light);
    color: var(--text-dark-muted);
    transition: var(--transition-quick);
}

.blueprint-btn.active {
    background-color: var(--primary-green-glow);
    color: var(--primary-green);
    border-color: var(--primary-green-light);
}

.blueprint-btn i {
    font-size: 1.1rem;
    margin-right: 0.8rem;
}

/* Visual Panel */
.blueprint-visual {
    background-color: #0b1528;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 20px rgba(0,0,0,0.8);
}

.blueprint-viewport {
    height: 250px;
    background-color: #0d1e36;
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.blueprint-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.blueprint-house-lines {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border: 2px dashed rgba(16, 185, 129, 0.4);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* Scanner Laser Sweep */
.scan-laser {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-green-light), transparent);
    box-shadow: 0 0 15px var(--primary-green-light);
    top: 0;
    opacity: 0;
    pointer-events: none;
}

.blueprint-viewport.scanning .scan-laser {
    animation: laser-sweep 2s infinite alternate linear;
    opacity: 1;
}

@keyframes laser-sweep {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* ==========================================================================
   Dynamic Blueprint Visual SVG System (3 Modes)
   ========================================================================== */

/* Increase viewport height to show the richer SVG diagrams */
.blueprint-viewport {
    height: 260px !important;
}

/* SVG panels fill the viewport */
.bp-visual-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
    pointer-events: none;
}

/* Exiting state */
.bp-visual-svg.bp-exit {
    opacity: 0;
    transform: scale(0.95);
}

/* Entering state */
.bp-visual-svg.bp-enter {
    opacity: 0;
    transform: scale(1.03) translateY(8px);
}

.bp-visual-svg.bp-enter-active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Pulsing dots on capability nodes */
.bp-pulse-dot {
    animation: bp-node-pulse 2s ease-in-out infinite;
}

@keyframes bp-node-pulse {
    0%, 100% { r: 3; opacity: 1; }
    50% { r: 5; opacity: 0.6; }
}

/* Redundancy warning rings pulsing outward */
.bp-redundancy-ring {
    animation: bp-ring-expand 1.8s ease-out infinite;
    transform-origin: center;
}

@keyframes bp-ring-expand {
    0% { opacity: 0.9; r: 10; }
    100% { opacity: 0; r: 22; }
}

/* Score bar animated fill via SVG presentation attribute transition */
.bp-score-bar {
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    /* SVG rect width transitions work in modern browsers */
}

.scanning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 30, 54, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-quick);
    gap: 1.2rem;
}

.blueprint-viewport.scanning .scanning-overlay {
    opacity: 1;
}

.scan-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-green-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.progress-ring {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(16, 185, 129, 0.2);
    border-top: 3px solid var(--primary-green-light);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results panel */
.scanner-results {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.2rem;
}

.scanner-results h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.result-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.5rem;
}

.result-list li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-quick);
}

.result-list li i {
    font-size: 0.95rem;
}

.result-list li.checking {
    color: var(--primary-green-light);
}

.result-list li.checking i {
    animation: rotate 1.5s linear infinite;
}

.result-list li.success {
    color: #ffffff;
}

.result-list li.success i {
    color: var(--primary-green-light);
}

/* ==========================================================================
   Section 2: How It Works
   ========================================================================== */
.how-it-works-section {
    padding: 6rem 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 5;
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-flow::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 1px;
    border-top: 2px dashed rgba(16, 185, 129, 0.15);
    z-index: 1;
}

.step-card {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    padding: 1.5rem;
    text-align: center;
}

.step-num {
    width: 64px;
    height: 64px;
    background-color: var(--primary-green);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem auto;
    box-shadow: 0 8px 20px var(--primary-green-glow);
    border: 4px solid #ffffff;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   Section 3: reHeroes Section Styling (Dark Themed with Red Accents)
   ========================================================================== */
.reheroes-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow: hidden;
}

.reheroes-mesh {
    opacity: 0.35;
}

.blob-red-glow {
    width: 600px;
    height: 600px;
    background-color: hsla(355, 84%, 55%, 0.18);
    top: -10%;
    right: -10%;
}

.blob-orange-glow {
    width: 500px;
    height: 500px;
    background-color: hsla(25, 95%, 55%, 0.12);
    bottom: -10%;
    left: -10%;
}

.text-white-heading {
    color: #ffffff !important;
}

.text-muted-white {
    color: var(--text-light-muted) !important;
}

/* Custom Product Sequential List (Image 2 style) */
.alex-products-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    position: relative;
    z-index: 5;
    margin-top: 5rem;
}

.alex-product-item {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.alex-product-item.alt-layout {
    grid-template-columns: 1fr 1.1fr;
}

.alex-product-details {
    max-width: 520px;
}

.product-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
}

.red-badge {
    background-color: var(--primary-red-glow);
    color: var(--primary-red-light);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.alex-product-details h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.lead-text {
    font-size: 1.05rem;
    color: var(--text-light-muted);
    margin-bottom: 1.8rem;
}

.product-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.product-feature-list li {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

/* Product Mockup visual containers */
.alex-product-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mobile-container {
    width: 280px;
    border-radius: 36px;
    border: 8px solid rgba(255,255,255,0.06);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    background-color: #0b1120;
}

.mobile-speaker {
    position: absolute;
    width: 60px;
    height: 5px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 10px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.site-container {
    width: 95%;
    border: 1px solid var(--glass-dark-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.leads-container {
    width: 100%;
    border: 1px solid var(--glass-dark-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.red-header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bg-light-gray {
    background-color: #f3f4f6;
}

/* ==========================================================================
   Section 4: Testimonials Carousel
   ========================================================================== */
.testimonials-section {
    padding: 7rem 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 5;
}

.carousel-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    position: relative;
    height: auto;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.98);
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-green-glow);
    line-height: 1;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-dark-main);
    margin-bottom: 2.5rem;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.client-avatar i {
    font-size: 1.8rem;
    color: var(--text-dark-muted);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark-main);
}

.client-role {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 2rem;
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-dark-muted);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.carousel-btn:hover {
    background-color: var(--bg-light);
    color: var(--text-dark-main);
    border-color: var(--text-dark-main);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition-quick);
}

.dot-indicator.active {
    width: 24px;
    border-radius: 10px;
    background-color: var(--primary-green);
}

/* ==========================================================================
   Section 5: Ecosystem Integrations Grid
   ========================================================================== */
.integrations-section {
    padding: 7rem 0;
    background-color: #ffffff;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.integration-card {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.integration-card:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--primary-green-light);
}

.integration-card i {
    font-size: 1.4rem;
    color: var(--text-dark-muted);
    transition: var(--transition-quick);
}

.integration-card:hover i {
    color: var(--primary-green);
}

.integration-card span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark-main);
}

/* ==========================================================================
   Section 6: Demo Form / Contact Segment
   ========================================================================== */
.signup-form-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.signup-text-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.signup-text-content p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.compliance-hexagon {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.compliance-hexagon .badge-img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-item i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* Demo Booking Card Form styling */
.form-container-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.form-container-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.form-container-card p {
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark-main);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 0.9rem 1.2rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    color: var(--text-dark-main);
    transition: var(--transition-quick);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-green-glow);
}

.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success-message h4 {
    font-size: 1.5rem;
    font-weight: 800;
}

.form-success-message p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   Deep Blue Site Footer
   ========================================================================== */
.site-footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-col {
    max-width: 320px;
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.8rem;
}

.footer-brand-col p {
    font-size: 0.9rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-light-muted);
    transition: var(--transition-quick);
}

.social-links a:hover {
    background-color: var(--primary-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-green-glow);
}

.footer-links-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.8rem;
    font-family: var(--font-heading);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

.footer-links-col a:hover {
    color: var(--primary-green-light);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

/* ==========================================================================
   Scroll-Reveal Transitions Setup
   ========================================================================== */
.scroll-reveal-fade {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   Architecture Canvas & Dynamic Status Badge
   ========================================================================== */
#architecture-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Responsive Editorial Image Grid Box */
.editorial-image-box {
    margin: 3.5rem 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .editorial-image-box {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.8rem 1.5rem !important;
    }
}

/* Premium System Status Badge Overlay for Hero Section */
.system-status-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.65rem 1.25rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.system-status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-green);
    border-radius: 50%;
    position: relative;
}

.system-status-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary-green-light);
    animation: statusPulse 1.8s infinite ease-out;
}

.system-status-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes statusPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
    .system-status-overlay {
        bottom: 1rem;
        left: 50% !important;
        transform: translateX(-50%);
        width: max-content;
        max-width: 90%;
    }
}

/* ==========================================================================
   Media Queries & Responsive Styling (Breakpoints)
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .interactive-blueprint-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .visual-wrapper {
        justify-content: center;
    }
    
    .plan-review-mockup {
        width: 80%;
    }
    
    .mobile-alex-mockup {
        left: 15%;
        bottom: -10%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alex-product-item {
        grid-template-columns: 1fr !important;
        gap: 3.5rem;
        text-align: center;
    }
    
    .alex-product-details {
        max-width: 100%;
        order: 1 !important;
    }
    
    .alex-product-visual {
        order: 2 !important;
    }
    
    .product-feature-list {
        align-items: center;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .signup-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .compliance-hexagon {
        margin: 0 auto 2rem auto;
    }
    
    .contact-details-list {
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.2rem;
    }
    
    .nav-links, .header-ctas {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-section {
        padding: 8rem 0 5rem 0;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-flow {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-flow::before {
        display: none;
    }
    
    .step-card {
        padding: 0;
    }
    
    .interactive-blueprint-container {
        padding: 1.5rem;
    }
    
    .blueprint-controls {
        flex-direction: column;
    }
    
    .blueprint-btn {
        padding: 0.8rem 1rem;
    }
    
    .blueprint-visual {
        padding: 0.8rem;
    }
    
    .result-list {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        padding: 2.5rem 1.5rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-container-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand-col {
        max-width: 100%;
    }
    
    .plan-review-mockup {
        width: 100%;
        transform: none;
    }
    
    .plan-review-mockup:hover {
        transform: none;
    }
    
    .mobile-alex-mockup {
        display: none; /* Hide floating overlay on small screens to save space */
    }
}
