 :root {
 --primary: #6366F1;
 --primary-light: #818CF8;
 --primary-dark: #4F46E5;
 --accent: #0EA5E9;
 --accent-glow: rgba(14, 165, 233, 0.2);
 --white: #fff;
 --light-1: #F8FAFC;
 --light-2: #F1F5F9;
 --light-3: #E2E8F0;
 --text: #1E293B;
 --text-muted: #64748B;
 --gradient-1: linear-gradient(135deg, #6366F1, #0EA5E9);
 --gradient-2: linear-gradient(135deg, #818CF8, #6366F1);
 --glass: rgba(99, 102, 241, 0.06);
 --glass-border: rgba(99, 102, 241, 0.12);
 --card-radius: 20px;
 --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
 --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
 --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
 }


 html {
 scroll-behavior: smooth;
 }

/* ==== NAVBAR ==== */
.navbar {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 1000;
 background: rgba(255, 255, 255, 0.85);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 border-bottom: 1px solid rgba(99, 102, 241, 0.1);
 padding: 0 2rem;
 height: 72px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 transition: all 0.3s ease;
 }

 .navbar.scrolled {
 background: rgba(255, 255, 255, 0.95);
 box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
 }

 .navbar-brand {
 display: flex;
 align-items: center;
 gap: 10px;
 text-decoration: none;
 font-weight: 800;
 font-size: 1.15rem;
 color: var(--text);
 transition: color 0.3s;
 }

 .navbar-brand:hover {
 color: var(--primary);
 }

 .navbar-brand-logo {
 width: 36px;
 height: 36px;
 background: var(--gradient-1);
 border-radius: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.1rem;
 color: #fff;
 flex-shrink: 0;
 }

.navbar-links {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 list-style: none;
 }

 .navbar-links a {
 text-decoration: none;
 color: var(--text-muted);
 font-weight: 500;
 font-size: 0.92rem;
 padding: 8px 18px;
 border-radius: 10px;
 transition: all 0.3s ease;
 position: relative;
 }

 .navbar-links a:hover,
 .navbar-links a.active {
 color: var(--primary);
 background: rgba(99, 102, 241, 0.13);
 }

 .navbar-links a::after {
 content: '';
 position: absolute;
 bottom: 2px;
 left: 50%;
 transform: translateX(-50%) scaleX(0);
 width: 60%;
 height: 2px;
 background: var(--gradient-1);
 border-radius: 2px;
 transition: transform 0.3s ease;
 }

 .navbar-links a:hover::after,
 .navbar-links a.active::after {
 transform: translateX(-50%) scaleX(1);
 }

 .navbar-actions {
 display: flex;
 align-items: center;
 gap: 12px;
 }

 .navbar-btn {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 padding: 8px 20px;
 border-radius: 10px;
 font-family: inherit;
 font-size: 0.88rem;
 font-weight: 600;
 cursor: pointer;
 transition: all 0.3s ease;
 text-decoration: none;
 border: none;
 }

 .navbar-btn-primary {
 background: var(--gradient-1);
 color: #fff;
 box-shadow: 0 2px 15px rgba(99, 102, 241, 0.25);
 }

 .navbar-btn-primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
 }

 .navbar-btn-outline {
 background: transparent;
 color: var(--text);
 border: 1.5px solid var(--light-3);
 }

 .navbar-btn-outline:hover {
 border-color: var(--primary-light);
 background: rgba(99, 102, 241, 0.04);
 }

 /* Hamburger */
 .navbar-toggle {
 display: none;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 background: none;
 border: none;
 padding: 4px;
 }

 .navbar-toggle span {
 display: block;
 width: 24px;
 height: 2.5px;
 background: var(--text);
 border-radius: 3px;
 transition: all 0.3s ease;
 }

 .navbar-toggle.active span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
 }

 .navbar-toggle.active span:nth-child(2) {
 opacity: 0;
 }

 .navbar-toggle.active span:nth-child(3) {
 transform: rotate(-45deg) translate(5px, -5px);
 }





