﻿/* landing.css - Complete Layout Redesign */

/* ======================================== */
/* ROOT VARIABLES - Preserved Colors */
/* ======================================== */

:root {
    --hc-primary-dark: #14274A;
    --hc-primary-blue: #48A0D8;
    --hc-primary-blue-dark: #0D6EFD;
    --hc-accent-gold: #FFCD35;
    --hc-dark-gold: #CBA052;
    --hc-accent-light: #FFDB74;
    --hc-white: #FFFFFF;
    --hc-soft-bg: #F4F7FB;
    --hc-border: #E4EAF2;
    --hc-text: #223046;
    --hc-text-light: #6E7B8F;
    --hc-gradient-primary: linear-gradient(135deg, #14274A 0%, #1A3A5C 100%);
    --hc-gradient-blue: linear-gradient(135deg, #48A0D8 0%, #0D6EFD 100%);
    --hc-gradient-gold: linear-gradient(135deg, #FFCD35 0%, #CBA052 100%);
    --hc-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --hc-shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --hc-shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --hc-shadow-xl: 0 24px 56px rgba(0,0,0,0.16);
    --hc-border-radius-sm: 12px;
    --hc-border-radius-md: 20px;
    --hc-border-radius-lg: 28px;
    --hc-border-radius-xl: 40px;
}

/* ======================================== */
/* RESET & BASE */
/* ======================================== */

body.landing-page {
    background: var(--hc-white);
    font-family: 'Tajawal', 'Droid Arabic Kufi', 'Segoe UI', Tahoma, Arial, sans-serif;
    overflow-x: hidden;
}

section {
    position: relative;
}

/* ======================================== */
/* HEADER - Modern Glass Effect */
/* ======================================== */

.main-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(72, 160, 216, 0.2);
    box-shadow: var(--hc-shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

    .main-header.fixed-header.header-shrink {
        padding: 0.3rem 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--hc-shadow-md);
    }

.ministry-logo {
    height: 52px;
    width: auto;
    transition: all 0.3s ease;
}

.header-shrink .ministry-logo {
    height: 44px;
}

.main-header.fixed-header .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hc-text);
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

    .main-header.fixed-header .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--hc-gradient-blue);
        transition: width 0.3s ease;
    }

    .main-header.fixed-header .nav-link:hover::after,
    .main-header.fixed-header .nav-link.active::after {
        width: 100%;
    }

    .main-header.fixed-header .nav-link:hover {
        color: var(--hc-primary-blue);
    }

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    background: var(--hc-gradient-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--hc-shadow-sm);
    text-decoration: none;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(72, 160, 216, 0.3);
        color: white;
    }

/* ======================================== */
/* HERO SECTION - Split Layout */
/* ======================================== */

.hero-section {
    position: relative;
    background: var(--hc-gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(72, 160, 216, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-highlight {
    background: var(--hc-gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hc-accent-gold);
}

.hero-stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--hc-gradient-gold);
    color: var(--hc-primary-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 205, 53, 0.3);
        color: var(--hc-primary-dark);
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
        transform: translateY(-2px);
        color: white;
    }

/* Hero Visual - Chat Preview */
.hero-visual {
    position: relative;
}

.visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(72, 160, 216, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.ai-orb-small {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 205, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10px, -20px) scale(1.05);
    }
}

.chat-preview {
    position: relative;
    width: 380px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 10;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--hc-primary-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Chat Avatar with Hamad Image */
.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hc-primary-dark), var(--hc-primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.22s ease;
    animation: chat-avatar-pulse 2.6s ease-in-out infinite;
}

.chat-avatar-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.chat-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(72, 160, 216, 0.3);
}

@keyframes chat-avatar-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(72, 160, 216, 0.3);
    }

    50% {
        box-shadow: 0 6px 16px rgba(7, 31, 58, 0.2), 0 0 0 8px rgba(72, 160, 216, 0);
    }
}

.chat-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.chat-info span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.chat-messages {
    padding: 1rem;
    background: #F8FAFE;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

    .message.received {
        align-self: flex-start;
    }

    .message.sent {
        align-self: flex-end;
    }

.message-bubble {
    padding: 0.6rem 1rem;
    border-radius: 16px;
    font-size: 0.8rem;
    line-height: 1.5;
}

.message.received .message-bubble {
    background: white;
    border: 1px solid var(--hc-border);
    border-radius: 16px 16px 16px 4px;
    color: var(--hc-text);
}

.message.sent .message-bubble {
    background: var(--hc-gradient-blue);
    color: white;
    border-radius: 16px 16px 4px 16px;
}

.message-time {
    font-size: 0.65rem;
    color: var(--hc-text-light);
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

.chat-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--hc-border);
    display: flex;
    gap: 0.5rem;
}

    .chat-input-area input {
        flex: 1;
        padding: 0.6rem 1rem;
        border: 1px solid var(--hc-border);
        border-radius: 50px;
        font-size: 0.8rem;
        font-family: inherit;
    }

        .chat-input-area input:focus {
            outline: none;
            border-color: var(--hc-primary-blue);
        }

    .chat-input-area button {
        width: 36px;
        height: 36px;
        background: var(--hc-gradient-blue);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .chat-input-area button i {
            color: white;
            font-size: 0.9rem;
        }

/* Floating Docs */
.floating-doc {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hc-primary-dark);
    box-shadow: var(--hc-shadow-md);
    white-space: nowrap;
    z-index: 10;
}

    .floating-doc i {
        font-size: 0.9rem;
        color: var(--hc-primary-blue);
    }

