/*==================================================
    RENT TOOLS STORE (RTS)
    Theme: Glass · Liquid · Black & Orange
==================================================*/

:root {
    --orange: #ff6a00;
    --orange-light: #ff8c33;
    --orange-deep: #e05500;
    --orange-glow: rgba(255, 106, 0, 0.45);
    --bg-dark: #080808;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.45);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-orange: rgba(255, 106, 0, 0.25);
    --glass-blur: blur(24px);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 50px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-deep), var(--orange-light));
    z-index: 10001;
    box-shadow: 0 0 12px var(--orange-glow);
    transition: width 0.1s linear;
}

/* Cursor glow (desktop) */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* Film grain texture */
.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 106, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 60, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(255, 140, 50, 0.05) 0%, transparent 50%);
    animation: meshShift 20s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Liquid Background Blobs */
.liquid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: blobFloat 18s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.35) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 80, 0, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: -10%;
    animation-delay: -6s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 50, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation-delay: -12s;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    bottom: -5%;
    right: 25%;
    animation-delay: -9s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%       { transform: translate(40px, -30px) scale(1.08); }
    50%       { transform: translate(-20px, 40px) scale(0.95); }
    75%       { transform: translate(30px, 20px) scale(1.05); }
}

@keyframes liquidShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Glass utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
    position: relative;
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px 0;
    pointer-events: none;
    transition: padding var(--transition);
}

header.scrolled {
    padding-top: 10px;
}

header * {
    pointer-events: auto;
}

section, footer {
    position: relative;
    z-index: 1;
}

/* Reveal animations (stagger via JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--orange-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    padding: 6px 18px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
}

section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
}

section {
    padding: 100px 0;
}

/* Navigation */
.navbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    background: rgba(12, 12, 12, 0.82);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: background var(--transition), box-shadow var(--transition), top var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 28px;
    gap: 16px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 20px var(--orange-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.logo-text small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-shrink: 0;
}

.nav-links li {
    flex-shrink: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange-light);
    background: rgba(255, 106, 0, 0.12);
}

.nav-button {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange), var(--orange-deep));
    background-size: 200% 200%;
    animation: liquidShift 5s ease infinite;
    color: white;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
}

.nav-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

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

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background: rgba(255, 106, 0, 0.2);
    color: var(--orange-light);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

.lang-switch-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82)),
        url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.8) 0%, rgba(255, 106, 0, 0.06) 50%, rgba(8, 8, 8, 0.4) 100%);
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 106, 0, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: var(--orange-light);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 106, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

.hero-left h1 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 800;
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 50%, #ffb347 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: liquidShift 4s ease infinite;
}

.hero-left p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 17px;
    max-width: 520px;
}

.hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--orange-light), var(--orange), var(--orange-deep));
    background-size: 200% 200%;
    animation: liquidShift 4s ease infinite;
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 28px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-orange::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: none;
}

.btn-orange:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-orange:hover::after {
    animation: shimmer 0.6s ease;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 106, 0, 0.5);
    color: var(--orange-light);
    padding: 13px 36px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 106, 0, 0.15);
    border-color: var(--orange);
    color: white;
    transform: translateY(-3px);
}

/* Search Box */
.search-box {
    margin-top: 36px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-pill);
    overflow: hidden;
    max-width: 560px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 106, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-icon {
    margin-left: 22px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    padding: 16px 16px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

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

.search-box button {
    border: none;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    color: white;
    padding: 16px 32px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    transition: filter var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.search-box button:hover { filter: brightness(1.1); }

/* Hero Trust Strip */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-inset);
    max-width: fit-content;
}

.trust-item { display: flex; flex-direction: column; }

.trust-item strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange-light);
    text-shadow: 0 0 20px var(--orange-glow);
}

.trust-item span { font-size: 12px; color: var(--text-muted); }

.trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-right { display: flex; justify-content: center; align-items: center; }

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}

