/* ============================================
   Chetan Chauhan - Dubai Property Expert
   Mobile-First Design System
   Theme: Light + Dark Blue
   ============================================ */

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-elevated: #f1f5f9;

    --accent-primary: #003366;
    --accent-secondary: #0ea5e9;
    --accent-light: #e0f2fe;
    --accent-green: #10b981;
    --accent-red: #ef4444;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    --gradient-blue: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-finder: linear-gradient(135deg, #003366 0%, #0056b3 50%, #0ea5e9 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 16px;
    --accent-gold: #f59e0b;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 83, 179, 0.15);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   2. Reset & Base
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* ============================================
   3. Typography (Mobile-First)
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 1.875rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* ============================================
   4. Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   5. Navigation (Mobile-First)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-sm) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 48px;
    width: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    z-index: 1002;
    /* Above nav-menu (1001) to allow close */
    position: relative;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu - Full Screen Overlay */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    background: var(--bg-primary);
    padding: 100px var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    list-style: none;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1001;
    /* Above navbar (1000) */
    overflow-y: auto;
}

.nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

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

.nav-link {
    display: block;
    padding: var(--space-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: var(--accent-light);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: var(--space-md);
    text-align: center;
}

/* ============================================
   6. Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 44px;
    padding: var(--space-md) var(--space-lg);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--accent-light);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-sm {
    min-height: 36px;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn-lg {
    min-height: 52px;
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   7. Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-secondary);
}

.card-body {
    padding: var(--space-lg);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-elevated);
}

/* ============================================
   8. Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px var(--space-md) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.95)),
        url('../assets/images/hero_dubai_skyline.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    margin-bottom: var(--space-md);
    font-weight: 800;
}

.hero h1 .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* ============================================
   9. Sections
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1rem;
}

/* ============================================
   10. Property Cards
   ============================================ */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.property-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 51, 102, 0.12);
    border-color: var(--accent-secondary);
}

