/* --- Design Tokens --- */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --bg-base: #f6f5fa;
    --bg-secondary: #ffffff;
    --text-main: #0f0d2e;
    --text-sub: #4f46e5;
    --text-muted: #8b8ca7;
    --text-light: #5b5d7a;
    
    --color-primary: #0891b2;
    --color-secondary: #3b82f6;
    --color-accent: #7c3aed;
    --color-amber: #f59e0b;
    --color-green: #10b981;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 100px;
    
    --shadow-sm: 0 1px 3px rgba(15, 13, 46, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 13, 46, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 13, 46, 0.08);
    --shadow-xl: 0 20px 60px rgba(15, 13, 46, 0.1);
    
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    -webkit-text-size-adjust: 100%;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

img,
video {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

p {
    color: var(--text-light);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

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

/* --- Background Blobs --- */
.liquid-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    top: -250px;
    right: -150px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.18) 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation Header --- */
header {
    position: fixed;
    top: calc(1.25rem + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

header .container {
    position: relative;
}

header.scrolled .glass-nav {
    padding: 0.7rem 1.75rem;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    width: 100%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #494c73;
    transition: color 0.2s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--transition-smooth);
    letter-spacing: -0.01em;
}

.btn-glass-primary {
    background: var(--text-main);
    color: white;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 25px rgba(30, 27, 75, 0.06);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-panel {
    display: none;
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(100% + 0.75rem);
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-xl);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 99;
}

.mobile-menu-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-menu-panel a:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(2px);
}

.mobile-menu-panel a.mobile-menu-cta {
    color: #ffffff !important;
    background: var(--text-main);
    justify-content: center;
}

.mobile-menu-panel a.mobile-menu-cta:hover {
    background: #0d0a33;
    color: #ffffff !important;
    transform: none;
}

header.menu-open .mobile-menu-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-cta {
    margin-top: 0.35rem;
    width: 100%;
    justify-content: center;
}

/* --- Cards --- */
.custom-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-lg);
    background: transparent;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    cursor: pointer;
}

.custom-card-main {
    background: #ffffff;
    border-radius: 26px;
    padding: 2rem;
    position: relative;
    z-index: 2;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.custom-card:hover .custom-card-main {
    box-shadow: var(--shadow-md);
}

.card-brand-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.card-logo {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.card-price {
    font-size: 1.35rem;
    color: var(--text-main);
    font-weight: 800;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    border: 1.5px solid rgba(124, 58, 237, 0.12);
    background: rgba(124, 58, 237, 0.05);
    color: var(--color-accent);
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    cursor: default;
}

.custom-card:hover .tag {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
}

/* Overlapping bottom colored shelf */
.custom-card-shelf {
    margin-top: -16px;
    border-radius: 0 0 26px 26px;
    padding: 1.8rem 2.2rem 1.1rem 2.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* Shelf Gradient Variants */
.shelf-peach {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c;
}

.shelf-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
}

.shelf-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #0f766e;
}

.shelf-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

/* Detailer Profile Card Elements */
.detailer-card-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.15);
    overflow: hidden; /* Ensures image stays rounded */
}

.detailer-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detailer-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.card-distance {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-rating-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.card-rating-star {
    color: var(--color-amber);
    font-weight: 700;
}

.card-rating-count {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 4.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-title span {
    background: linear-gradient(135deg, #0ea5e9 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #565a78;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.hero-cta .btn {
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
}

.btn-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-sub);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-link:hover {
    color: var(--color-primary);
}

.hero-ratings {
    display: flex;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.rating-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: var(--color-amber);
    display: flex;
    gap: 2px;
}

.rating-text p {
    font-size: 0.8rem;
    color: #565a78;
}

.rating-text span {
    font-weight: 700;
    color: var(--text-main);
}

/* --- Hero Card Stack Column --- */
.hero-card-stack-wrapper {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    position: relative;
    width: 320px;
    height: 360px;
    transform-style: preserve-3d;
}

.hero-card-stack .custom-card {
    position: absolute;
    width: 310px;
    top: 0;
    left: 0;
    transition: all 0.4s var(--transition-bounce), opacity 0.3s ease;
}

.mobile-offers {
    display: none;
    padding: 0 0 3rem;
}

.mobile-offers-header {
    text-align: left;
    margin: 0 0 1.25rem 0;
    max-width: none;
}

.offers-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.offers-rail::-webkit-scrollbar {
    display: none;
}

.offer-card-mobile {
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: 0 18px 35px rgba(30, 27, 75, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.offer-card-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.offer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 8px 18px rgba(30, 27, 75, 0.08);
}

.offer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card-top h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.offer-card-top p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.offer-card-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
}

.offer-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(229, 231, 235, 0.9);
}

.offer-card-bottom strong {
    font-size: 1.2rem;
}

.offer-card-bottom span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
}

