/* =========================================================================
   BASE RE-SETS & VARIABLES
   ========================================================================= */

   :root {
    --bg-dark: hsl(240, 5%, 6%);
    --bg-surface: hsl(240, 6%, 10%);
    --bg-surface-elevated: hsl(240, 6%, 15%);
    
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    
    /* Signal/Apple sleek accents */
    --accent-blue: #2979FF;
    --accent-blue-hover: #1565C0;
    --accent-glow: rgba(41, 121, 255, 0.2);
    --border-color: rgba(255, 255, 255, 0.08);

    --success: #32d74b;
    --error: #ff453a;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    overflow-y: hidden; /* Disable outer scroll */
    scroll-behavior: smooth;
    line-height: 1.5;
}

/* Hide scrollbar for a seamless look, optional depending on preference */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-large {
    background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hover-shimmer {
    background-size: 200% auto;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.text-gradient.hover-shimmer {
    background: linear-gradient(-60deg, #fff 30%, #a1a1a6 45%, #fff 60%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
}

.mt-40 { margin-top: 40px; }
.mt-80 { margin-top: 80px; }
.mb-8 { margin-bottom: 8px; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.text-left { text-align: left !important; }
.w-full { width: 100%; }

.light-text { color: var(--text-secondary); }

/* =========================================================================
   BACKGROUND GLOW EFFECTS
   ========================================================================= */

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.bg-glow-blue {
    width: 600px;
    height: 600px;
    background: rgba(41, 121, 255, 0.15);
    top: -200px;
    left: -200px;
}
.bg-glow-purple {
    width: 500px;
    height: 500px;
    background: rgba(175, 82, 222, 0.1);
    bottom: -100px;
    right: -100px;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: background 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary-sm, .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: justify;
    justify-content: center;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.btn-primary-sm {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.btn-primary-sm:hover {
    background: #e0e0e0;
}
.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}
.btn-large {
    font-size: 1.1rem;
    padding: 1rem 3rem;
}

/* =========================================================================
   SECTIONS & LAYOUT
   ========================================================================= */

.scroll-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}

.section {
    min-height: 100vh; /* Changed from strict height to min-height for content scale */
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 2rem;
    position: relative;
    overflow: hidden;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================================================
   ANIMATIONS & REVEALS
   ========================================================================= */

.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }

.reveal.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =========================================================================
   HERO SECTION
   ========================================================================= */

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(255,255,255,0.03);
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.rating-box {
    background: var(--text-primary);
    color: var(--bg-dark);
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}
.trust-badge .stars {
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.trust-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-pulse {
    animation: slowPulse 3s infinite;
}

@keyframes slowPulse {
    0% { box-shadow: 0 0 0 0 rgba(41, 121, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(41, 121, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(41, 121, 255, 0); }
}

.guarantee-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
}
.guarantee-text svg {
    width: 14px;
    height: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    animation: bounce 2s infinite;
}
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 13px;
    position: relative;
}
.mouse::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 2px;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}
@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* =========================================================================
   PROBLEM SECTION & CARDS
   ========================================================================= */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3rem;
    text-align: left;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7);
}

.premium-card {
    border-color: rgba(41, 121, 255, 0.3);
    border-top: 1px solid rgba(41, 121, 255, 0.6);
    background: linear-gradient(180deg, rgba(41, 121, 255, 0.06) 0%, rgba(0,0,0,0) 100%);
    box-shadow: 0 10px 30px -10px rgba(41, 121, 255, 0.15);
}
.premium-card:hover {
    box-shadow: 0 20px 40px -15px rgba(41, 121, 255, 0.25);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.card-icon svg { width: 24px; height: 24px; }

.error-icon { background: rgba(255, 69, 58, 0.1); color: var(--error); border: 1px solid rgba(255, 69, 58, 0.2); }
.success-icon { background: rgba(41, 121, 255, 0.1); color: var(--accent-blue); border: 1px solid rgba(41, 121, 255, 0.2); }

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}
.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}
.feature-list li:hover {
    transform: translateX(4px);
    color: var(--text-primary);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.error-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff453a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.success-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232979FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.success-list li { color: var(--text-primary); }

/* =========================================================================
   HOW IT WORKS TIMELINE
   ========================================================================= */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}
.timeline-item {
    display: flex;
    gap: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s;
}
.timeline-item:hover {
    transform: translateX(10px);
    border-color: rgba(255,255,255,0.1);
}
.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================================================
   DEMO SECTION WITH WIDGET
   ========================================================================= */

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.clean-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}
.clean-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.clean-list li svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
}

