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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #DDE5F2;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4fb;
    --text-primary: #092F7A;
    --text-secondary: #515459;
    --text-muted: #999999;
    --accent: #FEC724;
    --accent-hover: #e5b320;
    --accent-light: #fff8e0;
    --accent-glow: rgba(254, 199, 36, 0.1);
    --accent-glow-strong: rgba(254, 199, 36, 0.2);
    --border: #e8e8e8;
    --border-subtle: #f0f0f0;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --btn-solid-bg: #092F7A;
    --btn-solid-hover: #0b3a94;
    --footer-bg: #092F7A;
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.95);
}

/* Dark mode — Royal Blue & Yellow */
html.dark-mode {
    --bg-primary: #061633;
    --bg-secondary: #0b1f42;
    --bg-card: #0e2550;
    --bg-card-hover: #132d60;
    --text-primary: #ffffff;
    --text-secondary: #94a3c0;
    --text-muted: #5a6d8a;
    --accent: #FEC724;
    --accent-hover: #ffd24d;
    --accent-light: rgba(254, 199, 36, 0.12);
    --accent-glow: rgba(254, 199, 36, 0.15);
    --accent-glow-strong: rgba(254, 199, 36, 0.3);
    --border: #1e3054;
    --border-subtle: #152440;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --btn-solid-bg: #ffffff;
    --btn-solid-hover: #e0e0e0;
    --footer-bg: #041229;
    --navbar-scrolled-bg: rgba(6, 22, 51, 0.95);
}

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

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

html[dir="ltr"] body {
    font-family: var(--font-en);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    direction: ltr;
    unicode-bidi: bidi-override;
    font-family: 'Inter', sans-serif !important;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.logo-img-dark {
    height: 52px;
    width: auto;
    display: none;
}

html.dark-mode .logo-img {
    display: none;
}

html.dark-mode .logo-img-dark {
    display: block;
}

.logo-img-footer {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.lang-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-en);
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

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

/* ===== NAV PORTAL BUTTON ===== */
.nav-portal {
    background: var(--btn-solid-bg);
    border: 1px solid var(--btn-solid-bg);
    color: var(--bg-primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-portal:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.background-boxes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#boxesCanvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -60%) skewX(-48deg) skewY(14deg) scale(0.675);
    transform-origin: center center;
}

.boxes-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--bg-primary);
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
    mask-image: radial-gradient(ellipse at center, transparent 20%, black 70%);
}

.hero::before {
    display: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    border: 1px solid rgba(255, 214, 0, 0.2);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent);
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.9;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Countdown Box — gradient orange box on the right */
.hero-countdown {
    flex-shrink: 0;
    text-align: center;
    animation: fadeInUp 0.8s ease 0.4s both;
    background: linear-gradient(145deg, #fed84d, #FEC724, #e5b320);
    border-radius: 28px;
    padding: 40px 48px;
    min-width: 320px;
    box-shadow: 0 20px 60px rgba(255, 214, 0, 0.25), 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.hero-countdown::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-countdown::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Analog Clock */
.analog-clock {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.clock-face {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 0 0 3px rgba(255,255,255,0.3);
}

.clock-mark {
    position: absolute;
    width: 2px;
    height: 10px;
    background: rgba(0,0,0,0.15);
    top: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(var(--i) * 30deg));
    transform-origin: center 82px;
    border-radius: 1px;
}

.clock-mark:nth-child(3n) {
    height: 14px;
    width: 3px;
    background: rgba(0,0,0,0.35);
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
}

.clock-hour {
    width: 4px;
    height: 45px;
    background: #092F7A;
    margin-left: -2px;
}

.clock-minute {
    width: 3px;
    height: 60px;
    background: #243d66;
    margin-left: -1.5px;
}

.clock-second {
    width: 1.5px;
    height: 65px;
    background: var(--accent);
    margin-left: -0.75px;
}

.clock-center {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 2px #fff;
}

.countdown-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.countdown-timer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 20px 28px;
    border-radius: 16px;
    direction: ltr;
    position: relative;
    z-index: 1;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    font-family: var(--font-en);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.countdown-unit {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.countdown-sep {
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    line-height: 1;
    width: auto;
    height: auto;
    background: none;
    overflow: visible;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    opacity: 0.5;
    transition: var(--transition);
}

.scroll-mouse:hover {
    border-color: var(--accent);
    opacity: 0.8;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 3px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Stats */
.hero-stats {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    padding-bottom: 40px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-en);
    direction: ltr;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--btn-solid-bg);
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.section-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 16px;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    flex: 1;
    max-width: 280px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
}

.step:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
}

.step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: var(--text-muted);
}

