/* Root Variables */
:root {
    --bg-primary: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-start: #FF1744;
    --accent-end: #FF6E40;
    --shadow-accent: rgba(255, 23, 68, 0.4);
    --bg: #0a0a0a;
    --surface: #111111;
    --border: #1a1a1a;
    --accent: #00d4ff;
    --text: #ffffff;
    --text-dim: #888888;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.light-theme {
    --bg-primary: #F5F5F5;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent-start: #D32F2F;
    --accent-end: #F06292;
    --shadow-accent: rgba(211, 47, 47, 0.3);
    --bg: #ffffff;
    --surface: #f5f5f5;
    --border: #e0e0e0;
    --accent: #D32F2F;
    --text: #1a1a1a;
    --text-dim: #666666;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(200, 200, 200, 0.3);
    --glow: 0 0 15px rgba(211, 47, 47, 0.2);
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body::-webkit-scrollbar, .scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

body, .scrollbar-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

main {
    margin-top: 16px;
    padding-top: 16px;
}

.custom-cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, var(--accent-start) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-start);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 60px); }
    100% { transform: translate(0, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About */
#about p {
    color: var(--text-primary);
}

/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 8px;
}

.surface {
    background: var(--surface);
    border: 1px solid var(--border);
}

.accent {
    color: var(--accent);
}





.section {
    padding: 64px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}


.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mb-16 {
    margin-bottom: 64px;
}


.body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.body {
    font-size: 1rem;
    line-height: 1.6;
}

.body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-dim {
    color: var(--text-dim);
}



/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(to right, var(--accent-start), var(--accent-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

/* Navigation Indicator */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 1000;
    transition: width 0.3s;
}

.nav-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
}

.nav-dot.active {
    background: var(--accent);
    box-shadow: var(--glow);
}


  



