/* ============================================
   FOUNDERA — Common / Shared Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&display=swap');

/* --- Base --- */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* --- Keyframes --- */
@keyframes orbit-spin   { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes counter-spin { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

@keyframes text-spring {
    0%   { opacity: 0; transform: translateY(30px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slide-up-smooth {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes center-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.15; }
    50%      { transform: translate(-50%, -50%) scale(1.3); opacity: 0.3; }
}
@keyframes blob {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -50px) scale(1.1); }
    66%  { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-20px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes gradient-shift {
    0%, 100% { background-size: 200% 200%; background-position: left center; }
    50%      { background-size: 200% 200%; background-position: right center; }
}
@keyframes pulse-text {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.02); }
}
@keyframes particle {
    0%, 100% { opacity: 0;   transform: translateY(0) scale(0); }
    25%      { opacity: 1;   transform: translateY(-30px) scale(1); }
    50%      { opacity: 0.8; transform: translateY(-60px) scale(0.8); }
    75%      { opacity: 0.4; transform: translateY(-90px) scale(0.5); }
}
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes pulse-slow {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.9; transform: scale(1.05); }
}

/* --- Logo Gradient Text (Orbitron Techy Font) --- */
.logo-gradient {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 40%, #a855f7 70%, #6366f1 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: logoGradientShift 4s ease infinite;
}
@keyframes logoGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* --- Hero Font --- */
.hero-font {
    font-family: 'Space Grotesk', sans-serif;
}

/* --- Navbar Animations --- */
@keyframes navSlideDown {
    0%   { opacity: 0; transform: translateY(-100%); }
    50%  { opacity: 1; transform: translateY(6px); }
    70%  { transform: translateY(-2px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes navLinkStagger {
    0%   { opacity: 0; transform: translateY(-16px) scale(0.9); }
    60%  { opacity: 1; transform: translateY(3px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes navGlow {
    0%, 100% { box-shadow: 0 1px 30px rgba(124, 58, 237, 0), 0 0 0 0 rgba(124, 58, 237, 0); }
    50%      { box-shadow: 0 1px 30px rgba(124, 58, 237, 0.15), 0 4px 24px rgba(99, 102, 241, 0.1); }
}
@keyframes logoShine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes navLinkGlow {
    0%   { opacity: 0; transform: scaleX(0); }
    100% { opacity: 1; transform: scaleX(1); }
}
.nav-animated {
    animation: navSlideDown 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nav-link-animated {
    position: relative;
    opacity: 0;
    animation: navLinkStagger 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), letter-spacing 0.3s ease;
}
.nav-link-animated:nth-child(1) { animation-delay: 0.3s; }
.nav-link-animated:nth-child(2) { animation-delay: 0.45s; }
.nav-link-animated:nth-child(3) { animation-delay: 0.6s; }
.nav-link-animated::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #6366f1);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #a855f7;
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.nav-link-animated:hover::before {
    transform: scaleX(1);
}
.nav-link-animated:hover::after {
    transform: translateX(-50%) scale(1);
}
.nav-link-animated:hover {
    transform: translateY(-3px);
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}
.nav-glass {
    background: rgba(26, 11, 46, 0.8);
    backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    animation: navGlow 5s ease-in-out infinite;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.nav-glass.nav-scrolled {
    background: rgba(26, 11, 46, 0.97);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.2), 0 1px 0 rgba(168, 85, 247, 0.15);
    border-bottom-color: rgba(168, 85, 247, 0.15);
}
.nav-logo-text {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}
.nav-logo-text:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}
.nav-logo-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: logoShine 3s ease-in-out infinite;
}
.nav-btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.nav-btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #7c3aed, #ec4899, #6366f1, #7c3aed);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}
.nav-btn-glow:hover::before {
    opacity: 1;
}

/* --- Scroll Reveal --- */
@keyframes revealUp {
    0%   { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
    0%   { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
    0%   { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes revealScale {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}
.scroll-reveal {
    opacity: 0;
}
.scroll-reveal.revealed {
    animation-fill-mode: forwards;
}
.scroll-reveal.revealed.reveal-up    { animation: revealUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.scroll-reveal.revealed.reveal-left  { animation: revealLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.scroll-reveal.revealed.reveal-right { animation: revealRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.scroll-reveal.revealed.reveal-scale { animation: revealScale 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* --- Hero Enhanced Typewriter --- */
@keyframes heroTextGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(168, 85, 247, 0), 0 0 0 rgba(34, 211, 238, 0); }
    50%      { text-shadow: 0 0 24px rgba(168, 85, 247, 0.35), 0 0 48px rgba(59, 130, 246, 0.25); }
}
.hero-glow {
    animation: heroTextGlow 3s ease-in-out infinite;
}

/* --- Hero Motion --- */
@keyframes hero-reveal {
    0% { opacity: 0; transform: translateY(24px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes hero-glint {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes hero-gradient-drift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes hero-aurora {
    0%, 100% { transform: translate3d(-6%, -4%, 0) rotate(0deg); opacity: 0.6; }
    50% { transform: translate3d(4%, 6%, 0) rotate(6deg); opacity: 0.95; }
}
@keyframes hero-ring {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.7; }
    50% { transform: rotate(10deg) scale(1.03); opacity: 1; }
}
@keyframes hero-ring-reverse {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
    50% { transform: rotate(-12deg) scale(1.04); opacity: 0.95; }
}
@keyframes hero-card-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-4deg); }
}
@keyframes hero-spark {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
    30% { opacity: 1; }
    70% { opacity: 0.7; transform: translate3d(18px, -30px, 0) scale(1); }
    100% { opacity: 0; transform: translate3d(30px, -50px, 0) scale(0.3); }
}
@keyframes hero-core-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.35; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}
@keyframes hero-core-pulse {
    0%, 100% { transform: translateZ(0) scale(1); filter: drop-shadow(0 0 0 rgba(124, 58, 237, 0)); }
    50% { transform: translateZ(0) scale(1.06); filter: drop-shadow(0 0 24px rgba(124, 58, 237, 0.45)); }
}
@keyframes hero-grid-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 120px 120px, 120px 120px; }
}
@keyframes hero-sweep {
    0% { opacity: 0; transform: translateX(-30%) rotate(-10deg); }
    30% { opacity: 0.7; }
    60% { opacity: 0.2; }
    100% { opacity: 0; transform: translateX(30%) rotate(-10deg); }
}
@keyframes hero-pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.45; }
    70% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
@keyframes hero-hub-float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes hero-hub-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}
@keyframes hero-float-1 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(2deg); }
}
@keyframes hero-float-2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
    50% { transform: translate3d(8px, -10px, 0) rotate(-1deg); }
}
@keyframes hero-float-3 {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-10px, 12px, 0) rotate(2deg); }
}
@keyframes hero-node-drift {
    0% { opacity: 0.25; transform: translate3d(0, 0, 0); }
    50% { opacity: 0.8; transform: translate3d(16px, -18px, 0); }
    100% { opacity: 0.3; transform: translate3d(-8px, 10px, 0); }
}
@keyframes hero-link-dot {
    0% { opacity: 0; transform: translateX(0); }
    20% { opacity: 1; }
    80% { opacity: 0.9; }
    100% { opacity: 0; transform: translateX(var(--link-length)); }
}
@keyframes hero-link-glow {
    0% { background-position: 0% 50%; opacity: 0.35; }
    50% { opacity: 0.8; }
    100% { background-position: 200% 50%; opacity: 0.35; }
}
@keyframes hero-card-breathe {
    0%, 100% { transform: translate3d(0, 0, 0); box-shadow: 0 20px 40px rgba(2, 6, 23, 0.45); }
    50% { transform: translate3d(0, -10px, 0); box-shadow: 0 28px 50px rgba(2, 6, 23, 0.55); }
}
@keyframes hero-ring-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes hero-network-glow {
    0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.95); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}
