/* ==========================================
   ROOF Middle East Stylesheet
   Modern, Dark Mode, Glassmorphism & Responsive
   ========================================== */

/* 1. Global Variables & Themes */
:root {
    /* Color Palette */
    --color-bg: #09090b;          /* Obsidian Black */
    --color-panel: rgba(24, 24, 27, 0.65); /* Dark Zinc with Opacity */
    --color-panel-border: rgba(63, 63, 70, 0.4);
    --color-panel-glow: rgba(20, 184, 166, 0.03);
    
    --color-text: #f4f4f5;        /* Light Grey Zinc */
    --color-text-muted: #a1a1aa;  /* Muted Grey Zinc */
    
    /* Brand Colors */
    --color-teal: #14b8a6;
    --color-teal-glow: rgba(20, 184, 166, 0.15);
    --color-cyan: #06b6d4;
    --color-cyan-glow: rgba(6, 182, 212, 0.15);
    --color-purple: #8b5cf6;
    --color-purple-glow: rgba(139, 92, 246, 0.15);
    
    /* Semantic Colors */
    --color-red: #ef4444;
    --color-red-dim: rgba(239, 68, 68, 0.08);
    --color-yellow: #f59e0b;
    --color-yellow-dim: rgba(245, 158, 11, 0.08);
    --color-orange: #f97316;
    --color-orange-dim: rgba(249, 115, 22, 0.08);
    --color-green: #22c55e;
    --color-green-dim: rgba(34, 197, 94, 0.08);
    
    /* Fonts */
    --font-en: 'Outfit', 'Inter', sans-serif;
    --font-ar: 'Tajawal', 'Cairo', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacers */
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-en);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* RTL Override for Arabic */
html[lang="ar"] body {
    font-family: var(--font-ar);
    direction: rtl;
}

/* 2. Global Typography & Elements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
}

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

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Helper Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.section-padding {
    padding: 8rem 0;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-teal) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Backgrounds */
.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.sphere-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-purple) 0%, transparent 70%);
}

.sphere-2 {
    bottom: 10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
}

.sphere-3 {
    top: 40%;
    right: 20%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--color-teal) 0%, transparent 70%);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--color-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-panel-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-normal);
}

.glass-panel:hover {
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 12px 40px 0 rgba(20, 184, 166, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-teal) 100%);
    color: #000000;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.6);
    background: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--color-panel-border);
}

.btn-outline:hover {
    border-color: var(--color-teal);
    background: rgba(20, 184, 166, 0.05);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--color-teal);
    padding: 0;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--color-cyan);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.2);
    color: var(--color-teal);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section Header */
.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-header .section-desc {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

/* 3. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(63, 63, 70, 0.2);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background: rgba(9, 9, 11, 0.85);
    border-bottom: 1px solid rgba(63, 63, 70, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    transition: var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-svg {
    width: 38px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

html[lang="ar"] .logo-text {
    font-size: 1.15rem;
    letter-spacing: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Toggle Button */
.lang-toggle-btn {
    background: var(--color-panel);
    border: 1px solid var(--color-panel-border);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-fast);
}

.lang-toggle-btn:hover {
    border-color: var(--color-teal);
    color: #ffffff;
}

.lang-label {
    font-weight: 600;
}

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

.lang-separator {
    opacity: 0.3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    z-index: 90;
    transition: var(--transition-normal);
    border-left: 1px solid var(--color-panel-border);
    padding: 100px 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    color: #ffffff;
}

.btn-mobile-cta {
    margin-top: 2rem;
    width: 100%;
}

/* 4. Chapter 1: The World Before (Hero Section) */
.hero-section {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* RTL Heading Size Adjustments */
html[lang="ar"] .hero-headline {
    font-size: 3.5rem;
    line-height: 1.3;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--color-teal);
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-teal);
    padding-left: 1.5rem;
}

html[lang="ar"] .hero-subheadline {
    border-left: none;
    border-right: 3px solid var(--color-teal);
    padding-left: 0;
    padding-right: 1.5rem;
}

