/*
Theme Name: Seamless Slot
Theme URI: https://staging.seamlessslot.com
Author: Sabir Abbasi
Author URI: https://staging.seamlessslot.com
Description: A revenue-first booking layer theme.
Version: 1.0

*/

/* --- CSS VARIABLES & RESET --- */
:root {
    --black: #050505;
    --off-black: #1a1a1a;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-500: #71717A;
    --gray-800: #27272A;
    
    /* Accent Color */
    --accent: #5B6CFF; 
    --accent-hover: #4050D8;
    --accent-light: #EEF0FF;
    --accent-gradient: linear-gradient(135deg, #5B6CFF 0%, #8E2DE2 100%);
    
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 128px;

    --container-width: 1200px;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile Variables Override */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 40px;
        --spacing-xl: 60px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--black);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.75rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    color: var(--gray-500);
    font-size: 1.125rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
}

.text-accent { color: var(--accent); }
.text-sm { font-size: 0.95rem; }
.font-medium { font-weight: 500; }

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }
.grid { display: grid; gap: var(--spacing-md); }
.section { padding: var(--spacing-xl) 0; position: relative; }
.section-sm { padding: var(--spacing-lg) 0; }
.bg-gray { background-color: var(--gray-50); }
.bg-black { background-color: var(--black); color: var(--white); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-full); 
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: 1px solid var(--accent);
    box-shadow: 0 4px 10px rgba(91, 108, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 108, 255, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    color: var(--accent);
}

.btn-secondary-light {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
}
.btn-secondary-light:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    color: var(--accent);
}

.btn-cta-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.btn-cta-link:hover { gap: 10px; color: var(--accent-hover); }

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 6px;
    position: relative;
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.header-cta {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--black);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 60px; /* Below header */
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .header-cta { display: none; }
    .mobile-menu-btn { display: block; }
}

/* --- HERO --- */
.hero {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(255,255,255,0) 60%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero h1 { 
    margin-bottom: 24px; 
    color: var(--black); 
}
.hero .sub-headline { 
    font-size: 1.5rem; 
    color: var(--gray-800); 
    margin-bottom: 32px; 
    font-weight: 500; 
    line-height: 1.4;
}
.hero .description { 
    margin-bottom: 48px; 
    max-width: 740px; 
    margin-left: auto; 
    margin-right: auto;
    font-size: 1.15rem;
    color: var(--gray-500);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap; 
}

/* Hero Visual - Asymmetric Grid */
.hero-visual-wrapper {
    max-width: 1100px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.industry-collage {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    height: 550px;
}

.collage-left {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.collage-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.collage-item-small {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--gray-200);
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.collage-left:hover .collage-img, 
.collage-item-small:hover .collage-img {
    transform: scale(1.05);
}

/* Booking UI Overlay */
.booking-ui-overlay {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 320px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    animation: float 6s ease-in-out infinite;
    z-index: 20;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--black);
}

@media (max-width: 900px) {
    .industry-collage {
        height: auto;
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .collage-left {
        height: 400px; 
    }
    .collage-right {
        flex-direction: row; 
        height: 200px;
        gap: 15px;
    }
    .booking-ui-overlay {
        left: 50%;
        transform: translateX(-50%);
        bottom: -60px; 
        width: 90%;
        max-width: 340px;
        animation: none; 
    }
    .hero-visual-wrapper {
        margin-bottom: 80px; 
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.ui-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 15px;
}

.ui-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.ui-btn {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.ui-btn:hover { background: var(--accent); }

.collage-label {
    position: absolute;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    pointer-events: none;
}

/* Interactive Widget Styles */
.slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.time-slot {
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
    color: var(--black);
}
.time-slot:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    transform: translateY(-1px);
}

.widget-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    width: 100%;
}
.spinner {
    width: 30px; height: 30px;
    border: 3px solid var(--gray-100);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-text-only {
    background: none; border: none; padding: 0;
    color: var(--gray-500);
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
}
.btn-text-only:hover { color: var(--accent); }

/* --- TRUST BAR --- */
.trust-bar {
    border-bottom: 1px solid var(--gray-100);
    padding: 24px 0;
    background-color: var(--white);
}
.trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.check-icon { 
    color: var(--white); 
    background: var(--black);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* --- HOW IT WORKS --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: left;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 24px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(91, 108, 255, 0.3);
}

.step-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.step-card p { font-size: 1rem; color: var(--gray-500); line-height: 1.6; }

/* --- PRO CTA BANNER --- */
.pro-banner {
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 5%;
    position: relative;
    min-height: 400px;
    margin-top: 60px;
}

.pro-content {
    flex: 1;
    padding: 60px 0;
    max-width: 500px;
    z-index: 2;
}

.pro-content h2 {
    font-size: 2.25rem;
    margin-bottom: 32px;
    line-height: 1.2;
    color: var(--black);
}

.pro-buttons {
    display: flex;
    gap: 16px;
}

.pro-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.pro-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: -40px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

@media (max-width: 900px) {
    .pro-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 0;
    }
    .pro-content {
        padding-bottom: 20px;
    }
    .pro-buttons {
        justify-content: center;
    }
    .pro-img {
        margin-bottom: 0;
        max-height: 300px;
    }
}

/* --- FEATURES LAYOUT --- */
.features-tabs-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.feature-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-btn {
    text-align: left;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.feature-btn:not(.active):hover {
    background: var(--gray-50);
}

.feature-btn.active {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    transform: scale(1.02);
    z-index: 2;
}

.feature-btn.active::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--accent);
    border-radius: 4px 0 0 4px;
}

.feature-btn h3 { 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
    color: var(--gray-800);
    transition: color 0.2s;
}

.feature-btn.active h3 { color: var(--accent); }

.feature-btn p { 
    font-size: 0.95rem; 
    margin: 0; 
    color: var(--gray-500); 
    line-height: 1.5; 
}

.feature-display {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    aspect-ratio: 16/10;
    background: var(--gray-100);
}

.feature-img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    transform: scale(1.02);
}

.feature-img-slide.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}

