/* ========================================
   AQARI CINEMATIC PLATFORM
   2025 Premium Real Estate Design
   ======================================== */

/* ==================== FRONTECH HEADER ==================== */
.frontech-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.03);
    font-family: 'Tajawal', sans-serif;
    transition: background 0.3s, border 0.3s, box-shadow 0.3s;
}
.frontech-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
.frontech-header .header-logo {
    display: flex;
    align-items: center;
}
.frontech-header .header-logo img {
    height: 50px;
    width: auto;
}
.frontech-header nav {
    display: flex;
    align-items: center;
    gap: 0;
}
.frontech-header nav > a,
.frontech-header nav > .nav-dropdown > a {
    color: #24325D;
    fill: #24325D;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 26px 20px;
    transition: color 0.4s;
    position: relative;
    display: flex;
    align-items: center;
}
.frontech-header nav > a:hover,
.frontech-header nav > .nav-dropdown:hover > a {
    color: #24325D;
}
.frontech-header nav > a::after,
.frontech-header nav > .nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #24325D;
    z-index: 2;
    opacity: 0;
    transform: scale(1);
    transition: 0.3s;
    transition-timing-function: cubic-bezier(.58,.3,.005,1);
}
.frontech-header nav > a:not(:hover):not(:focus):not(.active)::after,
.frontech-header nav > .nav-dropdown > a:not(:hover):not(:focus):not(.active)::after {
    height: 0;
    width: 0;
    left: 50%;
}
.frontech-header nav > a:hover::after,
.frontech-header nav > a:focus::after,
.frontech-header nav > a.active::after,
.frontech-header nav > .nav-dropdown:hover > a::after {
    opacity: 1;
    height: 3px;
    width: 100%;
    left: 0;
}
.frontech-header nav > a.active::after {
    background-color: #2DA8E0;
}
.frontech-header nav > a.active {
    color: #2DA8E0;
}
.frontech-header .nav-dropdown {
    position: relative;
}
.frontech-header .nav-dropdown > a .caret {
    margin-left: 8px;
    font-size: 10px;
}
.frontech-header .nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #DEE8F2;
    min-width: 220px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0;
    z-index: 100;
    list-style: none;
}
.frontech-header .nav-dropdown:hover .dropdown-menu {
    display: block;
}
.frontech-header .dropdown-menu a {
    display: flex;
    align-items: center;
    color: #24325D;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    transition: all 0.3s;
    border-left: 8px solid transparent;
}
.frontech-header .dropdown-menu a:hover,
.frontech-header .dropdown-menu a:focus {
    color: #DEE8F2;
    background-color: #2DA8E0;
}
.frontech-header .mobile-toggle {
    display: none;
    background: rgba(0,0,0,0.05);
    border: 0 solid;
    border-radius: 3px;
    color: #000;
    font-size: 25px;
    cursor: pointer;
    padding: 0.25em;
    line-height: 1;
    transition: color 0.3s;
}
.frontech-header .mobile-toggle:hover {
    color: #2DA8E0;
}
.frontech-header .mobile-toggle svg {
    width: 1em;
    height: auto;
    fill: currentColor;
}

/* Push body content down for fixed header */
body {
    padding-top: 80px;
}

@media (max-width: 1024px) {
    .frontech-header .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .frontech-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin: 10px 0 0 0;
        z-index: 9998;
        max-height: 100vh;
        overflow-y: auto;
    }
    .frontech-header nav.open { display: flex; }
    .frontech-header nav > a,
    .frontech-header nav > .nav-dropdown > a {
        padding: 4px 20px;
        font-size: 15px;
    }
    .frontech-header .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
    }
    .frontech-header .header-inner {
        padding: 20px 0;
    }
    .frontech-header .header-logo img {
        max-width: 1%;
        height: 1px;
    }
}

@media (max-width: 767px) {
    .frontech-header .header-inner {
        padding: 0;
    }
    .frontech-header nav > a,
    .frontech-header nav > .nav-dropdown > a {
        padding-left: 0;
        padding-right: 0;
    }
    .frontech-header .header-logo img {
        width: 33%;
        max-width: none;
        height: auto;
    }
}