.hero-reveal {
    opacity: 0;
    animation: hero-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-glint {
    background: linear-gradient(90deg, #ffffff 0%, #e9d5ff 40%, #ffffff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff;
    -webkit-text-fill-color: transparent;
    animation: hero-glint 3s linear infinite;
}
.hero-gradient-drift {
    background-size: 200% 200%;
    animation: hero-gradient-drift 6s ease-in-out infinite;
}
.hero-aurora {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 25% 30%, rgba(99, 102, 241, 0.25), transparent 60%),
        radial-gradient(circle at 70% 55%, rgba(236, 72, 153, 0.22), transparent 60%),
        radial-gradient(circle at 35% 80%, rgba(34, 197, 94, 0.12), transparent 60%);
    filter: blur(40px);
    opacity: 0.7;
    animation: hero-aurora 12s ease-in-out infinite;
}
.hero-ring { animation: hero-ring 14s ease-in-out infinite; }
.hero-ring-reverse { animation: hero-ring-reverse 16s ease-in-out infinite; }
.hero-ring-slow { animation-duration: 22s; }
.hero-card-float { animation: hero-card-float 6s ease-in-out infinite; }
.hero-spark { animation: hero-spark 5s ease-in-out infinite; }
.hero-core-glow { animation: hero-core-glow 6s ease-in-out infinite; }
.hero-core-glow-fast { animation-duration: 4s; }
.hero-core-pulse { animation: hero-core-pulse 4s ease-in-out infinite; }

.hero-stage {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 520px;
    margin: 0 auto;
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 12px;
    border-radius: 28px;
    background-image:
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 90px),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 90px);
    opacity: 0.16;
    animation: hero-grid-drift 28s linear infinite;
}
.hero-network-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(10px);
    animation: hero-network-glow 8s ease-in-out infinite;
}
.hero-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    border: 1px dashed rgba(148, 163, 184, 0.25);
    transform: translate(-50%, -50%);
    animation: hero-pulse-ring 6.5s ease-out infinite;
}
.hero-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    border: 1px dashed rgba(99, 102, 241, 0.25);
    transform: translate(-50%, -50%);
    animation: hero-ring-spin 18s linear infinite;
}
.hero-hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.18);
    transform: translate(-50%, -50%);
    animation: hero-hub-ring 4.5s ease-in-out infinite;
}
.hero-link {
    --link-length: 200px;
    --link-color: rgba(168, 85, 247, 0.9);
    --link-delay: 0s;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: var(--link-length);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(148, 163, 184, 0.25), var(--link-color));
    background-size: 200% 100%;
    animation: hero-link-glow 4.8s ease-in-out infinite;
    animation-delay: var(--link-delay);
    opacity: 0.7;
}
.hero-link::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--link-color);
    box-shadow: 0 0 12px var(--link-color);
    animation: hero-link-dot 3.6s ease-in-out infinite;
    animation-delay: var(--link-delay);
}
.hero-link-founder {
    --link-length: 190px;
    --link-color: rgba(168, 85, 247, 0.9);
    --link-delay: 0.2s;
    transform: translate(-50%, -50%) rotate(-24deg);
}
.hero-link-seeker {
    --link-length: 210px;
    --link-color: rgba(34, 211, 238, 0.9);
    --link-delay: 0.8s;
    transform: translate(-50%, -50%) rotate(182deg);
}
.hero-link-investor {
    --link-length: 175px;
    --link-color: rgba(52, 211, 153, 0.9);
    --link-delay: 1.4s;
    transform: translate(-50%, -50%) rotate(36deg);
}
.hero-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6, #d946ef);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(124, 58, 237, 0.35);
    transform: translate(-50%, -50%);
    animation: hero-hub-float 4.5s ease-in-out infinite;
}
.hero-tile {
    position: absolute;
    width: 188px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.45);
    animation: hero-card-breathe 8s ease-in-out infinite;
}
.hero-tile::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 55%);
    opacity: 0.5;
    pointer-events: none;
}
.hero-tile-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}
.hero-tile-sub {
    font-size: 0.75rem;
    color: #cbd5f5;
    margin-top: 2px;
}
.hero-tile-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.45);
}
.hero-tile-icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.hero-tile-icon-cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.hero-tile-icon-emerald { background: linear-gradient(135deg, #10b981, #22c55e); }
.hero-tile-founder {
    top: 8%;
    right: 6%;
    animation-delay: 0.2s;
}
.hero-tile-seeker {
    top: 40%;
    left: 2%;
    animation-delay: 0.8s;
}
.hero-tile-investor {
    bottom: 12%;
    right: 14%;
    animation-delay: 1.4s;
}
@media (max-width: 640px) {
    .hero-stage { max-width: 360px; }
    .hero-grid { inset: 6px; }
    .hero-pulse-ring { width: 180px; height: 180px; }
    .hero-orbit-ring { width: 240px; height: 240px; }
    .hero-hub-ring { width: 110px; height: 110px; }
    .hero-hub { width: 64px; height: 64px; }
    .hero-tile { width: 150px; }
    .hero-tile-founder { top: 6%; right: 0; }
    .hero-tile-seeker { top: 44%; left: 0; }
    .hero-tile-investor { bottom: 8%; right: 4%; }
}

/* --- Dashboard Showcase --- */
.dashboard-shell {
    position: relative;
    padding: 16px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.55), rgba(99, 102, 241, 0.35), rgba(236, 72, 153, 0.25));
    box-shadow: 0 35px 80px rgba(8, 7, 20, 0.65);
}
.dashboard-shell::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 44px;
    background:
        radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.45), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.35), transparent 55%);
    filter: blur(26px);
    opacity: 0.7;
    z-index: 0;
}
.dashboard-shell-inner {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 14, 44, 0.96), rgba(10, 7, 26, 0.98));
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    z-index: 1;
}
.dashboard-shell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.18), rgba(99, 102, 241, 0.16), rgba(236, 72, 153, 0.12));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dashboard-shell-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}
.dashboard-shell-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dashboard-shell-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #a78bfa;
    opacity: 0.7;
}
.dashboard-shell-dots span:nth-child(2) {
    background: #60a5fa;
    opacity: 0.65;
}
.dashboard-shell-dots span:nth-child(3) {
    background: #f472b6;
    opacity: 0.6;
}
.dashboard-tabbar {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(10, 8, 24, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dashboard-shell-body {
    background: linear-gradient(180deg, rgba(12, 10, 30, 0.85), rgba(6, 6, 20, 0.85));
}
@media (max-width: 640px) {
    .dashboard-shell { padding: 12px; border-radius: 30px; }
    .dashboard-shell::before { inset: -12px; border-radius: 36px; }
    .dashboard-shell-top { padding: 10px 14px; }
    .dashboard-tabbar { padding: 8px 10px; gap: 6px; }
}

/* --- Foundera CTA --- */
.foundera-cta {
    position: relative;
    padding: 96px 24px;
    background: #0b0616;
    overflow: hidden;
}
.foundera-cta::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 25%, rgba(139, 92, 246, 0.35), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.25), transparent 60%);
    opacity: 0.8;
}
.foundera-cta__panel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(14, 10, 30, 0.96), rgba(8, 6, 20, 0.98));
    border: 1px solid rgba(139, 92, 246, 0.28);
    box-shadow: 0 40px 120px rgba(7, 5, 18, 0.8);
    overflow: hidden;
}
.foundera-cta__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.45;
}
.foundera-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.foundera-cta__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(59, 130, 246, 0.7));
    box-shadow: 0 16px 30px rgba(88, 49, 204, 0.45);
}
.foundera-cta__icon img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
}
.foundera-cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}
.foundera-cta__subtitle {
    color: #cbd5f5;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.foundera-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.foundera-cta__btn span {
    font-size: 1.1rem;
}
.foundera-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.45);
}
@media (max-width: 640px) {
    .foundera-cta { padding: 72px 18px; }
    .foundera-cta__panel { padding: 56px 22px; border-radius: 28px; }
    .foundera-cta__grid { background-size: 36px 36px; }
}