/* Scattered card rotations and layering */
.card-position-1 {
    transform: rotate(-5deg) translate(-20px, -15px);
    z-index: 3;
}

.card-position-2 {
    transform: rotate(6deg) translate(30px, 15px);
    z-index: 2;
}

.card-position-3 {
    transform: rotate(-1deg) translate(-5px, 90px);
    z-index: 1;
}

/* Hover transitions on the deck disabled to prevent layout shifts */

/* --- Stats Section --- */
.stats {
    padding: 3rem 0;
}

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

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

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

.stat-card h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #0ea5e9 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.stat-card p {
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* --- Features Section (Bento Grid layout of Custom Cards) --- */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-title span {
    background: linear-gradient(135deg, #0ea5e9 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: #565a78;
}

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

.bento-col-2 {
    grid-column: span 2;
}

.bento-col-1 {
    grid-column: span 1;
}

.features .custom-card:hover {
    transform: translateY(-6px);
}

.features .custom-card:hover .custom-card-main {
    box-shadow: var(--shadow-lg);
}

.bento-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

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

.bento-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.bento-card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #565a78;
}

.eco-stats-display {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1.5px solid #f3f4f6;
}

.eco-stat-mini h4 {
    font-size: 1.5rem;
    color: var(--text-sub);
    font-weight: 800;
}

.eco-stat-mini p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.detailer-badge-mockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding: 0.65rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    align-self: flex-start;
}

.detailer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: white;
    font-size: 0.75rem;
}

.detailer-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
}

.detailer-info p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* --- How it Works / 3 columns of Dribbble Cards --- */
.how-it-works {
    padding: 6rem 0;
}

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

.steps-container .custom-card:hover {
    transform: translateY(-6px);
}

.steps-container .custom-card:hover .custom-card-main {
    box-shadow: var(--shadow-lg);
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.step-number-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.08em;
    background: rgba(15, 13, 46, 0.04);
    color: var(--text-light);
    border: 1px solid rgba(15, 13, 46, 0.06);
}

.step-card-body h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.step-visual-box {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
}

.step-visual-box svg {
    transition: transform 0.3s var(--transition-smooth);
}

.custom-card:hover .step-visual-box svg {
    transform: scale(1.05);
}

/* --- Waitlist / Form Section --- */
.contact-section {
    padding: 6rem 0;
}

.support-page .hero {
    padding-top: 10rem;
    padding-bottom: 3rem;
}

.support-hero {
    padding-bottom: 3rem;
}

.support-hero-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.support-section {
    padding: 1rem 0 6rem;
}

.support-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.support-card-copy {
    max-width: 560px;
    margin-bottom: 2rem;
}

.support-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.7rem;
}

.support-card-copy h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
}

.support-text {
    font-size: 0.98rem;
    color: #565a78;
    max-width: 520px;
}

.support-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.support-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(244, 243, 248, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.support-contact-item:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.support-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.08);
    color: var(--color-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.support-contact-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.support-contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.support-contact-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.support-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.glass-form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.form-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
}

.form-info h2 span {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-info p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-list {
    list-style: none;
}

.form-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-list li svg {
    color: var(--color-primary);
}

.glass-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5b657e;
}

.form-control {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* Modern Download CTA styling */
.download-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.download-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.download-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-app-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--text-main);
    color: #ffffff;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.download-app-btn:hover {
    transform: translateY(-3px);
    background: #1a1744;
    box-shadow: var(--shadow-lg);
}

.download-app-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.download-app-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-app-btn .btn-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    font-weight: 500;
}

.download-app-btn .btn-store {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

/* --- Footer --- */
footer {
    padding: 5rem 0 2.5rem 0;
    background: #fafafe;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-info {
        grid-column: span 2;
    }
    .footer-info p {
        max-width: 100% !important;
    }
}