.doc-1 {
    top: 0;
    right: -20px;
    animation: floatDoc 5s ease-in-out infinite;
}

.doc-2 {
    bottom: 60px;
    left: -40px;
    animation: floatDoc 4s ease-in-out infinite 1s;
}

.doc-3 {
    bottom: 120px;
    right: -50px;
    animation: floatDoc 6s ease-in-out infinite 0.5s;
}

@keyframes floatDoc {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

    .hero-wave-bottom svg {
        width: 100%;
        height: auto;
    }

/* ======================================== */
/* FEATURES SECTION - Grid Layout */
/* ======================================== */

.features-section {
    padding: 6rem 0;
    background: var(--hc-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(72, 160, 216, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hc-primary-blue);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hc-primary-dark);
    margin-bottom: 1rem;
}

    .section-title .highlight {
        background: var(--hc-gradient-blue);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.section-subtitle {
    font-size: 1rem;
    color: var(--hc-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--hc-white);
    border-radius: var(--hc-border-radius-md);
    padding: 1.8rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--hc-border);
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--hc-shadow-lg);
        border-color: transparent;
    }

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(72, 160, 216, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .feature-icon i {
        font-size: 1.4rem;
        color: var(--hc-primary-blue);
    }

.feature-content {
    flex: 1;
}

    .feature-content h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--hc-primary-dark);
        margin-bottom: 0.5rem;
    }

    .feature-content p {
        font-size: 0.85rem;
        color: var(--hc-text-light);
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

.feature-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--hc-primary-blue);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

    .feature-arrow i {
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    .feature-arrow:hover {
        gap: 0.5rem;
    }

/* ======================================== */
/* STATS SECTION - Counter Layout */
/* ======================================== */

.stats-section {
    padding: 4rem 0;
    background: var(--hc-soft-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--hc-white);
    border-radius: var(--hc-border-radius-md);
    transition: all 0.3s ease;
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--hc-shadow-md);
    }

.stat-icon {
    width: 55px;
    height: 55px;
    background: rgba(72, 160, 216, 0.1);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .stat-icon i {
        font-size: 1.6rem;
        color: var(--hc-primary-blue);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hc-primary-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hc-text);
    margin-bottom: 0.5rem;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

    .stat-trend i {
        font-size: 0.8rem;
    }

/* ======================================== */
/* PROCESS SECTION - Timeline Layout */
/* ======================================== */

.process-section {
    padding: 6rem 0;
    background: var(--hc-white);
}

.process-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--hc-white);
    border-radius: var(--hc-border-radius-md);
    transition: all 0.3s ease;
    position: relative;
}

    .process-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--hc-shadow-lg);
    }

.process-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--hc-gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--hc-shadow-sm);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: rgba(72, 160, 216, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .process-icon i {
        font-size: 2rem;
        color: var(--hc-primary-blue);
    }

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hc-primary-dark);
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.85rem;
    color: var(--hc-text-light);
    line-height: 1.5;
}

.process-connector {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--hc-primary-blue), var(--hc-accent-gold));
}

/* ======================================== */
/* TESTIMONIALS SECTION - Modern Cards */
/* ======================================== */

.testimonials-section {
    padding: 6rem 0;
    background: var(--hc-soft-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--hc-white);
    border-radius: var(--hc-border-radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

    .testimonial-card.featured {
        border: 2px solid var(--hc-primary-blue);
        position: relative;
        transform: scale(1.02);
    }

        .testimonial-card.featured::before {
            content: 'الأكثر تقييماً';
            position: absolute;
            top: -12px;
            left: 20px;
            background: var(--hc-gradient-blue);
            color: white;
            font-size: 0.7rem;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-weight: 600;
        }

    .testimonial-card:hover:not(.featured) {
        transform: translateY(-5px);
        box-shadow: var(--hc-shadow-md);
    }

.testimonial-rating {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
}

    .testimonial-rating i {
        font-size: 0.85rem;
        color: var(--hc-accent-gold);
    }

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--hc-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--hc-border);
    padding-top: 1rem;
}

.author-image i {
    font-size: 2rem;
    color: var(--hc-primary-blue);
    opacity: 0.7;
}

.author-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hc-primary-dark);
    margin: 0;
}

.author-details span {
    font-size: 0.7rem;
    color: var(--hc-text-light);
}

/* ======================================== */
/* ABOUT SECTION */
/* ======================================== */

.about-section {
    padding: 6rem 0;
    background: var(--hc-white);
}

.about-content {
    padding-left: 2rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hc-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    color: var(--hc-text-light);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

    .about-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        color: var(--hc-text);
        font-weight: 500;
    }

        .about-list li i {
            width: 22px;
            height: 22px;
            background: var(--hc-gradient-blue);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            color: white;
        }

