/* ===========================
   Book-Demo.CSS - Fairlead
   =========================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   CONTAINER
   =========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0055ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch */
.night-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 999px;
    transition: background 0.3s;
}

.slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked + .slider {
    background: #0055ff;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(16px);
}

/* Buttons */
.btn-primary {
    background: #0055ff;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #0044dd;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1a1a2e;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid #d0d0d0;
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s, transform 0.15s;
}

.btn-outline:hover {
    border-color: #0055ff;
    color: #0055ff;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.5);
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s;
}

.btn-outline-white:hover {
    border-color: #fff;
}









:root {
    --bg-color: #f9fafb;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --primary-gradient: linear-gradient(90deg, #2563eb, #06b6d4);
}

.dark {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f9fafb;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

/* --- LAYOUT --- */
.demo-section {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    transition: background 0.3s ease;
}

.demo-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column; /* Mobile First: Stacks vertically */
    gap: 50px;
}

/* --- LEFT SIDE: INFO --- */
.demo-info { flex: 1.2; }

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    margin-right: 8px; animation: pulse 2s infinite;
}

.main-title {
    font-size: 2.2rem; /* Mobile Size */
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin: 20px 0;
}

.blue-text { color: #0ea5e9; }

.description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.feature-item { display: flex; gap: 15px; margin-bottom: 30px; }
.feature-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.icon-blue { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }

.feature-text h3 { color: var(--text-main); font-size: 1.1rem; margin-bottom: 5px; }
.feature-text p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* STATS */
.stats-footer {
    display: flex;
    flex-direction: column; /* Mobile stack */
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 40px;
}

.stat-box label { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }
.progress-bar-container { width: 100%; height: 6px; background: var(--border-color); border-radius: 10px; margin: 10px 0; overflow: hidden; }
.progress-bar-fill { height: 100%; background: #22d3ee; }
.stat-subtext { font-size: 12px; color: var(--text-muted); }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-top: 5px; }
.stat-value small { color: #22c55e; font-size: 0.9rem; }

/* --- RIGHT SIDE: FORM --- */
.form-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px; /* Padding for mobile */
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    position: relative;
}

.priority-tag {
    position: absolute; top: 20px; right: 20px;
    font-size: 10px; font-weight: 700; color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px; border-radius: 4px; text-transform: uppercase;
}

.form-header h2 { font-size: 1.6rem; color: var(--text-main); margin-bottom: 10px; }
.form-header p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.form-row { display: flex; flex-direction: column; gap: 0; } /* Stacks inputs on mobile */

input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus { border-color: #0ea5e9; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }

.trust-badges {
    display: flex; justify-content: space-between;
    margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border-color);
}
.trust-badges span { font-size: 11px; font-weight: 700; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

/* --- RESPONSIVE QUERIES --- */

/* TABLET (768px and up) */
@media (min-width: 768px) {
    .main-title { font-size: 3rem; }
    .form-row { flex-direction: row; gap: 15px; }
    .form-group { flex: 1; }
    .stats-footer { flex-direction: row; align-items: center; justify-content: space-between; }
    .stat-box { flex: 1; }
}

/* DESKTOP (1024px and up) */
@media (min-width: 1024px) {
    .demo-container { flex-direction: row; align-items: flex-start; gap: 80px; }
    .demo-section { padding: 80px 40px; }
    .main-title { font-size: 3.5rem; }
    .form-card { padding: 45px; min-width: 480px; }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(0.95); opacity: 1; }
}








/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    gap: 28px;
}

.footer-left a {
    font-size: 13.5px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-left a:hover {
    color: #0055ff;
}

.footer-right {
    font-size: 13px;
    color: #999;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
    .hero-inner,
    .who-inner {
        flex-direction: column;
    }

    .hero-right,
    .who-right {
        flex: unset;
        width: 100%;
    }

    .dashboard-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .mv-cards,
    .approach-cards,
    .feature-blocks {
        grid-template-columns: 1fr;
    }

    .pain-solution {
        flex-direction: column;
    }

    .arrow-divider {
        transform: rotate(90deg);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-left h2 {
        max-width: 100%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 20px;
    }

    .site-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section,
    .cta-section {
        padding: 48px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }
}