/* ================================================ */
/* CSS VARIABLES & RESET                              */
/* ================================================ */

:root {
    /* الألوان الأساسية */
    --primary: #1A3C6E;
    --primary-dark: #0F2649;
    --primary-light: #2E5390;
    --accent: #00BFA5;
    --accent-dark: #00A693;
    --accent-light: #4DD3BD;
    --gold: #F4A535;
    --gold-light: #FFC477;

    /* الخلفيات */
    --white: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-subtle: #EDF3F7;
    --bg-medium: #DDE5EE;

    /* النصوص */
    --text-primary: #1A2332;
    --text-secondary: #5C6B7A;
    --text-muted: #94A3B8;
    --text-on-dark: rgba(255, 255, 255, 0.92);
    --text-on-dark-muted: rgba(255, 255, 255, 0.7);

    /* الحدود والظلال */
    --border-color: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(15, 38, 73, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 38, 73, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 38, 73, 0.10);
    --shadow-xl: 0 24px 64px rgba(15, 38, 73, 0.15);
    --shadow-primary: 0 12px 32px rgba(26, 60, 110, 0.25);
    --shadow-accent: 0 12px 32px rgba(0, 191, 165, 0.25);

    /* القياسات */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* الخط */
    --font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* الـ Container */
    --container-max: 1240px;
    --container-padding: 20px;

    /* الـ Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-navbar: 100;
    --z-loader: 200;
    --z-floating: 90;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ================================================ */
/* PAGE LOADER                                        */
/* ================================================ */

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: var(--z-loader);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

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

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

.loader-cross {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.loader-line {
    position: absolute;
    background: var(--accent);
    border-radius: 4px;
}

.loader-line-h {
    width: 70px;
    height: 14px;
    top: 28px;
    left: 0;
    animation: pulseH 1.2s ease-in-out infinite;
}

.loader-line-v {
    width: 14px;
    height: 70px;
    left: 28px;
    top: 0;
    animation: pulseV 1.2s ease-in-out infinite;
}

@keyframes pulseH {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes pulseV {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

.loader-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

/* ================================================ */
/* TYPOGRAPHY                                         */
/* ================================================ */

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}

p {
    line-height: 1.8;
}

/* ================================================ */
/* BUTTONS                                            */
/* ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 191, 165, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

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

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-nav {
    padding: 10px 22px;
    font-size: 14px;
}

/* ================================================ */
/* 1. NAVBAR                                          */
/* ================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition);
    padding: 16px 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon svg {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 8px 14px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-subtle);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(0, 191, 165, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 50%;
    transform: translateX(50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

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

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================ */
/* 2. HERO SECTION                                    */
/* ================================================ */

.hero {
    position: relative;
    padding: 140px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 191, 165, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 165, 53, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    left: -150px;
    animation: float 12s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: 100px;
    right: -100px;
    animation: float 15s ease-in-out infinite reverse;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 60px;
    flex: 1;
}

.hero-content {
    color: var(--white);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 191, 165, 0.15);
    border: 1px solid rgba(0, 191, 165, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-on-dark);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--text-on-dark);
    font-size: 14px;
    font-weight: 500;
}

.hero-badges li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-badges i {
    color: var(--accent-light);
}

/* Hero Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 570px;
    background: var(--primary-dark);
    border-radius: 42px;
    padding: 12px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
    transition: transform var(--transition-slow);
}

.hero-visual:hover .phone-mockup {
    transform: rotate(0deg);
}

.phone-notch {
    position: absolute;
    top: 12px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 22px;
    background: var(--primary-dark);
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #F0F7FA, #FFFFFF);
    border-radius: 32px;
    padding: 36px 20px 20px;
    overflow: hidden;
    position: relative;
    direction: rtl;
}

.phone-header {
    margin-bottom: 16px;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 16px;
    direction: ltr;
}

.phone-status span {
    display: flex;
    gap: 4px;
}

.phone-greeting {
    color: var(--text-primary);
}

.phone-greeting small {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

.phone-greeting strong {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.phone-card-upcoming {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.phone-card-upcoming::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 191, 165, 0.2);
    border-radius: 50%;
    top: -30px;
    left: -30px;
}

.phone-card-label {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.phone-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.phone-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.phone-card-meta i {
    color: var(--accent-light);
    font-size: 10px;
}

.phone-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.phone-service-icon {
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.phone-service-icon:nth-child(2) { color: var(--gold); }
.phone-service-icon:nth-child(3) { color: #E74C3C; }
.phone-service-icon:nth-child(4) { color: var(--primary); }
.phone-service-icon:nth-child(5) { color: var(--accent); }
.phone-service-icon:nth-child(6) { color: var(--gold); }

.floating-card {
    position: absolute;
    background: var(--white);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.floating-card small {
    font-size: 11px;
    color: var(--text-secondary);
}

.floating-card-1 {
    top: 60px;
    right: -10px;
    animation-delay: 0s;
}

.floating-card-1 i {
    width: 36px;
    height: 36px;
    background: rgba(0, 191, 165, 0.15);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.floating-card-2 {
    bottom: 80px;
    left: -20px;
    animation-delay: 2s;
}

.rating-stars {
    color: var(--gold);
    font-size: 12px;
    display: flex;
    gap: 2px;
}

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

/* Hero Stats */
.hero-stats {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 28px 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

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

.stat-number {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-on-dark-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ================================================ */
/* SECTION COMMON                                     */
/* ================================================ */

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(0, 191, 165, 0.1);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================================ */
/* 3. SERVICES                                        */
/* ================================================ */

.section-services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--accent);
    opacity: 0;
    border-radius: 50%;
    transform: translate(40%, -40%);
    transition: all var(--transition);
}

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

.service-card:hover::before {
    opacity: 0.06;
    transform: translate(20%, -20%);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: all var(--transition);
}

.service-icon-1 { background: rgba(0, 191, 165, 0.12); color: var(--accent); }
.service-icon-2 { background: rgba(244, 165, 53, 0.12); color: var(--gold); }
.service-icon-3 { background: rgba(26, 60, 110, 0.12); color: var(--primary); }
.service-icon-4 { background: rgba(231, 76, 60, 0.12); color: #E74C3C; }
.service-icon-5 { background: rgba(155, 89, 182, 0.12); color: #9B59B6; }
.service-icon-6 { background: rgba(0, 191, 165, 0.12); color: var(--accent); }
.service-icon-7 { background: rgba(52, 152, 219, 0.12); color: #3498DB; }
.service-icon-8 { background: rgba(244, 165, 53, 0.12); color: var(--gold); }

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    transition: all var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary);
}

.service-link i {
    font-size: 11px;
    transition: transform var(--transition);
}

/* ================================================ */
/* 4. HOW IT WORKS                                    */
/* ================================================ */

.section-how {
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-line {
    position: absolute;
    top: 40px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: repeating-linear-gradient(
        to left,
        var(--border-color) 0,
        var(--border-color) 8px,
        transparent 8px,
        transparent 16px
    );
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.step:hover .step-number {
    transform: scale(1.05);
}

.step-number span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border: 3px solid var(--white);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.step:nth-child(3) .step-icon { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.step:nth-child(4) .step-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.step:nth-child(5) .step-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 250px;
    margin: 0 auto;
}

/* ================================================ */
/* 5. WHY US                                          */
/* ================================================ */

.section-why {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.section-why::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 191, 165, 0.06), transparent 60%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(0, 191, 165, 0.3);
    transition: all var(--transition);
}

.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); box-shadow: 0 8px 20px rgba(26, 60, 110, 0.3); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 8px 20px rgba(244, 165, 53, 0.3); }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, var(--gold), #E74C3C); box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3); }

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================================ */
/* 6. APP SHOWCASE                                    */
/* ================================================ */

.section-showcase {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.showcase-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(0, 191, 165, 0.15), transparent 50%);
    pointer-events: none;
}

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