/* --- Animation Classes --- */
.animate-orbit           { animation: orbit-spin 35s linear infinite; }
.animate-orbit-reverse   { animation: counter-spin 45s linear infinite; }
.animate-counter         { animation: counter-spin 35s linear infinite; }
.animate-counter-reverse { animation: orbit-spin 45s linear infinite; }
.animate-text-spring     { opacity: 0; animation: text-spring 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.animate-slide-up        { opacity: 0; animation: slide-up-smooth 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.animate-blob            { animation: blob 7s infinite; }
.animate-float           { animation: float 5s ease-in-out infinite; }
.animate-shimmer {
    background: linear-gradient(90deg, #fff 0%, #c4b5fd 25%, #fff 50%, #c4b5fd 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}
.animate-gradient        { animation: gradient-shift 5s ease infinite; }
.animate-pulse-text      { animation: pulse-text 3s ease-in-out infinite; }
.animate-particle        { animation: particle 4s ease-in-out infinite; }
.animate-bounce-slow     { animation: bounce-slow 2s ease-in-out infinite; }
.animate-pulse-slow      { animation: pulse-slow 3s ease-in-out infinite; }

/* --- Delay Utilities --- */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* --- Utility Classes --- */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Vision & Mission Card Enhancements --- */
.vm-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}
.vm-kicker-line {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), transparent);
    animation: vm-kicker-line 3.5s ease-in-out infinite;
}
.vm-kicker-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(139, 92, 246, 0.18);
    color: #d7d0ff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(76, 29, 149, 0.35);
}
.vm-kicker-chip i {
    color: #c4b5fd;
}
.vm-title {
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.vm-title-gradient {
    background-size: 200% 200%;
    animation: vm-title-gradient 6s ease-in-out infinite;
}
.scroll-reveal.revealed .vm-title {
    animation: vm-title-reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both, vm-title-glow 5s ease-in-out infinite;
}
@keyframes vm-title-reveal {
    0% { opacity: 0; transform: translateY(18px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes vm-title-glow {
    0%, 100% { text-shadow: 0 0 0 rgba(168, 85, 247, 0); }
    50% { text-shadow: 0 0 28px rgba(168, 85, 247, 0.35); }
}
@keyframes vm-title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes vm-kicker-line {
    0%, 100% { opacity: 0.3; transform: scaleX(0.7); }
    50% { opacity: 1; transform: scaleX(1); }
}
@media (max-width: 640px) {
    .vm-kicker-line { width: 36px; }
    .vm-kicker-chip { letter-spacing: 0.12em; }
}

.vm-panel {
    position: relative;
    padding: 48px 46px;
    border-radius: 28px;
    background: rgba(18, 14, 32, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 28px 70px rgba(6, 4, 16, 0.65);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    animation: vm-card-breathe 7s ease-in-out infinite;
}
.vm-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, var(--vm-glow), transparent 60%);
    opacity: 0.65;
    pointer-events: none;
}
.vm-panel:hover {
    transform: translateY(-6px);
    border-color: var(--vm-border);
    box-shadow: 0 38px 80px rgba(6, 4, 18, 0.75);
}
.vm-panel--vision {
    --vm-accent: #38bdf8;
    --vm-glow: rgba(56, 189, 248, 0.25);
    --vm-border: rgba(56, 189, 248, 0.35);
}
.vm-panel--mission {
    --vm-accent: #f472b6;
    --vm-glow: rgba(244, 114, 182, 0.26);
    --vm-border: rgba(244, 114, 182, 0.35);
}
.vm-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 16px 32px rgba(10, 8, 22, 0.55);
}
.vm-icon--vision {
    background: linear-gradient(135deg, #38bdf8, #60a5fa);
}
.vm-icon--mission {
    background: linear-gradient(135deg, #a855f7, #f472b6);
}
.vm-panel-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
}
.vm-panel-text {
    font-size: 1.05rem;
    color: #cbd5f5;
    line-height: 1.7;
}
.vm-panel--vision .vm-em { color: #7dd3fc; font-weight: 600; }
.vm-panel--mission .vm-em { color: #f9a8d4; font-weight: 600; }
.vm-meter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}
.vm-meter span {
    width: 20px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
}
.vm-meter__active {
    width: 54px;
    background: var(--vm-accent);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.4);
    animation: vm-meter-pulse 3.6s ease-in-out infinite;
}
.vm-meter--right .vm-meter__active {
    box-shadow: 0 0 14px rgba(244, 114, 182, 0.45);
}
@keyframes vm-card-breathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes vm-meter-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@media (max-width: 640px) {
    .vm-panel { padding: 36px 28px; }
    .vm-panel-title { font-size: 1.5rem; }
    .vm-panel-text { font-size: 1rem; }
}

/* --- Preloader --- */
#foundera-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #1a0b2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#foundera-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
#foundera-preloader .preloader-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(80px) scale(0.7);
    animation: preloaderSlideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.5));
}
#foundera-preloader .preloader-text {
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(30px);
    animation: preloaderSlideUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