/* RTL Header Support */
html[dir="rtl"] .frontech-header .header-inner {
    flex-direction: row-reverse;
}
html[dir="rtl"] .frontech-header nav {
    flex-direction: row-reverse;
}
html[dir="rtl"] .frontech-header nav > a,
html[dir="rtl"] .frontech-header nav > .nav-dropdown > a {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .frontech-header .nav-dropdown > a .caret {
    margin-left: 0;
    margin-right: 8px;
}
html[dir="rtl"] .frontech-header .dropdown-menu {
    left: auto;
    right: 0;
    text-align: right;
}
html[dir="rtl"] .frontech-header .dropdown-menu a {
    border-left: none;
    border-right: 8px solid transparent;
    direction: rtl;
    text-align: right;
}
@media (max-width: 1024px) {
    html[dir="rtl"] .frontech-header nav {
        flex-direction: column;
        align-items: flex-end;
    }
    html[dir="rtl"] .frontech-header nav > a,
    html[dir="rtl"] .frontech-header nav > .nav-dropdown > a {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ==================== FRONTECH FOOTER ==================== */
.frontech-footer {
    background-color: #2DA8E0;
    font-family: 'Tajawal', sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-style: solid;
    border-width: 0 0 0 10px;
    border-color: #24325D;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}
.frontech-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://frontech.om/wp-content/uploads/2022/03/Footer-BG.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}
.frontech-footer .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 79px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.frontech-footer .footer-social {
    display: flex;
    align-items: center;
    gap: 25px;
}
.frontech-footer .footer-social a {
    color: #9EB9C7;
    font-size: 20px;
    transition: color 0.3s, fill 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.frontech-footer .footer-social a:hover {
    color: #24325D;
}
.frontech-footer .footer-copyright {
    text-align: center;
}
.frontech-footer .footer-copyright a {
    color: #E7E6E6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 200;
    font-family: 'Tajawal', sans-serif;
}
.frontech-footer .footer-copyright a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .frontech-footer .footer-inner {
        min-height: 300px;
        padding: 0 5%;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }
    .frontech-footer .footer-copyright a {
        line-height: 1.4em;
    }
}
@media (max-width: 767px) {
    .frontech-footer .footer-inner {
        padding: 15% 5%;
    }
}

/* RTL Footer Support */
html[dir="rtl"] .frontech-footer {
    border-width: 0 10px 0 0;
}
html[dir="rtl"] .frontech-footer .footer-inner {
    flex-direction: row-reverse;
}

/* ==================== MODERN SANS-SERIF FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    /* === 2025 PREMIUM PALETTE === */
    /* Soft sand tones (Omani desert luxury) */
    --sand-light: #f5f0e8;
    --sand-medium: #e8ddd0;
    --sand-dark: #d4c4b0;

    /* Muted teal/emerald accents */
    --teal: #5a9d99;
    --emerald: #6ba89f;
    --gold: #c9a96f;

    /* Landing page specific colors */
    --primary: #5a9d99;
    --primary-dark: #4a8d89;
    --primary-light: #6ba89f;
    --accent: #c9a96f;
    --accent-light: #d9b97f;

    /* Warm neutrals */
    --neutral-50: #fafaf9;
    --neutral-100: #fafaf9;
    --neutral-200: #f5f5f4;
    --neutral-300: #e7e5e4;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing (breathing room) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL RESET ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Touch optimization */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--sand-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Mobile text sizing */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ==================== RTL/LTR SUPPORT ==================== */
/* RTL (Right-to-Left) for Arabic */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* LTR (Left-to-Right) for English */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* RTL Font Optimization - Use Arabic-optimized fonts */
html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', 'Almarai', var(--font-body);
}

/* Flip alignment for RTL */
html[dir="rtl"] .text-left {
    text-align: right !important;
}

html[dir="rtl"] .text-right {
    text-align: left !important;
}

/* Flip padding/margin for RTL */
html[dir="rtl"] .panel-content,
html[dir="rtl"] .intro-content {
    text-align: right;
}

/* Flip flex direction for RTL */
html[dir="rtl"] .flow-arrow {
    transform: scaleX(-1);
}

/* Flip border-left to border-right for RTL */
html[dir="rtl"] .feature-list li,
html[dir="rtl"] .card {
    border-left: none;
    border-right: 4px solid var(--teal);
}

html[dir="rtl"] .step-card {
    text-align: right;
}

/* Flip contact grid icons */
html[dir="rtl"] .contact-item {
    text-align: right;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

html[dir="rtl"] .language-switcher {
    right: auto;
    left: 2rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    text-decoration: none;
    color: var(--neutral-900);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
}

.lang-btn:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 157, 153, 0.3);
}

.lang-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-text {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Mobile language switcher */
@media (max-width: 768px) {
    .language-switcher {
        top: 1rem;
        right: 1rem;
    }

    html[dir="rtl"] .language-switcher {
        right: auto;
        left: 1rem;
    }

    .lang-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .lang-icon {
        font-size: 1.125rem;
    }
}

/* ==================== 3D CANVAS ==================== */
#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(180deg, #e8f0f2 0%, #f5f0e8 100%);
}

#threejs-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--sand-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

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

.loading-logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.loading-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.loading-bar {
    width: 280px;
    height: 2px;
    background: var(--neutral-300);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: var(--teal);
    transform-origin: left;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {

    0%,
    100% {
        transform: scaleX(0.3);
    }

    50% {
        transform: scaleX(0.8);
    }
}

/* ==================== WEBGL FALLBACK ==================== */
#webgl-fallback {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-light);
    padding: var(--space-lg);
}

#webgl-fallback.hidden {
    display: none;
}

.fallback-content {
    max-width: 600px;
    text-align: center;
}

.fallback-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--neutral-800);
    margin-bottom: var(--space-md);
}