.property-card .card-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .card-img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-badge.off-plan {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.property-roi {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.property-location i {
    color: var(--accent-secondary);
    font-size: 0.8rem;
}

.property-specs {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.property-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.property-spec i {
    color: var(--accent-primary);
    font-size: 0.75rem;
}

.property-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-aed {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.price-local {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   11. Forms
   ============================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-select {
    width: 100%;
    min-height: 44px;
    padding: var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Filter Dropdowns */
.filter-select {
    min-height: 44px;
    padding: var(--space-sm) var(--space-md);
    padding-right: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23475569' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    cursor: pointer;
}

/* ============================================
   12. Footer
   ============================================ */
.footer {
    background: var(--accent-primary);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand img {
    height: 60px;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer-contact {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

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

.footer-contact i {
    width: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   13. Utilities
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--accent-green);
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: var(--space-sm);
}

.gap-2 {
    gap: var(--space-md);
}

.gap-3 {
    gap: var(--space-lg);
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

/* ============================================
   14. Tablet Breakpoint (768px+)
   ============================================ */
@media (min-width: 768px) {

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Container */
    .container {
        padding: 0 var(--space-lg);
    }

    /* Navigation */
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
        padding: 0;
        background: transparent;
        transform: none;
        opacity: 1;
        visibility: visible;
        height: auto;
        overflow: visible;
        /* Reset mobile 100vh + overflow-y: auto */
    }

    .nav-menu li {
        width: auto;
    }

    .nav-link {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
    }

    .nav-cta {
        margin: 0;
        padding: var(--space-sm) var(--space-lg);
    }

    .navbar-brand img {
        height: 56px;
    }

    /* Hero */
    .hero {
        padding: 120px var(--space-lg) var(--space-3xl);
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    /* Stats */
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-number {
        font-size: 2.25rem;
    }

    /* Sections */
    .section {
        padding: var(--space-3xl) 0;
    }

    /* Properties Grid */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-img {
        height: 200px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        text-align: left;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}

/* ============================================
   15. Desktop Breakpoint (1024px+)
   ============================================ */
@media (min-width: 1024px) {

    /* Typography */
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    /* Navbar */
    .navbar-brand img {
        height: 70px;
    }

    .nav-link {
        padding: var(--space-sm) var(--space-lg);
    }

    /* Hero */
    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    /* Properties Grid */
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-img {
        height: 220px;
    }
}

/* ============================================
   16. Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ============================================
   17. Comparison Page Styles
   ============================================ */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comparison-card {
    padding: var(--space-xl);
}

.comparison-card.highlight {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.comparison-flag {
    width: 56px;
    height: 38px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.comparison-country h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.comparison-country span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comparison-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
}

.metric-value.positive {
    color: var(--accent-green);
}

.metric-value.negative {
    color: var(--accent-red);
}

/* ============================================
   18. Calculator Page Styles
   ============================================ */
.calculator-tabs {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calc-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.calc-tab:hover,
.calc-tab.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.calculator-panel {
    display: none;
}

.calculator-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@media (max-width: 900px) {
    .roi-layout {
        grid-template-columns: 1fr !important;
    }
    .kpi-stack {
        position: static !important;
    }
}

.calc-results {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .result-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

.result-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: var(--space-sm);
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   19. Result Color Classes
   ============================================ */
.text-danger {
    color: var(--accent-red) !important;
}

.text-warning {
    color: #f59e0b !important;
}

/* ============================================
   20. Glassmorphism Cards
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.glass-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ============================================
   21. Smart Property Finder (Homepage)
   ============================================ */
.smart-finder {
    background: linear-gradient(135deg, #0a1a2e 0%, #0d2847 50%, #103461 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.smart-finder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.smart-finder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.smart-finder .container {
    position: relative;
    z-index: 1;
}

.finder-header {
    text-align: center;
    margin-bottom: 40px;
}

.finder-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.finder-badge i {
    font-size: 0.85rem;
}

.finder-header h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.gold-text {
    color: #fbbf24;
}

.finder-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.finder-form {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.finder-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.finder-row:last-of-type {
    margin-bottom: 20px;
}

.finder-field {
    flex: 1;
    min-width: 140px;
}

.finder-field-wide {
    flex: 1.5;
    min-width: 180px;
}

.finder-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.finder-field label i {
    color: rgba(14, 165, 233, 0.8);
    font-size: 0.7rem;
}

.finder-field select,
.finder-field input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.finder-field select:hover,
.finder-field input:hover {
    background: #ffffff;
}

.finder-field select:focus,
.finder-field input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.finder-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 32px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.finder-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.finder-cta:active {
    transform: translateY(0);
}

.finder-calc-row {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.finder-calc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.finder-calc-link:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #f59e0b;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.finder-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.finder-stat {
    text-align: center;
}

.finder-stat .stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.finder-stat .stat-text {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.finder-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
    .smart-finder {
        padding: 100px 0 60px;
    }
    
    .finder-header h1 {
        font-size: 1.75rem;
    }
    
    .finder-header p {
        font-size: 1rem;
    }
    
    .finder-form {
        padding: 24px 20px;
    }
    
    .finder-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .finder-field,
    .finder-field-wide {
        min-width: 100%;
    }
    
    .finder-stats {
        gap: 16px;
    }
    
    .finder-stat .stat-num {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .finder-header h1 {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .smart-finder {
        padding: 140px 0 100px;
    }
    
    .finder-header h1 {
        font-size: 3.25rem;
    }
    
    .finder-form {
        padding: 40px;
    }
    
    .finder-stats {
        gap: 48px;
    }
    
    .finder-stat .stat-num {
        font-size: 1.75rem;
    }
}

/* ============================================
   22. Project Comparison Styles
   ============================================ */
.project-compare-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.compare-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .compare-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .compare-selector {
        grid-template-columns: repeat(4, 1fr);
    }
}

.compare-slot {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.compare-slot:hover {
    border-color: var(--accent-secondary);
    background: var(--accent-light);
}

.compare-slot.filled {
    border-style: solid;
    border-color: var(--accent-primary);
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--space-lg);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.compare-table th {
    background: var(--bg-elevated);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    left: 0;
    z-index: 1;
}

.compare-table th:first-child {
    min-width: 160px;
    background: var(--bg-secondary);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-table td.best-value {
    color: var(--accent-green);
    font-weight: 700;
}

/* ============================================
   23. Dropdown Navigation
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown>.nav-link::after {
    content: '';
    border: solid var(--text-muted);
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform var(--transition-fast);
}

.dropdown-menu {
    display: none;
    list-style: none;
    padding: var(--space-sm) 0;
}

/* Mobile: show as indented sub-menu */
.nav-dropdown.open>.dropdown-menu {
    display: block;
}

.dropdown-menu .nav-link {
    padding-left: var(--space-xl);
    font-size: 1rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        min-width: 200px;
        padding: var(--space-sm);
        z-index: 1100;
    }

    .nav-dropdown:hover>.dropdown-menu,
    .nav-dropdown.open>.dropdown-menu {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    .dropdown-menu .nav-link {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
        border-radius: var(--radius-sm);
    }
}

/* ============================================
   24. Enhanced Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(14, 165, 233, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.5s ease forwards;
}

.animate-pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Staggered animation delays */
.stagger-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.stagger-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.stagger-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.stagger-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

.stagger-5 {
    animation-delay: 0.5s;
    opacity: 0;
}

/* ============================================
   25. Floating Compare Bar
   ============================================ */
.floating-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-primary);
    color: white;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    z-index: 999;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.floating-compare-bar.visible {
    transform: translateY(0);
}

.floating-compare-bar .compare-count {
    font-weight: 600;
    font-size: 0.95rem;
}

.floating-compare-bar .btn {
    background: white;
    color: var(--accent-primary);
    font-weight: 700;
    min-height: 40px;
}

/* ============================================
   26. Decision Buttons (Property Page)
   ============================================ */
.decision-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.decision-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.decision-btn:hover {
    border-color: var(--accent-primary);
    background: var(--accent-light);
    color: var(--accent-primary);
    transform: translateX(4px);
}

.decision-btn i {
    width: 20px;
    color: var(--accent-secondary);
}

/* ============================================
   27. Quick Summary Box (Property Page)
   ============================================ */
.quick-summary {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: sticky;
    top: 100px;
}

.quick-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.summary-row .label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.summary-row .value {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ============================================
   28. Area Intelligence Cards
   ============================================ */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.area-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    cursor: pointer;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-secondary);
}

.area-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.area-card-header h3 {
    font-size: 1.1rem;
}

.area-card-header .badge {
    padding: 4px 10px;
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.area-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.area-stat .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.area-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   29. Smart Lead CTAs
   ============================================ */
.lead-cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .lead-cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lead-cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.lead-cta-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.lead-cta-card .icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 1.25rem;
    color: var(--accent-primary);
}

.lead-cta-card h4 {
    margin-bottom: var(--space-sm);
}

.lead-cta-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

/* ============================================
   29b. Platform Features Section
   ============================================ */
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-light);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.platform-features {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.1);
    transform: translateY(-6px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-content h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.feature-link:hover {
    gap: 10px;
    color: var(--accent-secondary);
}

.feature-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.feature-link:hover i {
    transform: translateX(2px);
}

/* ============================================
   29c. Agent Section (Homepage)
   ============================================ */
.agent-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.agent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 900px) {
    .agent-grid {
        grid-template-columns: 400px 1fr;
        gap: 60px;
    }
}

.agent-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.15);
}

.agent-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.agent-image-wrapper:hover .agent-image {
    transform: scale(1.03);
}

.agent-badge-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
}

.badge-rera {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-rera i {
    font-size: 0.9rem;
}

.agent-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .agent-content h2 {
        font-size: 2.5rem;
    }
}

.agent-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.agent-content p strong {
    color: var(--text-primary);
}

.agent-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.agent-stat {
    text-align: center;
}

.agent-stat .stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.agent-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 480px) {
    .agent-stats {
        gap: 20px;
    }
    
    .agent-stat .stat-value {
        font-size: 1.4rem;
    }
    
    .agent-stat .stat-label {
        font-size: 0.7rem;
    }
}

/* ============================================
   29d. Why UAE Benefits Section
   ============================================ */
.why-uae-section {
    background: var(--bg-secondary);
}

.uae-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .uae-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .uae-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.benefit-card h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   29e. ROI Calculator Section (Homepage)
   ============================================ */
.roi-calc-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d2340 50%, #1a365d 100%);
    padding: 80px 0;
    position: relative;
}

.roi-calc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.roi-calc-section .container {
    position: relative;
    z-index: 1;
}

.roi-calc-section .section-header h2 {
    color: white;
}

.roi-calc-section .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.roi-calculator-widget {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.roi-calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 768px) {
    .roi-calc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.roi-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.roi-input-group label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.roi-input-group .form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    height: 52px;
}

.roi-input-group .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.roi-input-group .form-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

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

.roi-result-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.roi-result-card.main {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.15));
    border-color: rgba(16, 185, 129, 0.25);
}

.roi-result-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.roi-result-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.roi-result-card.main .roi-result-value {
    font-size: 3rem;
}

.roi-result-sublabel {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin-top: 10px;
}

.roi-result-sublabel span {
    color: white;
    font-weight: 600;
}

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

.roi-result-card.small .roi-result-value {
    font-size: 1.35rem;
    color: white;
}

@media (max-width: 640px) {
    .roi-calculator-widget {
        padding: 24px 20px;
    }
    
    .roi-result-card.main .roi-result-value {
        font-size: 2.5rem;
    }
}

/* ============================================
   29f. Featured Section
   ============================================ */
.featured-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   29g. CTA Section (Homepage)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: white;
    color: #003366;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #003366;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   30. Add to Compare Checkbox on Cards
   ============================================ */
.compare-checkbox {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 5;
}

.compare-checkbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.compare-checkbox label:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.compare-checkbox input:checked+span {
    color: var(--accent-primary);
    font-weight: 600;
}

.compare-checkbox input {
    accent-color: var(--accent-primary);
}