/* =============================
   مجيب AI — Landing Page Styles
   ============================= */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #8b5cf6;
    --accent-2: #0ea5e9;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-lighter: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --wa-bg: #0b141a;
    --wa-bubble: #202c33;
    --wa-bubble-in: #005c4b;
    --wa-bubble-in-light: #025c4b;
    --success: #10b981;
    --border: rgba(255,255,255,0.06);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ======================== Typography ======================== */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ======================== Buttons ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover, .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover, .btn-outline:active {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ======================== Header ======================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.logo-icon { font-size: 1.4rem; }

.logo-accent {
    background: linear-gradient(135deg, #a78bfa, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-header {
    padding: 10px 20px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.mobile-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ======================== Hero ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--primary-light);
    font-weight: 700;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-avatars {
    display: flex;
    align-items: center;
}

.trust-avatars .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 2px solid var(--bg);
    margin-left: -10px;
}

.trust-avatars .avatar:first-child { margin-left: 0; }

.trust-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-text strong {
    color: var(--text);
    font-weight: 700;
}

/* WhatsApp Chat */
.hero-chat-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-chat {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(180deg, #111b21, #0b141a);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(99, 102, 241, 0.08);
    animation: chatFloat 6s ease-in-out infinite;
}

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

.chat-header {
    background: linear-gradient(135deg, #1f2c33, #202c33);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.chat-avatar-ai {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.chat-status {
    font-size: 0.75rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-body {
    padding: 16px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-date {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin: 4px 0;
    background: rgba(255,255,255,0.04);
    padding: 4px 12px;
    border-radius: 8px;
    align-self: center;
}

.message-row {
    display: flex;
    width: 100%;
    animation: msgAppear 0.5s ease forwards;
    opacity: 0;
}

.message-row.customer { justify-content: flex-end; }
.message-row.ai { justify-content: flex-start; }

@keyframes msgAppear {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.message-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.message-row.customer .message-bubble {
    background: var(--wa-bubble);
    color: var(--text);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 12px;
}

.message-row.ai .message-bubble {
    background: var(--wa-bubble-in);
    color: #fff;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 12px;
}

.message-bubble p { margin-bottom: 2px; }

.msg-time {
    font-size: 0.65rem;
    color: var(--text-dim);
    display: block;
    text-align: left;
    margin-top: 2px;
}

.message-row.ai .msg-time {
    color: rgba(255,255,255,0.5);
    text-align: right;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    background: var(--wa-bubble-in);
    border-radius: 12px;
    border-bottom-right-radius: 4px;
    width: fit-content;
}

.typing-indicator span {
    width: 7px; height: 7px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 5;
    padding: 40px 0 20px;
    background: linear-gradient(180deg, transparent, var(--bg));
}

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

.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(255,255,255,0.04);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

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

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 350px; height: 350px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 5%; right: -100px;
}

.orb-2 {
    width: 280px; height: 280px;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    bottom: 15%; left: -80px;
}

.orb-3 {
    width: 220px; height: 220px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    top: 40%; left: 35%;
}

/* ======================== Features ======================== */
.features {
    padding: 80px 0;
    position: relative;
}

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

.feature-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.icon-whatsapp { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.icon-brain { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.icon-bolt { background: linear-gradient(135deg, #f59e0b, #f97316); }
.icon-chart { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-target { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.icon-lock { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ======================== How It Works ======================== */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg), rgba(99, 102, 241, 0.03), var(--bg));
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
}

.step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.step-content { flex: 1; padding-top: 4px; }

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.step-connector {
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    margin-right: 25px;
    opacity: 0.4;
    border-radius: 1px;
}

/* ======================== Pricing ======================== */
.pricing {
    padding: 80px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: flex-start;
}

.pricing-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(255,255,255,0.02));
    transform: scale(1.03);
}

.pricing-card.popular:hover { transform: scale(1.03) translateY(-5px); }

.popular-badge {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 16px;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.pricing-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pricing-price {
    text-align: center;
    margin-bottom: 24px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.currency { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.period { font-size: 0.85rem; color: var(--text-dim); }

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: var(--text-muted); }
.pricing-features .cross { color: var(--text-dim); opacity: 0.6; }

/* ======================== FAQ ======================== */
.faq {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg), rgba(99, 102, 241, 0.02), var(--bg));
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(99, 102, 241, 0.15); }

.faq-question {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    transition: var(--transition);
    gap: 12px;
}

.faq-question:hover { color: var(--primary-light); }

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    transition: var(--transition);
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ======================== Contact ======================== */
.contact {
    padding: 80px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-info .section-header {
    text-align: right;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(255,255,255,0.04);
}

.contact-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    padding: 14px;
    font-size: 0.95rem;
}

/* ======================== CTA ======================== */
.cta {
    padding: 64px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================== Footer ======================== */
.footer {
    padding: 64px 0 20px;
    border-top: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.5);
}

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

.footer-brand .logo { margin-bottom: 14px; }

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ======================== WhatsApp Float ======================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

.whatsapp-float-icon { font-size: 1.1rem; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.55); }
}

/* ======================== Responsive ======================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-chat-wrapper { order: -1; }
    .whatsapp-chat { max-width: 340px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-info .section-header { text-align: center; }
    .contact-details { max-width: 500px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .mobile-toggle { display: flex; }
    .btn-header { display: none; }

    .hero { padding: 80px 0 20px; min-height: auto; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .hero-btns .btn-lg { padding: 14px 20px; font-size: 0.95rem; }

    .whatsapp-chat { max-width: 100%; border-radius: 20px; }
    .chat-body { min-height: 280px; padding: 12px; }
    .message-bubble { font-size: 0.82rem; max-width: 90%; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 1.6rem; }
    .stat-item { padding: 16px 12px; }

    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }

    .cta-title { font-size: 1.5rem; }
    .cta-btns { flex-direction: column; }
    .cta-btns .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .footer-social { justify-content: center; }
    .footer-brand .logo { justify-content: center; }

    .whatsapp-float { padding: 10px; font-size: 0.8rem; }
    .whatsapp-float-text { display: none; }

    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }

    .contact-form-wrapper { padding: 24px; }
    .faq-question { font-size: 0.88rem; padding: 14px 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .badge { font-size: 0.75rem; padding: 5px 12px; }
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-item { padding: 14px 10px; }
    .feature-card { padding: 24px 20px; }
    .pricing-card { padding: 24px 20px; }
    .step-number { width: 44px; height: 44px; min-width: 44px; font-size: 1.1rem; }
    .step-title { font-size: 1rem; }
    .step-desc { font-size: 0.85rem; }
    .contact-form-wrapper { padding: 20px; }
    .contact-icon { width: 40px; height: 40px; min-width: 40px; }
    .form-group input, .form-group textarea { padding: 10px 12px; font-size: 16px; }
    .btn-submit { padding: 12px; }
    .cta-title { font-size: 1.3rem; }
    .cta-subtitle { font-size: 0.9rem; }
    .chat-header { padding: 10px 12px; }
    .chat-avatar-ai { width: 36px; height: 36px; font-size: 1rem; }
    .chat-name { font-size: 0.88rem; }
    .chat-status { font-size: 0.7rem; }
    .message-bubble { padding: 6px 10px; border-radius: 10px; }
    .message-bubble p { font-size: 0.8rem; }
    .msg-time { font-size: 0.6rem; }
}

/* ======================== Scrollbar ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-lighter); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ======================== Ripple Animation ======================== */
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}