.showcase-eyebrow {
    background: rgba(0, 191, 165, 0.2);
    color: var(--accent-light);
}

.showcase-title {
    color: var(--white);
    text-align: right;
}

.showcase-desc {
    font-size: 16px;
    color: var(--text-on-dark);
    line-height: 1.9;
    margin-bottom: 28px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-on-dark);
    font-size: 15px;
    font-weight: 500;
}

.showcase-features i {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.showcase-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 28px;
}

.store-btn small {
    display: block;
    font-size: 10px;
    opacity: 0.8;
}

.store-btn strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

/* Showcase Phones */
.showcase-phones {
    position: relative;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-phone {
    width: 200px;
    height: 410px;
    background: var(--primary-dark);
    border-radius: 32px;
    padding: 10px;
    position: absolute;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    transition: all var(--transition-slow);
}

.showcase-phone-1 {
    z-index: 3;
    transform: rotate(0deg);
}

.showcase-phone-2 {
    z-index: 2;
    transform: rotate(-8deg) translateX(140px);
    opacity: 0.95;
}

.showcase-phone-3 {
    z-index: 2;
    transform: rotate(8deg) translateX(-140px);
    opacity: 0.95;
}

.showcase-phones:hover .showcase-phone-1 {
    transform: rotate(-3deg) translateY(-10px);
}

.phone-screen-mini {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #F0F7FA, #FFFFFF);
    border-radius: 24px;
    padding: 24px 16px 16px;
    overflow: hidden;
    direction: rtl;
    color: var(--text-primary);
    font-size: 12px;
}

.mini-header {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    color: var(--primary);
}

.mini-greeting small {
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
}

.mini-greeting strong {
    font-size: 15px;
    color: var(--text-primary);
}

.mini-upcoming {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    padding: 12px;
    border-radius: 12px;
    margin: 12px 0;
}

.mini-upcoming small { font-size: 9px; opacity: 0.9; display: block; }
.mini-upcoming strong { font-size: 13px; display: block; margin: 2px 0; }
.mini-upcoming span { font-size: 10px; opacity: 0.9; }

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 12px;
}