.hero-body {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Rotating Stats Box */
.rotating-stats-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    background: rgba(24, 24, 27, 0.4);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--color-teal);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number-wrapper {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.stat-number {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-suffix {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

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

/* Hero Visual & Animations */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    overflow: visible;
    padding: 1.5rem;
    background: rgba(24, 24, 27, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-panel-border);
}

/* Floating Elements */
.floating-dashboard-card {
    position: absolute;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.card-1 {
    top: -10px;
    left: -30px;
    width: 220px;
}

html[lang="ar"] .card-1 {
    left: auto;
    right: -30px;
}

.card-header-mini {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot.red { background: var(--color-red); }
.dot.yellow { background: var(--color-yellow); }
.dot.green { background: var(--color-teal); }

.card-title-mini {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

html[lang="ar"] .card-title-mini {
    margin-left: 0;
    margin-right: 0.25rem;
}

.mini-progress-bar {
    width: 100%;
    height: 4px;
    background: #27272a;
    border-radius: 2px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
    border-radius: 2px;
    animation: loading-bar 2.5s infinite ease-in-out;
}

@keyframes loading-bar {
    0% { width: 0%; }
    50% { width: 85%; }
    100% { width: 85%; }
}

.mini-status-text {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
}

.mini-success-icon {
    width: 14px;
    height: 14px;
    color: var(--color-teal);
}

.card-2 {
    bottom: 20px;
    right: -40px;
    width: 180px;
}

html[lang="ar"] .card-2 {
    right: auto;
    left: -40px;
}

.card-metric {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

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

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-teal);
}

.sparkline-svg {
    width: 100%;
    height: 30px;
}

/* Animations */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* 5. Chapter 2: The Problem (Pain Cards) */
.problem-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(20, 20, 25, 0.7) 50%, var(--color-bg) 100%);
}

.problem-cards-grid {
    margin-bottom: 5rem;
}

.pain-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pain-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.pain-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-red-dim { 
    background: var(--color-red-dim); 
    border-color: rgba(239, 68, 68, 0.15); 
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}
.bg-yellow-dim { 
    background: var(--color-yellow-dim); 
    border-color: rgba(245, 158, 11, 0.15); 
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}
.bg-orange-dim { 
    background: var(--color-orange-dim); 
    border-color: rgba(249, 115, 22, 0.15); 
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.pain-icon {
    width: 28px;
    height: 28px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card hover animation effects for icons */
.pain-card:hover .pain-icon-box {
    transform: scale(1.08) translateY(-2px);
}
.pain-card:hover .bg-red-dim {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}
.pain-card:hover .bg-yellow-dim {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}
.pain-card:hover .bg-orange-dim {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}
.pain-card:hover .pain-icon {
    transform: scale(1.05);
}

.text-red { color: var(--color-red); }
.text-yellow { color: var(--color-yellow); }
.text-orange { color: var(--color-orange); }

.pain-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.pain-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Pain Before/After State Swapping */
.pain-visual {
    background: rgba(9, 9, 11, 0.5);
    border: 1px solid var(--color-panel-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.pain-state {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pain-state.active {
    display: block;
    opacity: 1;
}

.state-label {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.warning-label {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.success-label {
    background: rgba(20, 184, 166, 0.15);
    color: var(--color-teal);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.state-visual-demo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.demo-sub-icon {
    width: 16px;
    height: 16px;
}

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

.pain-toggle-btn {
    align-self: flex-start;
}

/* Bridge Statement */
.bridge-statement {
    max-width: 600px;
    margin: 6rem auto 0;
    position: relative;
}

.bridge-statement::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(20, 184, 166, 0.5);
}

.bridge-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.bridge-highlight {
    font-size: 2.25rem;
    font-weight: 800;
}

/* 6. Chapter 3: Meet Your Guide */
.guide-section {
    position: relative;
}

.brand-origin-story {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    padding: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-title {
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--color-teal);
}

html[lang="ar"] .story-title::after {
    left: auto;
    right: 0;
}

.story-content p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
}

.story-content p.story-highlight {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border-left: 2px solid var(--color-purple);
    padding-left: 1.25rem;
}

html[lang="ar"] .story-content p.story-highlight {
    border-left: none;
    border-right: 2px solid var(--color-purple);
    padding-left: 0;
    padding-right: 1.25rem;
}

/* Formula Block styling */
.formula-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(9, 9, 11, 0.4);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-panel-border);
    position: relative;
}

.formula-element {
    display: flex;
    flex-direction: column;
}

.formula-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.formula-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.formula-plus, .formula-equals {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-purple);
    text-align: center;
    line-height: 1;
}

.formula-result {
    display: flex;
    flex-direction: column;
    border-top: 1px dashed var(--color-panel-border);
    padding-top: 1.25rem;
}

/* Founder Cards */
.founders-grid {
    align-items: stretch;
}

.founder-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    padding: 3rem;
    align-items: start;
}

.founder-photo-wrapper {
    width: 200px;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--color-panel-border);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.founder-card:hover .founder-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 11, 0.8) 100%);
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.founder-name {
    font-size: 1.75rem;
    color: #ffffff;
}

.founder-role {
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-teal);
    letter-spacing: 0.05em;
}

.founder-credentials, .founder-specialty {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.founder-quote {
    margin-top: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

html[lang="ar"] .founder-quote {
    padding-left: 0;
    padding-right: 2rem;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    color: var(--color-purple);
    opacity: 0.6;
}

html[lang="ar"] .quote-icon {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

.founder-quote blockquote {
    font-style: italic;
    color: #ffffff;
    font-size: 0.95rem;
}

.trust-statement-box {
    margin-top: 5rem;
    padding: 3rem;
}

.trust-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.mission-bar {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(9, 9, 11, 0.4);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 1px solid var(--color-panel-border);
    flex-wrap: wrap;
    justify-content: center;
}

.mission-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-teal);
}

.mission-value {
    font-weight: 700;
    font-size: 1.15rem;
}

/* 7. Chapter 4: The Tools (Services Grid) */
.tools-section {
    position: relative;
}

.services-grid {
    margin-bottom: 6rem;
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.06);
    border: 1px solid rgba(20, 184, 166, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-teal);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
    background: var(--color-teal);
    color: #000000;
    transform: scale(1.05);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-subtitle-text {
    color: var(--color-teal);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Before / After toggle in Card */
.card-before-after {
    border-top: 1px solid rgba(63, 63, 70, 0.3);
    padding-top: 1.25rem;
}

.ba-toggle {
    display: flex;
    background: rgba(9, 9, 11, 0.6);
    padding: 0.25rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.ba-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.ba-tab.active {
    background: var(--color-panel-border);
    color: #ffffff;
}

.ba-pane {
    display: none;
    font-size: 0.85rem;
    line-height: 1.5;
}

.ba-pane.active {
    display: block;
    animation: fadeIn var(--transition-fast);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ba-pane[data-pane="before"] {
    color: var(--color-red);
}

.ba-pane[data-pane="after"] {
    color: var(--color-teal);
}

/* Interactive Demos Grid */
.tools-interactive-container {
    gap: 3.5rem;
    align-items: start;
}

/* Chat Simulator */
.interactive-chat-simulator {
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-panel-border);
    background: rgba(9, 9, 11, 0.3);
}

.chat-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.75rem;
}

html[lang="ar"] .chat-status-indicator {
    margin-right: 0;
    margin-left: 0.75rem;
}

.chat-status-indicator.online {
    background: var(--color-teal);
    box-shadow: 0 0 8px var(--color-teal);
}

.chat-agent-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.chat-agent-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
}

.chat-agent-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.chat-header-icon {
    width: 20px;
    height: 20px;
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(9, 9, 11, 0.15);
}

.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.agent {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-bubble {
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.agent .message-bubble {
    background: rgba(24, 24, 27, 0.8);
    border: 1px solid var(--color-panel-border);
    color: #ffffff;
    border-top-left-radius: 2px;
}

html[lang="ar"] .chat-message.agent .message-bubble {
    border-top-left-radius: 12px;
    border-top-right-radius: 2px;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-teal) 100%);
    color: #000000;
    font-weight: 500;
    border-top-right-radius: 2px;
}

html[lang="ar"] .chat-message.user .message-bubble {
    border-top-right-radius: 12px;
    border-top-left-radius: 2px;
}

.chat-quick-questions {
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--color-panel-border);
    background: rgba(9, 9, 11, 0.3);
}

.quick-question-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-panel-border);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-family: inherit;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-question-btn:hover {
    border-color: var(--color-teal);
    color: #ffffff;
    background: rgba(20, 184, 166, 0.05);
}