html[dir="ltr"] .step-arrow {
    transform: none;
}

html[dir="rtl"] .step-arrow {
    transform: scaleX(-1);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    direction: ltr;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
}

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

.portfolio-img {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 214, 0, 0.04) 50%, transparent 70%);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img::after {
    background: linear-gradient(135deg, transparent 20%, rgba(255, 214, 0, 0.08) 50%, transparent 80%);
}

.portfolio-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.portfolio-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-info {
    padding: 20px 24px;
    direction: rtl;
}

html[dir="ltr"] .portfolio-info {
    direction: ltr;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    direction: ltr;
}

/* ===== PORTFOLIO MOCKUPS ===== */
.mockup {
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-en);
    position: relative;
}

.mockup-restaurant { background: linear-gradient(170deg, #0d0906 0%, #1a1209 40%, #0f0b06 100%); }
.mockup-clinic { background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%); }
.mockup-cafe { background: #fdf6ee; }
.mockup-salon { background: linear-gradient(180deg, #fdfaf5 0%, #f5efe5 100%); }
.mockup-store { background: #ffffff; }
.mockup-gym { background: linear-gradient(180deg, #0a0a0a 0%, #111 100%); }

/* Ambient glow layers */
.m-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Decorative corner ornaments (restaurant) */
.m-ornament {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    z-index: 1;
}

.m-ornament-tl {
    top: 6px;
    left: 6px;
    border-top: 1px solid rgba(200,164,94,0.2);
    border-left: 1px solid rgba(200,164,94,0.2);
}

.m-ornament-br {
    bottom: 6px;
    right: 6px;
    border-bottom: 1px solid rgba(200,164,94,0.2);
    border-right: 1px solid rgba(200,164,94,0.2);
}

/* Parallax-like background */
.m-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Floating geometric shapes (clinic) */
.m-geo-float {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Paper texture overlay (café) */
.m-texture-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(139,90,43,0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139,90,43,0.03) 0%, transparent 40%);
}

/* Doodle decoration elements */
.m-doodle {
    pointer-events: none;
    z-index: 0;
    color: #8d6e63;
}

.m-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    position: relative;
    z-index: 1;
}

.m-logo-text {
    font-size: 9px;
    font-weight: 800;
}

/* Hover animation for mockups */
.portfolio-card:hover .mockup .m-glow {
    opacity: 1.3;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .m-ornament-tl {
    width: 24px;
    height: 24px;
    transition: all 0.4s ease;
}

.portfolio-card:hover .m-ornament-br {
    width: 24px;
    height: 24px;
    transition: all 0.4s ease;
}

.m-ornament {
    transition: all 0.4s ease;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    direction: ltr;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-light), var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 6px 24px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
}

.pricing-amount {
    margin: 24px 0 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    direction: ltr;
}

.pricing-currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.pricing-num {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    font-family: var(--font-en);
    line-height: 1;
    direction: ltr;
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.pricing-features {
    text-align: start;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-bigger {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.pricing-bigger p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.pricing-bigger a {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.pricing-bigger a:hover {
    text-decoration: underline;
}

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 214, 0, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

html[dir="ltr"] .review-card::before {
    right: auto;
    left: 20px;
}

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

.review-stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

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

/* ===== ABOUT ===== */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: var(--radius);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
}

.about-feature:hover {
    border-color: var(--accent);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

html[dir="ltr"] .about-feature:hover {
    transform: translateX(4px);
}

.about-feature span {
    color: var(--text-primary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: start;
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(145deg, #fed84d, #FEC724, #e5b320);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #092F7A;
}

.cta-section .btn-primary:hover {
    background: #f5f5f5;
    color: #092F7A;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    padding: 48px 0 24px;
    position: relative;
}

.footer-content {
    text-align: center;
    margin-bottom: 24px;
}

.footer-content .logo,
.footer-brand .logo {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-content p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-primary);
    animation: loaderPulse 1s ease-in-out infinite alternate;
}

.loader-logo span {
    color: var(--accent);
}

.loader-logo-img {
    height: 80px;
    width: auto;
    animation: loaderPulse 1s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
    from { opacity: 0.4; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

html[dir="ltr"] .whatsapp-float {
    right: 28px;
    left: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 72px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border);
}

html[dir="ltr"] .whatsapp-float .wa-tooltip {
    right: auto;
    left: 72px;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

html[dir="ltr"] .back-to-top {
    right: 28px;
    left: auto;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.back-to-top:hover svg {
    color: #ffffff;
}

/* ===== ACTIVE NAV LINK ===== */
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* ===== REVIEWS CAROUSEL ===== */
.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 24px;
    direction: ltr;
}

.reviews-track .review-card {
    flex-shrink: 0;
    direction: rtl;
}

html[dir="ltr"] .reviews-track .review-card {
    direction: ltr;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    direction: ltr;
}

.reviews-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.reviews-nav button:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.reviews-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reviews-dots span.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* ===== MOBILE MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== ABOUT SECTION — IMPROVED ===== */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.about-stat-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
}

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

.about-stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.about-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    font-family: var(--font-en);
    direction: ltr;
    display: block;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== FOOTER — IMPROVED ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
    text-align: start;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.footer-social a:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.6);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: #ffffff;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        gap: 40px;
    }

    /* reviews card width set by JS */
}

@media (max-width: 768px) {
    .nav-portal {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 32px;
        gap: 20px;
        border-left: 1px solid var(--border);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-countdown {
        padding: 32px 24px;
    }

    .countdown-timer {
        padding: 24px 28px;
    }

    .countdown-num {
        font-size: 2.2rem;
    }

    .stats-container {
        gap: 32px;
    }

    .stat-num {
        font-size: 2rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    html[dir="rtl"] .step-arrow {
        transform: rotate(90deg);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* reviews card width set by JS */

    .about-content {
        flex-direction: column;
        gap: 32px;
    }

    .about-features {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .about-feature {
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .about-feature svg {
        width: 18px;
        height: 18px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .about-stat-card {
        padding: 16px 8px;
    }

    .about-stat-num {
        font-size: 1.4rem;
    }

    .about-stat-label {
        font-size: 0.7rem;
    }

    .about-stat-icon {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .pricing-num {
        font-size: 3rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .countdown-num {
        font-size: 1.8rem;
    }

    .countdown-timer {
        padding: 20px 20px;
        gap: 8px;
    }

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

    .stats-container {
        flex-direction: column;
        gap: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .nav-portal {
        padding: 5px 10px;
        font-size: 0.65rem;
    }

    .about-features {
        flex-direction: column !important;
    }

    .about-stat-num {
        font-size: 1.1rem;
    }

    .about-stat-label {
        font-size: 0.65rem;
    }

    .about-stat-icon {
        font-size: 1.2rem;
    }

    .about-stat-card {
        padding: 12px 6px;
    }
}

/* ===== LTR SUPPORT ===== */
html[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .step-num {
    right: auto;
    left: -4px;
}