.hero-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.hero-card-info {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.hero-card-info h3 { font-size: 22px; margin-bottom: 6px; }
.hero-card-info p { color: var(--text-secondary); font-size: 15px; }
.hero-card-info strong { color: var(--orange-light); }

.hero-card-info strong { color: var(--orange-light); }

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(12, 12, 12, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.float-chip svg { color: var(--orange-light); flex-shrink: 0; }

.chip-1 { top: 10%; left: -12%; animation: floatY 4s ease-in-out infinite; }
.chip-2 { bottom: 15%; right: -10%; animation: floatY 4s ease-in-out infinite -2s; }

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

/* Marquee */
.marquee-wrap {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.marquee span::before {
    content: '◆';
    margin-right: 48px;
    color: var(--orange);
    font-size: 8px;
    vertical-align: middle;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.step-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.25);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 106, 0, 0.08);
    line-height: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 18px;
    color: var(--orange-light);
}

.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.3), rgba(255, 106, 0, 0.05));
    margin: 0 8px;
}

/* 3D Tilt */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow var(--transition);
}

.tilt-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 106, 0, 0.1);
}

/* Categories Bento */
.categories { background: transparent; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    height: 280px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 106, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover img { transform: scale(1.1); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 0%, rgba(255, 106, 0, 0.08) 40%, transparent 70%);
}

.category-grid.bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
}

.category-card.bento-large {
    grid-row: span 2;
    height: auto;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
    z-index: 2;
}

.category-content h3 {
    position: static;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-content .category-count {
    position: static;
    display: inline-block;
    color: var(--orange-light);
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 106, 0, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 106, 0, 0.25);
    backdrop-filter: blur(8px);
}

.category-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.2);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 50%;
    color: var(--orange-light);
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: opacity var(--transition), transform var(--transition);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Featured Equipment */
.featured { background: transparent; }

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.equipment-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.equipment-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 106, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.equipment-img-wrap { position: relative; overflow: hidden; }

.equipment-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.equipment-card:hover img { transform: scale(1.06); }

.equipment-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 106, 0, 0.85);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px var(--orange-glow);
}

.equipment-badge.hot { background: rgba(255, 60, 0, 0.85); }
.equipment-badge.new { background: rgba(34, 197, 94, 0.85); }

.equipment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating { color: #fbbf24; font-size: 13px; font-weight: 600; }

.tag {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    color: var(--text-muted);
}

.equipment-body { padding: 22px 24px 26px; }
.equipment-body h3 { font-size: 22px; margin-bottom: 8px; }
.equipment-price { color: var(--text-secondary); font-size: 15px; margin-bottom: 18px; }
.equipment-price strong { color: var(--orange-light); font-size: 18px; }

.equipment-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(255, 106, 0, 0.08));
    backdrop-filter: blur(8px);
    color: var(--orange-light);
    padding: 13px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 106, 0, 0.3);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.equipment-btn:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
}

/* Why RTS */
.why { background: transparent; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 106, 0, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 106, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    backdrop-filter: blur(8px);
    color: var(--orange-light);
}

.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Stats */
.stats {
    padding: 80px 0;
    background: transparent;
}

.stats-bento {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.stat-hero {
    text-align: left;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.03));
    border-color: rgba(255, 106, 0, 0.2);
}

.stat-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-light);
    margin-bottom: 12px;
}

.stat-hero h2 { font-size: 64px; text-align: left; }

.stat {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.stat:hover {
    border-color: rgba(255, 106, 0, 0.3);
    background: rgba(255, 106, 0, 0.06);
    transform: translateY(-4px);
}

.stat h2 {
    color: var(--orange-light);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    -webkit-text-fill-color: var(--orange-light);
    text-shadow: 0 0 40px var(--orange-glow);
}

.stat h2::after { content: '+'; font-size: 32px; }
.stat:nth-child(3) h2::after { content: '/7'; font-size: 24px; }
.stat p { color: var(--text-secondary); font-size: 14px; }

/* Testimonials */
.testimonials { padding: 80px 0; background: transparent; }

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin: 0;
    box-shadow: var(--glass-shadow), var(--glass-inset);
    transition: transform var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.2);
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card p::before {
    content: '"';
    color: var(--orange);
    font-size: 28px;
    font-style: normal;
    line-height: 0;
    vertical-align: -8px;
    margin-right: 4px;
}