#foundera-preloader .preloader-bar-container {
    margin-top: 30px;
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    animation: preloaderFadeIn 0.3s ease 0.3s forwards;
}
#foundera-preloader .preloader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
    border-radius: 10px;
    animation: preloaderProgress 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
#foundera-preloader .preloader-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: preloaderGlow 2s ease-in-out 0.3s forwards;
}

@keyframes preloaderSlideUp {
    0%   { opacity: 0; transform: translateY(80px) scale(0.7); }
    60%  { opacity: 1; transform: translateY(-8px) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes preloaderFadeIn  { to { opacity: 1; } }
@keyframes preloaderProgress { to { width: 100%; } }
@keyframes preloaderGlow {
    0%   { opacity: 0;   transform: scale(0.5); }
    50%  { opacity: 1;   transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* --- Mobile Navbar --- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #1a0b2e;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 91;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    overflow-y: auto;
}
.mobile-nav-drawer.active {
    transform: translateX(0);
}

/* --- Toast Notifications --- */
@keyframes toastIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}
.animate-toast-in { animation: toastIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.animate-toast-out { animation: toastOut 0.3s ease-in forwards; }

/* --- Password Strength Bar --- */
#strength-bar { transition: width 0.4s ease, background-color 0.4s ease; }

/* --- Email Verification Screen --- */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow { animation: bounce-slow 2s ease-in-out infinite; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

.border-3 { border-width: 3px; }

/* ============================================================
   COMMUNITY FEED STYLES — shared across all 3 dashboards
   ============================================================ */

/* Reaction buttons */
.community-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
}
.community-reaction-btn:hover {
    transform: scale(1.05);
}
.community-reaction-btn:active {
    transform: scale(0.95);
}

/* Post entrance animation */
@keyframes communityPostEnter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.community-post-enter {
    animation: communityPostEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Comment entrance */
@keyframes communityCommentEnter {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.community-comment-enter {
    animation: communityCommentEnter 0.3s ease both;
}

/* Header banner shimmer */
.community-header-banner {
    position: relative;
}
.community-header-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: communityShimmer 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: 1rem;
}
@keyframes communityShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Scrollbar thin for filter tabs */
.scrollbar-thin::-webkit-scrollbar {
    height: 4px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.4);
    border-radius: 2px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.4);
}

/* ============================================================
   COMMUNITY — Enhanced Animations & Mobile Responsive
   ============================================================ */

/* Floating particles background for community header */
@keyframes communityFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(20px, -30px) scale(1.1); opacity: 0.5; }
    50% { transform: translate(-10px, -50px) scale(0.9); opacity: 0.4; }
    75% { transform: translate(30px, -20px) scale(1.05); opacity: 0.35; }
}
@keyframes communityFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.2; }
    50% { transform: translate(-30px, -40px) rotate(180deg); opacity: 0.4; }
}
@keyframes communityPulseRing {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
@keyframes communityGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes communitySlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes communityFadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes communityBorderGlow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.15); }
    50% { border-color: rgba(99, 102, 241, 0.35); }
}