.fallback-content p {
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

/* ==================== LAYOUT STRUCTURE ==================== */
.scroll-container {
    position: relative;
    width: 100%;
}

.scroll-section {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    backdrop-filter: blur(10px);
}

/* ==================== SCENE PANELS (Overlay UI) ==================== */
.scene-panel {
    opacity: 1;
    pointer-events: all;
    transition: opacity var(--transition-slow);
}

.scene-panel.active {
    opacity: 1;
    pointer-events: all;
}

/* Panel container */
.panel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

/* ==================== TYPOGRAPHY (LARGE, BOLD, SPACIOUS) ==================== */
.display-1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.display-2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--neutral-800);
    margin-bottom: var(--space-sm);
}

.display-3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--neutral-800);
}

.body-large {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.7;
    color: var(--neutral-600);
    max-width: 65ch;
}

.body-base {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--neutral-600);
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-500);
}

/* Section Badge (Landing Page Style) */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(90, 157, 153, 0.1);
    color: var(--teal);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(90, 157, 153, 0.2);
}

/* ==================== BUTTONS (BOLD, MINIMAL) ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    pointer-events: auto !important;
    z-index: 100;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--neutral-800);
    border: 2px solid var(--neutral-300);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* Ensure all links are clickable */
a {
    pointer-events: auto !important;
    z-index: 50;
    position: relative;
    /* Better touch targets */
    -webkit-tap-highlight-color: rgba(90, 157, 153, 0.2);
    touch-action: manipulation;
}

/* Touch-friendly button targets */
button,
.btn,
a[class*="btn"] {
    touch-action: manipulation;
    min-height: 44px;
    /* iOS minimum touch target */
    -webkit-user-select: none;
    user-select: none;
}

/* Touch-friendly interactive elements */
input,
select,
textarea {
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

/* Smooth scrolling containers on mobile */
.scroll-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Prevent text selection on touch */
.card-icon,
.step-number,
.icon {
    -webkit-user-select: none;
    user-select: none;
}

/* ==================== CARDS (Landing Page Style) ==================== */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(90, 157, 153, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--teal);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.card p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin: 0;
}

/* ==================== INTRO SCENE ==================== */
.intro-scene {
    text-align: center;
    background: transparent;
}

.intro-content {
    animation: fadeInUp 1.5s ease-out 0.5s backwards;
    padding: 4rem 3rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.intro-title {
    margin-bottom: var(--space-md);
}

.intro-subtitle {
    color: var(--neutral-700);
    margin-bottom: var(--space-lg);
}

.intro-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ==================== LANDS SCENE ==================== */
.lands-scene {
    background: rgba(245, 240, 232, 0.70);
}

.lands-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.lands-info {
    padding-right: var(--space-lg);
}

.lands-features {
    display: grid;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0;
    border-left: 3px solid var(--teal);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--teal);
    flex-shrink: 0;
}

.feature-text h4 {
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* ==================== PROPERTIES SCENE ==================== */
.properties-scene {
    background: rgba(245, 240, 232, 0.70);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.property-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.property-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--sand-medium);
    color: var(--neutral-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.property-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.property-details {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

.property-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--teal);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* ==================== CTA SCENE ==================== */
.cta-scene {
    background: rgba(245, 240, 232, 0.70);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: var(--space-md);
}

.cta-description {
    margin-bottom: var(--space-xl);
}

.cta-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--neutral-300);
    background: white;
    color: var(--neutral-800);
    transition: border-color var(--transition-fast);
}

