/* =======================================================================
   POSOne PMS - Modern Design System & Stylesheet
   Theme: Google Blue & White Workspace (Default) + High-Contrast Dark Mode
   ======================================================================= */

:root {
    /* Google Blue & White Color Tokens (Default) */
    --bg-dark: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --border-glass: #E2E8F0;
    --border-glass-glow: rgba(26, 115, 232, 0.25);

    --primary: #1A73E8;
    --primary-light: #4285F4;
    --primary-glow: rgba(26, 115, 232, 0.3);
    --accent: #1A73E8;
    --accent-glow: rgba(26, 115, 232, 0.2);

    --emerald: #0D9488;
    --amber: #D97706;
    --purple: #7C3AED;
    --rose: #E11D48;
    --gold: #D97706;

    /* High-Contrast Foreground Text (Never washed out) */
    --text-primary: #0F172A; /* Slate-900 */
    --text-secondary: #334155; /* Slate-700 */
    --text-muted: #64748B; /* Slate-500 */

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Optional Dark Mode Overrides */
body.dark-mode {
    --bg-dark: #070913;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-hover: rgba(24, 33, 53, 0.95);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-glow: rgba(99, 102, 241, 0.35);

    --primary: #4F46E5;
    --primary-light: #818CF8;
    --primary-glow: rgba(79, 70, 229, 0.45);
    --accent: #06B6D4;
    --accent-glow: rgba(6, 182, 212, 0.4);

    --emerald: #10B981;
    --amber: #F59E0B;
    --purple: #A855F7;
    --rose: #F43F5E;
    --gold: #FBBF24;

    --text-primary: #F9FAFB;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Glow Effects */
.hero-glow-1 {
    position: absolute;
    top: -150px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.12) 0%, rgba(26, 115, 232, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

body.dark-mode .hero-glow-1 {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.22) 0%, rgba(79, 70, 229, 0) 70%);
}

.hero-glow-2 {
    position: absolute;
    top: 100px;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, rgba(66, 133, 244, 0) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

body.dark-mode .hero-glow-2 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-emerald { color: var(--emerald) !important; }
.text-cyan { color: #1A73E8 !important; }
body.dark-mode .text-cyan { color: var(--accent) !important; }
.text-purple { color: var(--purple) !important; }
.text-gold { color: var(--gold) !important; }
.text-success { color: var(--emerald) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--primary) !important; }

.gradient-text {
    background: linear-gradient(135deg, #1A73E8 0%, #0F172A 70%, #1557B0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .gradient-text {
    background: linear-gradient(135deg, #A5B4FC 0%, #67E8F9 50%, #C084FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px var(--primary-glow);
    background: #1557B0;
}

body.dark-mode .btn-primary {
    background: linear-gradient(135deg, var(--primary), #4338CA);
    box-shadow: 0 4px 20px var(--primary-glow);
}

body.dark-mode .btn-primary:hover {
    background: linear-gradient(135deg, #5B52F2, #4F46E5);
}

.btn-outline {
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

body.dark-mode .btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    box-shadow: none;
}

body.dark-mode .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-glass {
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.btn-glass:hover {
    background: rgba(26, 115, 232, 0.15);
    border-color: var(--primary);
}

body.dark-mode .btn-glass {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

body.dark-mode .btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
}

.btn-lg {
    padding: 13px 28px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Glassmorphism & Card Panel */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(26, 115, 232, 0.35);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.12);
}

body.dark-mode .glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

body.dark-mode .navbar {
    background: rgba(7, 9, 19, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 18px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-text span {
    color: var(--accent);
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #FFF;
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
}

.hero-title {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.trust-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.trust-pill {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Dashboard Mockup in Hero */
.hero-mockup-wrapper {
    background: #0D121F;
    border: 1px solid var(--border-glass-glow);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(79, 70, 229, 0.2);
    overflow: hidden;
    margin-top: 20px;
}

.mockup-header {
    background: #111827;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.light.red { background: #EF4444; }
.light.yellow { background: #F59E0B; }
.light.green { background: #10B981; }

.mockup-search-bar {
    background: #1F2937;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 48%;
    justify-content: center;
}

.mockup-user-chip {
    font-size: 12px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-body {
    padding: 24px;
}

.mockup-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.icon-blue { background: rgba(79, 70, 229, 0.2); color: #818CF8; }
.icon-green { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.icon-purple { background: rgba(168, 85, 247, 0.2); color: #C084FC; }
.icon-amber { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.icon-cyan { background: rgba(6, 182, 212, 0.2); color: #22D3EE; }
.icon-rose { background: rgba(244, 63, 94, 0.2); color: #FB7185; }

.kpi-label {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 2px;
}

.kpi-val {
    font-size: 22px;
    font-weight: 800;
}

.kpi-trend {
    font-size: 11px;
    font-weight: 600;
}

/* Tape Chart Mini Preview */
.mockup-tapechart-preview {
    padding: 20px;
    text-align: left;
}

.tapechart-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.tc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.tc-legend {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}
.badge-occupied { background: rgba(79, 70, 229, 0.3); color: #A5B4FC; border: 1px solid rgba(79, 70, 229, 0.5); }
.badge-reserved { background: rgba(245, 158, 11, 0.25); color: #FCD34D; border: 1px solid rgba(245, 158, 11, 0.5); }
.badge-clean { background: rgba(16, 185, 129, 0.25); color: #6EE7B7; border: 1px solid rgba(16, 185, 129, 0.5); }
.badge-dirty { background: rgba(239, 68, 68, 0.25); color: #FCA5A5; border: 1px solid rgba(239, 68, 68, 0.5); }

.tc-grid-sample {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-x: auto;
}

.tc-row-header, .tc-row {
    display: grid;
    grid-template-columns: 160px repeat(6, 1fr);
    gap: 6px;
    align-items: center;
}

.tc-cell-room {
    font-size: 13px;
    font-weight: 600;
    color: #E5E7EB;
    white-space: nowrap;
}

.tc-cell-day {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.tc-cell-booking {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bg-occupied { background: #4338CA; color: #EEF2FF; border-left: 3px solid #818CF8; }
.bg-reserved { background: #B45309; color: #FEF3C7; border-left: 3px solid #FBBF24; }
.bg-clean { background: #065F46; color: #D1FAE5; border-left: 3px solid #34D399; text-align: center; }
.bg-dirty { background: #991B1B; color: #FEE2E2; border-left: 3px solid #F87171; text-align: center; }
.bg-mall { background: #581C87; color: #F3E8FF; border-left: 3px solid #C084FC; }

/* Section Headers */
.section-header {
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Property Segment Tabs */
.segment-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.segment-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.segment-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.segment-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #FFF;
    border-color: transparent;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.segment-content {
    padding: 40px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 70, 229, 0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-checklist {
    list-style: none;
    font-size: 13px;
    color: #D1D5DB;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.feature-checklist li i {
    color: var(--emerald);
    font-size: 12px;
}

/* Interactive Sandbox */
.interactive-sandbox {
    padding: 32px;
}

.sandbox-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sb-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sb-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.sb-tab.active {
    color: #FFF;
    background: var(--primary);
}

.sandbox-view {
    min-height: 380px;
}

/* ROI Calculator Box */
.roi-calculator-box {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.calc-group {
    margin-bottom: 24px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.calc-val-display {
    font-weight: 700;
    color: var(--accent);
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: #1F2937;
    border-radius: var(--radius-full);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
}

.roi-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.roi-metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
}

.roi-metric-card.highlight {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.35);
}

.metric-title {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.metric-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.metric-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.25);
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.6) 0%, rgba(17, 24, 39, 0.8) 100%);
    transform: scale(1.04);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #FFF;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.plan-price.custom-quote-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 16px;
    min-height: 64px;
    justify-content: center;
}

.custom-quote-box .quote-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-transform: uppercase;
}

.custom-quote-box .quote-title {
    font-size: 26px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
}

.custom-quote-box .quote-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 700;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-heading);
}

.plan-price .period {
    font-size: 14px;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 13px;
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-features {
    list-style: none;
    font-size: 13px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 14px;
    color: var(--text-secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 250px;
}

/* Footer */
.footer {
    background: #070B14;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 70px 0 30px;
    margin-top: 80px;
    color: #F1F5F9;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.7fr 1.1fr 1.1fr 1.2fr 1.3fr;
    gap: 36px;
    margin-bottom: 50px;
}

.footer-brand .brand-logo .brand-text {
    color: #FFFFFF !important;
}

.footer-brand p {
    font-size: 13.5px;
    color: #CBD5E1 !important;
    margin: 16px 0 20px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8FAFC !important;
    font-size: 14px;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: #FFFFFF !important;
    background: #1A73E8;
    border-color: #1A73E8;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #FFFFFF !important;
    letter-spacing: -0.01em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 13.5px;
    color: #CBD5E1 !important;
    line-height: 1.5;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: #CBD5E1 !important;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #60A5FA !important;
    transform: translateX(3px);
}

.footer-col ul li strong {
    color: #FFFFFF !important;
}

.footer-col ul li span {
    color: #94A3B8 !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #94A3B8 !important;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #CBD5E1 !important;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #CBD5E1 !important;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: #FFFFFF !important;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

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

.modal-card {
    max-width: 580px;
    width: 100%;
    padding: 34px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    color: var(--text-primary);
}

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

.modal-close-btn:hover {
    color: var(--primary);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 22px;
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 13.5px;
}

.badge-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 6px;
}

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

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    color: #0F172A;
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

body.dark-mode .form-field input, body.dark-mode .form-field select, body.dark-mode .form-field textarea {
    background: #1F2937;
    border: 1px solid #374151;
    color: #F9FAFB;
}

.chip-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.login-chip {
    padding: 6px 14px;
    background: rgba(26, 115, 232, 0.08);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-chip:hover {
    background: var(--primary);
    color: #FFF;
}

body.dark-mode .login-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

body.dark-mode .login-chip:hover {
    background: var(--primary);
    color: #FFF;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.modal-tab-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.modal-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.trial-policy-alert {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid #1A73E8;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #1E3A8A;
}

body.dark-mode .trial-policy-alert {
    background: rgba(30, 58, 138, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
    border-left: 4px solid #3B82F6;
    color: #DBEAFE;
}

.theme-toggle-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1A73E8;
    font-size: 16px;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--bg-card-hover);
}

body.dark-mode .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #FBBF24;
}

/* Language Selector Dropdown */
.lang-selector-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 0 10px;
    height: 38px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-selector-box i {
    color: var(--primary);
    font-size: 14px;
}

.lang-selector-box select {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding: 4px 0;
}

.lang-selector-box select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* =======================================================================
   Right-To-Left (RTL) Support for Arabic (ar)
   ======================================================================= */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
}

[dir="rtl"] .hero-title,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
    letter-spacing: normal;
}

[dir="rtl"] .brand-logo {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .brand-icon {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .nav-actions {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .hero-badge i,
[dir="rtl"] .btn i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .download-card-body {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .download-badge i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .footer-col ul li a {
    justify-content: flex-start;
}

[dir="rtl"] .footer-col ul li a i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .trust-pill i {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .footer-content {
    direction: rtl;
    text-align: right;
}

/* =======================================================================
   Download Section & Modal Styling
   ======================================================================= */
.download-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg, rgba(26, 115, 232, 0.03) 0%, rgba(13, 148, 136, 0.05) 100%);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.download-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px -8px rgba(15, 23, 42, 0.1);
    padding: 44px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.download-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A73E8, #0D9488, #4285F4);
}

.download-card-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.download-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
}

.download-badge-blue {
    background: rgba(26, 115, 232, 0.1);
    color: #1A73E8;
    border: 1px solid rgba(26, 115, 232, 0.25);
}

.download-badge-green {
    background: rgba(13, 148, 136, 0.1);
    color: #0D9488;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

.download-badge-amber {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.download-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.download-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 680px;
}

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

.download-spec-item {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

body.dark-mode .download-spec-item {
    background: rgba(255, 255, 255, 0.03);
}

.download-spec-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.download-spec-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-width: 280px;
    padding: 24px;
    background: rgba(26, 115, 232, 0.04);
    border: 1px dashed rgba(26, 115, 232, 0.3);
    border-radius: var(--radius-md);
}

.download-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.download-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.download-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(26, 115, 232, 0.4);
}

.download-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A73E8, #0D9488);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.download-step-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.download-step-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Download Modal */
.download-modal-instructions {
    background: rgba(26, 115, 232, 0.05);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 18px 0;
    font-size: 13.5px;
    line-height: 1.6;
}

.download-credentials-box {
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

body.dark-mode .download-credentials-box {
    background: rgba(255, 255, 255, 0.03);
}

.cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-glass);
    font-size: 13px;
}

.cred-row:last-child {
    border-bottom: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .features-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .mockup-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .roi-calculator-box {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .download-card-body {
        grid-template-columns: 1fr;
    }
    .download-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .download-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
    .nav-menu, .nav-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .mockup-kpi-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .download-specs-grid {
        grid-template-columns: 1fr;
    }
    .download-steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Multi-Language Selector Dropdown */
.lang-selector-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

[data-theme="light"] .lang-selector-box {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.lang-selector-box:hover {
    border-color: #1A73E8;
    background: rgba(26, 115, 232, 0.08);
}

.lang-selector-box i {
    color: #1A73E8;
    font-size: 14px;
}

.lang-selector-box select {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

.lang-selector-box select option {
    background: #0F172A;
    color: #F8FAFC;
    padding: 6px;
}

[data-theme="light"] .lang-selector-box select option {
    background: #FFFFFF;
    color: #0F172A;
}

/* RTL Layout Direction Support */
[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .brand-logo {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(-3px);
}

[dir="rtl"] .modal-close-btn {
    right: auto;
    left: 20px;
}