.mini-tile {
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mini-tile:nth-child(2) { color: var(--gold); }
.mini-tile:nth-child(3) { color: #E74C3C; }
.mini-tile:nth-child(4) { color: var(--accent); }

.mini-calendar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.mini-day {
    aspect-ratio: 1;
    background: var(--bg-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.mini-day-active {
    background: var(--primary);
    color: var(--white);
}

.mini-time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.mini-slot {
    padding: 8px;
    background: var(--bg-subtle);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
}

.mini-slot-active {
    background: var(--accent);
    color: var(--white);
}

.mini-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
}

.mini-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 191, 165, 0.15);
    color: var(--accent-dark);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 14px;
}

.mini-status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.mini-tracking-map {
    height: 130px;
    background: linear-gradient(135deg, #DDE5EE, #C5D0DC);
    border-radius: 12px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 20px 20px;
}

.mini-pin {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 191, 165, 0.5);
}

.mini-pin::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: pinPulse 2s ease-out infinite;
}

@keyframes pinPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

.mini-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}

.mini-provider strong { display: block; font-size: 11px; }
.mini-provider small { font-size: 9px; color: var(--text-secondary); }

/* ================================================ */
/* 7. TESTIMONIALS                                    */
/* ================================================ */

.section-testimonials {
    background: var(--white);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition);
}

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

.testimonial-quote-mark {
    position: absolute;
    top: 16px;
    left: 28px;
    font-size: 72px;
    line-height: 1;
    font-family: serif;
    color: var(--accent);
    opacity: 0.15;
    font-weight: 900;
}

.testimonial-rating {
    color: var(--gold);
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 24px;
    min-height: 130px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
}

.testimonial-info small {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    transition: all var(--transition);
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 5px;
}

/* ================================================ */
/* 8. PAYMENTS                                        */
/* ================================================ */

.section-payments {
    background: var(--bg-light);
    padding: 80px 0;
}

.payments-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.payments-text {
    text-align: center;
    margin-bottom: 36px;
}

.payments-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.payments-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    min-height: 80px;
}

.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.payment-logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
}