.cta-input:focus {
    outline: none;
    border-color: var(--teal);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-hint {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: fadeInBounce 1s ease-out 2s forwards;
    z-index: 10;
    pointer-events: none;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neutral-500);
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--teal) 50%,
            transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .lands-content {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .two-column {
        flex-direction: column;
        gap: 40px;
    }

    .img-placeholder {
        width: 100%;
        max-width: 350px;
        height: 280px;
    }

    .step-container {
        gap: 15px;
    }

    .step-card {
        width: 200px;
    }
}

@media (max-width: 768px) {

    /* Spacing adjustments */
    :root {
        --space-sm: 0.5rem;
        --space-md: 1rem;
        --space-lg: 2rem;
        --space-xl: 2.5rem;
        --space-2xl: 3rem;
    }

    .scroll-section {
        padding: var(--space-sm) var(--space-md);
        min-height: auto;
    }

    .panel-content {
        padding: 0 1rem;
    }

    /* Typography for mobile */
    .display-1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.1;
    }

    .display-2 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2;
    }

    .display-3 {
        font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
    }

    .body-large {
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .body-base {
        font-size: 0.9375rem !important;
    }

    /* Intro section */
    .intro-content {
        padding: 2rem 1rem !important;
    }

    .intro-subtitle {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

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

    .cta-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .intro-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Cards */
    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .card h4 {
        font-size: 1.125rem;
    }

    .card p {
        font-size: 0.875rem;
    }

    /* Step cards */
    .step-container {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .step-card h4 {
        font-size: 1rem;
    }

    /* Property cards */
    .property-card {
        padding: 1.25rem;
    }

    .property-card h4 {
        font-size: 1rem;
    }

    /* Flow container */
    .flow-container {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-item .icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .contact-item h4 {
        font-size: 1.125rem;
    }

    /* Two column layout */
    .two-column .col h3 {
        font-size: 1.25rem !important;
    }

    .two-column .col p {
        font-size: 0.9375rem;
    }

    /* Feature list */
    .feature-list {
        width: 100%;
        padding: 0;
    }

    .feature-list li {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
        font-size: 0.9375rem;
        gap: 0.75rem;
    }

    .feature-list li .icon {
        font-size: 1.5rem;
    }

    .feature-list li strong {
        font-size: 1rem;
    }

    /* Tables */
    table {
        font-size: 0.75rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    table th,
    table td {
        padding: 0.625rem !important;
        font-size: 0.75rem !important;
    }

    /* Info boxes */
    .info-box,
    .success-box {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .info-box h4,
    .success-box h4 {
        font-size: 1rem;
    }

    /* Scroll hint */
    .scroll-hint {
        bottom: 1.5rem;
    }

    .scroll-text {
        font-size: 0.625rem;
    }
}

/* Mobile-specific overrides for inline styled elements */
@media (max-width: 768px) {

    /* Quick download section at top */
    .intro-content h3 {
        font-size: 1rem !important;
        text-align: center;
    }

    /* Download cards in grid */
    .intro-content>div>div[style*="display: grid"],
    .intro-content>div>div[style*="display: flex"] {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Download link cards */
    .intro-content a[style*="display: flex"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
    }

    /* Final download section */
    section[data-scene="intro"]>div>div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin: 2rem auto !important;
    }

    /* Download cards in thank you section */
    section[data-scene="intro"]>div>div>div[style*="text-align: center"] {
        padding: 1.5rem 1rem !important;
    }

    /* Social media container */
    div[style*="Follow Us"] {
        padding: 1.5rem 1rem !important;
        margin-top: 1.5rem !important;
    }

    /* Stats numbers */
    .stat-number {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 0.875rem !important;
    }

    /* Image placeholders */
    .img-placeholder {
        width: 100% !important;
        max-width: 280px !important;
        height: 240px !important;
        font-size: 80px !important;
    }
}

/* Extra small phones (< 480px) */
@media (max-width: 480px) {
    .scroll-section {
        padding: 1rem 0.75rem;
    }

    .panel-content {
        padding: 0 0.75rem;
    }

    .display-1 {
        font-size: 1.75rem !important;
    }

    .display-2 {
        font-size: 1.5rem !important;
    }

    .display-3 {
        font-size: 1.25rem !important;
    }

    .intro-content {
        padding: 1.5rem 0.75rem !important;
    }

    .card,
    .step-card,
    .property-card,
    .contact-item {
        padding: 1.25rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }

    table {
        font-size: 0.6875rem;
    }

    table th,
    table td {
        padding: 0.5rem !important;
        font-size: 0.6875rem !important;
    }

    /* Download section grids */
    .intro-content>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 0.875rem !important;
    }

    /* Social media icons smaller */
    div[style*="gap: 1.25rem"] a[style*="width: 50px"] {
        width: 45px !important;
        height: 45px !important;
        padding: 6px !important;
    }

    /* Smaller app icons in download cards */
    img[alt="App Store"],
    img[alt="Google Play"] {
        width: 32px !important;
        height: 32px !important;
    }

    /* Contact icons */
    .contact-item img[style*="width: 40px"] {
        width: 32px !important;
        height: 32px !important;
    }

    /* Image placeholders even smaller */
    .img-placeholder {
        width: 100% !important;
        max-width: 240px !important;
        height: 200px !important;
        font-size: 60px !important;
    }

    /* Stats */
    .stat-number {
        font-size: 1.75rem !important;
    }

    .stat-label {
        font-size: 0.8125rem !important;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .scroll-section {
        min-height: auto;
        padding: 1rem 1rem;
    }

    .display-1 {
        font-size: 2rem !important;
    }

    .intro-content {
        padding: 1.5rem 1rem !important;
    }
}

/* Mobile 3D canvas optimization */
@media (max-width: 768px) {
    #threejs-canvas {
        /* Ensure canvas scales properly on mobile */
        max-width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .webgl-container {
        /* Prevent overflow on small screens */
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

/* Tablet optimization (portrait) */
@media (min-width: 481px) and (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem !important;
    }

    .display-2 {
        font-size: 1.75rem !important;
    }

    .card-container,
    .step-container {
        gap: 1.5rem;
    }

    .btn {
        width: auto;
        min-width: 200px;
    }
}

/* Large tablets and small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .display-1 {
        font-size: 3rem !important;
    }

    .display-2 {
        font-size: 2rem !important;
    }

    .panel-content {
        max-width: 900px;
    }
}

/* ==================== FEATURE LIST ==================== */
.feature-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.feature-list li {
    padding: 20px 30px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-size: 16px;
    border-left: 4px solid var(--teal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-list li .icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feature-list li strong {
    color: var(--teal);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-list li span {
    color: var(--neutral-800);
    line-height: 1.6;
}

.feature-list li div {
    flex: 1;
    color: var(--neutral-800);
}

/* ==================== STEP CARDS ==================== */
.step-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    width: 220px;
    text-align: center;
    border: 2px solid var(--teal);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-md);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.step-card h4 {
    margin-top: 15px;
    color: var(--neutral-900);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

/* ==================== FLOW DIAGRAM ==================== */
.flow-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-item {
    background: var(--teal);
    color: white;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.flow-arrow {
    font-size: 24px;
    color: var(--teal);
}

/* ==================== TWO COLUMN LAYOUT ==================== */
.two-column {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    align-items: center;
    margin: 0 auto;
}

.two-column .col {
    flex: 1;
}

.two-column .col h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--teal);
    margin-bottom: 25px;
    font-weight: 700;
}

.two-column .col p {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.two-column .col ul {
    list-style: none;
    padding: 0;
}

.two-column .col ul li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--neutral-700);
    display: flex;
    align-items: center;
    gap: 12px;
}

.two-column .col ul li::before {
    content: "✓";
    color: var(--teal);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ==================== IMAGE PLACEHOLDER ==================== */
.img-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(145deg, rgba(90, 157, 153, 0.2), rgba(107, 168, 159, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 2px dashed rgba(90, 157, 153, 0.4);
}

/* ==================== INFO BOX ==================== */
.info-box {
    background: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: var(--shadow-md);
}

.info-box h4 {
    color: #f57c00;
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.info-box p {
    color: var(--neutral-800);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==================== SUCCESS BOX ==================== */
.success-box {
    background: #e8f5f4;
    border: 2px solid var(--teal);
    border-radius: 12px;
    padding: 25px 30px;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: var(--shadow-md);
}

.success-box h4 {
    color: var(--teal);
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.success-box p {
    color: var(--neutral-800);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==================== TABLES (FEES) ==================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

table thead {
    background: var(--teal);
}

table th {
    padding: 1.5rem;
    text-align: left;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

table tbody tr {
    border-bottom: 1px solid var(--neutral-300);
}

table tbody tr:last-child {
    border-bottom: none;
}

table td {
    padding: 1.25rem;
    color: #1c1917 !important;
    font-size: 1rem;
    font-weight: 500;
}

table td:nth-child(1) {
    color: #1c1917 !important;
    font-weight: 600;
}

table td:nth-child(2) {
    color: #5a9d99 !important;
    font-weight: 600;
}

table td:nth-child(3) {
    color: #292524 !important;
    font-weight: 500;
}

table tbody tr:last-child td {
    font-weight: 700;
}

table tbody tr:last-child td:nth-child(1) {
    color: #000000 !important;
    font-weight: 700;
}

table tbody tr:last-child td:nth-child(2) {
    color: #c9a96f !important;
    font-size: 1.125rem;
    font-weight: 700;
}

table tbody tr:last-child td:nth-child(3) {
    color: #292524 !important;
}

/* ==================== CONTACT GRID ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--neutral-300);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--teal);
    margin-bottom: 10px;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==================== UTILITIES ==================== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== MOBILE UTILITY CLASSES ==================== */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    /* Full width on mobile */
    .mobile-full {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Center on mobile */
    .mobile-center {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Stack on mobile */
    .mobile-stack {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
    }
}

/* ==================== PERFORMANCE ==================== */
/* Hardware acceleration for animations */
.card,
.btn,
.property-card,
.step-card,
.feature-item {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== LANDING PAGE STYLES ==================== */

/* Landing Page Wrapper */
.landing-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
    z-index: 2;
}

/* Hero Section */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(90, 157, 153, 0.1);
    border: 1px solid rgba(90, 157, 153, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--neutral-600);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-landing {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

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

.btn-secondary-landing {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--neutral-900);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--neutral-200);
    cursor: pointer;
}

.btn-secondary-landing:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--neutral-200);
}

/* Features Section */
.landing-features {
    padding: 2rem 2rem;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-landing {
    padding: 2rem;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
    text-align: left;
}

.feature-card-landing:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card-landing .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-landing h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
}

.feature-card-landing p {
    color: var(--neutral-600);
    line-height: 1.7;
}

/* Social Posts Accordion Section */
.social-posts-section {
    padding: 2rem 2rem 0;
    background: var(--neutral-50);
}

.social-posts-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-posts-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--neutral-300);
    box-shadow: var(--shadow-md);
}

.accordion-item--open {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-900);
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--neutral-50);
}

.accordion-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-icon--linkedin {
    color: #0A66C2;
}

.social-icon--instagram {
    color: #E4405F;
}

.accordion-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.accordion-chevron {
    color: var(--neutral-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item--open .accordion-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item--open .accordion-body {
    max-height: 600px;
    overflow-y: auto;
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
}


.social-embed-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 200px;
    position: relative;
}

.social-embed-frame iframe {
    display: block;
    border: none;
    border-radius: var(--radius-md);
}

.embed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 1rem;
    color: var(--neutral-500);
    font-size: 0.95rem;
}

.embed-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--neutral-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Social Section */
@media (max-width: 768px) {
    .social-posts-section {
        padding: 1.5rem 1.5rem 0;
    }

    .accordion-header {
        padding: 1rem 1.25rem;
    }

    .accordion-content {
        padding: 0 1.25rem 1.25rem;
    }

    .accordion-item--open .accordion-body {
        max-height: 550px;
    }

    .social-profile-card {
        padding: 2rem 1.5rem;
    }
}

/* RTL Support for Social Section */
html[dir="rtl"] .accordion-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .accordion-brand {
    flex-direction: row-reverse;
}

html[dir="rtl"] .social-profile-btn {
    flex-direction: row-reverse;
}

/* Transition Section */
.landing-transition {
    padding: 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, white 0%, var(--neutral-50) 100%);
}

.transition-content {
    max-width: 700px;
    margin: 0 auto;
}

.transition-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.transition-description {
    font-size: 1.125rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-500);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

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

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

/* Responsive Landing Page */
@media (max-width: 768px) {
    .landing-hero {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .landing-features {
        padding: 1.5rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-transition {
        padding: 1.5rem 1.5rem;
    }
}

/* RTL Support for Landing Page */
html[dir="rtl"] .hero-cta {
    flex-direction: row-reverse;
}

html[dir="rtl"] .btn-primary-landing,
html[dir="rtl"] .btn-secondary-landing {
    flex-direction: row-reverse;
}

html[dir="rtl"] .feature-card-landing {
    text-align: right;
}

/* Reduce animations on mobile for better performance */
@media (max-width: 768px) {
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.2s !important;
    }

    .scroll-hint {
        animation-duration: 0.5s !important;
    }
}