/* ============= Variables - Brand Colors from Logo ============= */
:root {
    --black: #1a1a1a;
    --green: #1B8C3D;
    --green-dark: #157030;
    --green-light: rgba(27, 140, 61, 0.08);
    --red: #C93C3C;
    --red-dark: #a82e2e;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e2e5e9;
    --gray-300: #cdd1d6;
    --gray-500: #6c737a;
    --gray-700: #3a4049;
    --gray-900: #111318;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    direction: rtl;
    font-size: 14px;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= Navbar ============= */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
}

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

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

.nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--green-dark);
}

/* ============= Buttons ============= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

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

.btn-full {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
}

/* ============= Hero ============= */
.hero {
    padding: 90px 0 50px;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(27, 140, 61, 0.06) 0%, transparent 50%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
}

.highlight {
    color: var(--green);
}

.hero-subtitle {
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-bottom: 20px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 10px;
}

.hero-visual {
    flex-shrink: 0;
}

.hero-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
}

/* ============= Stats ============= */
.stats {
    padding: 32px 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}

/* ============= How It Works ============= */
.how-it-works {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.step-card {
    text-align: center;
    padding: 20px 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--black);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 auto 12px;
}

.step-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ============= Customer Types ============= */
.customer-types {
    padding: 48px 0;
    background: var(--gray-50);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.type-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 1.5px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.type-card:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.type-icon {
    color: var(--green);
    margin-bottom: 10px;
}

.type-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 800;
}

.type-card p {
    color: var(--gray-500);
    margin-bottom: 12px;
    font-size: 0.8rem;
    line-height: 1.6;
}

.type-card ul {
    list-style: none;
    padding: 0;
}

.type-card ul li {
    padding: 3px 0;
    color: var(--gray-700);
    font-size: 0.78rem;
    position: relative;
    padding-right: 18px;
}

.type-card ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
}

/* ============= Contact Form ============= */
.contact-section {
    padding: 48px 0;
    background: var(--white);
}

.lead-form {
    max-width: 600px;
    margin: 24px auto 0;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.3s;
    background: var(--white);
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Type Selector */
.type-selector {
    display: flex;
    gap: 8px;
}

.type-option {
    flex: 1;
    cursor: pointer;
}

.type-option input {
    display: none;
}

.type-btn {
    display: block;
    text-align: center;
    padding: 10px 8px;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
    background: var(--white);
}

.type-option input:checked + .type-btn {
    border-color: var(--green);
    background: var(--green-light);
    color: var(--green-dark);
}

.type-btn:hover {
    border-color: var(--green);
}

/* Upload Area */
.upload-area {
    border: 1.5px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--gray-50);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--green);
    background: var(--green-light);
}

.upload-icon {
    margin-bottom: 6px;
}

.upload-area p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.upload-link {
    color: var(--green);
    font-weight: 700;
}

.upload-hint {
    font-size: 0.75rem !important;
    color: var(--gray-500);
    margin-top: 4px;
}

.file-list {
    margin-top: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: var(--gray-50);
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.78rem;
}

.file-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Success */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 12px;
}

.success-message h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--green-dark);
}

.success-message p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============= Footer ============= */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 28px 0 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.78rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: var(--white);
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #1da851;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* ============= WhatsApp Float - RIGHT side ============= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
}

/* ============= Animations ============= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* ============= Responsive ============= */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        margin: 0 auto 20px;
    }

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

    .hero-visual {
        display: none;
    }

    .stats-grid {
        max-width: 100%;
    }

    .steps-grid,
    .types-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .type-selector {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
