/* Custom ZET Color */
.bg-zet { background-color: #7c1f87; }
.text-zet { color: #7c1f87; }
.border-zet { border-color: #7c1f87; }
.focus\:ring-zet:focus { --tw-ring-color: #7c1f87; }
.hover\:text-zet:hover { color: #7c1f87; }
.bg-zet\/10 { background-color: rgba(124, 31, 135, 0.1); }
.focus\:ring-1:focus { --tw-ring-width: 1px; }

/* Modern Desktop App Styles */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    font-size: 14px;
}

/* Modern Sidebar */
#sidebar {
    background: linear-gradient(180deg, #7c1f87 0%, #6a1a75 100%);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    position: fixed !important;
    height: 100vh;
    overflow-y: auto;
}

/* Modern Cards */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Modern Table */
.modern-table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modern-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.modern-table tbody tr:hover {
    background: rgba(124, 31, 135, 0.03);
    transform: scale(1.01);
}

/* Modern Input */
.modern-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: #ffffff;
    border-color: #7c1f87;
    box-shadow: 0 0 0 4px rgba(124, 31, 135, 0.1);
    outline: none;
}

/* Loading Spinner */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading Bar Animation */
@keyframes loading {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
        transform: translateX(0);
    }
    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

/* Toast Notification Animations */
@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

/* Modern Button */
.modern-btn {
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Notification Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Toast Notification Animations */
@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s ease-out;
}

#notificationModal > div,
#confirmModal > div,
#actionModal > div {
    animation: slideIn 0.3s ease-out;
}

/* Modern Badge */
.modern-badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Smooth Transitions */
.page-content {
    animation: fadeIn 0.4s ease-out;
}

/* Profile Badge Card helpers */
.bg-primary { background-color: #7c1f87; }
.bg-card-pattern {
    background-image: url('../img/diagmonds.png');
    background-repeat: repeat;
    background-size: 300px 300px;
}

/* Header improvements */
header {
    -webkit-font-smoothing: antialiased;
}

header .nav-link {
    position: relative;
    color: #4b5563; /* text-gray-600 */
    padding: 6px 0;
    transition: color .18s ease;
}

header .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: currentColor;
    transform: translateX(-50%);
    transition: width .22s ease;
}

header .nav-link:hover {
    color: #111827; /* text-gray-900 */
}

header .nav-link:hover::after {
    width: 36px;
}

#mobile-menu {
    transition: max-height .22s ease;
}


/* =========================================================
   LANDING PAGE — Bold Vibrant Gradient (v2 redesign)
   ========================================================= */

.display-heading {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

body.bg-\[\#0b0420\] {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(217, 70, 239, 0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(124, 58, 237, 0.22), transparent 60%),
        radial-gradient(800px 600px at 50% 100%, rgba(236, 72, 153, 0.12), transparent 60%),
        #0b0420;
    background-attachment: fixed;
}

.blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.55;
    animation: floaty 14s ease-in-out infinite alternate;
}
.blob-1 { top: -10%; left: -8%; width: 480px; height: 480px; background: radial-gradient(circle, #a855f7 0%, transparent 70%); }
.blob-2 { top: 30%; right: -10%; width: 520px; height: 520px; background: radial-gradient(circle, #ec4899 0%, transparent 70%); animation-delay: -5s; }
.blob-3 { bottom: -10%; left: 30%; width: 600px; height: 600px; background: radial-gradient(circle, #6366f1 0%, transparent 70%); animation-delay: -10s; opacity: 0.4; }

@keyframes floaty {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -30px) scale(1.06); }
    100% { transform: translate(-30px, 30px) scale(0.96); }
}

.grain {
    position: absolute; inset: 0; pointer-events: none;
    opacity: 0.06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

.logo-mark {
    display: inline-flex; height: 42px; width: 42px;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(217, 70, 239, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.logo-mark-sm { height: 36px; width: 36px; border-radius: 12px; font-size: 14px; }

header .nav-link {
    color: rgba(255,255,255,0.7) !important;
    padding: 6px 0;
    position: relative;
    transition: color .18s ease;
}
header .nav-link:hover { color: #fff !important; }
header .nav-link::after {
    content: ''; position: absolute; left: 50%; bottom: -6px;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    transform: translateX(-50%);
    transition: width .22s ease;
}
header .nav-link:hover::after { width: 28px; }

.pill {
    color: #fff; padding: 8px 14px; border-radius: 9999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.pill-light { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.25); }
.dot {
    width: 8px; height: 8px; border-radius: 9999px;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}
.dot-pulse { animation: dotpulse 1.6s ease-in-out infinite; }
@keyframes dotpulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(52,211,153,0.18); }
    50%      { box-shadow: 0 0 0 9px rgba(52,211,153,0.05); }
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
    box-shadow: 0 10px 25px -8px rgba(217, 70, 239, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-primary:hover {
    transform: translateY(-1px); filter: brightness(1.08);
    box-shadow: 0 14px 30px -10px rgba(217, 70, 239, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-glass {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    transition: background .18s ease, border-color .18s ease;
}
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }

.hero-gradient-text {
    background: linear-gradient(90deg, #c084fc 0%, #f0abfc 30%, #f9a8d4 60%, #fb923c 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    display: inline-block;
}
.gradient-num {
    background: linear-gradient(90deg, #fff 0%, #f0abfc 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px -30px rgba(168, 85, 247, 0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.mockup-glow {
    position: absolute; inset: -30px;
    background: radial-gradient(closest-side, rgba(217,70,239,0.35), transparent 70%);
    filter: blur(40px); z-index: -1;
}
.hero-mockup { position: relative; }

.float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 9999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(14px); color: #fff;
    font-weight: 600; font-size: 12px;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.4);
    animation: floatchip 6s ease-in-out infinite alternate;
}
.float-chip-1 { top: 8%; left: -22px; animation-delay: -2s; }
.float-chip-2 { bottom: 8%; right: -18px; }
@keyframes floatchip {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.chat-bubble { border-radius: 18px; padding: 10px 14px; line-height: 1.45; }
.chat-bubble.chat-in {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.chat-bubble.chat-out {
    background: linear-gradient(135deg, rgba(217,70,239,0.25), rgba(168,85,247,0.25));
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
}

.trust-bar {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.feature-card {
    position: relative; padding: 28px 26px; border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
}
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    height: 52px; width: 52px; border-radius: 16px;
    color: #fff; font-size: 20px;
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}

.dashboard-preview { position: relative; max-width: 1100px; margin: 0 auto; }
.dash-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px;
    color: rgba(255,255,255,0.6); font-size: 13px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.dash-item i { width: 18px; text-align: center; opacity: 0.85; }
.dash-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.dash-item-active {
    background: linear-gradient(90deg, rgba(217,70,239,0.2), rgba(168,85,247,0.05));
    color: #fff;
    border: 1px solid rgba(217,70,239,0.25);
}

.chat-list-item {
    display: flex; gap: 10px; padding: 10px;
    border-radius: 12px;
    transition: background .18s ease;
    cursor: pointer;
}
.chat-list-item:hover { background: rgba(255,255,255,0.04); }
.chat-list-item.active {
    background: linear-gradient(90deg, rgba(217,70,239,0.18), rgba(168,85,247,0.04));
    border: 1px solid rgba(217,70,239,0.2);
}
.avatar {
    width: 36px; height: 36px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 13px;
    flex-shrink: 0;
}
.badge-tag {
    font-size: 10px; font-weight: 700;
    padding: 4px 8px; border-radius: 9999px;
    background: rgba(168,85,247,0.18); color: #f0abfc;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-tag-warm { background: rgba(251,146,60,0.18); color: #fdba74; }

.benefit-item {
    display: flex; gap: 14px; padding: 16px; border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background .2s ease, transform .2s ease;
}
.benefit-item:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.benefit-icon {
    height: 36px; width: 36px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(217,70,239,0.25), rgba(168,85,247,0.25));
    color: #f0abfc; flex-shrink: 0; font-size: 14px;
}
.stat-block {
    text-align: center; padding: 16px 8px; border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.price-card {
    position: relative; padding: 32px 28px; border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.18); }
.price-card-pro {
    background: linear-gradient(180deg, rgba(217,70,239,0.18) 0%, rgba(168,85,247,0.08) 60%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(217,70,239,0.4);
    box-shadow: 0 25px 60px -25px rgba(217,70,239,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-6px);
}
@media (max-width: 1023px) {
    .price-card-pro { transform: none; margin-top: 14px; }
}
.price-icon {
    display: inline-flex; height: 40px; width: 40px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
}

.cta-card {
    background:
        radial-gradient(600px 400px at 0% 0%, rgba(217,70,239,0.6), transparent 60%),
        radial-gradient(600px 400px at 100% 100%, rgba(99,102,241,0.5), transparent 60%),
        linear-gradient(135deg, #7c3aed 0%, #d946ef 50%, #ec4899 100%);
    box-shadow: 0 40px 80px -30px rgba(217,70,239,0.5);
    border: 1px solid rgba(255,255,255,0.15);
}
.cta-blob {
    position: absolute; border-radius: 9999px;
    filter: blur(60px); opacity: 0.5; pointer-events: none;
}
.cta-blob-1 { top: -80px; right: -80px; width: 280px; height: 280px; background: rgba(255,255,255,0.4); }
.cta-blob-2 { bottom: -100px; left: -60px; width: 320px; height: 320px; background: rgba(99,102,241,0.5); }

.contact-row {
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 16px; padding: 14px 18px;
    background: #f1f5f9;
    transition: background .18s ease, transform .18s ease;
}
.contact-row:hover { background: #e2e8f0; transform: translateX(2px); }
.contact-row-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}
.contact-row-primary:hover { background: linear-gradient(135deg, #059669 0%, #047857 100%); }

.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; width: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.social-icon:hover {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff; transform: translateY(-2px);
    border-color: transparent;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
    .float-chip-1 { left: 0; top: -8px; }
    .float-chip-2 { right: 0; bottom: -8px; }
    .blob-1, .blob-2, .blob-3 { width: 320px; height: 320px; }
}
