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

:root {
  --bg: #0f172a;
  --bg2: #020617;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #6366f1;
  --panel: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12);
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);

  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.15), transparent 40%),
    radial-gradient(circle at top right, rgba(99,102,241,0.15), transparent 35%),
    linear-gradient(180deg, var(--bg), var(--bg2));

  line-height: 1.6;
}

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

.hero,
.projects,
.about,
.contact {
  width: min(1100px,90%);
  margin: auto;
}

.hero {
  min-height: 100vh;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: white;
}

.hero-content {
  max-width: 750px;
}

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: clamp(3rem,8vw,5rem);
  margin-bottom: 10px;
}

.hero-content h2 {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 25px;
}

.intro {
  margin-bottom: 40px;
  color: var(--muted);
  max-width: 650px;
}

.featured-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

.section-label {
  font-size: .8rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 10px;
}

.featured-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.featured-card p {
  color: var(--muted);
}

.buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.button {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
}

.primary {
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  color: white;
}

.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.projects,
.about,
.contact {
  padding: 80px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.section-heading p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  transition: .2s;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  color: var(--muted);
  margin-bottom: 15px;
}

.card-links a {
  color: var(--accent);
  font-weight: 600;
  margin-right: 10px;
}

.about-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
}

.about-card p,
.contact-card p {
  color: var(--muted);
}

.contact-links {
  margin-top: 15px;
  display: flex;
  gap: 20px;
}

.contact-links a {
  color: var(--accent);
  font-weight: 600;
}

footer {
  width: min(1100px,90%);
  margin: auto;
  padding: 30px 0;
  color: var(--muted);
}

@media (max-width:768px) {

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

  .nav {
    justify-content: center;
  }

}