/* Typing bubble animation */
.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
}
.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

/* Savings Calculator */
.savings-calculator {
    padding: 2.5rem;
}

.calculator-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.calculator-intro {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
}

.input-val-display {
    color: var(--color-teal);
}

/* Custom range input styling */
.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #27272a;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-teal);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.6);
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calculator-results {
    display: flex;
    padding: 1.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.bg-teal-dim {
    background: rgba(20, 184, 166, 0.04);
    border-color: rgba(20, 184, 166, 0.15);
}

.result-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.border-left {
    border-left: 1px solid rgba(63, 63, 70, 0.4);
    padding-left: 1.75rem;
}

html[lang="ar"] .border-left {
    border-left: none;
    border-right: 1px solid rgba(63, 63, 70, 0.4);
    padding-left: 0;
    padding-right: 1.75rem;
}

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

.result-value {
    font-size: 1.85rem;
    font-weight: 800;
}

.text-purple { color: #c084fc; }

.calculator-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* 8. Chapter 5: The Journey (Timeline) */
.journey-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(24, 24, 27, 0.4) 50%, var(--color-bg) 100%);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-cyan) 0%, var(--color-teal) 50%, var(--color-purple) 100%);
}

html[lang="ar"] .timeline-container::before {
    left: auto;
    right: 40px;
}

