:root {
  --bg: #111315;
  --bg-secondary: #181b1f;

  --card: #1d2127;
  --card-light: #252a31;

  --border: #30363f;

  --text: #f1f5f9;
  --muted: #a1aab8;

  --accent: #6ea8fe;
  --accent-dark: #4d7fd6;

  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;

  background:
    linear-gradient(
      180deg,
      #16191d 0%,
      #111315 100%
    );

  color: var(--text);
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  width: 100%;

  background: rgba(24, 27, 31, 0.9);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);

  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;

  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.3rem;
  font-weight: 700;
}

.logo p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #d6dbe3;
  text-decoration: none;
  transition: 0.25s;
  position: relative;
}

nav a:hover {
  color: var(--accent);
}

nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;

  background: var(--accent);

  transition: 0.25s;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: 92vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 20px;
}

.hero-content {
  max-width: 1200px;
  width: 100%;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: var(--bg-secondary);

  border: 1px solid var(--border);

  padding: 12px 20px;

  border-radius: 999px;

  margin-bottom: 30px;

  color: #d6dbe3;
  font-size: 0.9rem;
}

.dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--accent);

  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.hero h2 {
  font-size: 5.3rem;
  line-height: 0.95;

  margin-bottom: 30px;

  font-weight: 900;
}

.hero h2 span {
  display: block;
  color: var(--accent);
}

.hero p {
  color: var(--muted);

  font-size: 1.1rem;
  line-height: 1.9;

  max-width: 600px;
}

.buttons {
  margin-top: 40px;

  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;

  border-radius: 18px;

  text-decoration: none;
  font-weight: bold;

  transition: 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);

  transform: translateY(-3px);
}

.btn-secondary {
  border: 1px solid var(--border);

  color: white;

  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.04);

  border-color: #4a5361;
}

.system-card,
.project-card,
.skill,
.contact-box {
  background: var(--card);

  border: 1px solid var(--border);

  box-shadow:
    0 10px 30px var(--shadow);
}

.system-card {
  padding: 40px;

  border-radius: 28px;

  transition: 0.25s;
}

.system-card:hover {
  transform: translateY(-4px);

  background: var(--card-light);
}

.system-card h3 {
  margin-bottom: 10px;

  font-size: 1.5rem;
}

.system-card p {
  color: var(--muted);

  margin-bottom: 30px;
}

.system-item {
  display: flex;
  justify-content: space-between;

  padding: 18px 0;

  border-bottom: 1px solid var(--border);

  color: #d6dbe3;
}

.no-border {
  border-bottom: none;
}

.green {
  color: var(--accent);
}

section {
  padding: 120px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  margin-bottom: 60px;
}

.section-title p {
  color: var(--accent);

  letter-spacing: 3px;
  text-transform: uppercase;

  margin-bottom: 10px;

  font-size: 0.85rem;
}

.section-title h3 {
  font-size: 3rem;
}

.about-text {
  max-width: 800px;

  color: var(--muted);

  line-height: 1.9;
  font-size: 1.1rem;
}

.projects-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 30px;
}

.project-card {
  border-radius: 28px;

  padding: 35px;

  transition:
    transform 0.25s,
    background 0.25s,
    border-color 0.25s;
}

.project-card:hover {
  transform: translateY(-6px);

  background: var(--card-light);

  border-color: #4a5361;
}

.project-card h4 {
  margin-bottom: 20px;

  font-size: 1.4rem;
}

.project-card p {
  color: var(--muted);

  line-height: 1.8;

  margin-bottom: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(110, 168, 254, 0.12);

  border: 1px solid rgba(110, 168, 254, 0.2);

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 0.8rem;

  color: #b7d2ff;
}

.skills-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;
}

.skill {
  padding: 24px;

  border-radius: 20px;

  text-align: center;

  transition:
    transform 0.25s,
    background 0.25s;
}

.skill:hover {
  transform: translateY(-4px);

  background: var(--card-light);
}

.contact-box {
  border-radius: 30px;

  padding: 60px;

  text-align: center;
}

.contact-box h3 {
  font-size: 2rem;

  margin-bottom: 20px;
}

.contact-box p {
  color: var(--muted);

  margin-bottom: 30px;

  line-height: 1.8;
}

footer {
  padding: 40px 20px;

  text-align: center;

  color: #7d8694;

  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 3.8rem;
  }

  nav {
    display: none;
  }

  section {
    padding: 90px 20px;
  }

}