.payment-fawry { color: #FFC107; }
.payment-bankak { color: #1A3C6E; }
.payment-o-cash { color: #00BFA5; }
.payment-amnplus { color: #E74C3C; }
.payment-cash {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-cash i {
    color: var(--accent);
    font-size: 22px;
}

/* ================================================ */
/* 9. BLOG                                            */
/* ================================================ */

.section-blog {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

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

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-image-1 {
    background: linear-gradient(135deg, #FFE5B4, #F4A535),
                radial-gradient(circle at 70% 30%, rgba(255,255,255,0.4), transparent 50%);
    background-blend-mode: overlay;
}

.blog-image-1::after {
    content: '\f4d3';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 80px;
}

.blog-image-2 {
    background: linear-gradient(135deg, #B5DBC5, #00BFA5);
}

.blog-image-2::after {
    content: '\f0fa';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 80px;
}

.blog-image-3 {
    background: linear-gradient(135deg, #B5C7F0, #1A3C6E);
}

.blog-image-3::after {
    content: '\f554';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 80px;
}

.blog-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
}

.blog-content {
    padding: 26px 24px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 14px;
}

.blog-meta i {
    margin-left: 4px;
    color: var(--accent);
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 14px;
    transition: gap var(--transition);
}

.blog-link:hover {
    gap: 12px;
    color: var(--primary);
}

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

/* ================================================ */
/* 10. CTA SECTION                                    */
/* ================================================ */

.section-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(244, 165, 53, 0.2), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1), transparent 40%);
    pointer-events: none;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}

.cta-badge i {
    color: var(--gold);
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-on-dark);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-on-dark);
    font-size: 14px;
    font-weight: 500;
}

.cta-trust i {
    color: var(--gold);
}

/* ================================================ */
/* 11. FOOTER                                         */
/* ================================================ */

.footer {
    background: var(--primary-dark);
    color: var(--text-on-dark);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col-brand {
    padding-left: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-desc {
    color: var(--text-on-dark);
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-on-dark);
    font-size: 14px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '←';
    color: var(--accent);
    opacity: 0;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(-4px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-on-dark);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
}

.footer-contact a {
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-on-dark-muted);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* ================================================ */
/* FLOATING ELEMENTS                                  */
/* ================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: var(--z-floating);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    opacity: 0.5;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    background: var(--text-primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

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

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-floating);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

/* ================================================ */
/* RESPONSIVE DESIGN                                  */
/* ================================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid .blog-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-container {
        gap: 40px;
    }
    .phone-mockup {
        width: 240px;
        height: 490px;
    }
    .showcase-content {
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        padding-left: 0;
    }
    .testimonial-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {

    html {
        scroll-padding-top: 70px;
    }

    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 64px;
        right: 0;
        left: 0;
        flex-direction: column;
        background: var(--white);
        padding: 24px 20px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
        transform: translateY(-150%);
        transition: transform var(--transition);
        border-bottom: 1px solid var(--border-light);
    }

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

    .nav-link {
        width: 100%;
        padding: 14px 18px;
        text-align: right;
    }

    .nav-link.active::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 100px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-bottom: 40px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions, .hero-badges {
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 490px;
        transform: rotate(0);
    }

    .floating-card {
        display: none;
    }

    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .service-title {
        font-size: 16px;
    }

    /* Steps Mobile */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-line {
        display: none;
    }

    /* Why Us Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    /* Showcase Mobile */
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .showcase-features li {
        justify-content: center;
        text-align: right;
    }

    .showcase-buttons {
        justify-content: center;
    }

    .showcase-phones {
        height: 440px;
    }

    .showcase-phone {
        width: 170px;
        height: 340px;
    }

    .showcase-phone-2 {
        transform: rotate(-8deg) translateX(100px);
    }

    .showcase-phone-3 {
        transform: rotate(8deg) translateX(-100px);
    }

    /* Testimonials Mobile */
    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-text {
        min-height: auto;
    }

    /* Payments Mobile */
    .payments-wrapper {
        padding: 30px 20px;
    }

    .payments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .payment-item {
        padding: 14px;
        min-height: 64px;
    }

    .payment-logo {
        font-size: 16px;
    }

    /* Blog Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-grid .blog-card:last-child {
        max-width: none;
    }

    /* CTA Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: right;
    }

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

    /* Floating Mobile */
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 24px;
        bottom: 18px;
        left: 18px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 86px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 26px;
        font-size: 15px;
    }

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

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

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

/* ================================================ */
/* ACCESSIBILITY                                      */
/* ================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--white);
}
