*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #060606;
  color: #e5e5e5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 6, 6, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #ea580c 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.125rem;
  color: #999;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-sub strong {
  color: #e5e5e5;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(234,88,12,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(234,88,12,0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #ccc;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.875rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
}

.btn-small:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ea580c;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: #999;
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skill-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
}

.skill-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.skill-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.skill-card p {
  font-size: 0.8125rem;
  color: #777;
  line-height: 1.5;
}

/* Work */
.work {
  background: rgba(255,255,255,0.015);
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 48px;
  transition: all 0.3s;
}

.project:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.project-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
  margin-bottom: 8px;
  display: block;
}

.project-title {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.project-desc {
  color: #999;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 28px;
}

.project-tech li {
  font-size: 0.75rem;
  font-weight: 600;
  color: #aaa;
  background: rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: 6px;
}

.project-visual {
  height: 280px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.storemingo-visual {
  background: linear-gradient(135deg, rgba(234,88,12,0.15) 0%, rgba(22,163,74,0.1) 100%);
  border: 1px solid rgba(234,88,12,0.2);
}

.quids-visual {
  background: linear-gradient(135deg, rgba(14,165,233,0.15) 0%, rgba(16,185,129,0.1) 100%);
  border: 1px solid rgba(14,165,233,0.2);
}

.visual-content {
  text-align: center;
}

.visual-badge {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.visual-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.visual-sub {
  font-size: 0.875rem;
  color: #888;
  margin-top: 4px;
}

/* AI */
.ai {
  position: relative;
  overflow: hidden;
}

.ai-glow {
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ai-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
}

.ai-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(14,165,233,0.25);
  transform: translateY(-4px);
}

.ai-icon {
  font-size: 1.75rem;
  color: #0ea5e9;
  margin-bottom: 16px;
}

.ai-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.ai-card p {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.6;
}

/* Contact */
.contact {
  text-align: center;
  padding: 120px 0;
}

.contact-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-sub {
  color: #888;
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.contact-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #888;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: #fff;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0;
  text-align: center;
  color: #555;
  font-size: 0.875rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .project {
    grid-template-columns: 1fr;
  }

  .project-visual {
    order: -1;
    height: 220px;
  }

  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skills {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6,6,6,0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .project {
    padding: 28px;
  }

  .contact-links {
    flex-direction: column;
    gap: 16px;
  }
}