.timeline-step {
    position: relative;
    margin-left: 80px;
    margin-bottom: 3rem;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    background: rgba(24, 24, 27, 0.4);
}

html[lang="ar"] .timeline-step {
    margin-left: 0;
    margin-right: 80px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-badge {
    position: absolute;
    top: 2rem;
    left: -60px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #18181b;
    border: 3px solid var(--color-teal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 5;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.3);
}

html[lang="ar"] .step-badge {
    left: auto;
    right: -60px;
}

.step-time {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.journey-footer {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 1.5rem;
}

.reassurance-statement {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-teal);
}

/* 9. Chapter 6: Transformation Tales */
.tales-section {
    position: relative;
}

.partner-slider-container {
    max-width: 950px;
    margin: 0 auto;
}

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

.partner-tab-btn {
    background: var(--color-panel);
    border: 1px solid var(--color-panel-border);
    color: var(--color-text-muted);
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.partner-tab-btn.active, .partner-tab-btn:hover {
    border-color: var(--color-teal);
    color: #ffffff;
    background: rgba(20, 184, 166, 0.05);
}

.partner-panes {
    position: relative;
}

.partner-pane {
    padding: 3.5rem;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.partner-pane.active {
    display: block;
    opacity: 1;
}

.partner-pane-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(63, 63, 70, 0.4);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.partner-main-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-main-info .partner-name {
    font-size: 1.85rem;
    color: #ffffff;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-teal);
    font-weight: 500;
}

.partner-link:hover {
    color: var(--color-cyan);
}

.partner-link-icon {
    width: 14px;
    height: 14px;
}

.partner-stats-pill {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pill-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-teal);
    line-height: 1.1;
}

.pill-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
}

.partner-pane-body {
    align-items: start;
    gap: 3.5rem;
}

.tale-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tale-block:last-child {
    margin-bottom: 0;
}

.block-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.tale-block p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-block {
    background: rgba(20, 184, 166, 0.03);
    border: 1px solid rgba(20, 184, 166, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
}

.result-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-list li {
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
    color: #ffffff;
}

html[lang="ar"] .result-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

.result-list li::before {
    content: '✓';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

html[lang="ar"] .result-list li::before {
    left: auto;
    right: 0;
}

.partner-quote-box {
    margin-top: 2.5rem;
    position: relative;
    padding-left: 2rem;
}

html[lang="ar"] .partner-quote-box {
    padding-left: 0;
    padding-right: 2rem;
}

.quote-icon-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    color: var(--color-purple);
    opacity: 0.5;
}

html[lang="ar"] .quote-icon-small {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

.partner-quote-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.partner-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.social-proof-bar {
    margin-top: 6rem;
    padding: 1.5rem;
}

.proof-tag {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* 10. Chapter 7: Write Your Chapter (Contact) */
.contact-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(20, 20, 25, 0.5) 100%);
}

.contact-container {
    gap: 5rem;
    align-items: start;
}

.contact-story-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
}

html[lang="ar"] .contact-headline {
    font-size: 2.75rem;
    line-height: 1.35;
}

.contact-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.contact-subdesc {
    font-size: 1.125rem;
    color: var(--color-teal);
    font-weight: 600;
}

.direct-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.whatsapp-large-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
}