.feature-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .features-tabs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-display {
        order: -1;
        aspect-ratio: 16/9;
    }
    .feature-btn.active { transform: none; }
    .feature-btn { padding: 20px; border: 1px solid var(--gray-200); }
}

/* --- CAROUSEL --- */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px;
    display: flex;
    gap: 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar { display: none; }

.carousel-card {
    min-width: 300px;
    max-width: 300px;
    scroll-snap-align: start;
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.carousel-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.carousel-card h4 { margin-bottom: 12px; font-size: 1.15rem; }
.carousel-card p { font-size: 0.95rem; line-height: 1.5; color: var(--gray-500); }
.card-icon {
    width: 40px; height: 40px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}

/* --- PRICING --- */
.pricing-section { text-align: center; }

.pricing-card {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
}

.pricing-left {
    background: var(--black);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.pricing-left::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(91, 108, 255, 0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-right {
    background: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    align-self: flex-start;
}

.price-large {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 16px 0;
    letter-spacing: -2px;
    color: var(--white);
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
    margin-top: 30px;
}

.p-feat { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.95rem; 
    color: var(--gray-800);
    font-weight: 500;
}
.p-feat svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 900px) {
    .pricing-card { grid-template-columns: 1fr; }
    .pricing-left, .pricing-right { padding: 40px; text-align: center; }
    .pricing-tag { align-self: center; }
    .pricing-features-grid { text-align: left; }
}

/* --- INTEGRATIONS & SECURITY --- */
.logo-cloud {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}
.logo-item {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
    color: var(--gray-800);
}
.logo-item:hover { transform: scale(1.05); color: var(--black); }

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img { transform: scale(1.05); }

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.blog-link {
    margin-top: auto;
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.blog-link:hover { gap: 10px; color: var(--accent); }

/* --- FOOTER --- */
.footer {
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Calculator Specific Styles */
.calculator-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.calc-group { margin-bottom: 30px; }

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calc-label-row label { font-weight: 500; font-size: 1rem; color: var(--gray-500); }
.calc-value { font-weight: 700; font-size: 1.2rem; color: var(--black); }

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 5px;
    outline: none;
    transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 0 10px rgba(91, 108, 255, 0.5);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid var(--white);
}

.calc-results {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 30px;
    color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--gray-100);
}

.loss-amount { font-size: 2rem; font-weight: 700; color: var(--gray-500); margin-top: 5px; }
.recover-amount { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; margin-top: 5px; }

.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }

@media (max-width: 768px) {
    .calculator-card { grid-template-columns: 1fr; gap: 40px; padding: 24px; }
}

/* Smart Sticky Bar */
.smart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 800px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 24px;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.smart-bar.visible {
    transform: translateX(-50%) translateY(0);
}

.smart-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.smart-text {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.smart-highlight {
    color: #ef4444;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.smart-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.close-smart {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .smart-bar {
        width: 95%;
        bottom: 10px;
        border-radius: 16px;
        padding: 16px;
    }
    .smart-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .smart-actions { width: 100%; justify-content: space-between; }
    .btn-sm { flex: 1; }
}

/* --- LEAD CAPTURE MODAL --- */
.lead-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lead-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.lead-card {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.lead-modal-overlay.open .lead-card {
    transform: translateY(0);
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-800); }
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }

