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

:root {
  --bg: #0b0d0e;
  --bg-alt: #111415;
  --surface: #181b1d;
  --border: #222729;
  --text: #e2e6e9;
  --text-muted: #7a8288;
  --accent: #6ecbf5;
  --accent-dim: rgba(110, 203, 245, 0.08);
  --font-display: 'Noto Serif SC', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius: 8px;
  --max-w: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.logo-muted {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(110, 203, 245, 0.04) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 70%, rgba(110, 203, 245, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 680px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.title-line.accent {
  color: var(--accent);
  animation-delay: 0.6s;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: #0b0d0e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.25s;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.btn-primary:hover {
  background: #8fd8f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 203, 245, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

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

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 56px;
}

.section-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-family: var(--font-body);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}

/* ===== About ===== */
.about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-visual {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(110, 203, 245, 0.15);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.ring-2 {
  width: 150px;
  height: 150px;
  border-color: rgba(110, 203, 245, 0.08);
  animation-direction: reverse;
  animation-duration: 14s;
}

.ring-3 {
  width: 100px;
  height: 100px;
  border-color: rgba(110, 203, 245, 0.12);
  animation-duration: 10s;
  border-style: dashed;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Work ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  cursor: default;
}

.work-card:hover {
  border-color: rgba(110, 203, 245, 0.2);
  background: #1c2022;
  transform: translateY(-4px);
}

.card-number {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.work-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tags span {
  font-size: 0.72rem;
  padding: 4px 12px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-alt);
}

.contact-content {
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.contact-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

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

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats {
    gap: 24px;
  }

  .nav-links {
    gap: 20px;
  }

  .section {
    padding: 72px 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .about-visual {
    height: 200px;
  }

  .globe-ring {
    width: 160px;
    height: 160px;
  }

  .ring-2 {
    width: 120px;
    height: 120px;
  }

  .ring-3 {
    width: 80px;
    height: 80px;
  }
}