.about-visual {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(72, 160, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* About Section - Large Hamad Avatar */
.about-hamad {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hc-primary-dark), var(--hc-primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: about-hamad-pulse 3s ease-in-out infinite;
}

.about-hamad-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.95);
}

.about-hamad::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid rgba(72, 160, 216, 0.25);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-hamad:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 45px rgba(7, 31, 58, 0.35);
    animation-play-state: paused;
}

    .about-hamad:hover::before {
        opacity: 1;
        transform: scale(1.06);
    }

@keyframes about-hamad-pulse {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(72, 160, 216, 0.25);
    }

    50% {
        box-shadow: 0 18px 42px rgba(7, 31, 58, 0.28), 0 0 0 18px rgba(72, 160, 216, 0);
    }
}

/* ======================================== */
/* CTA SECTION - Bold Card Layout */
/* ======================================== */

.cta-section {
    padding: 5rem 0;
    background: var(--hc-gradient-primary);
}

.cta-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--hc-border-radius-lg);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    flex: 1;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 205, 53, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--hc-accent-gold);
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

    .cta-title .highlight {
        background: var(--hc-gradient-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.cta-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.cta-image {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 205, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.cta-image i {
    font-size: 3rem;
    color: var(--hc-accent-gold);
    z-index: 1;
}

/* ======================================== */
/* FOOTER - Clean Layout */
/* ======================================== */

.main-footer {
    background: var(--hc-primary-dark);
    color: white;
    padding: 2.5rem 0;
    border-top: 3px solid var(--hc-primary-blue);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 42px;
    width: auto;
    opacity: 0.9;
}

.footer-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.85rem;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--hc-accent-gold);
        }

/* ======================================== */
/* RESPONSIVE DESIGN */
/* ======================================== */

/* Large screens (1200px and above) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet screens (768px to 991px) */
@media (max-width: 991px) {
    /* Hero section */
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Chat preview */
    .chat-preview {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .floating-doc {
        display: none;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process */
    .process-grid {
        flex-direction: column;
    }

    .process-connector {
        width: 2px;
        height: 30px;
    }

    .process-card {
        width: 100%;
        max-width: 320px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonial-card.featured {
        transform: scale(1);
        order: -1;
    }

    /* About */
    .about-content {
        text-align: center;
        padding-left: 0;
        margin-bottom: 2rem;
    }

    .about-list li {
        justify-content: center;
    }

    /* CTA */
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* Mobile screens (576px to 767px) */
@media (max-width: 768px) {
    /* Hero */
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.2rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    /* Features */
    .features-section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Stats */
    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Process */
    .process-section {
        padding: 3rem 0;
    }

    .process-card {
        padding: 1.5rem;
    }

    .process-icon {
        width: 55px;
        height: 55px;
    }

        .process-icon i {
            font-size: 1.5rem;
        }

    /* Testimonials */
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-card {
        padding: 1.2rem;
    }

    /* About */
    .about-section {
        padding: 3rem 0;
    }

    .about-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-visual {
        height: 250px;
    }

    .about-hamad {
        width: 110px;
        height: 110px;
    }

    .about-hamad-img {
        width: 94px;
        height: 94px;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-card {
        padding: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Small mobile screens (under 576px) */
@media (max-width: 576px) {
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-outline {
        justify-content: center;
    }

    /* Chat preview */
    .chat-preview {
        max-width: 100%;
        border-radius: 20px;
    }

    .chat-messages {
        min-height: 240px;
        padding: 0.8rem;
    }

    .message-bubble {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }

    .chat-avatar {
        width: 40px;
        height: 40px;
    }

    .chat-avatar-img {
        width: 34px;
        height: 34px;
    }

    /* Section titles */
    .section-title {
        font-size: 1.5rem;
    }

    /* Feature cards */
    .feature-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .feature-arrow {
        justify-content: center;
    }

    /* Process */
    .process-card {
        max-width: 100%;
    }

    .process-number {
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        justify-content: center;
    }

    /* Stats */
    .stat-trend {
        font-size: 0.65rem;
    }
}

/* Very small devices (under 380px) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1rem;
    }

    .hero-stat-label {
        font-size: 0.6rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .process-icon {
        width: 50px;
        height: 50px;
    }

        .process-icon i {
            font-size: 1.3rem;
        }
}

/* ======================================== */
/* ANIMATIONS & UTILITIES */
/* ======================================== */

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--hc-gradient-blue);
    z-index: 10001;
    transition: width 0.1s ease;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--hc-gradient-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hc-shadow-md);
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(72, 160, 216, 0.3);
    }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    body.landing-page .fade-in-element,
    body.landing-page .fade-in-visible,
    body.landing-page .scroll-progress-bar,
    body.landing-page .back-to-top,
    body.landing-page .main-header.fixed-header,
    body.landing-page .main-header.fixed-header .nav-link,
    body.landing-page .btn-login,
    body.landing-page .btn-primary,
    body.landing-page .btn-outline {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
