:root{--primary:#14B8A6;--primary-dark:#0F766E;--bg:#0F172A;--text:#F8FAFC;--muted:#94A3B8;--border:#334155}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:text;line-height:1.6;min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden}
a{color:inherit;text-decoration:none;transition:color 0.2s}
img,video{max-width:100%;height:auto;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:0.75rem 1.5rem;border-radius:9999px;font-weight:600;transition:all 0.2s;border:none;cursor:pointer;line-height:1}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-outline{border:1px solid var(--border);background:transparent;color:text}
.btn-outline:hover{background:rgba(20,184,166,0.1);border-color:var(--primary)}
.grid{display:grid}
.flex{display:flex}
.flex-col{flex-direction:column}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-2{gap:0.5rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.p-2{padding:0.5rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.py-2{padding-top:0.5rem;padding-bottom:0.5rem}
.py-3{padding-top:0.75rem;padding-bottom:0.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-8{padding-top:2rem;padding-bottom:2rem}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.m-0{margin:0}
.mb-1{margin-bottom:0.25rem}
.mb-2{margin-bottom:0.5rem}
.mb-3{margin-bottom:0.75rem}
.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.mb-10{margin-bottom:2.5rem}
.mb-12{margin-bottom:3rem}
.mb-16{margin-bottom:4rem}
.mt-0{margin-top:0}
.mt-2{margin-top:0.5rem}
.mt-4{margin-top:1rem}
.mt-8{margin-top:2rem}
.mt-auto{margin-top:auto}
.text-center{text-align:center}
.text-left{text-align:left}
.text-xs{font-size:0.75rem}
.text-sm{font-size:0.875rem}
.text-base{font-size:1rem}
.text-lg{font-size:1.125rem}
.text-xl{font-size:1.25rem}
.text-2xl{font-size:1.5rem}
.text-3xl{font-size:1.875rem}
.text-4xl{font-size:2.25rem}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.uppercase{text-transform:uppercase}
.tracking-wider{letter-spacing:0.1em}
.tracking-widest{letter-spacing:0.15em}
.tracking-tight{letter-spacing:-0.025em}
.w-full{width:100%}
.h-full{height:100%}
.min-h-screen{min-height:100vh}
.sticky{position:sticky}
.fixed{position:fixed}
.absolute{position:absolute}
.relative{position:relative}
.top-0{top:0}
.left-0{left:0}
.right-0{right:0}
.bottom-0{bottom:0}
.z-10{z-index:10}
.z-40{z-index:40}
.z-50{z-index:50}
.z-60{z-index:60}
.overflow-hidden{overflow:hidden}
.overflow-x-hidden{overflow-x:hidden}
.whitespace-nowrap{white-space:nowrap}
.transition{transition:all 0.2s}
.transition-all{transition:all 0.3s}
.transition-colors{transition:color 0.2s,background-color 0.2s,border-color 0.2s}
.transition-transform{transition:transform 0.2s}
.duration-200{transition-duration:0.2s}
.duration-300{transition-duration:0.3s}
.ease-in-out{transition-timing-function:ease-in-out}
.transform{transform:translateZ(0)}
.backdrop-blur{backdrop-filter:blur(10px)}
.rounded-lg{border-radius:0.5rem}
.rounded-xl{border-radius:0.75rem}
.rounded-2xl{border-radius:1rem}
.rounded-full{border-radius:9999px}
.rounded-bl-lg{border-bottom-left-radius:0.5rem}
.border{border:1px solid var(--border)}
.border-t{border-top:1px solid var(--border)}
.border-b{border-bottom:1px solid var(--border)}
.border-white\/5{border-color:rgba(255,255,255,0.05)}
.border-white\/10{border-color:rgba(255,255,255,0.1)}
.border-white\/20{border-color:rgba(255,255,255,0.2)}
.border-primary{border-color:var(--primary)}
.border-primary\/40{border-color:rgba(20,184,166,0.4)}
.border-primary\/50{border-color:rgba(20,184,166,0.5)}
.border-primary\/60{border-color:rgba(20,184,166,0.6)}
.shadow{box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.shadow-lg{box-shadow:0 10px 15px rgba(0,0,0,0.1)}
.shadow-primary\/30{box-shadow:0 10px 15px rgba(20,184,166,0.3)}
.cursor-pointer{cursor:pointer}
.select-none{user-select:none}
.hidden{display:none}
.block{display:block}
.inline-block{display:inline-block}
.no-underline{text-decoration:none}
.list-none{list-style:none}
.pl-0{padding-left:0}
.space-y-1>*{margin-top:0.25rem}
.space-y-2>*{margin-top:0.5rem}
.space-y-4>*{margin-top:1rem}
.bg-background{background-color:var(--bg)}
.bg-primary{background-color:var(--primary)}
.bg-primary\/10{background-color:rgba(20,184,166,0.1)}
.bg-primary\/20{background-color:rgba(20,184,166,0.2)}
.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--gradient-from),var(--gradient-to))}
.from-primary\/10{--gradient-from:rgba(20,184,166,0.1)}
.to-background{--gradient-to:var(--bg)}
.bg-white\/5{background-color:rgba(255,255,255,0.05)}
.bg-white\/10{background-color:rgba(255,255,255,0.1)}
.bg-white\/20{background-color:rgba(255,255,255,0.2)}
.bg-black\/95{background-color:rgba(0,0,0,0.95)}
.text-foreground{color:text}
.text-primary{color:var(--primary)}
.text-white{color:#fff}
.text-muted-foreground{color:var(--muted)}
.text-black{color:#000}
.hover\:text-primary:hover{color:var(--primary)}
.hover\:bg-white\/5:hover{background-color:rgba(255,255,255,0.05)}
.hover\:bg-white\/20:hover{background-color:rgba(255,255,255,0.2)}
.hover\:bg-primary\/90:hover{background-color:rgba(20,184,166,0.9)}
.hover\:shadow-lg:hover{box-shadow:0 10px 20px rgba(0,0,0,0.15)}
.hover\:border-primary\/40:hover{border-color:rgba(20,184,166,0.4)}
.hover\:border-primary\/60:hover{border-color:rgba(20,184,166,0.6)}
header{position:sticky;top:0;z-index:50;background:rgba(15,23,42,0.95);border-bottom:1px solid var(--border)}
header a{transition:color 0.2s}
header a:hover{color:var(--primary)}
.nav-link{padding:0.5rem 0;color:inherit;text-decoration:none;transition:color 0.2s}
.nav-link:hover{color:var(--primary)}
footer{border-top:1px solid var(--border);padding:2rem 1.5rem;margin-top:auto}
footer a:hover{color:var(--primary)}
#mobile-menu{position:fixed;inset:0;background:rgba(0,0,0,0.95);z-index:50;padding:6rem 2rem;transform:translateY(-100%);transition:transform 0.3s ease-in-out;display:flex;flex-direction:column}
#mobile-menu.open{transform:translateY(0)}
#mobile-menu a{padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.1);font-size:1.125rem}
#mobile-menu .nav-link{padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.1);font-size:1.125rem;color:inherit;text-decoration:none;transition:color 0.2s}
#mobile-menu .nav-link:hover{color:var(--primary)}
#mobile-menu .mobile-nav-link{padding:0.75rem 0;border-bottom:1px solid rgba(255,255,255,0.1);font-size:1.125rem;color:#fff;text-decoration:none;transition:color 0.2s}
#mobile-menu .mobile-nav-link:hover{color:var(--primary)}
.theme-toggle{position:relative;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s;background:transparent;border:1px solid rgba(255,255,255,0.1)}
.theme-toggle:hover{background:rgba(255,255,255,0.05)}
.theme-toggle svg{width:20px;height:20px;position:absolute;transition:opacity 0.3s,transform 0.3s}
.theme-toggle .sun-icon{opacity:0;transform:rotate(90deg) scale(0)}
[data-theme="dark"] .theme-toggle .sun-icon{opacity:1;transform:rotate(0) scale(1)}
[data-theme="dark"] .theme-toggle .moon-icon{opacity:0;transform:rotate(-90deg) scale(0)}
[data-theme="light"] .theme-toggle .sun-icon{opacity:1;transform:rotate(0) scale(1)}
[data-theme="light"] .theme-toggle .moon-icon{opacity:0;transform:rotate(90deg) scale(0)}
.mobile-toggle{display:none;align-items:center;gap:0.5rem;z-index:60}
.mobile-toggle button{background:transparent;border:none;cursor:pointer;padding:0.5rem;color:text}
.icon{width:1.25rem;height:1.25rem;display:inline-block;vertical-align:middle}
.icon-xl{width:1.25rem;height:1.25rem}
.icon-2xl{width:1.5rem;height:1.5rem}
.section-padding{padding:4rem 0}
.section-title{font-size:1.875rem;font-weight:700;margin-bottom:0.5rem}
.section-subtitle{color:var(--muted);font-size:1.125rem}
.card{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:0.75rem;padding:1.5rem;transition:all 0.3s}
.card:hover{transform:translateY(-4px);box-shadow:0 20px 25px -5px rgba(20,184,166,0.15);border-color:rgba(20,184,166,0.3)}
.category-card{border:2px solid transparent;padding:1.5rem;background:rgba(255,255,255,0.03);border-radius:0.75rem;transition:all 0.3s}
.category-card:hover{border-color:var(--primary);transform:translateY(-2px)}
.category-icon{width:3rem;height:3rem;border-radius:0.5rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
[data-theme="light"]{--bg:#fff;--text:#0F172A;--muted:#64748B;--border:#E2E8F0}
[data-theme="light"] body{background-color:#fff;color:#0F172A}
[data-theme="light"] header{background:rgba(255,255,255,0.98);border-bottom-color:#E2E8F0}
[data-theme="light"] .bg-background{background-color:#fff}
[data-theme="light"] .bg-black\/95{background-color:rgba(255,255,255,0.98)}
[data-theme="light"] .bg-white\/5{background-color:rgba(15,23,42,0.03)}
[data-theme="light"] .bg-white\/10{background-color:rgba(15,23,42,0.05)}
[data-theme="light"] .border-white\/5{border-color:rgba(15,23,42,0.05)}
[data-theme="light"] .border-white\/10{border-color:rgba(15,23,42,0.1)}
[data-theme="light"] #mobile-menu{background:rgba(255,255,255,0.98)}
[data-theme="light"] #mobile-menu a,[data-theme="light"] #mobile-menu .mobile-nav-link{border-color:rgba(15,23,42,0.1);color:#0F172A}
[data-theme="light"] footer{border-color:#E2E8F0}
[data-theme="light"] .card{background:rgba(15,23,42,0.02);border-color:rgba(15,23,42,0.08)}
[data-theme="light"] .text-white{color:#0F172A !important}
[data-theme="light"] .text-muted-foreground{color:#64748B}
[data-theme="light"] .category-card{background:rgba(15,23,42,0.02)}
.animate-scroll{animation:scroll 20s linear infinite}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.video-placeholder{aspect-ratio:16/9;background:linear-gradient(135deg,var(--muted) 0%,rgba(20,184,166,0.2) 100%);border-radius:0.5rem;display:flex;align-items:center;justify-content:center}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.prose{color:var(--muted);max-width:65ch}
.prose h1,.prose h2,.prose h3,.prose h4{color:text;font-weight:700;line-height:1.3}
.prose strong{color:text}
.prose a{color:var(--primary);text-decoration:none}
.prose a:hover{color:var(--primary-dark)}
.prose-invert{color:rgba(255,255,255,0.8)}
.prose-invert h1,.prose-invert h2,.prose-invert h3,.prose-invert h4,.prose-invert strong{color:#fff}
@media(max-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:flex-row{flex-direction:row}.sm\:w-auto{width:auto}.sm\:justify-center{justify-content:center}}
@media(max-width:768px){.md\:hidden{display:block}.md\:flex{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.mobile-toggle{display:flex}.section-title{font-size:1.5rem}}
@media(min-width:769px){.mobile-toggle{display:none}.mobile-menu{display:none}}
@media(min-width:640px){.sm\:flex-row{flex-direction:row}}
@media(min-width:768px){.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}}
@media(min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1200px){.lg\:text-6xl{font-size:3.5rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important}}
