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

:root {
  --bg: #07080c;
  --bg-2: #0d0f15;
  --bg-3: #12151e;
  --bg-4: #181c28;
  --border: rgba(255, 255, 255, 0.07);
  --border-md: rgba(255, 255, 255, 0.12);
  --blue: #3b82f6;
  --blue-dim: rgba(59, 130, 246, 0.12);
  --blue-glow: rgba(59, 130, 246, 0.25);
  --text: #f1f2f6;
  --text-soft: #8b90a0;
  --text-mute: #4a4f61;
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--bg-4);
  border-radius: 99px;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo-bracket {
  color: var(--blue);
}
.nav-logo-dot {
  color: var(--text-mute);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue) !important;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px !important;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--blue) !important;
  color: white !important;
  border-color: var(--blue) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-soft);
  border-radius: 99px;
  transition: all 0.3s;
}

/* ── MOBILE OVERLAY ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-overlay.open {
  display: flex;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 28px;
  cursor: pointer;
}
.mob-link {
  font-family: var(--mono);
  font-size: 24px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover {
  color: var(--blue);
}
.mob-link-cta {
  font-size: 15px !important;
  color: var(--blue) !important;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px max(24px, calc((100vw - 1200px) / 2)) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(59, 130, 246, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-code {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
  opacity: 0.06;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--blue);
  padding: 80px 24px;
  mask-image: linear-gradient(to left, black 0%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: -150px;
  right: -100px;
}
.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: #7c3aed;
  bottom: 50px;
  left: -80px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 99px;
  padding: 5px 14px;
  background: rgba(34, 197, 94, 0.06);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 0.5s 0.1s forwards;
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}
.hero-h1-line {
  display: block;
  font-family: var(--sans);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--text);
}
.hero-h1-sub {
  display: block;
  font-family: var(--mono);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0;
  margin-top: 8px;
}

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s forwards;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.45s forwards;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-mute);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--bg-2);
  transition: all 0.2s;
}
.chip:hover {
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.6s 0.55s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--blue-glow);
}
.btn-primary i {
  font-size: 12px;
  transition: transform 0.2s;
}
.btn-primary:hover i {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  padding: 14px 0;
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--text);
}

/* HERO PHOTO */
.hero-right {
  display: flex;
  justify-content: center;
}
.hero-photo-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  opacity: 0;
  animation: fadeIn 0.8s 0.4s forwards;
}
.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 2px solid var(--border-md);
}
.hero-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.04);
  }
}

.hero-photo-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  z-index: 3;
  background: var(--blue);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px var(--blue-glow);
}
.badge-num {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.badge-label {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* HERO STATS */
.hero-stats {
  max-width: 1200px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.6s 0.7s forwards;
}
.hero-stat {
  flex: 1;
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}
.hero-stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── SECTIONS COMMON ── */
section {
  padding: 100px max(24px, calc((100vw - 1200px) / 2));
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
}
.section-title span {
  color: var(--blue);
}
.section-header {
  margin-bottom: 60px;
}

/* ── ABOUT ── */
.about-section {
  background: var(--bg-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  margin-top: 20px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 600;
}
.about-text .section-title {
  margin-bottom: 8px;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 0.2s;
}
.about-card:hover {
  border-color: var(--border-md);
}
.about-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-dim);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.about-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.about-card-sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ── STACK ── */
.stack-section {
  background: var(--bg);
}
.stack-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.stack-pillar {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.stack-pillar:hover {
  border-color: var(--border-md);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.stack-pillar-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.stack-pillar h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.stack-pillar p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 300;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-tags span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
  background: var(--bg-3);
}

.tech-cloud {
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-tags span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px;
  background: var(--bg-2);
  transition: all 0.2s;
  cursor: default;
}
.tech-tags span:hover {
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--blue-dim);
}

/* ── SERVICES ── */
.services-section {
  background: var(--bg-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.service-card:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 500;
  color: var(--bg-4);
  line-height: 1;
  transition: color 0.3s;
}
.service-card:hover .service-num {
  color: var(--bg-3);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: var(--blue);
  color: white;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact-section {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 20px 0 32px;
  font-weight: 300;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  transition: all 0.25s;
}
.contact-info-item:hover {
  border-color: var(--border-md);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--blue-dim);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.contact-info-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-top: 2px;
}
.contact-location {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 68px;
}
.btn-contact-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
}
.btn-contact-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--blue-glow);
}
.btn-contact-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
}
.btn-contact-whatsapp:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-2px);
}
.btn-contact-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
}
.btn-contact-ghost:hover {
  border-color: var(--border-md);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px max(24px, calc((100vw - 1200px) / 2));
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-socials a:hover {
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.3);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stack-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    order: -1;
    margin-bottom: 16px;
  }
  .hero-photo-wrap {
    width: 160px;
    height: 160px;
  }
  .hero-photo {
    width: 148px;
    height: 148px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-ctas {
    padding-top: 0;
  }
  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-stat-sep {
    display: none;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .stack-pillars {
    grid-template-columns: 1fr;
  }
  .about-cards {
    grid-template-columns: 1fr;
  }
}

/* ── ARTICLES ── */
.articles-section {
  background: var(--bg);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #7c3aed);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.article-card:hover {
  border-color: var(--border-md);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.article-card:hover::before {
  transform: scaleX(1);
}
.article-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.article-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-dim);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}
.article-card:hover .article-icon {
  background: var(--blue);
  color: white;
}
.article-ext {
  font-size: 12px;
  color: var(--text-mute);
  transition: color 0.2s, transform 0.2s;
  margin-top: 4px;
}
.article-card:hover .article-ext {
  color: var(--blue);
  transform: translate(2px, -2px);
}
.article-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}
.article-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
  flex: 1;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.article-tags span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 10px;
  background: var(--bg-3);
}
.articles-cta {
  text-align: center;
  padding-top: 16px;
}
.btn-medium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}
.btn-medium:hover {
  border-color: var(--border-md);
  color: var(--text);
  transform: translateY(-2px);
}
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
