/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Theme Variables */
body, body[data-theme="dark"] {
    --bg: #06060b;
    --bg-card: rgba(20, 20, 28, 0.7);
    --bg-input: rgba(0,0,0,0.4);
    --text: #e4e4e7;
    --text-muted: #71717a;
    --text-dim: #52525b;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(102,126,234,0.15);
    --accent: #667eea;
    --accent-glow: rgba(102,126,234,0.06);
    --nav-bg: rgba(6, 6, 11, 0.88);
    --footer-bg: rgba(10,10,15,0.95);
    --sidebar-bg: #0f0f18;
}
body[data-theme="light"] {
    --bg: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-input: rgba(0,0,0,0.04);
    --text: #1e293b;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --border: rgba(0,0,0,0.08);
    --border-hover: rgba(102,126,234,0.25);
    --accent: #667eea;
    --accent-glow: rgba(102,126,234,0.04);
    --nav-bg: rgba(248, 250, 252, 0.9);
    --footer-bg: #f1f5f9;
    --sidebar-bg: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s, color 0.3s;
}
body::before {
    content: '';
    position: fixed;
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -300px; left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
}
a { text-decoration: none; }
.main-content { flex: 1; position: relative; z-index: 1; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(102,126,234,0.2); }
    50% { box-shadow: 0 0 20px rgba(102,126,234,0.4), 0 0 40px rgba(102,126,234,0.1); }
}
@keyframes borderGlow {
    0%, 100% { border-color: rgba(102,126,234,0.15); }
    50% { border-color: rgba(102,126,234,0.4); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(4); opacity: 0; }
}

/* Page load animation */
.main-content > * {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.main-content > *:nth-child(1) { animation-delay: 0.05s; }
.main-content > *:nth-child(2) { animation-delay: 0.12s; }
.main-content > *:nth-child(3) { animation-delay: 0.19s; }
.main-content > *:nth-child(4) { animation-delay: 0.26s; }
.main-content > *:nth-child(5) { animation-delay: 0.33s; }

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}
.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}
.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-box {
    height: 120px;
    border-radius: 10px;
    margin-bottom: 12px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    transition: padding 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
    padding: 10px 24px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom-color: rgba(102,126,234,0.1);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-logo {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.nav-lucide {
    width: 18px; height: 18px;
    color: white;
    stroke-width: 2.5;
}
.nav-brand:hover .nav-logo {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}
.nav-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-tag {
    font-size: 0.6rem;
    background: rgba(102,126,234,0.15);
    color: #667eea;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.theme-toggle i {
    width: 18px; height: 18px;
    transition: transform 0.3s;
}
.theme-toggle:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    transform: scale(1.1);
    color: var(--accent);
}
.theme-toggle:hover i {
    transform: rotate(20deg);
}
.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.05); }
.nav-hamburger span {
    width: 24px; height: 2.5px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== SIDEBAR ===== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.sidebar {
    position: fixed;
    top: 0; right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--sidebar-bg);
    border-left: 1px solid var(--border);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}
.sidebar.open { right: 0; }
.sidebar.open .sidebar-link {
    animation: slideInRight 0.3s ease-out both;
}
.sidebar.open .sidebar-link:nth-child(1) { animation-delay: 0.1s; }
.sidebar.open .sidebar-link:nth-child(2) { animation-delay: 0.15s; }
.sidebar.open .sidebar-link:nth-child(3) { animation-delay: 0.2s; }
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
}
.sidebar-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}
.sidebar-close:hover { background: var(--bg-card); color: var(--text); }
.sidebar-nav {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}
.sidebar-link:hover {
    background: rgba(102,126,234,0.08);
    color: var(--text);
    transform: translateX(4px);
}
.sidebar-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.sidebar-icon i {
    width: 20px; height: 20px;
    stroke-width: 2;
    color: var(--text-muted);
    transition: color 0.2s;
}
.sidebar-link:hover .sidebar-icon i {
    color: var(--accent);
}
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.sidebar-limits {
    background: rgba(102,126,234,0.05);
    border: 1px solid rgba(102,126,234,0.1);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}