.testimonial-card footer strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.testimonial-card footer span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Download */
.download { background: transparent; overflow: hidden; }

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.download-content h2 { text-align: left; font-size: 38px; margin-bottom: 16px; }
.download-content .section-label { display: block; text-align: left; }
.download-content p { color: var(--text-muted); margin-bottom: 36px; font-size: 16px; max-width: 440px; }

.store-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: var(--glass-inset);
    transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.store-btn:hover {
    border-color: rgba(255, 106, 0, 0.4);
    background: rgba(255, 106, 0, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 106, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.store-btn svg { flex-shrink: 0; }
.store-btn small { display: block; font-size: 11px; color: var(--text-muted); }
.store-btn strong { font-size: 16px; }

/* Phone Mockup */
.download-visual { display: flex; justify-content: center; }

.phone-mockup {
    position: relative;
    width: 260px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 60px rgba(255, 106, 0, 0.08);
}

.phone-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.phone-screen {
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 24px 18px;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-header {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--orange-light);
    margin-bottom: 28px;
    text-shadow: 0 0 20px var(--orange-glow);
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.phone-item em { margin-left: auto; color: var(--orange-light); font-style: normal; font-weight: 600; }

.phone-btn {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 20px var(--orange-glow);
}

/* Contact */
.contact { background: transparent; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { text-align: left; margin-bottom: 16px; }
.contact-info .section-label { display: block; text-align: left; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; max-width: 400px; }

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 20px; }

.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
}

.contact-details li:hover {
    border-color: rgba(255, 106, 0, 0.25);
    background: rgba(255, 106, 0, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 14px;
    flex-shrink: 0;
    color: var(--orange-light);
}

.contact-details strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-details span { color: var(--text-muted); font-size: 14px; }

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--glass-shadow), var(--glass-inset);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    backdrop-filter: blur(8px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 106, 0, 0.4);
    background: rgba(255, 106, 0, 0.04);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.08);
}

.contact-form textarea { resize: none; height: 140px; }

.contact-form button {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--orange-light), var(--orange-deep));
    background-size: 200% 200%;
    animation: liquidShift 5s ease infinite;
    color: white;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 25px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
    text-shadow: 0 0 30px var(--orange-glow);
}

.footer-brand p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-copy { margin-top: 20px !important; font-size: 13px !important; }
.footer-links h4 { font-size: 15px; margin-bottom: 20px; color: rgba(255, 255, 255, 0.9); }

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color var(--transition);
}

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

/* RTL / Arabic */
html[dir="rtl"] body {
    font-family: 'Tajawal', 'Outfit', sans-serif;
}

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

html[dir="rtl"] .hero-left p {
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .hero-buttons,
html[dir="rtl"] .hero-trust {
    justify-content: flex-start;
}

html[dir="rtl"] .search-icon {
    margin-left: 0;
    margin-right: 22px;
}

html[dir="rtl"] .chip-1 {
    left: auto;
    right: -12%;
}

html[dir="rtl"] .chip-2 {
    right: auto;
    left: -10%;
}

html[dir="rtl"] .category-arrow {
    right: auto;
    left: 22px;
    transform: translate(8px, 8px);
}

html[dir="rtl"] .category-card:hover .category-arrow {
    transform: translate(0, 0);
}

html[dir="rtl"] .stat-hero,
html[dir="rtl"] .stat-hero h2 {
    text-align: right;
}

html[dir="rtl"] .download-content h2,
html[dir="rtl"] .download-content .section-label,
html[dir="rtl"] .download-content p,
html[dir="rtl"] .contact-info h2,
html[dir="rtl"] .contact-info .section-label,
html[dir="rtl"] .contact-info > p {
    text-align: right;
}

html[dir="rtl"] .phone-item em {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .btn-orange svg,
html[dir="rtl"] .nav-button svg,
html[dir="rtl"] .category-arrow svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .marquee {
    animation-direction: reverse;
}

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

html[dir="rtl"] .testimonial-card p::before {
    margin-right: 0;
    margin-left: 4px;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
    text-align: right;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--orange-light), var(--orange-deep));
    border-radius: 20px;
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
}

