/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  line-height: 1.7;
  color: #1a1a2e;
  background: #fafafa;
}

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

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
}

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

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a1a2e;
}

.logo:hover {
  text-decoration: none;
}

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

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

.nav-links a {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2563eb;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: #1d4ed8;
  text-decoration: none;
  transform: translateY(-1px);
}

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

.section-alt {
  background: #f1f5f9;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a1a2e;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.card p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* Tech Stack */
.tech-stack {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
}

.tech-stack h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.tech-stack ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-stack li {
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Contact */
.contact-info {
  max-width: 600px;
}

.contact-info p {
  color: #4b5563;
  margin-bottom: 24px;
}

.contact-details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
}

.contact-details p {
  margin-bottom: 8px;
}

/* Legal */
.legal h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.legal h3:first-child {
  margin-top: 0;
}

.legal p {
  color: #4b5563;
  margin-bottom: 12px;
}

/* Footer */
footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
  }

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

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .tech-stack ul {
    flex-direction: column;
  }
}
