/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg-stone); color: var(--zinc-900); line-height: 1.5; overflow-x: clip; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg-page: #fcfbfa;
  --bg-stone: #f5f5f4;
  --zinc-50: #fafafa; --zinc-100: #f4f4f5; --zinc-200: #e4e4e7; --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa; --zinc-500: #71717a; --zinc-600: #52525b; --zinc-700: #3f3f46;
  --zinc-800: #27272a; --zinc-900: #18181b;
  --emerald-500: #10b981; --emerald-600: #059669;
  --sky-500: #0ea5e9;
  --red-600: #dc2626; --red-700: #b91c1c;
  --white: #ffffff;
  --max-w: 1280px;
  --radius-full: 9999px; --radius-2xl: 1rem; --radius-3xl: 1.5rem;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  --font-shantell: 'Caveat', cursive;
  /* Futuristic Chess Theme */
  --neon-blue: #0088ff;
  --neon-cyan: #00d4ff;
  --glow-blue: rgba(0, 136, 255, 0.35);
  --glow-cyan: rgba(0, 212, 255, 0.25);
}

/* ===== SELECTION ===== */
::selection { background: var(--neon-blue); color: var(--white); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes chessFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes chessFloatAlt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 8px var(--glow-cyan)); }
  50% { filter: drop-shadow(0 0 20px var(--glow-blue)); }
}
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.fade-in-up { animation: fadeInUp .8s ease forwards; }
.fade-in { animation: fadeIn .8s ease forwards; }
.scale-in { animation: scaleIn 1s ease forwards; }

/* ===== CHESS DECORATIONS ===== */
.chess-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: transform 0.3s ease;
  will-change: transform;
  display: none;
}
.chess-decoration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0,136,255,.4)) drop-shadow(0 0 40px rgba(0,212,255,.2));
}
.chess-decoration.float-1 { animation: chessFloat 8s ease-in-out infinite; }
.chess-decoration.float-2 { animation: chessFloatAlt 10s ease-in-out infinite; }
.chess-decoration.float-3 { animation: chessFloat 12s ease-in-out infinite 2s; }
.chess-decoration.glow { animation: glowPulse 4s ease-in-out infinite; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== HEADER / NAVBAR ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.header-inner { margin: 1rem 1rem 0; transition: all .5s; border-radius: 1rem; background: transparent; border: 1px solid transparent; box-shadow: none; }
.header-inner.scrolled { background: rgba(252,251,250,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--zinc-200); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; }
.header-logo { font-weight: 600; font-size: .9375rem; letter-spacing: -.02em; color: var(--zinc-900); }
.header-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .header-nav { display: flex; } }
.header-nav a { font-size: .875rem; font-weight: 500; padding: .5rem 1rem; color: var(--zinc-500); transition: color .2s; }
.header-nav a:hover { color: var(--zinc-900); }
.header-cta-wrap { display: none; align-items: center; }
@media (min-width: 768px) { .header-cta-wrap { display: flex; } }
.header-cta { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; padding: .625rem 1.25rem; border-radius: .75rem; background: var(--zinc-900); color: var(--white); transition: background .2s; }
.header-cta:hover { background: var(--zinc-800); box-shadow: 0 0 15px var(--glow-blue); }
.mobile-menu-btn { display: block; padding: .5rem; border-radius: .75rem; color: var(--zinc-700); transition: background .2s; }
.mobile-menu-btn:hover { background: var(--zinc-100); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu { display: none; flex-direction: column; gap: .5rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--zinc-200); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .9375rem; font-weight: 500; padding: .625rem 0; color: var(--zinc-600); }
.mobile-menu .mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .875rem; font-weight: 500; padding: .75rem 1.25rem; border-radius: .75rem; background: var(--zinc-900); color: var(--white); margin-top: .5rem; }