/* ===== CATEGORIES ===== */
 .categories-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 gap: 1.5rem;
 }

 .category-card {
 background: var(--white);
 border: 1px solid var(--light-3);
 border-radius: var(--card-radius);
 padding: 2rem 1.8rem;
 transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 cursor: pointer;
 position: relative;
 overflow: hidden;
 box-shadow: var(--shadow-sm);
 }

 .category-card::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 3px;
 background: var(--gradient-1);
 transform: scaleX(0);
 transform-origin: left;
 transition: transform 0.4s ease;
 }

 .category-card:hover {
 transform: translateY(-6px);
 border-color: rgba(99, 102, 241, 0.2);
 box-shadow: var(--shadow-lg);

 background: linear-gradient(to bottom right, rgba(30, 144, 255, 0.1), rgba(255, 215, 0, 0.1));
 }

 .category-card:hover::before {
 transform: scaleX(1);
 transform-origin: right;
 }

 .category-icon {
 width: 52px;
 height: 52px;
 border-radius: 16px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.4rem;
 margin-bottom: 1.2rem;
 background: var(--light-2);
 border: 1px solid var(--light-3);
 }

 .category-card h3 {
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--text);
 margin-bottom: 0.6rem;
 }

 .category-card p {
 font-size: 0.9rem;
 color: var(--text-muted);
 line-height: 1.7;
 }

 .category-count {
 display: inline-block;
 margin-top: 1rem;
 font-size: 0.8rem;
 color: var(--primary);
 font-weight: 600;
 }




/* Hamburger */
 .navbar-toggle {
 display: none;
 flex-direction: column;
 gap: 5px;
 cursor: pointer;
 background: none;
 border: none;
 padding: 4px;
 }

 .navbar-toggle span {
 display: block;
 width: 24px;
 height: 2.5px;
 background: var(--text);
 border-radius: 3px;
 transition: all 0.3s ease;
 }

 .navbar-toggle.active span:nth-child(1) {
 transform: rotate(45deg) translate(5px, 5px);
 }

 .navbar-toggle.active span:nth-child(2) {
 opacity: 0;
 }

 .navbar-toggle.active span:nth-child(3) {
 transform: rotate(-45deg) translate(5px, -5px);
 }



/* ===== FEATURES ===== */
 .features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: 1.5rem;
 }

 .feature-card {
 text-align: center;
 padding: 2rem 1.5rem;
 background: var(--white);
 border: 1px solid var(--light-3);
 border-radius: var(--card-radius);
 transition: all 0.4s ease;
 box-shadow: var(--shadow-sm);
 }

 .feature-card:hover {
 transform: translateY(-5px);
 border-color: rgba(99, 102, 241, 0.2);
 box-shadow: var(--shadow-lg);
 }

 .feature-icon {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 margin: 0 auto 1.2rem;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 background: rgba(99, 102, 241, 0.08);
 transition: all 0.4s ease;
 }

 .feature-card:hover .feature-icon {
 background: var(--gradient-1);
 transform: scale(1.1);
 }

 .feature-card h3 {
 font-size: 1.05rem;
 font-weight: 700;
 color: var(--text);
 margin-bottom: 0.5rem;
 }

 .feature-card p {
 font-size: 0.85rem;
 color: var(--text-muted);
 line-height: 1.7;
 }

/* ===== ANIMATIONS ===== */
 @keyframes fadeInUp {
 from { opacity: 0; transform: translateY(30px); }
 to { opacity: 1; transform: translateY(0); }
 }
 @keyframes fadeInDown {
 from { opacity: 0; transform: translateY(-20px); }
 to { opacity: 1; transform: translateY(0); }
 }

 /* ===== RESPONSIVE ===== */
 @media (max-width: 768px) {
 body {
 padding-top: 64px;
 }

 .navbar {
 padding: 0 1rem;
 height: 64px;
 }

 .navbar-links {
 display: none;
 position: fixed;
 top: 64px;
 left: 0;
 right: 0;
 background: rgba(255,255,255,0.98);
 backdrop-filter: blur(16px);
 flex-direction: column;
 padding: 1rem;
 gap: 0.25rem;
 border-bottom: 1px solid rgba(99, 102, 241, 0.1);
 box-shadow: var(--shadow-md);
 }

 .navbar-links.open {
 display: flex;
 }

 .navbar-links a {
 width: 100%;
 padding: 12px 16px;
 border-radius: 10px;
 }

 .navbar-toggle {
 display: flex;
 }

 .navbar-actions .navbar-btn-outline {
 display: none;
 }
 }
