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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a1a0a 100%);
    z-index: -2;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* Floating round chat bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.chat-bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(34, 197, 94, 0.15));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chat-bubble:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; animation-duration: 18s; }
.chat-bubble:nth-child(2) { width: 120px; height: 120px; top: 20%; right: 10%; animation-delay: 2s; animation-duration: 22s; }
.chat-bubble:nth-child(3) { width: 60px; height: 60px; top: 50%; left: 8%; animation-delay: 4s; animation-duration: 16s; }
.chat-bubble:nth-child(4) { width: 100px; height: 100px; top: 70%; right: 5%; animation-delay: 6s; animation-duration: 20s; }
.chat-bubble:nth-child(5) { width: 90px; height: 90px; top: 85%; left: 40%; animation-delay: 8s; animation-duration: 19s; }
.chat-bubble:nth-child(6) { width: 70px; height: 70px; top: 35%; left: 60%; animation-delay: 3s; animation-duration: 17s; }
.chat-bubble:nth-child(7) { width: 110px; height: 110px; top: 60%; right: 30%; animation-delay: 5s; animation-duration: 21s; }
.chat-bubble:nth-child(8) { width: 50px; height: 50px; top: 15%; left: 45%; animation-delay: 7s; animation-duration: 15s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translate(-20px, 30px) scale(0.95);
        opacity: 0.5;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #ef4444, #22c55e);
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

/* Main Container */
.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 2rem 4rem;
    position: relative;
    z-index: 1;
}

/* Header section */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.effective-date {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #22c55e;
    font-weight: 500;
}

/* Content sections */
.section {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.section:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #22c55e);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section p:last-child {
    margin-bottom: 0;
}

.section strong {
    color: #ffffff;
    font-weight: 600;
}

.section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.section ul li {
    margin-bottom: 0.6rem;
    padding-left: 0.5rem;
}

.section ul li::marker {
    color: #22c55e;
}

/* Sample message chat bubble */
.sample-message-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: flex-start;
}

.sample-message {
    max-width: 85%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(239, 68, 68, 0.12));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 24px 24px 24px 4px;
    position: relative;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.sample-message-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.sample-message-text {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* Highlight boxes */
.highlight-box {
    margin: 1.25rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    border-radius: 12px;
}

.highlight-box-success {
    background: rgba(34, 197, 94, 0.08);
    border-left-color: #22c55e;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Contact card */
.contact-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 1rem;
}

.contact-card a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer .footer-links a:hover {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .main-container {
        padding: 100px 1rem 2rem;
    }

    .page-header {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 1.75rem 1.5rem;
    }

    .section h2 {
        font-size: 1.25rem;
    }

    .sample-message {
        max-width: 100%;
        padding: 1.25rem 1.5rem;
    }
}

/* ---- Qasa additions ---- */
::selection { background: rgba(34, 197, 94, 0.35); color: #ffffff; }
html { scrollbar-color: rgba(255, 255, 255, 0.25) #0a0a0a; }
a:focus-visible, .cta-primary:focus-visible, .nav-btn:focus-visible {
    outline: 2px solid #22c55e; outline-offset: 3px; border-radius: 50px;
}
h1, h2, h3 { text-wrap: balance; }
.nav-logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.nav-logo span {
    background: linear-gradient(135deg, #ef4444, #22c55e);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-btn, .cta-primary { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