.community-animate-slide-up {
    animation: communitySlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.community-animate-fade-scale {
    animation: communityFadeScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Post card enhanced hover */
.community-post-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    animation: communityBorderGlow 4s ease-in-out infinite;
}
.community-post-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Compose card enhanced */
.community-compose-card {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.7), rgba(49, 46, 129, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.community-compose-card:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

/* Header banner enhanced */
.community-header-banner {
    position: relative;
    overflow: hidden;
}
.community-header-banner .community-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.community-header-banner .community-particle-1 {
    width: 6px; height: 6px;
    background: rgba(99, 102, 241, 0.4);
    top: 20%; right: 15%;
    animation: communityFloat1 6s ease-in-out infinite;
}
.community-header-banner .community-particle-2 {
    width: 4px; height: 4px;
    background: rgba(168, 85, 247, 0.4);
    top: 60%; right: 25%;
    animation: communityFloat2 8s ease-in-out infinite;
}
.community-header-banner .community-particle-3 {
    width: 8px; height: 8px;
    background: rgba(236, 72, 153, 0.3);
    top: 30%; right: 40%;
    animation: communityFloat1 10s ease-in-out infinite reverse;
}

/* Community mobile responsive overrides */
@media (max-width: 640px) {
    .community-post-card .p-5,
    .community-post-card .p-4,
    .community-post-card .sm\:p-6 {
        padding: 0.875rem !important;
    }
    .community-compose-card .p-5,
    .community-compose-card .p-4,
    .community-compose-card .sm\:p-6 {
        padding: 0.875rem !important;
    }
    .community-header-banner .p-6,
    .community-header-banner .p-4,
    .community-header-banner .sm\:p-8 {
        padding: 0.875rem !important;
    }
    .community-reaction-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
        gap: 0.2rem;
    }
    .community-post-card img.w-12,
    .community-post-card img.sm\:w-12 {
        width: 2.25rem;
        height: 2.25rem;
    }
    .community-post-card .w-12.h-12,
    .community-post-card .sm\:w-12 {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.75rem;
    }
    /* Community max-w-3xl full width on mobile */
    .max-w-3xl {
        max-width: 100% !important;
        padding-left: 0;
        padding-right: 0;
    }
    /* Post content overflow fix */
    .community-post-card p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .community-post-card img {
        max-width: 100%;
        height: auto;
    }
    /* Filter tabs smaller on mobile */
    .scrollbar-thin button {
        padding: 0.4rem 0.75rem;
        font-size: 0.65rem;
    }
}

/* ============================================================
   OVERALL — Enhanced Responsive & Professional Polish
   ============================================================ */

/* Better mobile grid handling */
@media (max-width: 640px) {
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid.md\:grid-cols-4.gap-6 { gap: 0.75rem; }
    .grid.md\:grid-cols-3.gap-6 { gap: 0.75rem; }
    .grid.md\:grid-cols-2.gap-6 { gap: 0.75rem; }
    
    /* Stat cards on mobile */
    .grid-cols-2 > div.p-6 { padding: 1rem; }
    .grid-cols-2 > div .text-3xl { font-size: 1.5rem; }
    
    /* Main content area */
    .main-content { padding: 0.5rem !important; padding-top: 4rem !important; }
    
    /* Header responsive */
    header h1 { font-size: 1.15rem; }
    header p { font-size: 0.75rem; }
    
    /* Welcome banner */
    .rounded-2xl.p-8 { padding: 1.25rem; }
    .rounded-2xl.p-8 h2 { font-size: 1.25rem; }
    .rounded-2xl.p-8 p { font-size: 0.8rem; }
    
    /* Button wrapping */
    .flex-wrap.gap-4 { gap: 0.5rem; }
    .flex-wrap.gap-4 > button,
    .flex-wrap.gap-4 > a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* Profile cards */
    .max-w-4xl { max-width: 100%; }
    
    /* Cover photo */
    .h-48 { height: 8rem; }
    .w-32.h-32, .-top-16 .w-32 { width: 5rem; height: 5rem; }
    .-top-16 { top: -2.5rem; }
    .px-8.pb-8 { padding: 0.875rem; padding-bottom: 0.875rem; }
    .mt-4 .text-2xl { font-size: 1.25rem; }
    
    /* Modal responsive */
    .max-w-2xl, .max-w-lg, .max-w-3xl { max-width: calc(100vw - 1rem); }
    .fixed.inset-0.p-4 { padding: 0.375rem; }
    
    /* Founder/Seeker cards mobile */
    .rounded-3xl.p-8 { padding: 1rem; }
    .flex-col.lg\:flex-row { flex-direction: column; }

    /* Space between items */
    .space-y-6 > * + * { margin-top: 1rem; }
    .space-y-5 > * + * { margin-top: 0.875rem; }
    
    /* Sidebar on mobile — no visible by default */
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0 !important; }
    
    /* Text overflow fix */
    h1, h2, h3, h4, h5, p, span, a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Notification bell - handled by dedicated media query above */
}

