@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ===========================
   CSS RESET & VARIABLES
   =========================== */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-body: #0f172a;
    --bg-white: #1e293b;
    --bg-light: #334155;
    --bg-gray: #475569;
    --border: #334155;
    --border-light: #1e293b;
    --glass-bg: rgba(15,23,42,0.85);
    --glass-border: rgba(51,65,85,0.5);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.25);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.3);
    --shadow-2xl: 0 30px 60px rgba(0,0,0,0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme (kept for compatibility) */
[data-theme="dark"] {
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-body: #0f172a;
    --bg-white: #1e293b;
    --bg-light: #334155;
    --bg-gray: #475569;
    --border: #334155;
    --border-light: #1e293b;
    --glass-bg: rgba(15,23,42,0.85);
    --glass-border: rgba(51,65,85,0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===========================
   ANIMATED BACKGROUND
   =========================== */

.animated-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: particleFloat 20s infinite ease-in-out;
}

.particle:nth-child(1) { width: 500px; height: 500px; background: var(--primary); top: -15%; right: -10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 350px; height: 350px; background: var(--secondary); bottom: -10%; left: -5%; animation-delay: -5s; }
.particle:nth-child(3) { width: 250px; height: 250px; background: var(--accent); top: 40%; left: 30%; animation-delay: -10s; }
.particle:nth-child(4) { width: 200px; height: 200px; background: var(--success); top: 20%; right: 30%; animation-delay: -15s; }
.particle:nth-child(5) { width: 300px; height: 300px; background: var(--warning); bottom: 20%; right: 10%; animation-delay: -7s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-3deg); }
    75% { transform: translate(40px, 10px) rotate(2deg); }
}

/* ===========================
   TOAST NOTIFICATIONS
   =========================== */

.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 420px;
    animation: toastIn 0.4s ease-out forwards;
    font-family: var(--font-body);
}

.toast.removing { animation: toastOut 0.3s ease-in forwards; }
.toast-icon { font-size: 1.3rem; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; color: var(--text-dark); }
.toast-message { font-size: 0.82rem; color: var(--text-light); }
.toast-close { background: none; border: none; cursor: pointer; color: var(--text-light); padding: 4px; font-size: 1.1rem; }

.toast.success { border-left: 4px solid var(--success); }
.toast.info { border-left: 4px solid var(--primary); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.error { border-left: 4px solid var(--danger); }

@keyframes toastIn { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(80px); } }

/* ===========================
   NAVBAR
   =========================== */

.navbar-modern {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition);
}

.navbar-modern.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.logo-text { color: var(--text-dark); }
.logo-accent { color: var(--primary); }

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

.nav-link-modern {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link-modern:hover,
.nav-link-modern.active { color: var(--primary); }
.nav-link-modern:hover::after,
.nav-link-modern.active::after { width: 100%; }

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.btn-nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-size: 1rem;
}

.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-white);
    z-index: 2000;
    padding: 1.5rem;
    transition: right var(--transition);
    box-shadow: var(--shadow-2xl);
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu.open { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.mobile-menu-header button {
    background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-dark);
}

.mobile-menu a {
    display: block;
    padding: 0.8rem 1rem;
    font-weight: 600;
    color: var(--text-medium);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.mobile-menu a:hover { background: var(--bg-light); color: var(--primary); }

.btn-mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    font-family: var(--font-body);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 8rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(139,92,246,0.08));
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.8rem;
    border: 1px solid rgba(37,99,235,0.15);
}

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hero-title-modern {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
}

