/* كواكب التقنية — Custom styles on top of Tailwind CDN */
:root {
    --brand-blue: #3b82f6;
    --brand-blue-glow: #60a5fa;
    --brand-green: #22c55e;
    --brand-green-glow: #4ade80;
    --brand-yellow: #f59e0b;
    --brand-yellow-glow: #fbbf24;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #f8fafc;
}

* {
    border-color: var(--line);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Cairo", "Tajawal", system-ui, sans-serif;
    direction: rtl;
    background: #ffffff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Tajawal", "Cairo", system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Brand gradient text */
.text-gradient-brand {
    background: linear-gradient(135deg, #3b82f6 0%, #22c55e 55%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Dotted subtle pattern */
.hero-dots {
    background-image: radial-gradient(
        circle at 1px 1px,
        rgba(15, 23, 42, 0.08) 1px,
        transparent 0
    );
    background-size: 28px 28px;
}

/* Floating action buttons */
.fab {
    position: fixed;
    bottom: 3rem;
    z-index: 50;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    color: #fff;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
.fab-whatsapp {
    left: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #4ade80, #15803d);
    box-shadow: 0 15px 40px -12px rgba(34, 197, 94, 0.55);
}
.fab-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.4);
    animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.fab-top {
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 15px 40px -12px rgba(59, 130, 246, 0.55);
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
}
.fab-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.fab:hover {
    transform: scale(1.06);
}
.fab-top.visible:hover {
    transform: translateY(0) scale(1.06);
}
@keyframes ping {
    75%,
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Card hover lift */
.card-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
}

/* Process connector line */
.process-line {
    position: absolute;
    right: 2rem;
    left: 2rem;
    top: 3.5rem;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #22c55e, #f59e0b);
    opacity: 0.35;
}
@media (max-width: 1023px) {
    .process-line {
        display: none;
    }
}
