html {
    scroll-behavior: smooth;
}

/* Ensure sections navigated via #hash land below the fixed header */
#features-content,
#steps-section,
#pricing-section,
#integrations-section,
#faqs-section,
#cta-section {
    scroll-margin-top: 90px;
}

/* Global Responsive Container */
.max-w-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
}

@media (min-width: 1536px) {
    .max-w-container {
        max-width: 1600px;
    }
}

@media (min-width: 1920px) {
    .max-w-container {
        max-width: 1800px;
    }
}

.container-wide {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1536px) {
    .container-wide {
        max-width: 1600px;
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1920px) {
    .container-wide {
        max-width: 1800px;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Prevent modal and toast FOUC (flashing) before Tailwind loads */
#contact-modal,
#demo-modal,
#toast {
    visibility: hidden;
    transition: visibility 0.3s, opacity 0.3s, transform 0.3s;
}

#contact-modal.opacity-100,
#demo-modal.opacity-100,
#toast.translate-x-0 {
    visibility: visible;
}

.hero-section {
    position: relative;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden !important;
    /* Vibrant orange glow to match background video */
    background: radial-gradient(circle at top, #7c2d12 0%, #0f172a 80%) !important;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    min-height: 0 !important;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0 !important;
}

.dashboard-container {
    flex: 1 !important;
    width: 100%;
    min-height: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    padding-bottom: 0;
}

.dashboard-wrapper {
    position: relative;
    width: 100%;
    max-width: 1050px;
    height: 100% !important;
    margin: 0 auto;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    overflow: hidden;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1536px) {
    .dashboard-wrapper {
        max-width: 1350px;
    }
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Remove default focus ring (blue box) from nav links */
header nav a:focus,
header nav a:active,
.login-btn:focus,
.signup-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Site header and navigation are now managed primarily via Tailwind in index.html and header.html */
.site-header {
    z-index: 1000 !important;
}

.integration-wrapper,
.feedback-section,
.pricing-section {
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: #ffffff;
    color: #ff7a18;

    padding: 6px 14px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 500;


    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* --- Integration Tab Buttons --- */
.tab-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 24px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
}

.tab-btn svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.3s ease !important;
    color: #64748b !important;
    stroke: currentColor !important;
    fill: none !important;
}

/* Hover for Inactive Tabs */
.tab-btn:hover {
    background: #fdf2f0 !important;
    border-color: #ff7a18 !important;
    color: #ff7a18 !important;
}

.tab-btn:hover svg {
    color: #ff7a18 !important;
    stroke: #ff7a18 !important;
}

/* ACTIVE STATE (Orange Gradient) */
.active-tab {
    background: linear-gradient(to right, #FF6A00, #FF8C1A) !important;
    color: #ffffff !important;
    border-color: #FF8C1A !important;
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.3) !important;
}

.active-tab svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Keep active state on hover */
.active-tab:hover {
    background: linear-gradient(to right, #FF6A00, #FF8C1A) !important;
    color: #ffffff !important;
}

.active-tab:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}



.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* --- Flatpickr High Contrast Overrides --- */
.flatpickr-calendar {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-radius: 16px !important;
    border: none !important;
    padding: 8px !important;
    background: #ffffff !important;
    width: 315px !important; /* Ensure enough space for 7 columns */
    box-sizing: border-box !important;
}

.flatpickr-day {
    color: #0f172a !important; /* Extremely dark slate numbers for maximum clarity */
    font-weight: 700 !important;
}

.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #cbd5e1 !important; /* Muted color for days of other months */
}

.flatpickr-day.today {
    border-color: #ff7a18 !important;
    color: #ff7a18 !important;
}

.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: #ff7a18 !important;
    border-color: #ff7a18 !important;
    color: #ffffff !important;
}

.flatpickr-weekday {
    color: #475569 !important;
    font-weight: 800 !important;
}

.flatpickr-months .flatpickr-month {
    color: #0f172a !important;
    font-weight: 800 !important;
}