*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #08080c;
  --bg2: #0e0e15;
  --text: #f0f0f2;
  --dim: #6b6b80;
  --accent: #7c5cfc;
  --accent2: #00e5a0;
  --border: rgba(255,255,255,0.08);
  --font: 'Inter', sans-serif;
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6; }

/* === LOADER (dala style) === */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.loader.hidden { opacity: 0; pointer-events: none; transition: opacity 0.6s ease; }
.loader-content { width: 100%; max-width: 700px; }
.loader-heading { margin-bottom: 60px; }
.loader-line {
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.3;
}
.loader-line span {
  display: block;
  transform: translateY(100%) rotate(3deg);
  opacity: 0;
  animation: lineReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.loader-line:nth-child(1) span { animation-delay: 0.2s; }
.loader-line:nth-child(2) span { animation-delay: 0.5s; color: var(--accent); }

@keyframes lineReveal {
  to { transform: translateY(0) rotate(0); opacity: 1; }
}

.loader-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--dim);
  letter-spacing: 2px;
}
.loader-progress { font-size: 3rem; font-family: var(--display); font-weight: 700; color: var(--text); letter-spacing: -2px; }

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; z-index: 100; background: rgba(8,8,12,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; }
.nav-icon { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: 0.82rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-lang { display: flex; gap: 4px; }
.lang-btn { background: none; border: 1px solid var(--border); color: var(--dim); padding: 4px 10px; border-radius: 6px; font-size: 0.65rem; font-weight: 700; cursor: pointer; transition: all 0.3s; }
.lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* === HERO === */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; padding: 120px 24px 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.gradient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.25; }
.orb1 { width: 600px; height: 600px; top: -200px; left: -150px; background: var(--accent); }
.orb2 { width: 500px; height: 500px; bottom: -200px; right: -150px; background: var(--accent2); opacity: 0.15; }
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero-tag { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: 1px; margin-bottom: 20px; animation: fadeUp 0.8s ease 0.3s both; }
.hero-title { font-family: var(--display); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; letter-spacing: -3px; line-height: 1.1; margin-bottom: 20px; animation: fadeUp 0.8s ease 0.5s both; }
.dot { color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: var(--dim); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; animation: fadeUp 0.8s ease 0.7s both; }
.hero-btns { display: flex; gap: 14px; justify-content: center; animation: fadeUp 0.8s ease 0.9s both; }
.hero-astro { position: absolute; top: 15%; right: 8%; width: 90px; animation: floatAstro 6s ease-in-out infinite, fadeIn 1s ease 1.2s both; }
.hero-astro img { width: 100%; filter: drop-shadow(0 0 20px rgba(124,92,252,0.4)); }
@keyframes floatAstro { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-25px) rotate(3deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.65rem; color: var(--dim); letter-spacing: 3px; animation: fadeIn 1s ease 1.5s both; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 30px; background: var(--dim); margin: 8px auto 0; animation: scrollLine 2s ease infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.4); opacity: 0.3; } }

/* === BUTTONS === */
.btn-primary { padding: 14px 28px; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s; box-shadow: 0 4px 24px rgba(124,92,252,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(124,92,252,0.5); }
.btn-ghost { padding: 14px 28px; border-radius: 8px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: all 0.3s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* === SECTIONS === */
.section { padding: 120px 40px; position: relative; z-index: 1; }
.section .container { transition: transform 0.3s ease; }
.section-dark { background: var(--bg2); }
.container { max-width: 1000px; margin: 0 auto; }
.label { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 32px; }
.section-heading { font-family: var(--display); font-size: 1.8rem; font-weight: 700; margin-bottom: 40px; letter-spacing: -0.5px; }

/* === ABOUT === */
.about-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 60px; align-items: center; }
.about-photo img { width: 100%; border-radius: 16px; }
.about-info h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; line-height: 1.4; }
.about-info p { color: var(--dim); margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 20px 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.02); transition: all 0.3s; }
.stat:hover { border-color: var(--accent); transform: translateY(-4px); }
.stat strong { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--accent2); }
.stat span { font-size: 0.65rem; color: var(--dim); text-transform: uppercase; letter-spacing: 1px; }

/* === APPS === */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.app-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-decoration: none; color: var(--text); transition: all 0.4s; }
.app-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: 0 20px 60px rgba(124,92,252,0.1); }
.app-emoji { font-size: 2rem; margin-bottom: 14px; }
.app-card h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 8px; }
.app-card p { color: var(--dim); font-size: 0.85rem; line-height: 1.5; }
.badge { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 0.65rem; padding: 3px 10px; border-radius: 10px; border: 1px solid var(--border); color: var(--dim); }
.badge.live { border-color: var(--accent2); color: var(--accent2); }

/* === EXPERIENCE === */
.exp-list { display: flex; flex-direction: column; }
.exp { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: center; transition: all 0.3s; }
.exp:hover { padding-left: 12px; }
.exp-date { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); }
.exp-title { font-family: var(--display); font-weight: 600; }
.exp-co { color: var(--accent); font-size: 0.85rem; font-weight: 500; }

/* === CONTACT === */
.contact-center { text-align: center; }
.big-text { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -2px; margin-bottom: 32px; }
.contact-btns { display: flex; gap: 14px; justify-content: center; }

/* === FOOTER === */
.footer { padding: 32px; text-align: center; color: var(--dim); font-size: 0.75rem; border-top: 1px solid var(--border); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero-astro { display: none; }
  .section { padding: 80px 20px; }
  .about-wrap { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .about-photo img { width: 180px; margin: 0 auto; display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .exp { grid-template-columns: 1fr; gap: 4px; }
  .exp-co { display: none; }
}