.footer-info p {
    font-size: 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f0f6;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.25s ease;
}

.social-link:hover {
    background: var(--text-main);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-nav h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.support-footer-bottom p:last-child a {
    color: var(--text-main);
    font-weight: 700;
}

.support-footer-bottom p:last-child a:hover {
    color: var(--color-primary);
}

.privacy-page .hero {
    padding-top: 10rem;
    padding-bottom: 3rem;
}

.privacy-hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.policy-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
}

.policy-date {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.policy-section {
    padding: 1rem 0 6rem;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.policy-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-md);
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
}

.policy-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.policy-card p {
    font-size: 0.96rem;
    color: #565a78;
    margin-bottom: 0.85rem;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.policy-card a {
    color: var(--text-main);
    font-weight: 700;
}

.policy-card a:hover {
    color: var(--color-primary);
}

.policy-card-wide {
    grid-column: span 2;
}

.policy-footer-bottom p:last-child a {
    color: var(--text-main);
    font-weight: 700;
}

.policy-footer-bottom p:last-child a:hover {
    color: var(--color-primary);
}

.about-page .hero {
    padding-top: 10rem;
    padding-bottom: 3rem;
}

.about-hero-content {
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.about-section {
    padding: 1rem 0 6rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-md);
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
}

.about-card h2,
.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.about-card p {
    font-size: 0.96rem;
    color: #565a78;
    margin-bottom: 0.85rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.7rem;
}

.about-card-featured {
    grid-column: span 2;
}

.about-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.about-list li {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(244, 243, 248, 0.7);
    border: 1px solid rgba(229, 231, 235, 0.8);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-badge {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.12);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 700;
}

.about-wide-text {
    font-size: 0.96rem;
    color: #565a78;
}

.about-cta {
    margin-top: 1.25rem;
    padding: 2rem 1.7rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.about-cta h2 {
    font-size: 1.5rem;
    margin-top: 0.35rem;
}

/* --- Scroll Animations --- */
[data-fade] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

[data-fade].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-fade][data-delay="1"] { transition-delay: 0.1s; }
[data-fade][data-delay="2"] { transition-delay: 0.2s; }
[data-fade][data-delay="3"] { transition-delay: 0.3s; }
[data-fade][data-delay="4"] { transition-delay: 0.4s; }

/* --- Download Modal --- */
.download-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 13, 46, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.download-modal-overlay.active {
    display: flex;
}

.download-modal {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s var(--transition-smooth);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.download-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 13, 46, 0.04);
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.download-modal-close:hover {
    background: rgba(15, 13, 46, 0.08);
    color: var(--text-main);
}

.download-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.download-modal p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.download-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.download-modal-buttons .download-app-btn {
    padding: 0.7rem 1.2rem;
}

[dir="rtl"] .download-modal-close {
    right: auto;
    left: 0.75rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-ratings {
        margin: 0 auto;
        justify-content: center;
    }
    
    .hero-card-stack-wrapper {
        height: 420px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bento-col-2, .bento-col-1 {
        grid-column: span 1;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-form-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }

    .about-cta {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    header {
        top: calc(0.5rem + env(safe-area-inset-top, 0px));
    }

    .glass-nav {
        gap: 0;
        padding: 0.6rem 0.75rem;
        border-radius: 20px;
        justify-content: space-between;
        min-height: 56px;
    }

    .logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

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

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .lang-switcher {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-left: auto;
    }
    
    .btn {
        padding: 0.65rem 0.9rem;
        font-size: 0.8rem;
    }

    .mobile-menu-panel {
        display: block;
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        top: calc(0.5rem + env(safe-area-inset-top, 0px) + 62px);
        max-height: calc(100vh - 100px - env(safe-area-inset-top, 0px));
        padding: 0.75rem;
        border-radius: 20px;
    }

    .mobile-menu-panel a {
        padding: 0.8rem 0.85rem;
        font-size: 0.9rem;
        border-radius: 14px;
    }

    .mobile-lang-switcher {
        display: flex;
        gap: 0.6rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .mobile-lang-switcher a {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
        border-radius: 10px;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }

    .hero-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-cta .btn,
    .hero-cta .btn-link {
        width: 100%;
        justify-content: center;
    }

    .hero-ratings {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding-top: 1rem;
    }

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

    .hero-card-stack-wrapper {
        display: flex;
        height: 400px;
        justify-content: center;
        align-items: center;
        overflow: visible;
        width: 100%;
    }

    @media (max-width: 480px) {
        .hero-card-stack {
            width: 260px;
            height: 300px;
        }
        .hero-card-stack .custom-card {
            width: 250px;
        }
        .card-position-2 {
            transform: rotate(6deg) translate(15px, 8px);
        }
        .card-position-3 {
            transform: rotate(-1deg) translate(-3px, 65px);
        }
        .hero-card-stack-wrapper {
            height: 310px;
            margin-top: -0.5rem;
            margin-bottom: -0.5rem;
        }
        .glass-nav {
            padding: 0.5rem 0.65rem;
            border-radius: 16px;
            min-height: 50px;
        }
        .logo-img {
            height: 40px;
        }
        .menu-toggle {
            width: 36px;
            height: 36px;
        }
        .mobile-menu-panel {
            top: calc(0.5rem + env(safe-area-inset-top, 0px) + 56px);
            left: 0.65rem;
            right: 0.65rem;
        }
        .container {
            padding: 0 0.75rem;
        }
    }

    .stats {
        padding: 2rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-card {
        padding: 1.25rem 0.85rem;
        min-height: 120px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

    .how-it-works {
        padding: 3.5rem 0;
    }

    .features {
        padding: 3.5rem 0;
    }

    .contact-section {
        padding: 3.5rem 0;
    }

    .steps-container .step-card .custom-card-main {
        padding: 1.5rem;
    }

    .glass-form-card {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .form-info img {
        border-radius: 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .support-page .hero,
    .privacy-page .hero,
    .about-page .hero {
        padding-top: 6.5rem;
    }

    .support-card {
        padding: 1.5rem;
    }

    .support-contact-list {
        grid-template-columns: 1fr;
    }

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

    .support-actions .btn {
        width: 100%;
    }

    .support-footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

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

    .policy-card-wide {
        grid-column: span 1;
    }

    .policy-card {
        padding: 1.2rem;
    }

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

    .about-card-featured {
        grid-column: span 1;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 6.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .custom-card-main {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .custom-card-shelf {
        padding: 1.2rem 1.25rem 0.9rem 1.25rem;
        font-size: 0.65rem;
        border-radius: 0 0 20px 20px;
    }

    .steps-container {
        gap: 1rem;
    }

    .step-card-body h3 {
        font-size: 1.15rem;
    }

    .step-visual-box svg {
        width: 80px;
        height: auto;
    }

    .card-brand-row {
        gap: 0.5rem;
        margin-bottom: 0.85rem;
    }

    .card-price {
        font-size: 1.1rem;
        margin-top: 0.85rem;
    }

    .card-tags {
        gap: 0.35rem;
    }

    .tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.55rem;
    }

    .detailer-card-avatar {
        width: 38px;
        height: 38px;
    }

    .glass-form-card {
        padding: 1.5rem;
        gap: 2rem;
        border-radius: 20px;
    }

    .download-title {
        font-size: 1.5rem;
    }

    .download-subtitle {
        font-size: 0.85rem;
    }

    .download-app-btn {
        padding: 0.6rem 1rem;
    }

    .download-app-btn .btn-store {
        font-size: 0.9rem;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .stat-card p {
        font-size: 0.7rem;
    }

    .stat-card {
        padding: 1.25rem 0.75rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-info p {
        font-size: 0.85rem;
    }

    .footer-socials {
        gap: 0.65rem;
    }

    .download-modal {
        padding: 1.75rem;
    }

    .download-modal h3 {
        font-size: 1.25rem;
    }

    .mobile-offers {
        padding-bottom: 2.25rem;
    }

    .support-card,
    .policy-card,
    .about-card,
    .about-cta {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .support-actions .btn,
    .hero-cta .btn,
    .hero-cta .btn-link {
        width: 100%;
    }

    .support-contact-item {
        padding: 0.9rem;
    }

    .policy-card h2,
    .about-card h2,
    .about-card h3,
    .about-cta h2 {
        font-size: 1.15rem;
    }

    .about-badges {
        gap: 0.5rem;
    }

    .about-badge {
        font-size: 0.75rem;
    }

    .stats-grid {
        gap: 1rem;
    }

    .policy-grid,
    .about-grid {
        gap: 0.9rem;
    }

    .offers-rail {
        grid-auto-columns: minmax(220px, 86%);
    }

    .support-footer-bottom,
    .policy-footer-bottom {
        padding-top: 1.25rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 9vw, 2rem);
    }

    .hero-desc {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .hero-ratings {
        gap: 0.6rem;
        padding-top: 0.85rem;
    }

    .rating-text p {
        font-size: 0.72rem;
    }

    .rating-stars svg {
        width: 12px;
        height: 12px;
    }

    .stats-grid {
        gap: 0.85rem;
    }

    .stat-card h3 {
        font-size: 1.6rem;
    }

    .stat-card p {
        font-size: 0.6rem;
        letter-spacing: 0.03em;
    }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 1.7rem);
    }

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

    .custom-card-main {
        padding: 1rem;
        border-radius: 18px;
    }

    .custom-card-shelf {
        padding: 1rem 1rem 0.75rem 1rem;
        font-size: 0.6rem;
    }

    .glass-form-card {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .download-title {
        font-size: 1.25rem;
    }

    .download-buttons-grid {
        gap: 0.7rem;
    }

    .download-app-btn {
        padding: 0.55rem 0.85rem;
        border-radius: 14px;
    }

    .download-app-btn .btn-label {
        font-size: 0.6rem;
    }

    .download-app-btn .btn-store {
        font-size: 0.85rem;
    }

    .download-app-btn .btn-icon svg {
        width: 20px;
        height: 20px;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-nav h4 {
        font-size: 0.78rem;
        margin-bottom: 0.85rem;
    }

    .footer-nav ul {
        gap: 0.5rem;
    }

    .footer-nav a {
        font-size: 0.78rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
        padding-top: 1.25rem;
    }

    .download-modal {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .download-modal h3 {
        font-size: 1.1rem;
    }

    .download-modal p {
        font-size: 0.82rem;
        margin-bottom: 1rem;
    }

    .download-modal-buttons {
        gap: 0.65rem;
    }

    .download-modal-buttons .download-app-btn {
        padding: 0.55rem 1rem;
    }

    .support-card,
    .policy-card,
    .about-card,
    .about-cta {
        padding: 1rem;
        border-radius: 16px;
    }
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 1.5rem;
}

.lang-btn {
    color: #494c73;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.lang-btn:hover {
    color: var(--color-primary);
    background: rgba(6, 182, 212, 0.04);
}

.lang-btn.active {
    color: var(--color-primary);
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
}

.lang-divider {
    color: rgba(0, 0, 0, 0.1);
    font-weight: 300;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-lang-switcher a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.mobile-lang-switcher a.active {
    color: #ffffff !important;
    background: var(--text-main);
    border-color: var(--text-main);
}

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

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6,
[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-desc,
[dir="rtl"] .section-header,
[dir="rtl"] .about-hero-content,
[dir="rtl"] .privacy-hero-content,
[dir="rtl"] .support-hero-content,
[dir="rtl"] .support-card-copy,
[dir="rtl"] .support-contact-meta,
[dir="rtl"] .footer-info p,
[dir="rtl"] .about-card,
[dir="rtl"] .policy-card {
    font-family: 'Cairo', 'Inter', sans-serif;
    text-align: right;
}

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

[dir="rtl"] .btn-link span:last-child {
    transform: scaleX(-1);
    display: inline-block;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 1.5rem;
}

[dir="rtl"] .card-distance {
    direction: ltr;
    text-align: right;
}

[dir="rtl"] .rating-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .rating-text {
    direction: ltr;
    text-align: right;
}

[dir="rtl"] .card-position-1 {
    transform: rotate(5deg) translate(20px, -15px);
}

[dir="rtl"] .card-position-2 {
    transform: rotate(-6deg) translate(-30px, 15px);
}

[dir="rtl"] .card-position-3 {
    transform: rotate(1deg) translate(5px, 90px);
}

[dir="rtl"] .stat-card h3 {
    direction: ltr;
}

[dir="rtl"] .step-number-pill {
    letter-spacing: 0;
}

[dir="rtl"] .mobile-menu-panel a:hover {
    transform: translateX(-2px);
}

[dir="rtl"] .menu-toggle {
    margin-left: 0;
}