.channel-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-green-dim { background: var(--color-green-dim); border-color: rgba(34, 197, 94, 0.2); }
.text-green { color: var(--color-green); }

.channel-icon {
    width: 22px;
    height: 22px;
}

.channel-info {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.channel-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    padding-left: 0.5rem;
}

html[lang="ar"] .contact-detail-row {
    padding-left: 0;
    padding-right: 0.5rem;
}

.detail-icon {
    width: 18px;
    height: 18px;
}

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

/* Contact Form */
.contact-form-wrapper {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 5;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.form-group input[type="text"], 
.form-group textarea {
    background: rgba(9, 9, 11, 0.6);
    border: 1px solid var(--color-panel-border);
    border-radius: 8px;
    padding: 0.85rem 1.15rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input[type="text"]:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.2);
}

/* Radio Group styling */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.25rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.radio-label input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--color-panel-border);
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.radio-label input[type="radio"]:checked + .custom-radio {
    border-color: var(--color-teal);
}

.radio-label input[type="radio"]:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-teal);
}

.btn-submit-form {
    margin-top: 1rem;
    width: 100%;
}

.form-reassurance-text {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reassurance-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.reassurance-sub.highlight {
    color: var(--color-teal);
    font-weight: 600;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-check-icon {
    width: 36px;
    height: 36px;
    color: var(--color-teal);
}

.success-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.success-msg {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.btn-reset-form {
    padding: 0.65rem 1.5rem;
    font-size: 0.875rem;
}

/* 11. Footer */
.main-footer {
    background: #040405;
    border-top: 1px solid rgba(63, 63, 70, 0.3);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 5rem;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-svg {
    width: 60px;
    height: auto;
    display: block;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.footer-tagline {
    font-style: italic;
    color: var(--color-teal);
    font-weight: 500;
    font-size: 0.9375rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-heading {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 1.75rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-teal);
}

.footer-contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-detail-icon {
    width: 16px;
    height: 16px;
    color: var(--color-teal);
}

.copyright-bar {
    border-top: 1px solid rgba(63, 63, 70, 0.2);
    padding-top: 2rem;
}

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

/* 12. Responsive Design (Media Queries) */
@media (max-width: 1024px) {
    .grid-2 {
        gap: 3rem;
    }
    
    .hero-headline {
        font-size: 3.25rem;
    }
    
    .brand-origin-story {
        grid-template-columns: 1fr;
        padding: 3rem;
    }
    
    .story-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2rem;
    }
    
    .founder-photo-wrapper {
        width: 160px;
        height: 200px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        gap: 4rem;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 4rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    html[lang="ar"] .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .floating-dashboard-card.card-1 {
        left: -15px;
        width: 180px;
    }
    
    .floating-dashboard-card.card-2 {
        right: -15px;
        width: 150px;
    }
    
    .pain-card {
        padding: 2rem;
    }
    
    .brand-origin-story {
        padding: 2rem;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    html[lang="ar"] .timeline-container::before {
        right: 20px;
        left: auto;
    }
    
    .timeline-step {
        margin-left: 45px;
        padding: 1.5rem;
    }
    
    html[lang="ar"] .timeline-step {
        margin-right: 45px;
        margin-left: 0;
    }
    
    .step-badge {
        left: -35px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    html[lang="ar"] .step-badge {
        right: -35px;
        left: auto;
    }
    
    .partner-pane {
        padding: 2rem;
    }
    
    .partner-pane-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
