/**
 * AqarScope - Landing Page Styles
 * Brand Color: #059191
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --brand: #059191;
    --brand-dark: #047878;
    --brand-light: #06a5a5;
    --brand-rgb: 5, 145, 145;
    --secondary: #7C7C7C;
    --light: #D1D3D4;
    --dark: #1a1a2e;
    --text-primary: #1a1a2e;
    --text-secondary: #7C7C7C;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafb;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --font-primary: 'El Messiri', 'Zain', sans-serif;
    --font-secondary: 'Alexandria', 'Zain', sans-serif;
    --font-display: 'Zain', 'El Messiri', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
    --shadow-brand: 0 4px 20px rgba(5, 145, 145, 0.3);
    --shadow-brand-lg: 0 8px 30px rgba(5, 145, 145, 0.4);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s ease;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(5, 145, 145, 0.2); }
    50% { box-shadow: 0 0 40px rgba(5, 145, 145, 0.4); }
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes shapeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 10;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-brand);
    transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.05);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-ar {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.navbar:not(.scrolled) .logo-ar {
    color: white;
}

.logo-en {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
    font-family: var(--font-secondary);
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand);
    background: rgba(5, 145, 145, 0.08);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-display);
}

.navbar.scrolled .lang-toggle {
    border-color: var(--border);
    background: transparent;
    color: var(--text-secondary);
}

.lang-toggle:hover {
    background: rgba(5,145,145,0.1);
    border-color: var(--brand);
    color: var(--brand);
}

.lang-active { font-weight: 800; }
.lang-divider { opacity: 0.5; }
.lang-inactive { opacity: 0.6; }

.btn-nav {
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    font-family: var(--font-secondary);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
}

.btn-nav-outline {
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent;
}

.navbar.scrolled .btn-nav-outline {
    color: var(--brand);
    border-color: var(--brand);
}

.btn-nav-outline:hover {
    background: rgba(255,255,255,0.15);
}

.navbar.scrolled .btn-nav-outline:hover {
    background: rgba(5,145,145,0.08);
}

.btn-nav-primary {
    background: white;
    color: var(--brand);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .btn-nav-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    box-shadow: var(--shadow-brand);
}

.btn-nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .hamburger-line {
    background: var(--dark);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

.mobile-menu.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.mobile-nav-links a {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 10px;
    transition: all var(--transition);
}

.mobile-nav-links a:hover {
    background: rgba(5,145,145,0.08);
    color: var(--brand);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.mobile-nav-actions .btn-nav {
    text-align: center;
    justify-content: center;
}

.mobile-nav-actions .btn-nav-outline {
    color: var(--brand);
    border-color: var(--brand);
}

.mobile-nav-actions .btn-nav-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-mesh-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(5, 145, 145, 0.9) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(4, 120, 120, 0.8) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(6, 165, 165, 0.7) 0%, transparent 45%),
        linear-gradient(135deg, #047878 0%, #059191 25%, #06a5a5 50%, #059191 75%, #047878 100%);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
}

.hero-floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: -3%;
    animation: float 10s ease-in-out infinite reverse;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 20%;
    left: 15%;
    animation: floatSlow 12s ease-in-out infinite;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    right: 15%;
    animation: float 7s ease-in-out infinite 1s;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.shape-5 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 30%;
    animation: floatSlow 9s ease-in-out infinite;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.shape-6 {
    width: 60px;
    height: 60px;
    bottom: 35%;
    left: 25%;
    animation: shapeRotate 20s linear infinite;
    border-radius: 30%;
    background: rgba(255,255,255,0.06);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 24px 40px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(18px, 2.5vw, 24px);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-secondary);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-hero-primary {
    background: white;
    color: var(--brand);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.hero-stat-card {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 140px;
    transition: all var(--transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.stat-plus {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.stat-label {
    width: 100%;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    font-family: var(--font-secondary);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

/* ========================================
   Section Common
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(5, 145, 145, 0.08);
    border: 1px solid rgba(5, 145, 145, 0.15);
    border-radius: 50px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(5, 145, 145, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--brand);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--brand);
    color: white;
    transform: scale(1.08);
    box-shadow: var(--shadow-brand);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.service-link i {
    transition: transform var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(-4px);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: ltr;
}

.feature-row-reverse .feature-content {
    direction: rtl;
}

.feature-row-reverse .feature-visual {
    direction: rtl;
}

.feature-visual-card {
    position: relative;
    background: linear-gradient(135deg, rgba(5,145,145,0.05), rgba(5,145,145,0.02));
    border: 1px solid rgba(5,145,145,0.1);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    box-shadow: var(--shadow-brand-lg);
    position: relative;
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite;
}

.feature-visual-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(5,145,145,0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(5,145,145,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.feature-visual-pattern.pattern-2 {
    background-image:
        linear-gradient(45deg, rgba(5,145,145,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(5,145,145,0.03) 25%, transparent 25%);
    background-size: 60px 60px;
}

.feature-visual-pattern.pattern-3 {
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 20px, rgba(5,145,145,0.03) 20px, rgba(5,145,145,0.03) 21px
    );
}

.feature-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(5,145,145,0.1);
    border-radius: 50px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--brand);
    font-size: 16px;
    flex-shrink: 0;
}

/* ========================================
   Statistics Section
   ======================================== */
.stats-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.stats-parallax-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    z-index: 0;
}

.stats-parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stats-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-6px);
}

.stats-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 20px;
}

.stats-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stats-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-secondary);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-popular {
    border-color: var(--brand);
    transform: scale(1.04);
    box-shadow: var(--shadow-brand-lg);
}

.pricing-card-popular:hover {
    transform: scale(1.04) translateY(-8px);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-secondary);
}

.pricing-header {
    text-align: center;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-currency {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.pricing-card-popular .pricing-amount {
    color: var(--brand);
}

.pricing-period {
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(226,232,240,0.5);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i.fa-check {
    color: var(--brand);
    font-size: 14px;
}

.pricing-features li i.fa-times {
    color: var(--light);
    font-size: 14px;
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: all var(--transition);
    font-family: var(--font-secondary);
    cursor: pointer;
    border: none;
}

.btn-pricing-outline {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-pricing-outline:hover {
    background: var(--brand);
    color: white;
    box-shadow: var(--shadow-brand);
}

.btn-pricing-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white;
    box-shadow: var(--shadow-brand);
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand-lg);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 19px);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5,145,145,0.2);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--warning);
    font-size: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-primary);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
    font-family: var(--font-primary);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 16px;
}

.carousel-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(5,145,145,0.05);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.carousel-dot.active {
    background: var(--brand);
    width: 28px;
    border-radius: 5px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    top: -40%;
    right: -10%;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -20%;
    left: -5%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-secondary);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-cta-white {
    background: white;
    color: var(--brand);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer .nav-logo-icon {
    box-shadow: none;
}

.footer .logo-ar {
    color: white;
}

.footer-about {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a,
.footer-contact span {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--brand);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--brand);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: white;
}

.footer-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-secondary);
}

.footer-lang-btn:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* ========================================
   Scroll Animation Classes
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: rtl;
    }

    .feature-row-reverse .feature-content,
    .feature-row-reverse .feature-visual {
        direction: rtl;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card-popular {
        transform: scale(1);
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }

    .testimonial-card {
        min-width: calc(50% - 14px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid,
    .stats-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .hero-stat-card {
        min-width: 200px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-legal {
        justify-content: center;
    }

    .feature-visual-card {
        padding: 60px 40px;
    }

    .feature-icon-large {
        width: 90px;
        height: 90px;
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}
