/* ============================================================
   METBABER MASTER CSS - COMPLETE FIXED VERSION
   Includes all working styles from original CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── VARIABLES ────────────────────────────────────────────────── */
:root {
    --font-sans:   "Inter", ui-sans-serif, system-ui, sans-serif;
    --font-serif:  "Fraunces", "Playfair Display", serif;

    --brand-red:        #D62928;
    --brand-red-deep:   #A01E1E;
    --brand-red-glow:   rgba(214, 41, 40, 0.18);
    --brand-cream:      #faf9f5;
    --brand-cream-warm: #f3ede0;
    --brand-ink:        #1a120a;
    --brand-ink-soft:   #3a2e22;
    --brand-ink-muted:  #6b5e4c;
    --brand-gold:       #c8952a;
    --brand-gold-light: #fdf0d6;

    --shadow-sm:  0 1px 4px rgba(26,18,10,0.07), 0 1px 2px rgba(26,18,10,0.05);
    --shadow-md:  0 6px 20px rgba(26,18,10,0.10), 0 2px 8px rgba(26,18,10,0.06);
    --shadow-lg:  0 20px 52px rgba(26,18,10,0.13), 0 6px 18px rgba(26,18,10,0.07);
    --shadow-red: 0 8px 24px rgba(214,41,40,0.28);

    --ease:    cubic-bezier(0.22, 1, 0.36, 1);
    --r-sm:    8px;
    --r-md:    16px;
    --r-lg:    24px;
    --r-xl:    36px;
    --r-full:  9999px;
}

/* ── BASE ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { 
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: var(--font-sans);
    background-color: var(--brand-cream);
    margin: 0;
    color: var(--brand-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
    overflow-x: hidden;
    padding-top: 70px;
}

::selection {
    background: rgba(214,41,40,0.14);
    color: var(--brand-ink);
}

/* ── FONT UTILITIES ───────────────────────────────────────────── */
.font-serif {
    font-family: var(--font-serif);
}
.font-serif-black {
    font-family: var(--font-serif);
    font-weight: 900;
}

/* ── BRAND COLOR UTILITIES ────────────────────────────────────── */
.bg-brand-cream {
    background-color: var(--brand-cream) !important;
}
.bg-brand-red {
    background-color: var(--brand-red) !important;
}
.bg-brand-red-light {
    background-color: rgba(214, 41, 40, 0.08) !important;
}
.text-brand-red {
    color: var(--brand-red) !important;
}
.text-brand-muted {
    color: var(--brand-ink-muted) !important;
}
.border-brand {
    border: 1px solid rgba(214, 41, 40, 0.22) !important;
}
.border-brand-subtle {
    border-color: rgba(214, 41, 40, 0.10) !important;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-brand-red {
    background-color: var(--brand-red) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--r-full) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-red);
    transition: background-color 0.25s var(--ease),
                transform 0.25s var(--ease),
                box-shadow 0.25s var(--ease);
}
.btn-brand-red:hover,
.btn-brand-red:focus {
    background-color: var(--brand-red-deep) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(214,41,40,0.38);
}
.btn-brand-red:active { transform: translateY(0); }

.btn-outline-brand-red {
    border: 2px solid var(--brand-red) !important;
    color: var(--brand-red) !important;
    background: transparent !important;
    border-radius: var(--r-full) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.25s var(--ease),
                color 0.25s var(--ease),
                transform 0.25s var(--ease),
                box-shadow 0.25s var(--ease);
}
.btn-outline-brand-red:hover,
.btn-outline-brand-red:focus {
    background-color: var(--brand-red) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}





/* ── COUNTER NUMBERS ─────────────────────────────────────────── */
.counter-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
}