.mock-browser {
    width: 100%;
    height: 500px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
    view-transition-name: mock-browser-scale;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.mock-browser:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.1);
}
.browser-header {
    background: #f1f1f1;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #e0e0e0;
}
.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }
.browser-url {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 2px 20px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #888;
}
.browser-body {
    padding: 0;
    color: #333;
}
.re-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}
.re-logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -1px; }
.re-nav { display: flex; gap: 15px; font-size: 0.8rem; color: #666; font-weight: 600; }
.re-hero {
    height: 180px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}
.re-hero h1 { font-size: 1.5rem; margin-bottom: 10px; color: #222; }
.re-search {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #aaa;
    width: 60%;
    text-align: left;
}
.re-listings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}
.re-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.re-img { height: 100px; background: #e9ecef; }
.re-details { padding: 10px; }
.line { height: 8px; background: #ddd; border-radius: 4px; margin-bottom: 8px; }
.bold { background: #222; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }

/* The Overlay Widget */
.leadflow-widget {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.leadflow-widget.active {
    opacity: 1;
    transform: translateY(0);
}
.widget-header {
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.widget-avatar {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.widget-avatar::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    background: rgba(50, 215, 75, 0.2);
    animation: avatarPulse 2s infinite;
    z-index: -1;
}
@keyframes avatarPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.widget-avatar svg { width: 18px; height: 18px; }
.widget-title {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-dot {
    width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block;
}
.widget-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 220px;
}
.msg {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 85%;
    animation: fadeInMsg 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}
.msg-system {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}
.msg-user {
    background: var(--accent-blue);
    color: #fff;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
}
.btn-book-action {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    font-size: 0.8rem;
    animation: fadeInMsg 0.4s ease forwards;
}

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

/* =========================================================================
   PRICING SECTION
   ========================================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.pricing-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: left;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7);
}
.highlighted {
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.05) 0%, rgba(41, 121, 255, 0.05) 45%, rgba(255, 255, 255, 0.1) 50%, rgba(41, 121, 255, 0.05) 55%, rgba(41, 121, 255, 0.05) 100%);
    background-size: 300% 300%;
    animation: shineBg 4s infinite 2s;
    border-color: rgba(41, 121, 255, 0.5);
    border-top: 1px solid rgba(41, 121, 255, 0.8);
    box-shadow: 0 0 40px rgba(41, 121, 255, 0.15);
}
@keyframes shineBg {
    0% { background-position: 100% 50%; }
    20% { background-position: 0% 50%; }
    100% { background-position: 0% 50%; }
}
.enterprise-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.plan-price span { font-size: 1rem; color: var(--text-secondary); font-weight: 500; }
.plan-desc { font-size: 0.9rem; color: var(--text-secondary); min-height: 40px; }
.divider { height: 1px; background: var(--border-color); margin: 1.5rem 0; }

.conversion-trigger {
    background: rgba(41, 121, 255, 0.05);
    border: 1px solid rgba(41, 121, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 750px;
    margin: 30px auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}
.conversion-trigger strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}
.reassurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}
.reassurance-item svg {
    width: 22px;
    height: 22px;
    color: var(--success);
}

.pricing-setup-fee {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 40px auto 0;
    text-align: center;
}
.pricing-setup-fee h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.pricing-setup-fee p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.pricing-setup-fee strong {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.cancel-anytime {
    font-size: 1.05rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    flex-grow: 1;
}
.plan-features li {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.plan-features li::before {
    content: "✓";
    color: var(--text-secondary);
    font-weight: bold;
}
.plan-features li strong { color: #fff; }

.plan-footer {
    margin-top: 2rem;
}
.ideal-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    min-height: 35px;
}

/* =========================================================================
   SETUP & FOOTER
   ========================================================================= */

.setup-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.step-badge {
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.highlight-badge {
    background: rgba(41, 121, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(41, 121, 255, 0.3);
    font-weight: 600;
}

.final-cta {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}
.re-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}
.re-nav span {
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s;
    padding-bottom: 5px;
}
.re-nav span.active, .re-nav span:hover {
    color: #0f172a;
    border-bottom: 2px solid #0f172a;
}
.re-hero {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.re-hero h1 { font-size: 2.5rem; margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.re-search {
    background: #fff; color: #94a3b8; padding: 15px 30px; border-radius: 50px;
    width: 60%; max-width: 600px; font-weight: 500; font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.re-listings {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    gap: 20px;
    background: #f8fafc;
}
.re-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s, box-shadow 0.3s;
}
.re-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0,0,0,0.1);
}
.re-img { height: 200px; }
.re-details { padding: 20px; }
.re-meta {
    display: flex; gap: 10px; margin-top: 15px;
}
.re-meta span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================= */

@media (max-width: 1024px) {
    .section {
        padding: 60px 1.5rem;
        height: auto;
    }
    .demo-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    /* Disable snap on smaller screens with taller content */
    .scroll-container {
        scroll-snap-type: none;
    }
    .section {
        scroll-snap-align: none;
        padding-top: 100px; /* Leave space for navbar */
        padding-bottom: 60px;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    .nav-links {
        display: none; /* simple hidden on mobile for this demo, could use hamburger */
    }
    .glass-card {
        padding: 2rem;
    }
    
    .timeline {
        gap: 1.5rem;
    }
    .timeline-item {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card {
        padding: 2rem;
    }
    
    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }
    .bg-glow-blue, .bg-glow-purple {
        display: none; /* Reduce paint area on mobile for performance */
    }
    .reveal-up, .reveal-left, .reveal-right {
        transform: translateY(20px); /* Reduce transform distance on mobile */
    }
    .clean-list li {
        font-size: 0.95rem;
    }
    .mock-browser {
        height: auto;
        padding-bottom: 250px; /* Space for widget to overlay properly */
    }
    .leadflow-widget {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }
    .re-listings {
        grid-template-columns: 1fr;
    }
    .step-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .btn-large {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .gradient-text-large {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
}

/* =========================================================================
   APPENDED LOGIC FOR INTERACTIVE DEMO (SURREY ESTATE AGENCY) AND UI REVISIONS
   ========================================================================= */

/* Branding adjustments */
.symbolx-text {
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Close Button Floating */
.global-close-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.global-close-btn.visible {
    opacity: 1;
    pointer-events: all;
}
.global-close-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

/* Final Section Dock Fixes */
.flex-dock {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 0; /* Remove bottom padding to let footer dock */
}
.flex-grow {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer {
    width: 100%;
    margin-top: auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark); /* Ensure it covers anything beneath */
}

/* CTA spacing */
.btn-cta {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
.cta-sub {
    font-size: 1.5rem;
}

/* Expanded Browser */
.mock-browser.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    border-radius: 0;
    transform: none !important;
    animation: none;
    background: #f8fafc;
    box-shadow: none;
    cursor: default;
}
.mock-browser.expanded .browser-header {
    display: none; /* Hide header frame in full screen mode to simulate real site */
}
.mock-browser.expanded .re-header {
    padding-top: 70px; /* Push down to avoid top-left close button */
}
.mock-browser.expanded .re-hero {
    height: 35vh;
}
.mock-browser.expanded .re-listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px;
    gap: 30px;
}
@media (max-width: 900px) {
    .mock-browser.expanded .re-listings {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
.mock-browser.expanded .leadflow-widget {
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 520px; 
    border-color: #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.mock-browser.expanded .widget-body {
    height: 100%; /* Stretch to take space */
    padding-bottom: 20px; 
    overflow-y: auto;
}

/* Real Estate details overrides */
.re-logo { color: #0f172a; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px;}
.re-title { font-weight: 700; color: #1e293b; margin-bottom: 5px; font-size: 1rem; }
.re-price { font-weight: 800; color: #0f172a; margin-bottom: 5px; font-size: 1.2rem; }

/* Interactive Chat Options & Bubble Overrides */
.widget-header { background: #fff; border-bottom: 1px solid #eee; }
.widget-body { background: #f8fafc; color: #333; }
.msg-system { background: #fff; color: #334155; border: 1px solid #e2e8f0; }
.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    animation: fadeInMsg 0.5s forwards;
    opacity: 0;
}
.chat-opt-btn {
    background: rgba(41, 121, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(41, 121, 255, 0.2);
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-opt-btn:hover { background: var(--accent-blue); color: #fff; }

.btn-book-action {
    background: #0f172a;
    color: #fff;
    padding: 12px 20px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    margin: 10px auto;
    display: block;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}
.btn-book-action:hover {
    background: var(--accent-blue);
}

.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
}
.typing-indicator .dot {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typeBounce 1.2s infinite;
}
.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

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

/* Calendar Sphere Expansion */
.calendar-sphere {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ffffff;
    z-index: 2500;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.5s;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}
.calendar-sphere.active {
    transform: translate(-50%, -50%) scale(400); /* Large enough to cover screen */
    opacity: 1;
}

/* The card that sits inside */
.calendar-card {
    position: fixed; 
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 2501; /* Above sphere */
    width: 450px;
    max-width: 90%;
    padding: 30px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.3s;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.calendar-card.visible {
    opacity: 1;
    pointer-events: all;
}

.cal-months { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: #334155; margin-bottom: 20px;}
.cal-months button { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #0f172a; font-weight: 800;}

/* Advanced 7x Grid Calendar */
.cal-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-legend { font-size: 0.75rem; font-weight: 700; color: #94a3b8; margin-bottom: 5px; }
.date-node { padding: 10px 0; background: #fff; border-radius: 8px; color: #475569; font-weight: 600; cursor: pointer; border: 1px solid transparent; font-size: 0.9rem;}
.date-node.empty { cursor: default; background: transparent; }
.date-node.available { background: #f8fafc; border: 1px solid #e2e8f0; }
.date-node.available:hover { border-color: #0f172a; }
.date-node.available.selected { background: #0f172a; color: #fff; border-color: #0f172a; }
.date-node.busy { opacity: 0.4; background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0,0,0,0.03) 5px, rgba(0,0,0,0.03) 10px); text-decoration: line-through; cursor: not-allowed; }

.cal-legend { display: flex; justify-content: center; gap: 20px; margin-top: 15px; font-size: 0.8rem; font-weight: 500; color: #64748b;}
.cal-legend .legend-item { display: flex; align-items: center; gap: 5px;}
.cal-legend .dot-avail { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #e2e8f0;}
.cal-legend .dot-busy { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1;}

.cal-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px;}
.time-node { padding: 12px 8px; font-size: 0.85rem; border: 1px solid #cbd5e1; border-radius: 8px; cursor: pointer; color: #475569; font-weight: 600; transition: all 0.2s; background: #fff;}
.time-node:hover { border-color: #0f172a; transform: translateY(-2px);}
.time-node.selected { border-color: #0f172a; background: #f8fafc; color: #0f172a; font-weight: 800;}

/* =========================================================================
   SURREY ESTATE AGENCY: HYPER-REAL EXPANDED VIEW OVERRIDES
   ========================================================================= */

.mock-browser.expanded .browser-body {
    background: #fbfbfb;
}

.mock-browser.expanded .re-header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 25px 60px;
    z-index: 10;
    position: relative;
    border-bottom: none;
}
.mock-browser.expanded .re-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a;
}
.mock-browser.expanded .re-nav span {
    font-family: var(--font-main);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 35px;
    color: #4a4a4a;
}

.mock-browser.expanded .re-hero {
    height: 60vh !important;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat !important;
    position: relative;
    justify-content: center;
}
.mock-browser.expanded .re-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 5px 30px rgba(0,0,0,0.6);
    margin-bottom: 40px;
}
.mock-browser.expanded .re-search {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border: none !important;
    padding: 20px 40px !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    color: #888 !important;
    width: 50% !important;
    max-width: 800px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.mock-browser.expanded .re-listings {
    padding: 80px 60px !important;
    gap: 40px !important;
    background: #fbfbfb !important;
}
.mock-browser.expanded .re-card {
    border: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
.mock-browser.expanded .re-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
}

/* Card Images */
.mock-browser.expanded .re-card:nth-child(1) .re-img {
    height: 320px !important;
    background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&q=80&w=800') center/cover no-repeat !important;
}
.mock-browser.expanded .re-card:nth-child(2) .re-img {
    height: 320px !important;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&q=80&w=800') center/cover no-repeat !important;
}
.mock-browser.expanded .re-card:nth-child(3) .re-img {
    height: 320px !important;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=800') center/cover no-repeat !important;
}

.mock-browser.expanded .re-img span {
    background: #1a1a1a !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 0.75rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
}
.mock-browser.expanded .re-details {
    padding: 30px !important;
}
.mock-browser.expanded .re-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    color: #1a1a1a !important;
}
.mock-browser.expanded .re-price {
    font-family: var(--font-main);
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #8a6b32 !important;
    margin-bottom: 25px !important;
}
.mock-browser.expanded .re-meta {
    border-top: 1px solid #eaeaea !important;
    padding-top: 20px !important;
    margin-top: 5px !important;
    display: flex;
    gap: 20px !important;
}
.mock-browser.expanded .re-meta span {
    background: transparent !important;
    padding: 0 !important;
    color: #666 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.mock-browser.expanded .re-meta span::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: #8a6b32;
    border-radius: 50%;
}