/* ===== HERO ===== */
.hero { position: relative; height: 100svh; width: 100%; background: var(--bg-page); overflow: hidden; }
.hero-glow { position: absolute; inset: 0; top: 50%; transform: translateY(-50%); height: 70vh; width: 100%; background: radial-gradient(circle at center, rgba(255,235,185,.5) 0%, rgba(255,220,160,.2) 35%, transparent 70%); pointer-events: none; z-index: 0; }
.hero-image-wrap { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; pointer-events: none; mask-image: linear-gradient(to bottom, black 80%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%); }
.hero-image-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 768px) { .hero-image-wrap img { object-position: center; } }
.hero-text-overlay { position: absolute; inset: 0; z-index: 20; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2.5rem; width: 100%; mix-blend-mode: difference; }
@media (min-width: 768px) { .hero-text-overlay { padding-bottom: 5rem; } }
.hero-text-inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero-greeting { color: var(--white); font-size: 1.875rem; font-family: var(--font-shantell); font-weight: 400; font-style: normal; margin-bottom: 0; margin-left: .25rem; }
@media (min-width: 768px) { .hero-greeting { font-size: 3rem; margin-bottom: .5rem; } }
.hero-name-desktop { display: none; color: var(--white); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-weight: 700; letter-spacing: -.05em; line-height: .85; font-size: clamp(6rem,12.5vw,14rem); white-space: nowrap; text-shadow: none; }
@media (min-width: 768px) { .hero-name-desktop { display: block; } }
.hero-name-mobile { display: flex; flex-direction: column; align-items: center; color: var(--white); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 16vw; line-height: .85; letter-spacing: 0; text-transform: uppercase; width: 100%; font-weight: 700; text-shadow: none; text-align: center; }
@media (min-width: 640px) { .hero-name-mobile { font-size: 14vw; } }
@media (min-width: 768px) { .hero-name-mobile { display: none; } }
.hero-name-mobile span:last-child { opacity: .8; }

/* ===== MAIN WRAPPER ===== */
.main-wrap { min-height: 100svh; background: var(--bg-page); overflow-x: hidden; }

/* ===== CLIENT LOGOS ===== */
.client-logos { margin-top: 2.5rem; margin-bottom: 0; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 1rem; overflow: hidden; }
@media (min-width: 640px) { .client-logos { gap: 3.5rem; } }
.client-logos .logo-item { height: .75rem; width: auto; object-fit: contain; opacity: .5; filter: grayscale(1); flex-shrink: 0; }
@media (min-width: 640px) { .client-logos .logo-item { height: 1.25rem; } }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.5rem; margin-bottom: 0; }
@media (min-width: 640px) { .social-links { justify-content: flex-start; } }
.social-links a { color: var(--zinc-400); transition: color .2s; }
.social-links a:hover { color: var(--zinc-900); }
.social-links svg { width: 22px; height: 22px; }

/* ===== TAGLINE ===== */
.tagline-section { margin-top: 2.5rem; margin-bottom: 3rem; }
.tagline-section .tagline-wrap { max-width: 64rem; }
.tagline-section h2 { font-weight: 500; font-size: 3rem; letter-spacing: -.03em; line-height: 1; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .tagline-section h2 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .tagline-section h2 { font-size: 4.5rem; } }
/* Tagline heading animation lines */
.anim-tagline__heading { overflow: hidden; perspective: 800px; }
.anim-tagline__line { display: block; will-change: transform, opacity; }
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.tagline-section .gradient-text {
  background: linear-gradient(
    110deg,
    var(--zinc-900) 0%,
    var(--zinc-900) 35%,
    var(--zinc-400) 50%,
    var(--zinc-900) 65%,
    var(--zinc-900) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}
.tagline-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn-primary { display: flex; align-items: center; gap: .5rem; background: var(--zinc-900); color: var(--white); padding: .75rem 1.5rem; border-radius: var(--radius-full); font-weight: 500; transition: background .2s; }
.btn-primary:hover { background: var(--zinc-800); box-shadow: 0 0 20px var(--glow-blue), 0 0 40px rgba(0,136,255,.1); }
.btn-secondary { display: inline-flex; align-items: center; background: var(--white); color: var(--zinc-900); border: 1px solid var(--zinc-200); padding: .75rem 1.5rem; border-radius: var(--radius-full); font-weight: 500; transition: background .2s; }
.btn-secondary:hover { background: var(--zinc-50); }

/* ===== STATUS BAR ===== */
.status-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; background: var(--white); border-radius: var(--radius-full); border: 1px solid var(--zinc-200); margin-bottom: 5rem; font-size: .875rem; font-weight: 500; color: var(--zinc-700); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.status-available { display: flex; align-items: center; gap: .5rem; color: var(--emerald-600); }
.status-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--emerald-500); }
.status-middle { display: none; align-items: center; gap: .5rem; color: var(--zinc-400); }
@media (min-width: 768px) { .status-middle { display: flex; } }
.status-contacts { display: flex; align-items: center; gap: 1.5rem; }
.status-contacts a { display: flex; align-items: center; gap: .5rem; transition: color .2s; }
.status-contacts a:hover { color: var(--zinc-900); }
.status-contacts .hide-mobile { display: none; }
@media (min-width: 640px) { .status-contacts .hide-mobile { display: inline; } }

