:root {
  --bg: #0a0b1e;
  --bg-soft: #131533;
  --surface: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --muted: #c5c9e6;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(1000px 450px at 10% 0%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(800px 420px at 90% 15%, rgba(34, 211, 238, 0.25), transparent 60%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 30, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 1.2rem;
}

.brand span {
  color: var(--accent-2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--accent-2);
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1rem;
}

.hero-card h2 {
  margin-top: 0.3rem;
}

.hero-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.info {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.3rem 1.2rem;
  margin-bottom: 1rem;
}

.info h2 {
  margin-top: 0;
}

.legal-page {
  padding: 2.2rem 0 2.8rem;
}

.legal-page h1 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem 5.5rem;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 20;
  width: min(640px, 92%);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 14px;
  background: rgba(18, 20, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.25rem;
  border-radius: 10px;
  transition: 0.2s ease;
}

.bottom-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    right: 4%;
    top: 72px;
    background: #121433;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    display: none;
    width: min(280px, 92%);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
  }

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .bottom-nav {
    bottom: 10px;
    gap: 0.3rem;
  }

  .bottom-nav a {
    font-size: 0.86rem;
    padding: 0.5rem 0.2rem;
  }
}

/* Prevent overflow on long URLs */
.info a {
  color: var(--accent-2);
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}



/* =========================
   Portfolio Section
========================= */

.portfolio {
  padding: 80px 0;
  text-align: center;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-text {
  color: var(--muted);
  margin-top: 10px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.portfolio-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.portfolio-content {
  padding: 20px;
  text-align: left;
}

.portfolio-content h3 {
  margin-bottom: 10px;
}

.portfolio-content p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}