.sidebar-limits h5 {
    font-size: 0.78rem;
    color: #a78bfa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-limits ul {
    list-style: none;
    font-size: 0.78rem;
    color: #71717a;
    line-height: 1.8;
}
.sidebar-limits ul strong { color: #d4d4d8; }
.sidebar-credit {
    font-size: 0.72rem;
    color: #3f3f46;
    text-align: center;
}
.sidebar-credit strong { color: #667eea; }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
    background: var(--footer-bg);
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.footer-desc { color: #52525b; font-size: 0.85rem; line-height: 1.6; }
.footer-nav h4 {
    color: #a1a1aa;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.footer-nav a {
    display: block;
    color: #52525b;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: #667eea; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #3f3f46;
    font-size: 0.78rem;
}
.footer-bottom strong { color: #a78bfa; }

/* ===== SHARED COMPONENTS ===== */
.section-wrapper {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #fafafa;
    margin-bottom: 12px;
}
.section-header p {
    color: #71717a;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}
.card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102,126,234,0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.card:hover::before {
    left: 100%;
}
.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(102,126,234,0.1);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    box-shadow: 0 4px 16px rgba(102,126,234,0.25);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
.btn-primary:active::after {
    animation: ripple 0.6s ease-out;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102,126,234,0.5);
}
.btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(102,126,234,0.2);
}
.btn-outline {
    background: transparent;
    color: #a78bfa;
    border: 1px solid rgba(167,139,250,0.3);
}
.btn-outline:hover {
    background: rgba(167,139,250,0.08);
    border-color: #a78bfa;
}

/* ===== BEFORE/AFTER SECTION ===== */
.before-after {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px;
}
.before-after .section-header { margin-bottom: 32px; }
.ba-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}
.ba-card {
    padding: 20px;
    text-align: center;
}
.ba-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.ba-card.before h4 { color: #ef4444; }
.ba-card.after h4 { color: #22c55e; }
.ba-card .ba-visual {
    background: #111;
    border-radius: 10px;
    padding: 16px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.ba-card.before .ba-visual {
    border: 1px solid rgba(239,68,68,0.2);
}
.ba-card.after .ba-visual {
    border: 1px solid rgba(34,197,94,0.2);
}
.ba-page {
    width: 100%;
    height: 28px;
    border-radius: 4px;
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.08);
}
.ba-page.dark { background: #1a1a2e; }
.ba-page.light { background: #e8e8e8; }
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 120px;
}
.ba-grid .ba-cell {
    background: #e8e8e8;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.1);
}
.ba-arrow {
    font-size: 2rem;
    color: #667eea;
    animation: pulseArrow 2s ease-in-out infinite;
}
@keyframes pulseArrow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}
.ba-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}
.ba-stat {
    text-align: center;
}
.ba-stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #22c55e;
}
.ba-stat .label {
    font-size: 0.7rem;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .main-content { overflow-x: hidden; }
    .nav-tag { display: none; }
    .navbar { padding: 12px 16px; }
    .navbar.scrolled { padding: 8px 16px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer { padding: 32px 16px 20px; }
    .section-wrapper { padding: 40px 16px; }
    .section-header h2 { font-size: 1.5rem; }
    .ba-container { grid-template-columns: 1fr; }
    .ba-arrow { transform: rotate(90deg); }
    .ba-stats { flex-direction: column; gap: 12px; }
    .card { padding: 20px; border-radius: 14px; }
    .particles { display: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 24px; }
    .section-wrapper { padding: 50px 20px; }
}

@media (min-width: 1025px) {
    .nav-hamburger { padding: 10px; }
    .sidebar { width: 320px; right: -340px; }
}

/* ===== PAGE LOADER (Skeleton on navigation) ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.page-loader.active { display: flex; }
.page-loader-inner {
    width: 100%;
    max-width: 500px;
}
.page-loader-logo {
    text-align: center;
    margin-bottom: 24px;
    animation: float 2s ease-in-out infinite;
}
.skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed;
    inset: 0;
    background: #06060b;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.splash-screen.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.splash-screen.fade-out {
    animation: fadeOut 0.5s ease forwards;
}
@keyframes fadeOut {
    to { opacity: 0; transform: scale(1.05); }
}
.splash-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.splash-logo {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.splash-logo-icon {
    font-size: 2.8rem;
    z-index: 2;
    animation: splashBounce 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
@keyframes splashBounce {
    0% { transform: scale(0) rotate(-20deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.splash-logo-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(102,126,234,0.4);
    border-radius: 50%;
    animation: splashRing 1.5s ease-out 0.5s both;
}
.splash-logo-ring.ring-2 {
    inset: -12px;
    border-color: rgba(167,139,250,0.2);
    animation-delay: 0.7s;
}
@keyframes splashRing {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}
.splash-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeInUp 0.6s ease 0.6s both;
}
.splash-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.splash-tagline {
    font-size: 0.85rem;
    color: #52525b;
    letter-spacing: 1px;
}
.splash-loader {
    width: 120px;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
    animation: fadeIn 0.5s ease 0.8s both;
}
.splash-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea, #a78bfa);
    border-radius: 4px;
    animation: splashLoad 1.8s ease 0.9s forwards;
}
@keyframes splashLoad {
    0% { width: 0%; }
    30% { width: 40%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

/* ===== GLOBAL TOAST ===== */
.global-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
}
.global-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.global-toast.success {
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);
    color: #22c55e;
}
.global-toast.error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.25);
    color: #ef4444;
}
.global-toast.info {
    background: rgba(102,126,234,0.12);
    border: 1px solid rgba(102,126,234,0.25);
    color: #667eea;
}

/* ===== HAMBURGER ANIMATION ===== */
.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}
.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== FLOATING PARTICLES ===== */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(102,126,234,0.3);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}
@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(20,20,28,0.95);
    color: #e4e4e7;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    border: 1px solid rgba(102,126,234,0.2);
}
[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== GRADIENT TEXT UTILITY ===== */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #a78bfa, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* ===== GLOW CARD VARIANT ===== */
.card-glow {
    animation: borderGlow 3s ease-in-out infinite;
}
.card-glow:hover {
    animation: none;
    border-color: rgba(102,126,234,0.4);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 30px rgba(102,126,234,0.1);
}