.close-lead-modal {
    position: absolute;
    top: 20px; right: 20px;
    background: none; border: none;
    font-size: 1.5rem; color: var(--gray-500);
    cursor: pointer;
}

/* --- BOOKING PROTECTION SECTION STYLES --- */
.protection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.protection-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.protection-card.bad {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.protection-card.good {
    background: var(--accent-light);
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(91, 108, 255, 0.15);
    transform: scale(1.02); /* Slight pop */
    z-index: 2;
}

.badge-fail {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gray-500); color: white; padding: 6px 16px; 
    border-radius: 20px; font-size: 0.85rem; font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.badge-success {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white; padding: 6px 16px; 
    border-radius: 20px; font-size: 0.85rem; font-weight: 700;
    box-shadow: 0 4px 6px rgba(91, 108, 255, 0.3);
}

.flow-step {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255,255,255,0.7);
    padding: 16px; border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
}

.flow-step.highlight {
    background: var(--white);
    border: 2px solid var(--accent);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(91, 108, 255, 0.15);
    position: relative;
}

.flow-step.highlight::after {
    content: '✓ Saved';
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase;
}

.flow-arrow {
    text-align: center; color: var(--gray-300); font-size: 1.2rem; margin: 4px 0;
}

.result-box {
    margin-top: 24px; padding: 24px; border-radius: 12px; text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center;
}

.result-box.fail {
    background: var(--gray-100); border: 1px solid var(--gray-200);
}
.result-box.fail h5 { color: var(--gray-800); font-size: 1.1rem; margin-bottom: 4px; }

.result-box.success {
    background: var(--accent); color: white; box-shadow: 0 10px 20px rgba(91, 108, 255, 0.25);
}
.result-box.success h5 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
.result-box.success p { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

@media (max-width: 768px) {
    .protection-grid { grid-template-columns: 1fr; gap: 60px; }
    .protection-card.good { transform: none; }
}

/* FAQ Accordion Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-question h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
    color: var(--gray-500);
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; transition: transform 0.3s ease; }

.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 24px;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-top: 0;
}

/* Video Modal */
.video-modal {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.9); z-index: 3000;
    display: none; align-items:center; justify-content:center;
}
.video-modal.open { display: flex; }
.video-content {
    width: 90%; max-width: 800px; aspect-ratio: 16/9; background: #000;
    position: relative; display: flex; align-items:center; justify-content:center;
}
.close-modal {
    position: absolute; top: -40px; right: 0; color: white; background: none; border: none; font-size: 2rem; cursor: pointer;
}
.play-button-large {
    width: 80px; height: 80px; background: var(--accent); border-radius: 50%; display: flex; align-items:center; justify-content:center; margin-bottom: 20px;
}