/* =========================
   TECHPARTS DESIGN SYSTEM V1
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {

  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  --accent: #38bdf8;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --dark: #0f172a;

  --bg: #f8fafc;
  --surface: #ffffff;

  --text: #0f172a;
  --text-muted: #64748b;

  --border: #e2e8f0;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 12px rgba(15,23,42,.05);

  --shadow:
    0 12px 30px rgba(15,23,42,.08);

  --shadow-lg:
    0 20px 60px rgba(15,23,42,.12);
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:linear-gradient(
      180deg,
      #f8fafc 0%,
      #eef2ff 100%
  );
  color:var(--text);
  min-height:100vh;
}

/* =========================
   CONTAINERS
   ========================= */

.container{
  width:100%;
  max-width:1280px;
  margin:auto;
  padding:0 24px;
}

.section{
  padding:80px 0;
}

/* =========================
   HEADER
   ========================= */

.header{
  background:rgba(255,255,255,.75);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(226,232,240,.6);

  position:sticky;
  top:0;
  z-index:999;
}

.navbar{
  height:80px;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-size:28px;
  font-weight:800;
  letter-spacing:-1px;
}

.logo span{
  color:var(--primary);
}

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

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

.nav-links a:hover{
  color:var(--primary);
}

/* =========================
   HERO
   ========================= */

.hero{
  text-align:center;
  padding:110px 0 90px;
}

.hero h1{
  font-size:64px;
  line-height:1.05;
  letter-spacing:-2px;
  margin-bottom:20px;
}

.hero p{
  max-width:760px;
  margin:auto;

  font-size:20px;
  line-height:1.7;

  color:var(--text-muted);
}

/* =========================
   CARDS
   ========================= */

.card{
  background:var(--surface);

  border:1px solid rgba(226,232,240,.6);

  border-radius:var(--radius-lg);

  box-shadow:var(--shadow);

  padding:30px;
}

.card:hover{
  transform:translateY(-2px);

  transition:.2s ease;
}

/* =========================
   GRID
   ========================= */

.grid{
  display:grid;
  gap:24px;
}

.grid-2{
  grid-template-columns:repeat(2,1fr);
}

.grid-3{
  grid-template-columns:repeat(3,1fr);
}

.grid-4{
  grid-template-columns:repeat(4,1fr);
}

/* =========================
   INPUTS
   ========================= */

.input{
  width:100%;

  border:1px solid var(--border);

  border-radius:16px;

  padding:16px 18px;

  font-size:16px;

  background:white;

  outline:none;
}

.input:focus{
  border-color:var(--primary);

  box-shadow:
    0 0 0 4px
    rgba(37,99,235,.15);
}

/* =========================
   BUTTONS
   ========================= */

.btn{
  border:none;
  cursor:pointer;

  padding:15px 22px;

  border-radius:16px;

  font-weight:700;

  transition:.2s ease;
}

.btn-primary{
  background:var(--primary);
  color:white;
}

.btn-primary:hover{
  background:var(--primary-hover);
}

.btn-outline{
  background:white;
  color:var(--dark);

  border:1px solid var(--border);
}

.btn-outline:hover{
  background:#f8fafc;
}

.btn-success{
  background:var(--success);
  color:white;
}

.btn-danger{
  background:var(--danger);
  color:white;
}

/* =========================
   STATUS BADGES
   ========================= */

.badge{
  display:inline-flex;

  align-items:center;
  gap:8px;

  padding:10px 16px;

  border-radius:999px;

  font-size:14px;
  font-weight:700;
}

.badge-blue{
  background:#dbeafe;
  color:#1d4ed8;
}

.badge-green{
  background:#dcfce7;
  color:#15803d;
}

.badge-orange{
  background:#ffedd5;
  color:#ea580c;
}

.badge-purple{
  background:#ede9fe;
  color:#7c3aed;
}

.badge-dark{
  background:#e2e8f0;
  color:#0f172a;
}

/* =========================
   TIMELINE
   ========================= */

.timeline{
  position:relative;

  margin-top:20px;

  display:flex;
  flex-direction:column;
  gap:22px;
}

.timeline-item{
  position:relative;

  padding-left:42px;
}

.timeline-item::before{
  content:"";

  position:absolute;

  left:0;
  top:4px;

  width:18px;
  height:18px;

  border-radius:50%;

  background:var(--primary);
}

.timeline-item::after{
  content:"";

  position:absolute;

  left:8px;
  top:22px;

  width:2px;
  height:calc(100% + 16px);

  background:#cbd5e1;
}

.timeline-item:last-child::after{
  display:none;
}

.timeline-title{
  font-weight:700;
  margin-bottom:6px;
}

.timeline-date{
  color:var(--text-muted);
  font-size:14px;
}

/* =========================
   GALLERY
   ========================= */

.gallery{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap:20px;
}

.gallery img{
  width:100%;
  height:260px;

  object-fit:cover;

  border-radius:20px;

  box-shadow:var(--shadow);
}

/* =========================
   STATS
   ========================= */

.stat-card{
  text-align:center;
}

.stat-number{
  font-size:42px;
  font-weight:800;
}

.stat-label{
  color:var(--text-muted);
  margin-top:8px;
}

/* =========================
   MOBILE
   ========================= */

@media(max-width:992px){

  .hero h1{
    font-size:48px;
  }

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

}

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    height:auto;
    padding:20px 0;
    gap:15px;
  }

  .hero{
    padding:70px 0;
  }

  .hero h1{
    font-size:38px;
  }

  .hero p{
    font-size:17px;
  }

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }

  .card{
    padding:22px;
  }

}