@media (max-width: 480px) {
    /* Extra small mobile */
    .grid-cols-2 { grid-template-columns: 1fr; }
    .community-reaction-btn { padding: 0.2rem 0.4rem; font-size: 0.6rem; }
    .flex.items-center.gap-1 { gap: 0.125rem; }
}

/* Professional card shadows */
.bg-gray-800\/40 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Smooth transitions for all interactive elements */
button, a, .sidebar-link, input, textarea, select {
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus ring for accessibility */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

/* Better text rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   PERFORMANCE — Hardware Acceleration & Containment
   ============================================================ */
.sidebar {
    will-change: transform;
    contain: style;
}
#content {
    will-change: opacity;
}
.community-post-card,
.bg-gray-800\/40 {
    contain: content;
}
.backdrop-blur-xl,
.backdrop-blur-sm,
[class*="backdrop-blur"] {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ============================================================
   NOTIFICATION PANEL
   ============================================================ */
.notification-panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    width: 380px;
    max-height: 480px;
    overflow-y: auto;
    background: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.1);
    z-index: 100;
    animation: notifSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
    .notification-panel {
        position: fixed;
        top: 3.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 5rem);
        border-radius: 1rem;
        z-index: 200;
    }
}
@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    transition: background-color 0.2s;
    cursor: pointer;
}
.notification-item:hover {
    background: rgba(99, 102, 241, 0.08);
}
.notification-item.unread {
    background: rgba(99, 102, 241, 0.06);
    border-left: 3px solid rgba(99, 102, 241, 0.6);
}
.notification-item:last-child {
    border-bottom: none;
}
@media (max-width: 480px) {
    .notification-item {
        gap: 0.5rem;
        padding: 0.75rem;
    }
    .notification-item img,
    .notification-item .w-9 {
        width: 2rem;
        height: 2rem;
    }
    .notification-item p.text-sm {
        font-size: 0.75rem;
    }
}

