@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, monospace;
    --font-serif: 'Instrument Serif', 'Times New Roman', serif;
    --bg-main: #f4f8ff;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfdfe;
    --bg-subtle: #ebf3ff;
    
    --border-color: #dbeaf0;
    --border-accent: rgba(59, 130, 246, 0.25);
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #4f46e5 100%);
    --accent-glow: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 70%);
    --green-glow: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 10px 30px rgba(37, 99, 235, 0.06);
    --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 15px 35px rgba(37, 99, 235, 0.15);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glows */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 850px;
    background: radial-gradient(ellipse at top, rgba(219, 234, 254, 0.8) 0%, rgba(244, 248, 255, 0) 75%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 1100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.4), transparent 70%);
    z-index: -2;
    pointer-events: none;
}

/* Typography & Display System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--text-heading);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-feature-settings: "ss01", "cv11";
}

em, .serif-accent, .ai-gradient-text, .roi-gradient-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.08em;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-right: 0.05em;
}

.badge, .logo-tag, code, pre, .mock-sidebar-item, .mockup-window-title {
    font-family: var(--font-mono);
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badges & Chips */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(224, 237, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 219, 254, 0.9);
    color: #1d4ed8;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
    animation: badgePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.badge i {
    color: #2563eb;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.btn-secondary {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--text-heading);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-2px);
    color: var(--text-heading);
}

.btn-green {
    background: var(--green-glow);
    color: #fff;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.28);
}
.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.logo-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1d4ed8;
    margin-left: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-body);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
}
.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 40px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto 40px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    margin-bottom: 24px;
    letter-spacing: -0.045em;
    font-weight: 500;
    color: #0f172a;
    line-height: 0.96;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 36px;
    max-width: 760px;
    letter-spacing: -0.01em;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-sans);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}

.hero-cta-top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-cta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-btn-main {
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.32);
}

.hero-btn-sub {
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* DUAL SIDE-BY-SIDE APP SHOWCASE LAYOUT (Equal Height Desktop + Mobile) */
.dual-app-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
}

/* GLOBAL SCROLLBAR REMOVAL ACROSS ALL MOCKUPS */
.mockup-app-layout::-webkit-scrollbar,
.app-mock-main::-webkit-scrollbar,
.mobile-app-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.mockup-app-layout,
.app-mock-main,
.mobile-app-body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* 1. Desktop Window Frame */
.hero-mockup-wrap {
    position: relative;
    width: 100%;
    height: 590px;
    border-radius: var(--radius-lg);
    padding: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 30px 70px -15px rgba(37, 99, 235, 0.18), 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
}