.nav-overlay.open {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-left p, .search-box { margin-left: auto; margin-right: auto; }
    .hero-buttons, .hero-trust { justify-content: center; margin-left: auto; margin-right: auto; }
    html[dir="rtl"] .hero-buttons,
    html[dir="rtl"] .hero-trust { justify-content: center; }
    html[dir="rtl"] .hero-left { text-align: center; }
    .hero-right { display: none; }
    .hero-left h1 { font-size: 48px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-bento { grid-template-columns: repeat(2, 1fr); }
    .stat-hero { grid-column: span 2; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .step-connector { display: none; }
    .category-grid.bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .category-card.bento-large { grid-row: span 1; grid-column: span 2; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    header {
        padding: 10px 12px 0;
    }

    .navbar {
        border-radius: 20px;
    }

    .nav-links,
    .nav-button {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .lang-switch-mobile {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        justify-content: center;
        align-items: center;
        gap: 12px;
        z-index: 999;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .nav-links.open a {
        font-size: 20px;
        padding: 14px 32px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-pill);
        width: 240px;
        text-align: center;
    }

    .download-grid, .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .download-grid { padding: 40px 28px; }
    .download-content h2, .download-content .section-label,
    .contact-info h2, .contact-info .section-label { text-align: center; }
    .download-content p, .contact-info > p { margin-left: auto; margin-right: auto; }
    .store-buttons { justify-content: center; }
    .contact-details { align-items: center; }
}

@media (max-width: 768px) {
    .cursor-glow { display: none; }
    section { padding: 70px 0; }
    section h2 { font-size: 32px; }
    .hero { min-height: auto; padding: 150px 0 80px; }
    .hero-left h1 { font-size: 38px; }
    .hero-trust { flex-wrap: wrap; gap: 16px; }
    .trust-divider { display: none; }

    .search-box {
        flex-direction: column;
        border-radius: var(--radius);
        max-width: 100%;
    }

    .search-icon { display: none; }
    .search-box input { width: 100%; padding: 16px 20px; }
    .search-box button { width: 100%; border-radius: 0 0 var(--radius) var(--radius); }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .stats-bento { grid-template-columns: 1fr 1fr; }
    .stat-hero { grid-column: span 2; }
    .stat-hero h2 { font-size: 48px; }
    .category-grid.bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .category-card.bento-large { grid-column: span 1; }
    .stat h2 { font-size: 36px; }
}

/* Legal pages */
body.legal-page {
    min-height: 100vh;
}

.legal-main {
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
}

.legal-back {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color var(--transition);
}

.legal-back:hover {
    color: var(--orange);
}

.legal-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-document {
    padding: 40px 48px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.legal-updated {
    color: var(--orange);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.legal-intro {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 12px 0 16px;
    padding-inline-start: 24px;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-disclaimer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

.legal-links {
    text-align: center;
    margin-bottom: 40px;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.legal-links a:hover {
    color: var(--orange);
}

.legal-links span {
    color: var(--text-muted);
    margin: 0 12px;
}

.legal-footer {
    padding: 32px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
}

.legal-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

html[dir="rtl"] body.legal-page {
    font-family: 'Tajawal', 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .legal-main { padding: 120px 0 60px; }
    .legal-document { padding: 28px 24px; }
}