/* ============================================================
   REACTION VIEWER MODAL
   ============================================================ */
.reaction-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 75;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: notifSlideIn 0.2s ease-out;
}
.reaction-viewer-modal {
    background: rgb(31, 41, 55);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 1rem;
    width: 100%;
    max-width: 400px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.reaction-viewer-modal .reaction-user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    cursor: pointer;
    transition: background 0.2s;
}
.reaction-viewer-modal .reaction-user-item:hover {
    background: rgba(99, 102, 241, 0.08);
}
.reaction-viewer-modal .reaction-user-item:last-child {
    border-bottom: none;
}

/* ============================================================
   MY POSTS TAB
   ============================================================ */
.my-post-card {
    background: rgba(31, 41, 55, 0.4);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.my-post-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

/* Profile viewer clickable in community */
.community-author-clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}
.community-author-clickable:hover {
    opacity: 0.8;
}
.community-author-clickable:hover h4 {
    text-decoration: underline;
}

/* ============================================================
   IMAGE LIGHTBOX
   ============================================================ */
@keyframes lightboxZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================================
   GLOBAL OVERFLOW FIX FOR MOBILE
   ============================================================ */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
.flex {
    min-width: 0;
}
main.main-content {
    min-width: 0;
    overflow-x: hidden;
}
#content {
    min-width: 0;
    overflow-x: hidden;
}

/* ============================================================
   ADDITIONAL MOBILE POLISH
   ============================================================ */
/* Smooth table scrolling on mobile */
.overflow-x-auto {
    -webkit-overflow-scrolling: touch;
}

/* Mobile header flex-wrap */
@media (max-width: 640px) {
    header.flex {
        flex-direction: column;
        align-items: flex-start;
    }
    header .flex.items-center.gap-4 {
        width: 100%;
        justify-content: flex-end;
    }
    /* Ensure sidebar backdrop is opaque */
    .sidebar-overlay {
        backdrop-filter: blur(4px);
    }
}