/* ── SERVICES CARDS ───────────────────────────────────────────── */
.services-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.services-featured-card {
    padding: 40px;
    border-radius: 28px;
    min-height: 260px;
    transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
    position: relative;
}
.services-featured-card.dark {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    color: white;
}
.services-featured-card.red {
    background: linear-gradient(145deg, #e53935, #c62828);
    color: white;
}
.services-featured-card.cream {
    background: var(--brand-cream-warm);
    color: var(--brand-ink);
    border: 1px solid rgba(214,41,40,0.12);
}
.services-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.services-featured-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.services-featured-icon i { font-size: 28px; }
.services-featured-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 12px; }
.services-featured-desc { font-size: 14px; line-height: 1.6; margin-bottom: 20px; opacity: 0.85; }
.services-featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.services-featured-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 10px 20px;
    border-radius: var(--r-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.services-featured-btn:hover { background: rgba(255,255,255,0.3); transform: translateX(3px); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.services-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    transition: all var(--transition-base);
    border: 1px solid rgba(26,18,10,0.08);
}
.services-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.services-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(214,41,40,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.services-card-icon i { font-size: 24px; color: var(--brand-red); }
.services-card-title { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; }
.services-card-desc { font-size: 13px; color: var(--brand-ink-muted); margin-bottom: 16px; }
.services-card-link {
    background: none;
    border: none;
    font-weight: 600;
    color: var(--brand-red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.services-card-link:hover { gap: 10px; }

/* Services Tabs */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.services-tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: white;
    border: 1.5px solid rgba(26,18,10,0.1);
    border-radius: var(--r-full);
    font-weight: 600;
    color: var(--brand-ink-muted);
    cursor: pointer;
    transition: all var(--transition-base);
}
.services-tab-btn.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}
.services-tab-content { display: none; animation: fadeInUp 0.5s ease; }
.services-tab-content.active { display: block; }

/* ── AVAILABLE TASKS ─────────────────────────────────────────── */
.tasks-filter-btn {
    padding: 8px 20px;
    border: 1.5px solid rgba(26,18,10,0.12);
    background: white;
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.tasks-filter-btn.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin: 40px 0;
}
.tasks-card {
    position: relative;
    animation: fadeInUp 0.5s ease backwards;
}
.tasks-card-inner {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
}
.tasks-card-inner:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tasks-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.tasks-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.tasks-card-inner:hover .tasks-card-image img { transform: scale(1.04); }
.tasks-card-platform {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(18, 10, 4, 0.75);
    backdrop-filter: blur(8px);
    color: white;
    padding: 5px 14px;
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tasks-card-content { padding: 20px; }
.tasks-card-description {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--brand-ink-muted);
    margin-bottom: 16px;
}
.tasks-card-progress-bar {
    height: 6px;
    background: rgba(214,41,40,0.1);
    border-radius: var(--r-full);
    overflow: hidden;
}
.tasks-card-progress-bar div {
    height: 100%;
    border-radius: var(--r-full);
    transition: width 0.6s ease;
}
.tasks-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.tasks-card-price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-red);
}
.tasks-card-btn {
    background: var(--brand-red);
    border: none;
    border-radius: var(--r-full);
    padding: 10px 20px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.tasks-card-btn:hover { transform: scale(1.05); opacity: 0.88; }
.tasks-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 32px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(214,41,40,0.12);
}
.tasks-stat { text-align: center; }
.tasks-stat-value {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-red);
}
.tasks-stat-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--brand-ink-muted);
}

/* ── CLIENT DEMO SECTION ─────────────────────────────────────── */
.demo-stepper {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}
.demo-step {
    display: flex;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    border-radius: var(--r-md);
    transition: all var(--transition-base);
    opacity: 0.6;
}
.demo-step.active {
    background: rgba(214,41,40,0.08);
    opacity: 1;
}
.demo-step-dot {
    width: 40px;
    height: 40px;
    background: rgba(214,41,40,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-red);
}
.demo-step.active .demo-step-dot {
    background: var(--brand-red);
    color: white;
}
.demo-browser {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.demo-browser-bar {
    background: linear-gradient(135deg, #F3F2F0 0%, #EAE8E5 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.demo-browser-dots { display: flex; gap: 8px; }
.demo-browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #C5C3C0;
}
.demo-browser-dots span:first-child { background: #FF5F56; }
.demo-browser-dots span:nth-child(2) { background: #FFBD2E; }
.demo-browser-dots span:nth-child(3) { background: #27C93F; }
.demo-browser-url {
    background: white;
    padding: 6px 14px;
    border-radius: var(--r-full);
    font-family: monospace;
    font-size: 12px;
    color: var(--brand-ink-muted);
    flex: 1;
}
.demo-screen { display: none; padding: 32px; animation: fadeInUp 0.4s ease; }
.demo-screen.active { display: block; }
.demo-select-platform { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.demo-plat-btn {
    padding: 8px 16px;
    border: 1.5px solid rgba(26,18,10,0.1);
    border-radius: var(--r-full);
    background: white;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.demo-plat-btn.selected {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: white;
}
.demo-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(26,18,10,0.1);
    border-radius: var(--r-md);
    font-size: 14px;
}
.demo-worker-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(26,18,10,0.06);
}
.demo-worker-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}
.demo-proof-card {
    display: flex;
    gap: 16px;
    background: var(--brand-cream-warm);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 16px;
}
.demo-btn-approve {
    background: var(--brand-red);
    color: white;
    padding: 6px 16px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
}
.demo-btn-reject {
    background: rgba(220, 38, 38, 0.1);
    color: #DC2626;
    padding: 6px 16px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
}
.demo-nav-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: var(--brand-cream-warm);
}
.demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26,18,10,0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.demo-dot.active {
    width: 24px;
    border-radius: var(--r-full);
    background: var(--brand-red);
}
.demo-cta-banner {
    background: linear-gradient(135deg, var(--brand-ink) 0%, #2A1F15 100%);
    border-radius: 24px;
    padding: 48px;
}
.demo-cta-banner h3 { color: white; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.simple-footer {
    background: linear-gradient(145deg, #130d05, #1d1108);
    border-top: 1px solid rgba(200,149,42,0.12);
    padding: 50px 0 20px;
    margin-top: 60px;
}
.simple-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.simple-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.simple-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.simple-footer-logo img { height: 40px; }
.simple-footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}
.simple-footer-about {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}
.simple-footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.simple-footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}
.simple-footer-social a:hover {
    background: var(--brand-red);
    color: white;
    transform: translateY(-3px);
}
.simple-footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: white;
    margin-bottom: 20px;
}
.simple-footer-col ul { list-style: none; padding: 0; }
.simple-footer-col ul li { margin-bottom: 12px; }
.simple-footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.simple-footer-col ul li a:hover {
    color: var(--brand-red);
    padding-left: 5px;
}
.simple-footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.simple-footer-contact i { width: 28px; color: var(--brand-red); }
.simple-footer-form {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.simple-footer-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-full);
    color: white;
}
.simple-footer-form button {
    width: 44px;
    height: 44px;
    background: var(--brand-red);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.simple-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.simple-footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}
.simple-footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .simple-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .simple-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 576px) {
    .simple-footer-grid { grid-template-columns: 1fr; }
}

/* ── FIXED BUTTONS (Back to Top & Chat) ───────────────────────── */
.fixed-btn {
    position: fixed;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--brand-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-red);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    z-index: 1040;
    border: none;
}
.fixed-btn:hover {
    background-color: var(--brand-red-deep);
    transform: scale(1.10) translateY(-2px);
    box-shadow: 0 12px 28px rgba(214,41,40,0.40);
}
#backToTop {
    bottom: 100px;
    right: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#chatBtn { bottom: 28px; right: 28px; }