.gradient-text-modern {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-modern {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description-modern {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.highlight-text { color: var(--success); font-weight: 800; }

.hero-buttons-modern {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-modern,
.btn-secondary-modern,
.btn-cta-modern,
.btn-modal-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all var(--transition);
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}

.btn-primary-modern:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,99,235,0.4); }

.btn-secondary-modern {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-secondary-modern:hover { border-color: var(--primary); color: var(--primary); }

.btn-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary-modern:hover .btn-shine,
.btn-cta-modern:hover .btn-shine,
.btn-modal-modern:hover .btn-shine { left: 100%; }

.btn-icon { display: flex; align-items: center; }

/* Hero Stats */
.hero-stats-modern {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item-modern { text-align: center; }

.stat-number-modern {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-modern {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-divider-modern {
    width: 1px; height: 36px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual-modern {
    position: relative;
    height: 480px;
}

.hero-3d-container { position: relative; width: 100%; height: 100%; }

.floating-card-modern {
    position: absolute;
    background: var(--bg-white);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--border-light);
    animation: cardFloat 6s ease-in-out infinite;
    z-index: 2;
}

.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}

.floating-card-modern:hover .card-glow { opacity: 0.15; }

.card-1 { top: 40px; left: 0; animation-delay: 0s; }
.card-2 { top: 200px; right: 10px; animation-delay: -2s; }
.card-3 { bottom: 80px; left: 30px; animation-delay: -4s; }

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

.card-icon-modern {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.card-content-modern { flex: 1; }
.card-title-modern { font-weight: 800; font-size: 0.95rem; color: var(--text-dark); }
.card-subtitle-modern { font-size: 0.78rem; color: var(--text-light); }

.card-badge-modern {
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.card-badge-modern.success { background: rgba(16,185,129,0.1); color: var(--success); }

.center-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    z-index: 1;
}

.orb-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: orbPulse 3s infinite;
}

.orb-ring.ring-2 { inset: -20px; animation-delay: 1s; }
.orb-ring.ring-3 { inset: -34px; animation-delay: 2s; }

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.08); opacity: 0.1; }
}

/* ===========================
   SECTION HEADERS (SHARED)
   =========================== */

.section-header-modern {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(139,92,246,0.08));
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(37,99,235,0.15);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-title-modern {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
}

.section-description-modern {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===========================
   FEATURES SECTION
   =========================== */

.features-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card-modern {
    background: var(--bg-white);
    padding: 2.2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card-modern:hover .feature-card-glow { transform: scaleX(1); }
.feature-card-modern:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.feature-card-modern.featured {
    background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(139,92,246,0.04));
    border: 2px solid var(--primary);
}

.featured-badge-modern {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.feature-icon-modern {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.feature-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.feature-card-modern p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.feature-link-modern {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: gap var(--transition);
}

.feature-link-modern:hover { gap: 0.7rem; }

/* ===========================
   HOW IT WORKS
   =========================== */

.how-it-works-modern {
    background: linear-gradient(135deg, rgba(37,99,235,0.03), rgba(139,92,246,0.03));
    padding: 5rem 2rem;
}

.steps-container-modern {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-line-modern {
    display: none;
}

.step-card-modern {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.step-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.step-number-modern {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.step-icon-modern {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(139,92,246,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.2rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.step-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.step-card-modern p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===========================
   SERVICES SHOWCASE
   =========================== */

.services-showcase-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item-modern {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-item-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-number-modern {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    opacity: 0.08;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-icon-box-modern {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(139,92,246,0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-item-modern h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-item-modern p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.7;
}

.service-arrow-modern {
    position: absolute;
    bottom: 1.5rem; right: 1.5rem;
    width: 36px; height: 36px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition);
}

.service-item-modern:hover .service-arrow-modern {
    background: var(--primary);
    color: #fff;
}

/* ===========================
   PRICING SECTION
   =========================== */

.pricing-modern {
    background: linear-gradient(135deg, rgba(37,99,235,0.03), rgba(139,92,246,0.03));
    padding: 5rem 2rem;
}

.pricing-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular .pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-8px); }

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-card .price span { font-size: 1rem; color: var(--text-light); font-weight: 600; }

.pricing-card .price .old-price {
    display: block;
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li i { color: var(--success); }

.btn-pricing {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
}

.btn-pricing:hover { background: var(--primary); color: #fff; }
.pricing-card.popular .btn-pricing { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border: none; }

/* ===========================
   COMPARISON TABLE
   =========================== */

.comparison-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-size: 0.92rem;
}

.comparison-table thead th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-family: var(--font-heading);
}

.comparison-table tbody tr { border-bottom: 1px solid var(--border-light); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(37,99,235,0.03); }
.comparison-table td:nth-child(2) { color: var(--success); font-weight: 700; }
.comparison-table td:nth-child(3) { color: var(--text-light); }

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonials-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonial-card-modern {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.testimonial-card-modern:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.testimonial-card-modern.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(37,99,235,0.03), rgba(139,92,246,0.03));
}

.featured-star-modern {
    position: absolute;
    top: -14px; right: 1.5rem;
    font-size: 1.5rem;
    color: var(--warning);
}

.testimonial-stars-modern {
    color: var(--warning);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.15rem;
}

.testimonial-text-modern {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar-modern {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.author-info-modern { flex: 1; }
.author-name-modern { font-weight: 700; font-size: 0.92rem; }
.author-location-modern { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 0.3rem; }

.verified-badge-modern { color: var(--success); font-size: 1.1rem; }

/* ===========================
   FAQ SECTION
   =========================== */

.faq-modern {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover { border-color: var(--primary); }

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    transition: color var(--transition);
}

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

.faq-question i {
    transition: transform var(--transition);
    color: var(--primary);
}

.faq-item.open .faq-question i { transform: rotate(180deg); }

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

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
    padding: 0 1.5rem 1.2rem;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ===========================
   NEWSLETTER / EMAIL
   =========================== */

.newsletter-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -15%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.newsletter-content { position: relative; z-index: 1; }
.newsletter-content h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.newsletter-content p { color: rgba(255,255,255,0.85); font-size: 1rem; }

.newsletter-form {
    display: flex;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    padding: 0.9rem 1.2rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.92rem;
    width: 280px;
    font-family: var(--font-body);
    backdrop-filter: blur(8px);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.25); }

.btn-newsletter {
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-newsletter:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===========================
   TRUST BADGES
   =========================== */

.trust-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.trust-item:hover { opacity: 1; }
.trust-item i { font-size: 2rem; color: var(--primary); }
.trust-item span { font-size: 0.82rem; font-weight: 700; color: var(--text-light); }

/* ===========================
   CTA SECTION
   =========================== */

.cta-modern {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -60%; right: -20%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.cta-content-modern {
    position: relative; z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-content-modern h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.8rem;
}

.cta-content-modern p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-cta-modern {
    background: #fff;
    color: var(--primary);
    padding: 1rem 2.2rem;
    box-shadow: var(--shadow-xl);
}

.btn-cta-modern:hover { transform: translateY(-3px); box-shadow: var(--shadow-2xl); }

/* ===========================
   FOOTER
   =========================== */

.footer-modern {
    background: #020617;
    color: #fff;
    padding: 3.5rem 2rem 1.5rem;
}

.footer-content-modern {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    opacity: 0.7;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    transition: all var(--transition);
}

.footer-column a:hover { opacity: 1; padding-left: 4px; }

.footer-logo-modern {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.footer-description {
    opacity: 0.7;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.social-links-modern {
    display: flex;
    gap: 0.6rem;
}

.social-link-modern {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    transition: all var(--transition);
}

.social-link-modern:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

.footer-bottom-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-links-modern {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-links-modern a:hover { opacity: 1; }

.admin-hidden {
    font-size: 1px;
    color: transparent;
    opacity: 0.01;
}

/* ===========================
   LOGIN MODAL
   =========================== */

.modal-modern {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
}

.modal-modern.active { display: flex; align-items: center; justify-content: center; }

.modal-backdrop-modern {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

.modal-content-modern {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-2xl);
    animation: modalIn 0.3s ease;
}

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

.modal-close-modern {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition);
}

.modal-close-modern:hover { background: var(--border); transform: rotate(90deg); }

.modal-header-modern { text-align: center; margin-bottom: 2rem; }

.modal-icon-modern {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.modal-header-modern h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.modal-header-modern p { color: var(--text-light); font-size: 0.92rem; }

.input-group-modern {
    margin-bottom: 1.2rem;
}

.input-group-modern label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.input-group-modern input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    transition: all var(--transition);
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-dark);
}

.input-group-modern input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.error-msg-modern {
    color: var(--danger);
    text-align: center;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    min-height: 1.2em;
}

.btn-modal-modern {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.9rem;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(37,99,235,0.3);
    justify-content: center;
}

/* ===========================
   CLIENT DASHBOARD
   =========================== */

.match-view-modern {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.match-view-modern.hidden { display: none; }

.dashboard-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.dashboard-header-content h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.dashboard-header-content p { color: var(--text-light); font-size: 0.92rem; }

.dashboard-actions { display: flex; align-items: center; gap: 0.8rem; }

.btn-logout-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-medium);
    transition: all var(--transition);
    font-family: var(--font-body);
}

.btn-logout-modern:hover { border-color: var(--danger); color: var(--danger); }

/* Profiles */
.profiles-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-card-modern {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition);
}

.profile-card-modern:hover { box-shadow: var(--shadow-xl); }

.profile-card-modern.featured {
    border: 2px solid var(--secondary);
    background: linear-gradient(135deg, rgba(139,92,246,0.03), rgba(168,85,247,0.03));
}

.profile-badge-modern {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-badge-modern.featured {
    background: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0.5rem auto 1rem;
}

.profile-avatar-wrapper img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: orbPulse 4s infinite;
}

.avatar-ring.featured { border-color: var(--secondary); }

.profile-card-modern h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.profile-details-modern {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: left;
}

.detail-item-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--text-medium);
}

.detail-item-modern i { color: var(--primary); width: 16px; }
.detail-item-modern strong { color: var(--text-dark); }

.detail-item-modern.full-width {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.detail-item-modern.full-width p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 0.3rem;
}

/* Services Dashboard */
.services-dashboard-modern {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.services-header-modern {
    margin-bottom: 1.5rem;
}

.services-header-modern h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.services-header-modern p { color: var(--text-light); font-size: 0.88rem; }

.service-list-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

/* Live counter */
.live-counter {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-medium);
    box-shadow: var(--shadow-md);
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.5s ease;
}

.live-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Countdown timer */
.countdown-bar {
    background: linear-gradient(135deg, var(--warning), #ea580c);
    color: #fff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.countdown-bar .close-countdown {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 1rem;
}

/* Exit intent popup */
.exit-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 6000;
    align-items: center;
    justify-content: center;
}

.exit-popup-overlay.active { display: flex; }

.exit-popup {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalIn 0.4s ease;
}

.exit-popup h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    margin: 1rem 0 0.5rem;
}

.exit-popup p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }

.exit-popup .exit-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

.exit-popup .btn-exit-stay {
    display: block;
    width: 100%;
    padding: 0.9rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: all var(--transition);
}

.exit-popup .btn-exit-stay:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.exit-popup .btn-exit-leave {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.exit-popup .close-exit {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Cookie consent */
.cookie-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    animation: slideUp 0.4s ease;
}

.cookie-bar.active { display: flex; }

.cookie-bar p {
    font-size: 0.85rem;
    color: var(--text-medium);
    max-width: 500px;
}

.cookie-bar p a { color: var(--primary); text-decoration: underline; }

.btn-cookie-accept {
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: all var(--transition);
}

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* Chat Widget */
.chat-widget-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    transition: all var(--transition);
    display: none;
}

.chat-widget-btn:hover { transform: scale(1.1); }
.chat-widget-btn .chat-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--danger); border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 340px;
    max-height: 480px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    z-index: 3001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    animation: modalIn 0.3s ease;
}

.chat-window.open { display: flex; }

.chat-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.chat-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    min-height: 250px;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-msg {
    max-width: 80%;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-msg.client { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.admin { align-self: flex-start; background: var(--bg-light); color: var(--text-dark); border-bottom-left-radius: 4px; }
.chat-msg .msg-time { font-size: 0.68rem; opacity: 0.6; margin-top: 0.2rem; }

.chat-input-area {
    padding: 0.8rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-dark);
}

.chat-input-area input:focus { outline: none; border-color: var(--primary); }

.chat-input-area button {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.chat-input-area button:hover { background: var(--primary-dark); }

/* ===========================
   GIFTS SHOWCASE
   =========================== */

.gifts-modern {
    max-width: 1240px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.gift-card-landing {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

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

.gift-card-landing:hover::before { transform: scaleX(1); }
.gift-card-landing:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.gift-card-landing .gift-emoji {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.gift-card-landing h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.gift-card-landing p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.gift-card-landing .gift-tag {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.gift-tag.electronics { background: rgba(37,99,235,0.1); color: var(--primary); }
.gift-tag.experience { background: rgba(139,92,246,0.1); color: var(--secondary); }
.gift-tag.luxury { background: rgba(236,72,153,0.1); color: #ec4899; }
.gift-tag.romance { background: rgba(239,68,68,0.1); color: var(--danger); }

/* ===========================
   UTILITY & ANIMATIONS
   =========================== */

.hidden { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .hero-modern { grid-template-columns: 1fr; gap: 2rem; padding-top: 7rem; min-height: auto; }
    .hero-visual-modern { display: none; }
    .hero-title-modern { font-size: 2.8rem; }
    .footer-content-modern { grid-template-columns: 1fr 1fr; }
    .newsletter-box { grid-template-columns: 1fr; text-align: center; }
    .newsletter-form { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links-modern { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu { display: flex; }

    .hero-modern { padding: 6rem 1rem 3rem; }
    .hero-title-modern { font-size: 2.2rem; }
    .hero-stats-modern { gap: 1rem; }
    .stat-number-modern { font-size: 1.5rem; }

    .section-title-modern { font-size: 2rem; }

    .steps-container-modern { grid-template-columns: 1fr; }
    .features-grid-modern,
    .testimonials-grid-modern,
    .services-grid-modern,
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-8px); }

    .footer-content-modern { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom-modern { flex-direction: column; gap: 0.8rem; text-align: center; }

    .profiles-modern { grid-template-columns: 1fr; }
    .service-list-modern { grid-template-columns: 1fr; }

    .newsletter-form { flex-direction: column; }
    .newsletter-form input { width: 100%; }

    .comparison-table { font-size: 0.82rem; }
    .comparison-table th, .comparison-table td { padding: 0.8rem; }

    .dashboard-header-modern { flex-direction: column; gap: 1rem; text-align: center; }

    .cookie-bar { flex-direction: column; text-align: center; gap: 0.8rem; }

    .chat-window { width: calc(100% - 48px); right: 24px; bottom: 80px; }

    .live-counter { bottom: 80px; left: 12px; font-size: 0.72rem; }
}
