/* ==========================================
   THE DODOS LANDING PAGE
   Version : 1.0
========================================== */

:root {
  --bg: #09090b;
  --bg2: #111118;

  --card: rgba(255, 255, 255, 0.05);

  --border: rgba(255, 255, 255, 0.08);

  --text: #fafafa;

  --text2: #a1a1aa;

  --primary: #3b82f6;

  --secondary: #8b5cf6;

  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: var(--bg);

  color: var(--text);

  overflow-x: hidden;
}

.cursor-glow {
  position: fixed;

  width: 350px;

  height: 350px;

  border-radius: 50%;

  background: rgba(59, 130, 246, 0.1);

  filter: blur(120px);

  pointer-events: none;

  z-index: -1;

  transition: 0.08s;
}

/* Background */

.background {
  position: fixed;

  inset: 0;

  background:
    radial-gradient(circle at top left, #2563eb33, transparent 45%),
    radial-gradient(circle at bottom right, #7c3aed33, transparent 45%),
    linear-gradient(#09090b, #09090b);

  z-index: -2;
}

/* Animated Glow */

.background::after {
  content: "";

  position: absolute;

  width: 600px;

  height: 600px;

  border-radius: 50%;

  background: #2563eb22;

  filter: blur(120px);

  top: -150px;

  left: -100px;

  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(80px);
  }

  100% {
    transform: translateY(0);
  }
}

/* NAVBAR */

nav {
  width: 100%;

  position: fixed;

  top: 0;

  left: 0;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 22px 10%;

  backdrop-filter: blur(18px);

  background: rgba(9, 9, 11, 0.45);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  z-index: 999;
}

nav a.active {
  color: white;
}

.logo {
  font-size: 26px;

  font-weight: 800;

  letter-spacing: 3px;
}

nav ul {
  display: flex;

  list-style: none;

  gap: 40px;
}

nav a {
  text-decoration: none;

  color: var(--text2);

  transition: 0.3s;
}

nav a:hover {
  color: white;
}

/* HERO */

.hero {
  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 70px;

  padding: 120px 10%;
}

.tag {
  color: var(--primary);

  margin-bottom: 20px;

  font-weight: 600;
}

.hero h1 {
  font-size: 68px;

  line-height: 1.1;

  margin-bottom: 25px;
}

.hero span {
  background: linear-gradient(90deg, #60a5fa, #8b5cf6);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.description {
  color: var(--text2);

  line-height: 1.8;

  max-width: 550px;
}

/* BUTTON */

.buttons {
  display: flex;

  gap: 20px;

  margin-top: 45px;
}

.buttons a {
  text-decoration: none;

  padding: 15px 28px;

  border-radius: 12px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);

  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  border: 1px solid var(--border);

  color: white;
}

.btn-secondary:hover {
  background: white;

  color: black;
}

.quick-access {
  padding: 80px 10%;
}

.access-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.access-card {
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 35px;

  border-radius: 22px;

  transition: 0.3s;
}

.access-card:hover {
  transform: translateY(-10px);

  border-color: #3b82f6;
}

.access-card h3 {
  font-size: 24px;

  margin-bottom: 15px;
}

.access-card p {
  color: #a1a1aa;

  line-height: 1.7;
}

.access-card a {
  display: inline-block;

  margin-top: 20px;

  color: #60a5fa;

  text-decoration: none;

  font-weight: 600;
}

@media (max-width: 900px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

/* TERMINAL */

.terminal {
  background: #111118;

  border: 1px solid var(--border);

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.terminal-header {
  padding: 14px 18px;

  background: #18181b;

  border-bottom: 1px solid var(--border);

  color: #ff5f56;

  letter-spacing: 6px;
}

.terminal pre {
  padding: 30px;

  color: #22c55e;

  font-size: 15px;

  line-height: 2;
}

/* SECTION */

section {
  padding: 100px 10%;
}

section h2 {
  text-align: center;

  font-size: 42px;

  margin-bottom: 60px;
}

/* PROJECT */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.card {
  background: var(--card);

  backdrop-filter: blur(18px);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  overflow: hidden;

  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);

  border-color: #3b82f6;

  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.18);
}

.card img {
  width: 100%;

  height: 220px;

  object-fit: cover;
}

.card h3 {
  padding: 25px 25px 10px;
}

.card p {
  padding: 0 25px;

  color: var(--text2);

  line-height: 1.7;
}

.card a {
  display: inline-block;

  margin: 25px;

  color: #60a5fa;

  text-decoration: none;
}

/* PROJECT CARD UPGRADE */

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 24px;

  margin-bottom: 15px;
}

.card-content p {
  padding: 0;

  margin-bottom: 20px;
}

.tags {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 20px;
}

.tags span {
  font-size: 13px;

  padding: 7px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #cbd5e1;
}

.card a {
  margin: 0;

  font-weight: 600;
}

.status {
  display: inline-block;

  margin-bottom: 15px;

  padding: 6px 14px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 600;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status.active {
  color: #4ade80;
}

.status.production {
  color: #60a5fa;
}

.status.building {
  color: #facc15;
}

/* INFRA */

.stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.stat {
  text-align: center;

  background: var(--card);

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 35px;
}

.stat h3 {
  margin-bottom: 15px;
}

.stat p {
  color: #60a5fa;

  font-size: 22px;

  font-weight: 700;
}

/* CONTACT */

.contact-links {
  display: flex;

  justify-content: center;

  gap: 30px;
}

.contact-links a {
  color: white;

  text-decoration: none;

  border: 1px solid var(--border);

  padding: 14px 24px;

  border-radius: 12px;
}

.contact-links a:hover {
  background: white;

  color: black;
}

/* FOOTER */

footer {
  text-align: center;

  padding: 40px;

  color: #777;
}

/* MOBILE */

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .description {
    margin: auto;
  }

  .buttons {
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  nav {
    padding: 20px;
  }

  nav ul {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PORTFOLO PAGE
========================================== */

/* NAVBAR */
.portfolio-nav {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 25px 10%;
}

.portfolio-nav div {
  display: flex;

  gap: 25px;
}

.portfolio-nav a {
  color: white;

  text-decoration: none;
}

/* SKILLS */
.skills-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.skill-card {
  min-height: 220px;
}

.skill-card h3 {
  margin-bottom: 20px;
}

.skill-card p {
  line-height: 2;

  color: #cbd5e1;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* TIMELINE */
.timeline {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.timeline-card {
  position: relative;

  padding-left: 35px;
}

.timeline-card::before {
  content: "";

  position: absolute;

  left: 0;

  top: 10px;

  width: 12px;

  height: 12px;

  border-radius: 50%;

  background: #60a5fa;
}

.timeline-card h4 {
  margin: 10px 0;

  color: #94a3b8;

  font-weight: 500;
}

.timeline-card p {
  line-height: 1.8;

  color: #cbd5e1;
}

/* PROJECT DETAIL */
.project-detail {
  display: flex;

  flex-direction: column;

  gap: 30px;
}

.project-card h4 {
  margin-top: 25px;

  margin-bottom: 12px;

  color: #e2e8f0;
}

.project-card p {
  line-height: 1.8;

  color: #cbd5e1;
}

/* CONTACT */
#contact {
  text-align: center;

  padding: 100px 10%;
}

#contact p {
  max-width: 600px;

  margin: 20px auto;

  line-height: 1.8;

  color: #cbd5e1;
}

.contact-links {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 40px;
}

.contact-links a {
  padding: 12px 25px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  text-decoration: none;

  color: white;

  transition: 0.3s;
}

.contact-links a:hover {
  transform: translateY(-5px);

  border-color: #60a5fa;
}

footer {
  text-align: center;

  padding: 30px;

  color: #94a3b8;

  font-size: 14px;
}