/* ── CHAT MODAL ───────────────────────────────────────────────── */
.chat-modal {
    display: none;
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 320px;
    background: var(--brand-cream);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    overflow: hidden;
    border: 1px solid rgba(214,41,40,0.18);
    transform: scale(0.92) translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.chat-modal.open {
    display: block;
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-deep));
    color: #fff;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 15px;
}
.chat-close {
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    transition: color 0.2s;
}
.chat-close:hover { color: #fff; }
.chat-modal .form-control {
    border: 1.5px solid rgba(26,18,10,0.12);
    border-radius: var(--r-sm) !important;
    background: #fff;
    font-size: 13px;
    padding: 9px 12px;
}
.chat-modal .form-control:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px rgba(214,41,40,0.10) !important;
}
.chat-modal .btn-brand-red {
    border-radius: var(--r-sm) !important;
    width: 100%;
    padding: 10px;
}

/* ── AUTH MODAL (Login/Register) ──────────────────────────────── */
.auth-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 4, 0.55);
    backdrop-filter: blur(6px);
    z-index: 1060;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.auth-modal.open {
    display: flex;
}
.modal-content {
    background: var(--brand-cream);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(214,41,40,0.15);
    transform: scale(0.95) translateY(14px);
    animation: modalIn 0.35s var(--ease) forwards;
}
@keyframes modalIn {
    to { transform: scale(1) translateY(0); }
}
.tab-button {
    padding: 0.7rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-ink-muted);
    border-bottom: 2.5px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    flex: 1;
}
.tab-button.active {
    color: var(--brand-ink);
    border-bottom-color: var(--brand-red);
    font-weight: 600;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
#authModal input, #authModal select, .auth-modal input, .auth-modal select {
    border: 1.5px solid rgba(26,18,10,0.13);
    border-radius: var(--r-sm) !important;
    padding: 10px 14px;
    font-size: 14px;
    width: 100%;
    background: #fff;
    color: var(--brand-ink);
}
#authModal input:focus, #authModal select:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px rgba(214,41,40,0.10) !important;
    outline: none;
}
#authModal .btn-brand-red, .auth-modal .btn-brand-red {
    width: 100%;
    padding: 13px;
    border-radius: var(--r-md) !important;
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
}
#authModal .alert-danger, .auth-modal .alert-danger {
    background: rgba(214,41,40,0.07);
    border: 1px solid rgba(214,41,40,0.20);
    border-radius: var(--r-sm);
    color: var(--brand-red-deep);
    font-size: 13px;
    padding: 10px 14px;
}
#authModal .alert-success, .auth-modal .alert-success {
    background: #f0fdf4;
    border: 1px solid rgba(22,163,74,0.20);
    border-radius: var(--r-sm);
    color: #166534;
    font-size: 13px;
    padding: 10px 14px;
}

/* ── ANIMATIONS ───────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-title { font-size: 1.75rem !important; }
    .services-featured-grid { grid-template-columns: 1fr; }
    .tasks-grid { grid-template-columns: 1fr; }
    .demo-screen { padding: 20px; }
    .demo-proof-card { flex-direction: column; }
    .chat-modal { right: 18px; width: calc(100vw - 36px); }
    #backToTop { bottom: 90px; right: 18px; }
    #chatBtn { bottom: 22px; right: 18px; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.5rem !important; }
    .counter-number { font-size: 2rem; }
}

/* ── ACCESSIBILITY ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
}