/* ===== SECTION HEADERS ===== */
.section-label { font-size: .75rem; font-family: var(--font-mono); color: var(--zinc-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; display: block; }
.section-title { font-size: 2.25rem; font-weight: 500; letter-spacing: -.03em; color: var(--zinc-900); text-shadow: 0 0 30px rgba(0,136,255,.08); }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

/* ===== LATEST VIDEO ===== */
.latest-video { margin-bottom: 8rem; }
.latest-video .section-header { margin-bottom: 2.5rem; }
.video-embed { position: relative; width: 100%; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border: 1px solid var(--zinc-200); padding-bottom: 56.25%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.subscribe-wrap { display: flex; justify-content: center; margin-top: 1.5rem; }
.btn-subscribe { display: flex; align-items: center; gap: .5rem; background: var(--red-600); color: var(--white); padding: .75rem 2rem; border-radius: var(--radius-full); font-weight: 500; transition: background .2s; }
.btn-subscribe:hover { background: var(--red-700); }

/* ===== PORTFOLIO GRID ===== */
.portfolio { margin-bottom: 8rem; }
.portfolio .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.portfolio .view-all { display: none; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; padding: .5rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--zinc-200); transition: background .2s; }
.portfolio .view-all:hover { background: var(--zinc-50); }
@media (min-width: 768px) { .portfolio .view-all { display: flex; } }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.port-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-2xl); overflow: hidden; cursor: pointer; display: block; background: var(--zinc-200); }
.port-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.port-card:hover img { transform: scale(1.05); }
.port-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.1) 50%, transparent); opacity: .9; }
.port-card .card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; }
.port-card .card-info { flex: 1; min-width: 0; }
.port-card .card-cat { color: rgba(255,255,255,.7); font-size: .75rem; font-weight: 500; margin-bottom: .25rem; }
.port-card .card-title { color: var(--white); font-size: 1.25rem; font-weight: 500; margin-bottom: .5rem; }
.port-card .card-badges { display: flex; gap: .375rem; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; border-radius: var(--radius-full); font-size: .75rem; font-weight: 600; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.badge-green { background: rgba(16,185,129,.4); color: #a7f3d0; }
.badge-blue { background: rgba(14,165,233,.4); color: #bae6fd; }
.port-card .card-arrow { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; color: var(--white); opacity: 0; transition: all .3s; transform: translateY(.5rem); margin-left: .75rem; flex-shrink: 0; }
.port-card:hover .card-arrow { opacity: 1; transform: translateY(0); }
.portfolio .view-all-mobile { margin-top: 2.5rem; display: flex; justify-content: center; }
@media (min-width: 768px) { .portfolio .view-all-mobile { display: none; } }

/* ===== ABOUT ===== */
.about { margin-bottom: 5rem; }
.about .section-header { margin-bottom: 2.5rem; }
.about-image { width: 100%; aspect-ratio: 16/9; position: relative; border-radius: var(--radius-3xl); overflow: hidden; margin-bottom: 2rem; background: var(--zinc-200); }
@media (min-width: 768px) { .about-image { aspect-ratio: 21/9; } }
.about-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-bio { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; color: var(--zinc-500); line-height: 1.4; max-width: 48rem; }
@media (min-width: 768px) { .about-bio { font-size: 1.875rem; } }

/* ===== EXPERIENCE TIMELINE ===== */
.experience { margin-bottom: 8rem; }
.experience .section-header { margin-bottom: 3rem; }
.timeline { position: relative; }
.timeline-line { position: absolute; left: 7px; top: .5rem; bottom: 0; width: 1px; background: var(--zinc-200); }
.timeline-item { position: relative; padding-left: 2rem; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 0; top: .375rem; width: 15px; height: 15px; border-radius: 50%; border: 2px solid; }
.timeline-dot.active { background: var(--neon-blue); border-color: var(--neon-blue); box-shadow: 0 0 10px var(--glow-blue), 0 0 20px rgba(0,136,255,.15); }
.timeline-dot.inactive { background: var(--bg-page); border-color: var(--zinc-300); }
.timeline-header { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .25rem; }
@media (min-width: 640px) { .timeline-header { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.timeline-header h3 { font-size: 1.125rem; font-weight: 600; color: var(--zinc-900); }
.timeline-header .company { font-size: .875rem; color: var(--zinc-500); }
.timeline-header .period { font-size: .875rem; color: var(--zinc-400); flex-shrink: 0; }
@media (min-width: 640px) { .timeline-header .period { padding-top: .125rem; } }
.timeline-details { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.timeline-details li { display: flex; gap: .75rem; font-size: .875rem; color: var(--zinc-600); line-height: 1.6; }
.timeline-details li .dot { margin-top: .5rem; width: 6px; height: 6px; border-radius: 50%; background: var(--zinc-300); flex-shrink: 0; }

/* ===== MY COMPANY ===== */
.my-company { margin-bottom: 8rem; }
.my-company .company-heading { text-align: center; margin-bottom: 1.5rem; }
.my-company .company-heading h2 { font-weight: 600; font-size: 3.75rem; letter-spacing: -.05em; color: var(--zinc-900); line-height: 1; margin-bottom: 1rem; }
@media (min-width: 640px) { .my-company .company-heading h2 { font-size: 4.5rem; } }
@media (min-width: 768px) { .my-company .company-heading h2 { font-size: 6rem; } }
@media (min-width: 1024px) { .my-company .company-heading h2 { font-size: 8rem; } }
.my-company .company-heading .hint { font-size: .75rem; font-family: var(--font-mono); color: var(--zinc-400); text-transform: uppercase; letter-spacing: .1em; }
.company-image { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-3xl); overflow: hidden; display: block; margin-bottom: 1.25rem; background: var(--zinc-200); }
.company-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.company-image:hover img { transform: scale(1.05); }
.company-image .img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.05); transition: background .5s; }
.company-image:hover .img-overlay { background: rgba(0,0,0,.2); }
.company-image .visit-label { position: absolute; bottom: 1.5rem; right: 1.5rem; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); color: var(--zinc-900); font-size: .875rem; font-weight: 500; padding: .625rem 1.25rem; border-radius: var(--radius-full); display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(.5rem); transition: all .3s; }
.company-image:hover .visit-label { opacity: 1; transform: translateY(0); }
.company-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.company-footer .name { font-weight: 600; font-size: 1.25rem; color: var(--zinc-900); }
.company-footer .desc { color: var(--zinc-500); font-size: .875rem; line-height: 1.6; max-width: 20rem; text-align: right; }

/* ===== PRODUCTS SECTION ===== */
.products { background: var(--zinc-900); color: var(--white); padding: 6rem 2rem; border-radius: 2rem; margin-top: 3rem; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .products { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .products { padding: 6rem 4rem; } }
.products .products-header { display: flex; flex-direction: column; margin-bottom: 4rem; gap: 1.5rem; }
@media (min-width: 768px) { .products .products-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.products .products-header-right { width: 100%; display: flex; flex-direction: column; text-align: right; }
@media (min-width: 768px) { .products .products-header-right { align-items: flex-end; } }
.products .products-label { font-size: .75rem; font-family: var(--font-mono); color: var(--zinc-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; justify-content: flex-end; width: 100%; }
.products .products-title { font-size: 3rem; font-weight: 500; letter-spacing: -.03em; }
@media (min-width: 768px) { .products .products-title { font-size: 4.5rem; } }

/* Featured Product */
.featured-product { position: relative; border-radius: 2rem; overflow: hidden; background: #0d0d0d; border: 1px solid var(--zinc-800); margin-bottom: 1.5rem; }
.featured-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .featured-grid { grid-template-columns: 1fr 1fr; min-height: 600px; } }
.featured-info { padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 640px) { .featured-info { padding: 2.5rem; } }
@media (min-width: 1024px) { .featured-info { padding: 4rem; } }
.featured-drop-label { font-size: .75rem; font-family: var(--font-mono); color: var(--zinc-500); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; display: block; }
@media (min-width: 640px) { .featured-drop-label { margin-bottom: 1.5rem; } }
.featured-title { font-size: 1.875rem; font-weight: 500; color: var(--white); line-height: 1.05; letter-spacing: -.03em; margin-bottom: .75rem; }
@media (min-width: 640px) { .featured-title { font-size: 3rem; margin-bottom: 1.25rem; } }
@media (min-width: 1024px) { .featured-title { font-size: 3.75rem; } }
.featured-desc { color: var(--zinc-400); font-size: .875rem; line-height: 1.6; max-width: 24rem; }
@media (min-width: 640px) { .featured-desc { font-size: 1rem; } }
.featured-cta { margin-top: 1.5rem; }
@media (min-width: 640px) { .featured-cta { margin-top: 2.5rem; } }
.btn-white { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); color: var(--zinc-900); font-weight: 500; padding: .75rem 1.5rem; border-radius: var(--radius-full); font-size: .875rem; transition: background .2s; }
.btn-white:hover { background: var(--zinc-100); }

/* Code Editor Mock */
.code-editor-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
@media (min-width: 640px) { .code-editor-wrap { padding: 2rem; } }
@media (min-width: 1024px) { .code-editor-wrap { min-height: 600px; } }
.code-editor { width: 100%; max-width: 24rem; background: #161618; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.code-tabs { display: flex; align-items: center; gap: .375rem; padding: .75rem 1rem; background: #1c1c1e; border-bottom: 1px solid rgba(255,255,255,.06); }
.code-dot { width: .75rem; height: .75rem; border-radius: 50%; }
.code-dot.red { background: #FF5F57; }
.code-dot.yellow { background: #FEBC2E; }
.code-dot.green { background: #28C840; }
.code-tab-names { display: flex; margin-left: 1rem; gap: 1.25rem; }
.code-tab-names span { font-size: .6875rem; }
.code-tab-names span.active { color: var(--zinc-200); border-bottom: 1px solid var(--zinc-400); padding-bottom: 1px; }
.code-tab-names span.inactive { color: var(--zinc-500); }
.code-body { padding: 1rem; font-family: var(--font-mono); font-size: .71875rem; line-height: 1.85; }
.code-line { display: flex; gap: .75rem; }
.code-line .ln { color: var(--zinc-700); width: 1rem; text-align: right; flex-shrink: 0; user-select: none; }
.code-line .purple { color: #c084fc; }
.code-line .zinc-300 { color: #d4d4d8; }
.code-line .amber { color: #fcd34d; }
.code-line .sky { color: #7dd3fc; }
.code-line .sky-200 { color: #bae6fd; }
.code-line .yellow-fn { color: #fde047; }
.code-line .zinc-400 { color: #a1a1aa; }
.code-line .zinc-500 { color: #71717a; }
.code-line .zinc-600 { color: #52525b; }
.code-footer { margin: 0 1rem 1rem; padding: 1rem; border-radius: .75rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); }
.code-footer p:first-child { color: var(--white); font-size: .875rem; font-weight: 600; margin-bottom: .125rem; }
.code-footer p:last-child { color: var(--zinc-500); font-size: .75rem; line-height: 1.5; }
.new-badge { position: absolute; bottom: 1rem; right: 1rem; background: rgba(24,24,27,.8); backdrop-filter: blur(12px); color: var(--white); font-size: .75rem; font-weight: 500; padding: .375rem .75rem; border-radius: var(--radius-full); display: flex; align-items: center; gap: .5rem; }
.new-badge .dot { width: .375rem; height: .375rem; border-radius: 50%; background: #34d399; }

/* Product Cards Grid */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.prod-card { background: var(--zinc-900); border-radius: var(--radius-2xl); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--zinc-800); transition: all .5s; }
@media (min-width: 640px) { .prod-card { border-radius: 1.75rem; } }
.prod-card:hover { border-color: var(--zinc-700); transform: translateY(-.5rem); box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.prod-card .prod-img { position: relative; width: 100%; aspect-ratio: 1; background: var(--zinc-800); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-card .prod-img-inner { position: relative; width: 80%; aspect-ratio: 1; transition: all .5s; }
@media (min-width: 640px) { .prod-card .prod-img-inner { width: 72%; } }
.prod-card:hover .prod-img-inner { transform: rotate(3deg) scale(1.05); }
.prod-card .prod-img-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: .75rem; }
@media (min-width: 640px) { .prod-card .prod-img-inner img { border-radius: var(--radius-2xl); } }
.prod-card .prod-info { padding: .75rem; display: flex; flex-direction: column; gap: .375rem; }
@media (min-width: 640px) { .prod-card .prod-info { padding: 1.5rem 1.5rem 1.25rem; gap: .75rem; } }
.prod-card .prod-cat { font-size: .625rem; font-family: var(--font-mono); color: var(--zinc-500); text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 640px) { .prod-card .prod-cat { font-size: .75rem; } }
.prod-card .prod-name { color: var(--white); font-size: .875rem; font-weight: 600; line-height: 1.3; margin-top: .125rem; }
@media (min-width: 640px) { .prod-card .prod-name { font-size: 1.125rem; } }
.prod-card .prod-bottom { display: flex; align-items: center; justify-content: space-between; gap: .25rem; }
.prod-card .prod-price { color: var(--white); font-weight: 600; font-size: .875rem; }
@media (min-width: 640px) { .prod-card .prod-price { font-size: 1.25rem; } }
.prod-card .prod-btn { display: inline-flex; align-items: center; gap: .25rem; background: var(--white); color: var(--zinc-900); font-size: .625rem; font-weight: 500; padding: .375rem .5rem; border-radius: var(--radius-full); transition: background .2s; white-space: nowrap; }
@media (min-width: 640px) { .prod-card .prod-btn { font-size: .75rem; padding: .5rem 1rem; } }
.prod-card:hover .prod-btn { background: var(--zinc-100); }

/* ===== MODERN CTA FOOTER ===== */
.modern-footer { background: #0f0f11; color: var(--white); position: relative; overflow: hidden; padding: 6rem 2rem 4rem; margin-top: 4rem; border-top-left-radius: 2rem; border-top-right-radius: 2rem; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .modern-footer { padding: 8rem 3rem 4rem; } }
@media (min-width: 1024px) { .modern-footer { padding: 10rem 4rem 4rem; } }
.mf-watermark { position: absolute; top: -5%; right: -5%; font-size: 40vw; line-height: 1; font-weight: 700; color: rgba(255,255,255,0.02); pointer-events: none; user-select: none; z-index: 0; }
@media (min-width: 768px) { .mf-watermark { font-size: 30vw; top: -10%; right: -5%; } }
.mf-content { position: relative; z-index: 10; display: flex; flex-direction: column; gap: 6rem; }

.mf-top { display: flex; flex-direction: column; gap: 4rem; justify-content: space-between; }
@media (min-width: 1024px) { .mf-top { flex-direction: row; align-items: flex-end; gap: 2rem; } }
.mf-headline { font-size: 3.5rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; max-width: 40rem; }
@media (min-width: 768px) { .mf-headline { font-size: 5rem; } }
@media (min-width: 1024px) { .mf-headline { font-size: 6rem; max-width: 50rem; } }

.mf-form-wrap { width: 100%; max-width: 28rem; }
.mf-form-label { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--zinc-400); margin-bottom: 1rem; }
.mf-form { display: flex; height: 3.5rem; }
.mf-input { flex: 1; min-width: 0; background: #1a1a1c; border: none; padding: 0 1.5rem; color: var(--white); font-size: 1rem; outline: none; transition: background 0.2s; }
.mf-input:focus { background: #222224; }
.mf-input::placeholder { color: var(--zinc-600); }
.mf-submit { background: var(--white); color: #000; font-weight: 600; font-size: 0.9375rem; padding: 0 2rem; border: none; cursor: pointer; transition: background 0.2s; }
.mf-submit:hover { background: var(--zinc-200); }

.mf-bottom { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 640px) { .mf-bottom { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mf-bottom { grid-template-columns: 1.5fr 1.5fr 2fr 1.5fr; gap: 2rem; align-items: flex-end; } }

.mf-socials { display: flex; gap: 1rem; align-items: flex-end; height: 100%; padding-bottom: 0.5rem; }
.mf-social-btn { width: 3rem; height: 3rem; border-radius: 50%; background: #1a1a1c; display: flex; align-items: center; justify-content: center; color: var(--white); transition: background 0.2s, transform 0.2s; }
.mf-social-btn:hover { background: #27272a; transform: translateY(-2px); }

.mf-nav { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.mf-nav-link { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--white); font-size: 1rem; transition: color 0.2s; }
.mf-nav-link:hover { color: var(--zinc-400); }
.mf-nav-link svg { width: 14px; height: 14px; color: var(--zinc-500); }

.mf-contact-col { display: flex; flex-direction: column; gap: 1.5rem; }
.mf-contact-block .mf-label { color: var(--zinc-500); font-size: 0.8125rem; margin-bottom: 0.25rem; }
.mf-contact-block .mf-value { color: var(--white); font-size: 1.25rem; font-weight: 300; text-decoration: none; position: relative; display: inline-block; padding-bottom: 0.25rem; }
.mf-contact-block a.mf-value::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,0.3); transition: background 0.2s; }
.mf-contact-block a.mf-value:hover::after { background: var(--white); }

.mf-address p { margin: 0; }
.mf-address .mf-label { color: var(--zinc-500); font-size: 0.8125rem; margin-bottom: 0.25rem; }
.mf-address .mf-value { color: var(--white); font-size: 1.25rem; font-weight: 300; line-height: 1.5; }

/* ===== CREATIVE SCROLL REVEALS (Inspired by Framer) ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Framer 3D Flip Up + Scale */
.reveal-perspective { 
  opacity: 0; 
  transform: perspective(1200px) translateY(70px) scale(0.9) rotateX(-50deg); 
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); 
  transform-origin: top center; 
  transform-style: preserve-3d; 
}
.reveal-perspective.visible { 
  opacity: 1; 
  transform: perspective(1200px) translateY(0) scale(1) rotateX(0deg); 
}

/* Framer Subtle Section Flip */
.reveal-framer {
  opacity: 0; 
  transform: perspective(1200px) translateY(30px) rotateX(-40deg); 
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); 
  transform-origin: top center; 
}
.reveal-framer.visible { 
  opacity: 1; 
  transform: perspective(1200px) translateY(0) rotateX(0deg); 
}

.reveal-scale { opacity: 0; transform: scale(0.95) translateY(20px); transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered Delay Helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ===== SCROLL STACKING CARDS (Services) ===== */
.services-stacking-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .services-stacking-section { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .services-stacking-section { padding: 0 2rem; } }

.services-stacking-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stacking-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stacking-card {
  width: 100%;
  min-height: 420px;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--zinc-200);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  overflow: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  transform-origin: top center;
  margin-bottom: 1.5rem;
}

.stacking-card--dark {
  background: var(--zinc-900);
  border-color: var(--zinc-800);
  color: var(--white);
}

.stacking-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem;
  min-height: 420px;
  align-items: center;
}
@media (min-width: 768px) {
  .stacking-card__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 4rem;
  }
}

.stacking-card__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stacking-card__title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--zinc-900);
}
@media (min-width: 768px) { .stacking-card__title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .stacking-card__title { font-size: 3.25rem; } }

.stacking-card--dark .stacking-card__title { color: var(--white); }

.stacking-card__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--zinc-500);
  max-width: 28rem;
}

.stacking-card--dark .stacking-card__desc { color: var(--zinc-400); }

.stacking-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zinc-300);
  padding: 2rem;
  background: var(--zinc-50);
  border-radius: 1.25rem;
  min-height: 200px;
}
@media (min-width: 768px) { .stacking-card__visual { min-height: 280px; } }

.stacking-card--dark .stacking-card__visual {
  background: rgba(255,255,255,.05);
  color: var(--zinc-500);
}

/* ===== ARTICLES PAGE & CARDS ===== */
.articles-hero { padding-top: 8rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .articles-hero { padding-top: 10rem; margin-bottom: 3rem; } }

.articles-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-pill { display: inline-flex; padding: .5rem 1.25rem; border-radius: var(--radius-full); font-size: .875rem; font-weight: 500; color: var(--zinc-500); background: var(--white); border: 1px solid var(--zinc-200); transition: all .2s; }
.filter-pill:hover { border-color: var(--zinc-400); color: var(--zinc-900); }
.filter-pill.active { background: var(--zinc-900); color: var(--white); border-color: var(--zinc-900); }

.articles-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--zinc-200); transition: all .3s; text-decoration: none; color: inherit; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); border-color: var(--zinc-300); }
.article-card__cover { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--zinc-100); overflow: hidden; }
.article-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-card__cover img { transform: scale(1.05); }
.article-card__no-cover { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; background: linear-gradient(135deg, var(--zinc-100), var(--zinc-200)); }
.article-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-card__cat { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--neon-blue); background: rgba(0,136,255,.08); padding: .25rem .625rem; border-radius: var(--radius-full); width: fit-content; }
.article-card__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; color: var(--zinc-900); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__excerpt { font-size: .875rem; color: var(--zinc-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__meta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--zinc-400); margin-top: auto; padding-top: .5rem; }

/* ===== RECENT ARTICLES on Homepage ===== */
.recent-articles { margin-bottom: 4rem; }
.recent-articles .section-header { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 1.25rem;
  margin-bottom: 2rem; 
}
@media (min-width: 640px) {
  .recent-articles .section-header {
    flex-direction: row; 
    align-items: flex-end; 
    justify-content: space-between; 
    gap: 0;
  }
}

.articles-carousel { 
  display: flex; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  /* Mobile padding and bleed */
  gap: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1.5rem; /* Space for hover shadows */
}
@media (min-width: 640px) {
  .articles-carousel { 
    gap: 1.5rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .articles-carousel { 
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.articles-carousel::-webkit-scrollbar { display: none; }
.articles-carousel .article-card { 
  flex: 0 0 calc(85vw - 2rem); 
  scroll-snap-align: center; 
}
@media (min-width: 640px) { 
  .articles-carousel .article-card { 
    flex: 0 0 380px; 
    scroll-snap-align: start; 
  } 
}

/* ===== SINGLE ARTICLE DETAIL ===== */
.article-breadcrumb { padding-top: 6.5rem; margin-bottom: 2rem; display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--zinc-400); flex-wrap: wrap; }
.article-breadcrumb a { color: var(--zinc-500); transition: color .2s; }
.article-breadcrumb a:hover { color: var(--zinc-900); }
.article-breadcrumb .current { color: var(--zinc-900); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
@media (min-width: 768px) { .article-breadcrumb .current { max-width: 400px; } }

.article-detail { max-width: 48rem; margin: 0 auto 4rem; }
.article-detail__header { margin-bottom: 2rem; }
.article-detail__meta-top { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--zinc-400); margin-bottom: 1.25rem; flex-wrap: wrap; }
.article-detail__cat { color: var(--neon-blue); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; background: rgba(0,136,255,.08); padding: .25rem .75rem; border-radius: var(--radius-full); text-decoration: none; transition: background .2s; }
.article-detail__cat:hover { background: rgba(0,136,255,.15); }
.article-detail__title { font-size: 2.25rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--zinc-900); margin-bottom: 1rem; }
@media (min-width: 768px) { .article-detail__title { font-size: 3rem; } }
.article-detail__excerpt { font-size: 1.25rem; color: var(--zinc-500); line-height: 1.6; margin-bottom: 1.5rem; }

.article-detail__author { display: flex; align-items: center; gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--zinc-200); }
.article-detail__author-info { display: flex; flex-direction: column; }
.article-detail__author-name { font-weight: 600; font-size: .9375rem; color: var(--zinc-900); }
.article-detail__author-role { font-size: .8125rem; color: var(--zinc-500); }

.article-detail__cover { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-2xl); overflow: hidden; margin-bottom: 2.5rem; background: var(--zinc-200); }
.article-detail__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Article Content Blocks — Medium-style typography */
.article-detail__content { font-size: 1.125rem; line-height: 1.8; color: var(--zinc-700); }
.article-detail__content p { margin-bottom: 1.5rem; }
.article-detail__content h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; color: var(--zinc-900); margin: 2.5rem 0 1rem; line-height: 1.3; }
.article-detail__content h3 { font-size: 1.375rem; font-weight: 600; color: var(--zinc-900); margin: 2rem 0 .75rem; }
.article-detail__content h4 { font-size: 1.125rem; font-weight: 600; color: var(--zinc-900); margin: 1.5rem 0 .5rem; }

.article-figure { margin: 2rem 0; border-radius: var(--radius-2xl); overflow: hidden; background: var(--zinc-100); }
.article-figure img { width: 100%; display: block; }
.article-figure figcaption { padding: .75rem 1rem; text-align: center; font-size: .8125rem; color: var(--zinc-500); font-style: italic; }

.article-quote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 4px solid var(--neon-blue); background: rgba(0,136,255,.04); border-radius: 0 var(--radius-2xl) var(--radius-2xl) 0; }
.article-quote p { font-size: 1.25rem; font-weight: 500; color: var(--zinc-800); line-height: 1.6; margin-bottom: .5rem; font-style: italic; }
.article-quote cite { font-size: .875rem; color: var(--zinc-500); font-style: normal; }

.article-code { margin: 2rem 0; border-radius: var(--radius-2xl); overflow: hidden; background: #1e1e2e; border: 1px solid #313244; position: relative; }
.article-code__lang { position: absolute; top: .75rem; right: 1rem; font-size: .6875rem; font-weight: 600; text-transform: uppercase; color: #a6adc8; background: rgba(255,255,255,.08); padding: .25rem .625rem; border-radius: var(--radius-full); }
.article-code pre { padding: 1.5rem; overflow-x: auto; margin: 0; }
.article-code code { font-family: 'JetBrains Mono', var(--font-mono); font-size: .8125rem; color: #cdd6f4; line-height: 1.7; white-space: pre; }

.article-divider { border: none; height: 1px; background: var(--zinc-200); margin: 2.5rem auto; max-width: 6rem; }

/* Tags */
.article-detail__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--zinc-200); }
.article-tag { font-size: .75rem; font-weight: 500; padding: .375rem .875rem; border-radius: var(--radius-full); background: var(--zinc-100); color: var(--zinc-600); transition: background .2s; }
.article-tag:hover { background: var(--zinc-200); }

/* Share */
.article-detail__share { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 3rem; padding: 1rem 0; border-top: 1px solid var(--zinc-200); }
.article-share-btns { display: flex; gap: .5rem; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--zinc-100); color: var(--zinc-700); font-size: .8125rem; font-weight: 700; transition: all .2s; border: 1px solid var(--zinc-200); cursor: pointer; text-decoration: none; }
.share-btn:hover { background: var(--zinc-900); color: var(--white); border-color: var(--zinc-900); }

/* Related Articles */
.related-articles { margin-bottom: 4rem; padding-top: 2rem; border-top: 1px solid var(--zinc-200); }