.mockup-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.control-dot.close { background: #ef4444; }
.control-dot.min { background: #f59e0b; }
.control-dot.max { background: #10b981; }

.mockup-window-title {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.mockup-app-layout {
    background: #f4f8ff;
    border-radius: 0 0 16px 16px;
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Desktop mockup - no sidebar, full width */
.desktop-no-sidebar {
    flex-direction: column;
    position: relative;
    padding-bottom: 42px; /* space for bottom nav */
}

/* Desktop Header (Photo 2 style) */
.dt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.dt-username {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-sans);
}

.dt-role {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.dt-btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(37,99,235,0.25);
}

.dt-btn-logout {
    background: #ffffff;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Desktop KPI bar — 5 equal columns */
.dt-kpi-bar {
    grid-template-columns: repeat(5, 1fr) !important;
}

/* Task cards with left yellow border (Photo 2 style) */
.dt-task {
    border-left: 3px solid #f59e0b !important;
    border-radius: 6px !important;
}

/* Desktop bottom nav bar */
.dt-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #cbd5e1;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 20;
}

/* Desktop floating action button */
.dt-fab-btn {
    position: absolute;
    bottom: 50px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 6px 16px rgba(37,99,235,0.4);
    z-index: 22;
    cursor: pointer;
}

/* Desktop Left Sidebar (Photo 3 style) */
.app-mock-sidebar {
    width: 150px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    flex-shrink: 0;
}


.mock-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    color: #0f172a;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.mock-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.mock-sidebar-item.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* App Main Body */
.app-mock-main {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    overflow-y: auto;
}

.app-mock-topheader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.user-profile-info b {
    font-size: 13.5px;
    color: #0f172a;
}
.user-profile-info small {
    display: block;
    font-size: 10.5px;
    color: #64748b;
}

.mock-header-actions {
    display: flex;
    gap: 8px;
}

/* KPI Cards Bar */
.mock-kpi-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.mock-kpi-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
}

.mock-kpi-card.active-kpi {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.mock-kpi-card i {
    font-size: 13px;
    margin-bottom: 2px;
    display: block;
}

.mock-kpi-card b {
    font-size: 16px;
    color: #0f172a;
    display: block;
    line-height: 1.1;
}

.mock-kpi-card span {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

/* Alert Banner */
.mock-alert-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Filter Bar & Tabs */
.mock-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-tab-btn {
    flex: 1;
    padding: 7px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}
.mock-tab-btn.active {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1d4ed8;
}

.mock-search-row {
    display: flex;
    gap: 8px;
}

.mock-search-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 11.5px;
    color: #0f172a;
}

/* Sanitized Task Card List */
.mock-task-card {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.mock-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-task-title {
    font-weight: 800;
    font-size: 12.5px;
    color: #0f172a;
}

.mock-task-project {
    font-size: 10.5px;
    color: #2563eb;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mock-task-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    font-size: 10px;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    padding-top: 5px;
}

.mock-task-col small {
    display: block;
    color: #94a3b8;
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.mock-task-col b {
    color: #1e293b;
    font-weight: 700;
}

.priority-pill-sm {
    font-size: 8.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 99px;
    background: #f1f5f9;
    color: #475569;
}
.priority-pill-sm.high { background: #fee2e2; color: #b91c1c; }

/* 2. MOBILE PHONE DISPLAY FRAME (EQUAL HEIGHT 590px, ZERO SCROLLBARS, NO BLACK BORDER) */
.mobile-frame-wrap {
    width: 100%;
    max-width: 320px;
    height: 590px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 36px;
    padding: 8px;
    border: 1px solid #dbeafe;
    box-shadow: 0 30px 70px -10px rgba(37, 99, 235, 0.25), 0 0 0 6px rgba(219, 234, 254, 0.6), 0 10px 30px rgba(15, 23, 42, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mobile-notch-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    background: #f8fafc;
    border-radius: 26px 26px 0 0;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-notch-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #0f172a;
}

.mobile-app-body {
    background: #f4f8ff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 0 0 26px 26px;
    position: relative;
    flex: 1;
    overflow: hidden; /* Static without scrollbars */
    padding-bottom: 50px; /* Space for fixed bottom nav */
}

/* Image 1 Bottom Mobile Navigation Bar */
.mobile-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #cbd5e1;
    border-radius: 0 0 24px 24px;
    padding: 6px 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 15px rgba(15, 23, 42, 0.06);
    z-index: 20;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 8px;
}

.mobile-nav-item.active {
    background: #dbeafe;
    color: #2563eb;
}

.mobile-nav-item i {
    font-size: 13px;
}

/* Image 1 Floating Action Wand Button */
.mobile-fab-btn {
    position: absolute;
    bottom: 52px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    z-index: 22;
    cursor: pointer;
}

/* Stats Counter Section */
.stats-section {
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: #2563eb;
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    margin-bottom: 18px;
    color: #0f172a;
    letter-spacing: -0.04em;
    font-weight: 500;
    line-height: 1.05;
}

.section-desc {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    box-shadow: var(--shadow-subtle);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #0f172a;
}

.feature-card p {
    color: var(--text-body);
    font-size: 13.5px;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

/* Download Section */
.download-section {
    padding: 50px 0;
    position: relative;
}

.download-box {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: 70px 50px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.platform-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.platform-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
}

.platform-icon {
    font-size: 44px;
    color: #2563eb;
}

.platform-card.android .platform-icon {
    color: #10b981;
}

.platform-info h4 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #0f172a;
}

.platform-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    padding: 50px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.price-card.popular {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(37, 99, 235, 0.18);
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #0f172a;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 20px 0 10px;
    font-family: var(--font-sans);
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    list-style: none;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14.5px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
}

.price-features i {
    color: #10b981;
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-heading);
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-body);
    font-size: 14.5px;
    display: none;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    border-top: 1px solid #e2e8f0;
    padding: 70px 0 30px;
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 20px;
    color: #0f172a;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-col a {
    color: var(--text-muted);
}
.footer-col a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    color: var(--text-muted);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Media Queries - Mobile & Tablet Only */
@media (max-width: 1100px) {
    .dual-app-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mobile-frame-wrap, .hero-mockup-wrap {
        height: auto;
        min-height: 480px;
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        color: #0f172a;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 16px 20px;
        border-bottom: 1px solid #cbd5e1;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        z-index: 1000;
        margin: 0;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 10px 14px;
        border-radius: 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        font-size: 13.5px;
        font-weight: 600;
        color: #0f172a;
        text-align: left;
    }

    .nav-links a:hover, .nav-links a:active {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #2563eb;
    }

    .features-grid, .pricing-grid, .download-cards {
        grid-template-columns: 1fr;
    }
    .mock-kpi-bar, .dt-kpi-bar {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
}

/* ================================
   AI SECTION STYLES
   ================================ */
.ai-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 50%, #f4f8ff 100%);
    position: relative;
    overflow: hidden;
}
.ai-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.ai-badge { background: linear-gradient(135deg,#ede9fe,#dbeafe); border-color:#c4b5fd; color:#6d28d9; }
.ai-gradient-text { background: linear-gradient(135deg,#6366f1 0%,#2563eb 50%,#0ea5e9 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.ai-flow-row { display:flex; align-items:flex-start; justify-content:center; gap:0; margin:0 0 80px; flex-wrap:nowrap; }
.ai-flow-step { flex:1; text-align:center; max-width:220px; padding:0 16px; }
.ai-flow-icon { width:64px; height:64px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:26px; color:#fff; margin:0 auto 16px; box-shadow:0 8px 20px rgba(37,99,235,0.2); }
.ai-flow-step h4 { font-size:14px; font-weight:700; color:#0f172a; margin-bottom:8px; }
.ai-flow-step p { font-size:12.5px; color:#64748b; line-height:1.6; }
.ai-flow-arrow { color:#cbd5e1; font-size:20px; padding-top:20px; flex-shrink:0; }
.ai-caps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:60px; }
.ai-cap-card { background:#ffffff; border:1px solid #e2e8f0; border-radius:20px; padding:28px 24px; transition:var(--transition); box-shadow:0 4px 16px rgba(15,23,42,0.04); position:relative; overflow:hidden; }
.ai-cap-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(135deg,#6366f1,#2563eb,#0ea5e9); opacity:0; transition:var(--transition); }
.ai-cap-card:hover { transform:translateY(-6px); border-color:#c7d2fe; box-shadow:0 16px 40px rgba(99,102,241,0.12); }
.ai-cap-card:hover::before { opacity:1; }
.ai-cap-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px; }
.ai-cap-card h3 { font-size:1.05rem; font-weight:700; color:#0f172a; margin-bottom:10px; }
.ai-cap-card p { font-size:13.5px; color:#475569; line-height:1.7; margin-bottom:16px; text-align:justify; text-justify:inter-word; text-align-last:left; }
.ai-example-chip { display:inline-flex; align-items:center; gap:8px; background:#f1f5f9; border:1px solid #e2e8f0; border-radius:99px; padding:6px 14px; font-size:12px; color:#475569; font-style:italic; }
.ai-demo-window { max-width:760px; margin:0 auto; background:#ffffff; border:1px solid #e2e8f0; border-radius:24px; overflow:hidden; box-shadow:0 25px 60px rgba(99,102,241,0.14),0 8px 20px rgba(15,23,42,0.06); }
.ai-demo-header { background:#f8fafc; border-bottom:1px solid #e2e8f0; padding:16px 20px; display:flex; align-items:center; justify-content:space-between; }
.ai-avatar { width:40px; height:40px; border-radius:12px; background:linear-gradient(135deg,#6366f1,#2563eb); display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px; box-shadow:0 4px 12px rgba(99,102,241,0.3); }
.ai-demo-badge { display:flex; align-items:center; gap:5px; font-size:11px; font-weight:600; color:#6d28d9; background:#ede9fe; padding:4px 10px; border-radius:99px; border:1px solid #c4b5fd; }
.ai-demo-body { padding:20px; display:flex; flex-direction:column; gap:12px; background:#f8fafc; min-height:260px; }
.ai-msg { max-width:85%; padding:12px 16px; border-radius:16px; font-size:13.5px; line-height:1.65; }
.ai-msg-user { background:linear-gradient(135deg,#2563eb,#4f46e5); color:#ffffff; align-self:flex-end; border-radius:16px 16px 4px 16px; }
.ai-msg-bot { background:#ffffff; border:1px solid #e2e8f0; color:#1e293b; align-self:flex-start; border-radius:4px 16px 16px 16px; box-shadow:0 2px 8px rgba(15,23,42,0.04); }
.ai-demo-input-row { background:#ffffff; border-top:1px solid #e2e8f0; padding:12px 16px; display:flex; align-items:center; gap:10px; }
.ai-demo-input { flex:1; background:#f1f5f9; border:1px solid #e2e8f0; border-radius:99px; padding:10px 16px; font-size:13px; color:#94a3b8; display:flex; align-items:center; }
.ai-demo-mic,.ai-demo-send { width:38px; height:38px; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; transition:var(--transition); }
.ai-demo-mic { background:#ede9fe; color:#6d28d9; }
.ai-demo-send { background:linear-gradient(135deg,#2563eb,#4f46e5); color:#fff; box-shadow:0 4px 12px rgba(37,99,235,0.3); }
/* Interactive AI Playground Styles */
.ai-chip-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 99px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.ai-chip-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
    background: #f0f9ff;
}

.ai-playground-bottom-bar {
    background: #f8fafc;
    border-top: 1px solid #cbd5e1;
    padding: 16px 14px;
}

.ai-playground-chips-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    overflow-x: auto;
    padding: 4px 0;
}

.ai-demo-mic.listening {
    background: #ef4444 !important;
    color: #ffffff !important;
    animation: pulse-mic 1.2s infinite alternate;
}

@keyframes pulse-mic {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    100% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.ai-typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.ai-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6366f1;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.ai-widget-box {
    margin-top: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
}


/* FAQ 3-Column Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.faq-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (max-width: 1024px) { .faq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr; } }

/* =========================================
   ONBOARDING WORKFLOW SECTION STYLES
   ========================================= */
.workflow-section {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.workflow-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.workflow-card:hover {
    transform: translateY(-6px);
    border-color: #93c5fd;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

.workflow-step-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 13px;
    font-weight: 800;
    color: #94a3b8;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 99px;
}

.workflow-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.workflow-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

.workflow-tag {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: #dbeafe;
    padding: 6px 12px;
    border-radius: 8px;
    align-self: flex-start;
}

/* =========================================
   REGISTRATION & POPUP MODAL ENHANCEMENTS
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-lg { max-width: 680px; }
.modal-md { max-width: 560px; }
.modal-sm { max-width: 420px; }

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    background: #dbeafe;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Stepper Progress Bar */
.form-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #94a3b8;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.step-item.active { color: #2563eb; }
.step-item.active .step-num { background: #2563eb; color: #ffffff; }

.step-item.completed { color: #10b981; }
.step-item.completed .step-num { background: #10b981; color: #ffffff; }

.step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 16px;
}

.step-line.active { background: #10b981; }

/* Multi-step Form Sections */
.form-section { display: none; }
.form-section.active { display: block; }

.section-title-sm {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-group label .required { color: #ef4444; }

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    font-weight: 400 !important;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.suggestion-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.modal-footer-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

/* Success Modal Details */
.success-details-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    text-align: left;
}

.succ-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.succ-row:last-child { border-bottom: none; }
.succ-row span { color: #64748b; }

.succ-badge {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 99px;
}

.success-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-text-close {
    background: none;
    border: none;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .workflow-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* App Preview Interactive Hotspots & Nav Guide */
.preview-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2563eb;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 8px;
    border: 1px solid #bfdbfe;
}

.guide-card h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guide-card p {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
}

@media (max-width: 992px) {
    .preview-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .preview-guide-grid { grid-template-columns: 1fr; }
}

/* Alternating 2-Column Feature Showcase Rows (Jira/Asana Style) */
.feature-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 15px;
}

.feature-showcase-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 45px;
    align-items: center;
}

.feature-showcase-row.reverse {
    grid-template-columns: 1fr 1.35fr;
}

.showcase-text-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left !important;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 99px;
    width: fit-content;
    align-self: flex-start;
}

.showcase-text-content h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    text-align: left !important;
}

.showcase-text-content p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.65;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: left;
}

.showcase-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.showcase-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
}

.showcase-feature-list li i {
    color: #10b981;
    font-size: 15px;
    margin-top: 3.5px;
    flex-shrink: 0;
}

.showcase-feature-list li div {
    flex: 1;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: left;
}

.showcase-feature-list li strong {
    color: #0f172a;
    font-weight: 700;
}

.showcase-screen-wrap {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(37, 99, 235, 0.04);
    transition: var(--transition);
}

.showcase-screen-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.12);
    border-color: #93c5fd;
}

@media (max-width: 992px) {
    .feature-showcase-row, .feature-showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-showcase-row.reverse .showcase-text-content {
        order: 1;
    }
    .feature-showcase-row.reverse .showcase-screen-wrap {
        order: 2;
    }
}

/* =========================================
   INTERACTIVE ROI CALCULATOR SECTION
   ========================================= */
.roi-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f4f8ff 0%, #ebf3ff 100%);
    position: relative;
}

.roi-badge {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}
.roi-badge i {
    color: #16a34a;
}

.roi-gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roi-calculator-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(37, 99, 235, 0.05);
    margin-top: 30px;
}

/* Currency Toggle Inline Row */
.roi-currency-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: var(--radius-md);
}

.roi-currency-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
}

.roi-currency-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid #cbd5e1;
}

.currency-btn {
    background: transparent;
    border: none;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition);
}

.currency-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

/* ROI Grid Layout */
.roi-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.roi-inputs-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
}

.roi-input-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px 22px;
    border-radius: var(--radius-md);
}

.roi-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.roi-label-row label {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.roi-val-badge {
    background: #2563eb;
    color: #ffffff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Custom Range Slider */
.roi-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #1d4ed8;
}

.roi-slider-markers {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 600;
}

/* Quick Presets Row */
.roi-presets-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.roi-preset-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-right: 4px;
}

.roi-preset-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.roi-preset-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* Assumption Box */
.roi-assumption-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

.roi-assumption-title {
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Key Value Impact Chips Grid */
.roi-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.roi-chip-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    text-align: center;
}

/* Results Card Right Column - Deep Dark Contrast Theme */
.roi-results-card {
    background: #0f172a !important;
    background: linear-gradient(145deg, #0b1329 0%, #1e293b 100%) !important;
    border: 1px solid #334155 !important;
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    color: #ffffff !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roi-res-header {
    font-size: 14px;
    font-weight: 800;
    color: #94a3b8 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #334155;
    padding-bottom: 10px;
}
.roi-res-header i {
    color: #10b981;
}

.roi-stat-box {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid #334155 !important;
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.roi-stat-box.highlight {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
}

.roi-stat-label {
    font-size: 12px;
    color: #cbd5e1 !important;
    font-weight: 700;
}

.roi-stat-val {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff !important;
    margin: 2px 0;
}
.roi-stat-val.green {
    color: #34d399 !important;
}
.roi-stat-val.purple {
    color: #c084fc !important;
}

.roi-stat-sub {
    font-size: 10.5px;
    color: #94a3b8 !important;
    display: block;
    font-weight: 500;
}

.roi-cta-btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .roi-calculator-card {
        padding: 24px;
    }
}

/* =========================================
   BOOK A DEMO MODAL HIGHLIGHT CARD
   ========================================= */
.demo-direct-contact-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.demo-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-contact-item i {
    font-size: 22px;
}

.demo-contact-item small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
}

.demo-contact-item a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-heading);
}

.demo-contact-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .demo-direct-contact-card {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ENTERPRISE DIRECT CARD BOX (INSIDE PRICING CARD)
   ========================================= */
.enterprise-direct-card-box {
    margin-top: auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.direct-box-title {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.direct-box-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.direct-box-row:last-child {
    margin-bottom: 0;
}

.direct-box-row a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.direct-box-row a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* =========================================
   DIRECT ENTERPRISE CONTACT SECTION & BANNER
   ========================================= */
.direct-contact-section {
    padding: 20px 0 70px 0;
    background: var(--bg-body);
}

.direct-contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #3b82f6;
    border-radius: var(--radius-lg);
    padding: 30px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.direct-contact-info h3 {
    font-size: 22px;
    color: var(--text-heading);
    margin-bottom: 6px;
    font-weight: 800;
}

.direct-contact-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.direct-contact-details {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.contact-detail-box:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.contact-detail-box .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-detail-box small {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-detail-box a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
}

.contact-detail-box a:hover {
    color: #2563eb;
}

@media (max-width: 992px) {
    .direct-contact-card {
        flex-direction: column;
        text-align: center;
        align-items: stretch;
    }
    .direct-contact-details {
        flex-direction: column;
    }
}

/* ==========================================================================
   MOBILE & SMALL SCREEN RESPONSIVE OVERRIDES (MOBILE VIEW ONLY)
   ========================================================================== */

@media (max-width: 768px) {
    /* Global Container Padding & Overflow */
    html, body {
        overflow-x: hidden;
    }
    .container {
        padding: 0 16px;
    }

    /* Hero Layout Fixes */
    .hero {
        padding-top: 105px;
        padding-bottom: 30px;
    }
    .hero-content {
        margin-bottom: 30px;
    }
    .badge {
        font-size: 10.5px;
        padding: 6px 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    .hero-title {
        font-size: clamp(1.7rem, 6.5vw, 2.2rem);
        line-height: 1.25;
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 4px;
    }
    .hero-cta {
        width: 100%;
    }
    .hero-btn-main {
        width: 100%;
        justify-content: center;
        font-size: 14.5px;
        padding: 13px 20px;
    }
    .hero-cta-bottom {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: stretch;
    }
    .hero-btn-sub {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        padding: 11px 16px;
    }

    /* Interactive Feature Preview Tabs */
    .app-switcher-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        gap: 8px;
        justify-content: flex-start;
        scrollbar-width: none;
        width: 100%;
    }
    .app-switcher-tabs::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    .app-tab {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 12px;
        padding: 8px 14px;
    }

    /* Mockup Frames & KPI Grids */
    .hero-mockup-wrap {
        height: auto;
        min-height: 420px;
        padding: 6px;
    }
    .dt-header, .app-mock-topheader {
        padding: 8px 10px;
        gap: 6px;
        flex-wrap: wrap;
    }
    .dt-username {
        font-size: 12.5px;
    }
    .dt-role {
        font-size: 10px;
    }
    .mock-kpi-bar, .dt-kpi-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }
    .mock-kpi-card {
        padding: 8px 4px;
    }
    .mock-kpi-card b {
        font-size: 14px;
    }
    .mock-kpi-card span {
        font-size: 9px;
    }
    .mock-task-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .mobile-frame-wrap {
        height: 480px;
        max-width: 320px;
        margin: 0 auto;
    }

    /* AI Assistant Section Mobile Layout */
    .ai-section {
        padding: 40px 0;
    }
    .ai-flow-row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
    .ai-flow-step {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
    .ai-flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
        font-size: 18px;
    }
    .ai-caps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    .ai-cap-card {
        padding: 20px 16px;
    }
    .ai-demo-window {
        border-radius: 16px;
        width: 100%;
    }
    .ai-demo-body {
        padding: 14px 10px;
        min-height: 200px;
        gap: 10px;
    }
    .ai-msg {
        max-width: 95%;
        padding: 10px 12px;
        font-size: 12.5px;
    }
    .ai-playground-chips-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 4px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        justify-content: flex-start;
    }
    .ai-chip-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 11.5px;
        padding: 6px 12px;
    }

    /* Features & Download Cards */
    .features-grid, .download-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card, .download-card {
        padding: 20px 16px;
    }

    /* Calculator & Pricing */
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
        margin: 0 auto;
    }
    .pricing-card {
        padding: 24px 18px;
    }

    /* Direct Contact Banner */
    .direct-contact-card {
        padding: 22px 16px;
        gap: 16px;
        flex-direction: column;
        text-align: center;
        border-radius: 18px;
    }
    .direct-contact-info h3 {
        font-size: 19px;
    }
    .direct-contact-info p {
        font-size: 13px;
    }
    .direct-contact-details {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .contact-detail-box {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }
    .contact-detail-box a {
        font-size: 13px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
        justify-content: center;
    }
    .footer-col h4 {
        margin-bottom: 12px;
    }
    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Modals & Dialogs */
    .modal-content, .custom-alert-content {
        width: 92vw;
        max-width: 440px;
        padding: 20px 16px;
        margin: 20px auto;
        max-height: 88vh;
        overflow-y: auto;
        border-radius: 18px;
    }
    .modal-header h3 {
        font-size: 18px;
    }
    .form-group input, .form-group select {
        font-size: 13.5px;
        padding: 10px 12px;
        min-height: 44px;
    }
    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================================================
   APP PREVIEW SECTION — MOBILE-ONLY REDESIGN (Desktop untouched ≥ 993px)
   ========================================================================== */

/* On mobile: stack all showcase rows vertically, text always on top */
@media (max-width: 992px) {
    .feature-showcase-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .feature-showcase-row.reverse {
        flex-direction: column !important;
    }

    /* --- Text block comes FIRST on mobile, screen mockup is HIDDEN --- */
    .showcase-screen-wrap {
        display: none !important;
    }

    /* Text block fills full width and gets a beautiful premium card treatment */
    .showcase-text-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 28px 20px 32px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 20px !important;
        margin: 0 0 20px 0 !important;
        box-shadow: 0 4px 24px rgba(37, 99, 235, 0.06), 0 1px 4px rgba(15,23,42,0.04) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* Gradient top accent line on each card */
    .showcase-text-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #2563eb 0%, #4f46e5 50%, #0ea5e9 100%);
        border-radius: 20px 20px 0 0;
    }

    /* Module badge */
    .showcase-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 5px 12px !important;
        border-radius: 99px !important;
        background: #eff6ff !important;
        color: #2563eb !important;
        border: 1px solid #bfdbfe !important;
        margin-bottom: 14px !important;
        letter-spacing: 0.3px !important;
        text-transform: uppercase !important;
    }

    /* Heading */
    .showcase-text-content h3 {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
        color: #0f172a !important;
        margin-bottom: 10px !important;
        font-weight: 800 !important;
    }

    /* Description paragraph */
    .showcase-text-content > p {
        font-size: 14px !important;
        color: #475569 !important;
        line-height: 1.7 !important;
        margin-bottom: 18px !important;
    }

    /* Feature bullet list */
    .showcase-feature-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .showcase-feature-list li {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        font-size: 13.5px !important;
        color: #334155 !important;
        padding: 10px 12px !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        border: 1px solid #f1f5f9 !important;
    }

    .showcase-feature-list li i {
        color: #2563eb !important;
        font-size: 13px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }

    .showcase-feature-list li strong {
        color: #0f172a !important;
        font-weight: 700 !important;
        display: block !important;
        margin-bottom: 2px !important;
        font-size: 13px !important;
    }

    .showcase-feature-list li div {
        flex: 1 !important;
        line-height: 1.55 !important;
    }

    /* Section header for app preview */
    .feature-showcase-container {
        padding: 8px 0 !important;
    }

    /* Override the hardcoded inline padding on the #preview container */
    #preview {
        padding: 12px 16px 0 16px !important;
        max-width: 100% !important;
    }
}

/* Extra padding tweak for very small screens */
@media (max-width: 576px) {
    .container {
        padding: 0 14px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .nav-actions .btn-primary {
        padding: 7px 10px;
        font-size: 11px;
    }
    .pricing-card {
        padding: 20px 14px;
    }

    .showcase-text-content {
        padding: 22px 16px 26px !important;
        border-radius: 16px !important;
    }

    .showcase-text-content h3 {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 400px) {
    .nav-wrapper {
        gap: 8px;
    }
    .logo-img {
        height: 38px !important;
        max-width: 120px !important;
    }
    .hero-title {
        font-size: 1.45rem;
    }
    .hero-btn-main {
        font-size: 13.5px;
        padding: 12px 14px;
    }

    .showcase-text-content {
        padding: 18px 14px 22px !important;
        border-radius: 14px !important;
    }
    .showcase-text-content h3 {
        font-size: 1.1rem !important;
    }
    .showcase-feature-list li {
        font-size: 12.5px !important;
        padding: 8px 10px !important;
    }
}

/* =========================================
   LEGAL MODALS (PRIVACY POLICY & TERMS OF SERVICE)
   ========================================= */
.legal-modal-content {
    max-width: 780px !important;
    width: 92%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
    background: #ffffff !important;
    position: relative;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.legal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.legal-modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.legal-badge {
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-modal-body {
    padding: 24px 28px;
    overflow-y: auto;
    max-height: calc(88vh - 150px);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-section h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 8px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.legal-section li {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 6px;
}

.legal-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    font-size: 13.5px;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.legal-contact-card a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.legal-contact-card a:hover {
    text-decoration: underline;
}

.legal-modal-footer {
    padding: 16px 28px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 576px) {
    .legal-modal-header {
        padding: 18px 20px 16px 20px;
        gap: 12px;
    }
    .legal-modal-body {
        padding: 18px 20px;
    }
    .legal-modal-footer {
        padding: 14px 20px;
    }
    .legal-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
        border-radius: 10px;
    }
    .legal-modal-header h3 {
        font-size: 18px;
    }
    .legal-badge {
        font-size: 11.5px;
    }
}



