/* Exact AI Varsity Dark Theme with IR Signature Brand Typography */

:root {
  --bg-main: #0e0e0e;
  --color-red-400: #db081c;
  --color-crimson: #db081c;
  --color-orange-400: #ff8b1a;
  --color-amber-400: #fcbb00;
  --color-yellow-400: #fac800;
  --color-green-400: #05df72;
  --color-emerald-400: #00d294;
  --color-cyan-400: #00d2ef;
  --color-blue-400: #54a2ff;
  --color-purple-400: #c07eff;
  --color-purple-500: #ac4bff;
  --color-pink-400: #fb64b6;
  --font-primary: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Bricolage Grotesque", "Poppins", sans-serif;
  --font-brand: "Cabinet Grotesk", "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  overflow-x: hidden !important;
  max-width: 100vw;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

body {
  background-color: var(--bg-main);
  color: #ffffff;
  font-family: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Eliminate browser scrollbar arrows (side & down white arrows) and horizontal scrollbar */
::-webkit-scrollbar, *::-webkit-scrollbar {
  width: 8px;
  height: 0px !important;
}

::-webkit-scrollbar-button, *::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

::-webkit-scrollbar:horizontal, *::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

::-webkit-scrollbar-corner {
  background: transparent;
  display: none !important;
}

/* Section Container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Top Navigation Bar (Transparent at top, AI Varsity Frosted Glass on Scroll) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(5, 5, 12, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Article detail page always has frosted dark backdrop on navbar */
.article-detail-body .site-header {
  background: rgba(6, 7, 13, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.article-detail-body .site-header.scrolled {
  background: rgba(5, 5, 12, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Brand: Avatar + "Its Rakib" */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: block;
}

.nav-brand-name {
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 18.5px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: baseline;
}

.brand-dot {
  color: #db081c;
  display: inline-block;
  font-weight: 900;
  margin-left: 0.5px;
}

/* Center Floating Pill Menu */
.nav-pill-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-pill-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 24px;
  transition: all 0.2s ease;
}

.nav-pill-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

/* Right CTA Button ("Get my services") */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-services {
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.nav-btn-services:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Hero Section (Image section starts cleanly below navbar) */
.hero {
  text-align: center;
  background: var(--bg-main);
  position: relative;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 0;
  margin: 0;
  display: block;
}

.hero-canvas {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.hero-canvas picture {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Interactive "Explore Creative Prompts" overlay button */
.hero-prompt-btn {
  position: absolute;
  top: 22.0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22.6%;
  height: 6.0%;
  border-radius: 9999px;
  cursor: pointer;
  z-index: 20;
  display: block;
  text-decoration: none;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.hero-prompt-btn:hover {
  background-color: rgba(230, 30, 42, 0.12);
  box-shadow: 0 0 25px rgba(230, 30, 42, 0.45);
  transform: translate(-50%, -50%) scale(1.02);
}

.hero-prompt-btn:active {
  transform: translate(-50%, -50%) scale(0.98);
}


/* ================= AI & TECH NEWS SECTION (EXACT MOCKUP) ================= */
.ai-tech-news-section {
  background: var(--bg-main);
  color: #ffffff;
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.news-header-left {
  max-width: 580px;
}

.news-main-title {
  color: #ffffff;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.news-main-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

.news-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

/* Red / Crimson Pill Button ("See New AI & Tech News ���") */
.btn-news-cta {
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #db081c 0%, #a10c1c 60%, #7a0714 100%);
  border-radius: 40px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 35px rgba(219, 8, 28, 0.45), 0 4px 20px rgba(219, 8, 28, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-news-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(219, 8, 28, 0.65), 0 6px 25px rgba(219, 8, 28, 0.5);
  opacity: 0.95;
}

/* Carousel Arrow Navigation */
.news-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.news-arrow-btn:hover {
  color: #ffffff;
  border-color: rgba(225, 29, 72, 0.5);
  background: rgba(225, 29, 72, 0.15);
  transform: scale(1.05);
}

/* Carousel Cards Scroll Wrapper (AI Varsity Horizontal Scroll Style) */
.news-cards-wrapper {
  position: relative;
  width: 100%;
}

.news-cards-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--bg-main));
  pointer-events: none;
  z-index: 2;
}

.news-cards-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
  position: relative;
  z-index: 1;
}

.news-cards-track::-webkit-scrollbar {
  display: none;
}

.news-post-card {
  flex: 0 0 230px;
  width: 230px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111113;
}

/* Hover: Smooth lift with neutral soft shadow ��� NO RED COLOR */
.news-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.news-post-card img {
  width: 100%;
  height: 295px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  image-rendering: -webkit-optimize-contrast;
}

/* ================= ABOUT ME SECTION (DESKTOP ARTWORK + VECTOR HTML CONTENT) ================= */
.about-me-section {
  background: var(--bg-main);
  padding: 40px 0 90px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-me-desktop-wrap {
  width: 100%;
}

.about-me-canvas {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: block;
}

.about-me-main-img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
  border-radius: 36px;
}

/* Crisp Vector Text Content Overlay Over Card */
.about-me-content-box {
  position: absolute;
  top: 31%;
  left: 50.5%;
  width: 38%;
  text-align: left;
  z-index: 5;
  pointer-events: auto;
}

.about-me-heading {
  color: #ff1a4a; /* Vibrant crimson/pinkish red matching mobile about heading & brand */
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 clamp(8px, 1.1vw, 16px) 0;
}

.about-me-bio p {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(11.5px, 1.05vw, 14.5px);
  line-height: 1.62;
  margin: 0 0 clamp(6px, 0.85vw, 12px) 0;
  font-weight: 400;
}

.about-me-bio p:last-child {
  margin-bottom: 0;
}

.about-me-bio strong {
  color: #ffffff;
  font-weight: 700;
}

.about-me-btn-wrap {
  margin-top: clamp(12px, 1.4vw, 22px);
  display: flex;
  justify-content: flex-start; /* LEFT-ALIGNED directly below text */
}

/* Explore About My Services Button (Exact background color and hover shadow lighting as See New AI & Tech News) */
.btn-about-cta {
  position: relative;
  font-size: clamp(11px, 1vw, 14px);
  padding: clamp(7px, 0.8vw, 11px) clamp(16px, 1.5vw, 24px);
  z-index: 10;
  white-space: nowrap;
}

.btn-about-cta:hover {
  transform: translateY(-2px);
}

.scroll-nav {
  gap: 10px;
  display: flex;
}

.scroll-nav-btn {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all 0.25s;
  display: flex;
}

.scroll-nav-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.scroll-nav-btn.scroll-next {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.scroll-nav-btn.scroll-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.carousel-fade-wrapper {
  position: relative;
}

.carousel-fade-wrapper:after {
  content: "";
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--bg-main));
  width: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

.prompt-cards-scroll {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 24px;
  padding: 10px 0 16px;
  display: flex;
  overflow: auto visible;
}

.prompt-cards-scroll::-webkit-scrollbar {
  display: none;
}

.prompt-cards-scroll .prompt-card {
  cursor: pointer;
  background: #0d0f1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 280px;
  max-width: 280px;
  padding: 14px;
  transition: background 0.35s, transform 0.3s, border-color 0.3s;
  display: flex;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.prompt-cards-scroll .prompt-card:hover {
  background: #14182b;
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
}

.prompt-card-top {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  display: flex;
}

.prompt-card-tags {
  flex-wrap: nowrap;
  gap: 6px;
  display: flex;
}

.prompt-tag {
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
}

.prompt-card-title {
  color: #ffffff;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 44px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.prompt-card-img {
  margin-top: auto;
}

.prompt-card-photo {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}

/* ================= SERVICES SECTION ================= */
.services {
  text-align: center;
  background: var(--bg-main);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.services-headline {
  color: #fff;
  max-width: 800px;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.grad-replacing {
  background: linear-gradient(135deg, #f97316, #ec4899);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
}

.grad-slowwork {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
}

.services-subtext {
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
}

.services-subtext strong {
  color: rgba(255, 255, 255, 0.9);
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 60px;
  display: grid;
}

.service-card {
  text-align: left;
  cursor: pointer;
  background: #0d0f1c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  flex-direction: column;
  padding: 0 20px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15), 0 8px 40px rgba(0, 0, 0, 0.4);
}

.svc-title-box {
  text-align: center;
  background: #06070d;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  height: 90px;
  margin: 16px -4px;
  padding: 24px 16px;
  display: flex;
}

.svc-title {
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.svc-grad-red { background-image: linear-gradient(135deg, #dc2626, #f97316); }
.svc-grad-blue { background-image: linear-gradient(135deg, #3b82f6, #22d3ee); }
.svc-grad-yellow { background-image: linear-gradient(135deg, #facc15, #c084fc); }
.svc-grad-green { background-image: linear-gradient(135deg, #34d399, #22d3ee); }
.svc-grad-teal { background-image: linear-gradient(135deg, #10b981, #6ee7b7); }
.svc-grad-purple { background-image: linear-gradient(135deg, #818cf8, #c084fc); }
.svc-grad-pink { background-image: linear-gradient(135deg, #f472b6, #ef4444); }
.svc-grad-multi { background-image: linear-gradient(135deg, #f97316, #ec4899, #a855f7); }

.svc-desc {
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
  margin-bottom: 28px;
  font-size: 13px;
  line-height: 1.7;
}

.svc-learn {
  color: rgba(255, 255, 255, 0.5);
  background: 0 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
}

.svc-arrow {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  transition: background 0.3s;
  display: flex;
}

.service-card:hover .svc-learn {
  color: #0a0a1a;
  background: #fff;
  border-color: #fff;
}

.service-card:hover .svc-arrow {
  color: #fff;
  background: #0a0a1a;
}

.services-cta-text {
  background: linear-gradient(135deg, #10b981, #06b6d4, #6366f1, #a855f7);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
}

/* ================= DAILY AI NEWS (DARK THEME) ================= */
.news {
  background: var(--bg-main);
  color: #ffffff;
  padding: 60px 0 80px;
  overflow: hidden;
}

.news-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-carousel {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  align-items: flex-end;
  gap: 18px;
  padding: 20px 0 16px;
  display: flex;
  overflow: auto visible;
}

.news-carousel::-webkit-scrollbar {
  display: none;
}

.news-card {
  cursor: pointer;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.3s;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.news-card:hover {
  transform: scale(1.04);
}

.news-card-short, .news-card-tall {
  width: 240px;
}

.news-card-img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

/* ================= ABOUT / COURSES SECTION ================= */
.courses {
  text-align: center;
  background: var(--bg-main);
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
}

.courses-title {
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 39px;
  font-weight: 700;
  line-height: 1.05;
  color: #fff !important;
}

.courses-desc {
  max-width: 560px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6) !important;
}

.courses-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
}

.course-card {
  text-align: center;
  border-radius: 24px;
  padding: 48px 40px 44px;
  transition: transform 0.3s;
  position: relative;
  background: #0d0f1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-free h3 {
  color: #4ade80;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
}

.course-premium h3 {
  background: linear-gradient(135deg, #f97316, #ec4899, #a855f7);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
}

.course-card p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 380px;
  margin: 0 auto 32px;
  font-size: 15px;
  line-height: 1.6;
}

.course-btn {
  border-radius: 40px;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
}

.cream-btn {
  color: #050510;
  background: #ffffff;
}

.cream-btn:hover {
  background: #e2e8f0;
}

.gradient-btn {
  color: #fff;
  background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
}

.gradient-btn:hover {
  opacity: 0.9;
}

/* ================= NEWSLETTER V2 (DARK THEME) ================= */
.newsletter-v2 {
  background: var(--bg-main);
  padding: 60px 0 80px;
  position: relative;
}

.nl2-card {
  background: #0d0f1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  max-width: 1030px;
  margin: 0 auto;
  padding-left: 450px;
  position: relative;
  overflow: visible;
}

.nl2-left {
  width: 440px;
  position: absolute;
  bottom: 0;
  left: 20px;
}

.nl2-person {
  width: 100%;
  height: auto;
  display: block;
}

.nl2-right {
  padding: 48px 56px 48px 24px;
}

.nl2-title {
  color: #fff;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
}

.nl2-desc {
  color: rgba(255, 255, 255, 0.55);
  max-width: 380px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
}

.nl2-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  align-items: center;
  max-width: 380px;
  padding: 5px 5px 5px 20px;
  display: flex;
}

.nl2-input {
  color: #ffffff;
  background: 0 0;
  border: none;
  outline: none;
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
}

.nl2-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.nl2-btn {
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, #f97316, #ec4899, #a855f7);
  border: none;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.nl2-btn:hover {
  opacity: 0.9;
}

/* ================= FOOTER (EXACT JET BLACK DESIGN - CROPPED COMPACT HEIGHT) ================= */
.footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 16px;
  color: #ffffff;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
}

.footer-brand-name {
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
  display: inline-flex;
  align-items: baseline;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 2px;
}

.footer-social-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-icon-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.footer-queries-block {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-queries-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.footer-queries-email {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-queries-email:hover {
  color: #fe1528;
}

.footer-hero-headline-wrap {
  text-align: center;
  margin: 8px 0 16px;
  padding: 0 10px;
  width: 100%;
}

.footer-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4.4vw, 58px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 768px) {
  .footer-hero-headline {
    white-space: normal;
    font-size: clamp(22px, 5.8vw, 36px);
    letter-spacing: -0.8px;
  }
}

.footer-bottom-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-copyright strong {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 650px) {
  .footer-top-row {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-queries-block {
    text-align: left;
  }
}


.mobile-cta-below {
  display: none;
}

/* Screen reader only for SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 16px;
  }
  .section-header-right {
    display: none;
  }
  .mobile-cta-below {
    display: inline-flex;
    margin-top: 24px;
  }
  .services-headline {
    font-size: 26px;
  }
  .services-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0 16px 20px;
  }
  .service-card {
    min-width: 260px;
    max-width: 260px;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nl2-card {
    padding-left: 0;
    padding-top: 120px;
  }
  .nl2-left {
    width: 60%;
    top: -80px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .nl2-right {
    padding: 24px;
  }
}

/* Responsive Sticky Navbar */
@media (max-width: 820px) {
  .header-inner {
    padding: 0 16px;
    height: 58px;
  }
  .nav-brand-name {
    font-size: 15px;
  }
  .nav-pill-wrapper {
    gap: 2px;
    padding: 3px 5px;
  }
  .nav-pill-link {
    padding: 5px 11px;
    font-size: 12px;
  }
  .nav-btn-services {
    padding: 6px 14px;
    font-size: 12px;
  }
}

@media (max-width: 620px) {
  .nav-brand-name {
    display: none;
  }
  .nav-pill-link {
    padding: 4px 8px;
    font-size: 11.5px;
  }
  .nav-btn-services {
    padding: 5px 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 440px) {
  .nav-right {
    display: none;
  }
}

/* ================= AI & TECH NEWS PAGE (EXACT AI VARSITY STYLE) ================= */
.ai-tech-page-body {
  background: #26221f;
  color: #ffffff;
  min-height: 100vh;
}

/* Header section with exact pure #000000 jet black background matching footer - cropped height */
.ai-tech-header-block {
  position: relative;
  overflow: hidden;
  background: #000000;
  text-align: center;
  padding: 84px 20px 22px;
  width: 100%;
}

.ai-tech-header-block::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 180px;
  background: radial-gradient(ellipse at center, rgba(219, 8, 28, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.ai-tech-header-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.015) 40px,
    rgba(255, 255, 255, 0.015) 41px
  );
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

.ai-tech-header-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.ai-tech-subheadline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

.ai-tech-headline {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.2px;
  background: linear-gradient(135deg, #ff2a40 0%, #db081c 50%, #9e0717 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  filter: drop-shadow(0 0 25px rgba(219, 8, 28, 0.35));
}

/* Lower Section with exact #26221f AI Varsity warm dark background */
.ai-tech-main-section {
  background: #26221f;
  padding: 32px 24px 70px;
  width: 100%;
}

/* Search Bar (Matching Explore about my services background colour and glow) */
.ai-tech-search-box {
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}

.ai-tech-search-input {
  width: 100%;
  height: 52px;
  border-radius: 40px;
  background: rgba(26, 22, 20, 0.9);
  border: 1.5px solid rgba(219, 8, 28, 0.65);
  box-shadow: 0 0 25px rgba(219, 8, 28, 0.25);
  color: #ff334b;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  padding: 0 52px 0 24px;
  outline: none;
  transition: all 0.3s ease;
}

.ai-tech-search-input::placeholder {
  color: rgba(219, 8, 28, 0.75);
  font-size: 14px;
}

.ai-tech-search-input:focus {
  border-color: #ff1e38;
  box-shadow: 0 0 35px rgba(219, 8, 28, 0.5);
}

.ai-tech-search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff2a40;
  pointer-events: none;
}

/* 4-Column News Cards Grid */
.ai-tech-grid-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 80px;
}

.ai-tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .ai-tech-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .ai-tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .ai-tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ai-tech-news-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.ai-tech-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 42, 64, 0.25);
  border-color: rgba(255, 51, 75, 0.45);
}

.ai-tech-news-card img,
.ai-tech-card-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.ai-tech-news-card:hover img,
.ai-tech-news-card:hover .ai-tech-card-image {
  transform: scale(1.02);
}

/* Pagination (Pages 1, 2, 3, 4...) */
.ai-tech-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 55px;
}

.page-num-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.page-num-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.page-num-btn.active {
  background: #1b1d2c;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.page-arrow-btn {
  color: rgba(255, 255, 255, 0.4);
}

.page-arrow-btn:hover {
  color: #ffffff;
}

.pagination-dots {
  color: rgba(255, 255, 255, 0.4);
}

/* ================= PROMPT LIBRARY SECTION & CARDS ================= */

.prompts-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .prompts-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .prompts-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .prompts-cards-grid {
    grid-template-columns: 1fr;
  }
}

.prompt-card {
  background: #1e1b18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.prompt-card:hover {
  background: #1e1b18 !important; /* Keep exact same color when hovered - NEVER turn blue! */
  transform: translateY(-5px);
  border-color: rgba(219, 8, 28, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 25px rgba(219, 8, 28, 0.2);
}

.prompt-card-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  transition: color 0.25s ease;
}

.prompt-card:hover .prompt-card-title {
  color: #ff334b;
}

.prompt-card-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 3 / 4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prompt-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.prompt-card:hover .prompt-card-img {
  transform: scale(1.02);
}

/* Modal Dialog */
.prompt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.prompt-modal-overlay.open {
  display: flex;
}

.prompt-modal-container {
  background: #1e1b18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  max-width: 840px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  color: #ffffff;
}

.prompt-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.prompt-modal-close-btn:hover {
  background: #db081c;
  border-color: #db081c;
  transform: rotate(90deg);
}

.prompt-modal-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px 0;
  padding-right: 48px;
  line-height: 1.25;
}

.prompt-modal-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.prompt-modal-hero-img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 26px auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.prompt-modal-hero-img.prompt-modal-hero-banner {
  max-width: 100%;
  aspect-ratio: 1200 / 463;
  object-fit: contain;
  border-radius: 24px;
  border: none;
  box-shadow: none;
}

.prompt-box-card {
  background: #141210;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.prompt-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.prompt-box-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: -0.1px;
}

.btn-copy-prompt {
  background: linear-gradient(135deg, #ff2a40 0%, #db081c 50%, #9e0717 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(219, 8, 28, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-prompt:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(219, 8, 28, 0.5);
}

.btn-copy-prompt.copied {
  background: #22c55e !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4) !important;
}

.prompt-box-code {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13.5px;
  color: #f1f5f9;
  background: rgba(0, 0, 0, 0.6);
  padding: 14px;
  border-radius: 10px;
  line-height: 1.55;
  border: 1px solid rgba(255, 255, 255, 0.06);
  user-select: all;
  white-space: pre-wrap;
  word-break: break-word;
}


/* ==========================================================================
   AI & TECH NEWS EXPANDED & ARTICLE READER STYLES
   ========================================================================== */

/* Category Filters Bar */
.news-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.news-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.news-filter-btn.active {
  background: #db081c;
  color: #ffffff;
  border-color: #db081c;
  box-shadow: 0 0 15px rgba(219, 8, 28, 0.4);
}

/* Dynamic Grid on Homepage */
.news-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 10px;
}

/* Portrait Card (Matches User Blueprint) */
.news-card-portrait {
  text-decoration: none;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-card-portrait:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(219, 8, 28, 0.25);
  border-color: rgba(219, 8, 28, 0.4);
}

.news-card-poster {
  height: 380px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  color: #ffffff;
}

.news-card-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.news-card-poster > * {
  position: relative;
  z-index: 2;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-category-badge {
  align-self: flex-start;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-poster-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: auto 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-poster-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #d1d5db;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
}

.read-btn {
  font-weight: 600;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.news-card-portrait:hover .read-btn {
  transform: translateX(4px);
  color: #ff4d4d;
}

/* ================= ARTICLE READER PAGE ================= */
.article-page-body {
  background: #09090b;
  color: #e4e4e7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

.article-main-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}

/* Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #71717a;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.article-breadcrumbs a {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
  color: #ffffff;
}

.crumb-sep {
  color: #3f3f46;
}

.crumb-current {
  color: #d4d4d8;
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= SPLIT HERO SECTION (BLUEPRINT MATCH) ================= */
.article-split-hero {
  margin-bottom: 24px;
}

.article-hero-box {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.article-hero-badge {
  display: inline-block;
  background: rgba(219, 8, 28, 0.15);
  color: #ff4d4d;
  border: 1px solid rgba(219, 8, 28, 0.3);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.article-hero-summary {
  font-size: 16.5px;
  color: #a1a1aa;
  line-height: 1.6;
}

/* Right: Portrait Poster */
.article-portrait-poster {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.poster-inner {
  height: 380px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: linear-gradient(135deg, #1877f2, #ff4b4b);
  color: #ffffff;
}

.poster-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.poster-inner > * {
  position: relative;
  z-index: 2;
}

.poster-icon-wrap {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.poster-overlay-badge {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
}

.poster-title-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin: auto 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-watermark {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ================= TAGS & PUBLISH DATE BAR ================= */
.article-meta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 36px;
}

.article-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag {
  background: #18181b;
  color: #a1a1aa;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.article-tag:hover {
  background: #27272a;
  color: #ffffff;
}

.article-publish-date {
  font-size: 14px;
  color: #71717a;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ================= READABLE ENGLISH BODY CONTENT ================= */
.article-body-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.article-reading-body {
  font-size: 17.5px;
  line-height: 1.8;
  color: #d4d4d8;
}

.article-reading-body p {
  margin-bottom: 22px;
}

.article-reading-body p:first-of-type {
  font-size: 19px;
  line-height: 1.75;
  color: #f4f4f5;
}

.article-reading-body h2,
.article-reading-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.article-reading-body h3 {
  font-size: 22px;
}

.article-reading-body ul,
.article-reading-body ol {
  margin-bottom: 26px;
  padding-left: 24px;
}

.article-reading-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-reading-body strong {
  color: #ffffff;
}

.article-reading-body blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: rgba(219, 8, 28, 0.05);
  border-left: 4px solid #db081c;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #e4e4e7;
  font-size: 18px;
  line-height: 1.7;
}

/* Share & Actions Footer */
.article-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.share-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #a1a1aa;
}

.share-btn {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: #27272a;
  transform: translateY(-1px);
}

.share-x:hover {
  background: #000000;
  border-color: #555;
}

.share-li:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.back-news-btn {
  font-size: 14px;
  padding: 9px 18px;
}

/* ================= RELATED ARTICLES ================= */
.related-articles-section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.related-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.see-all-link {
  color: #ff4d4d;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.see-all-link:hover {
  transform: translateX(4px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .article-hero-box {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .article-portrait-poster {
    max-width: 320px;
    margin: 0 auto;
  }
  .article-headline {
    font-size: 26px;
  }
  .article-meta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ================= RESPONSIVE SEPARATION (DESKTOP VS MOBILE) ================= */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}

/* ================= MOBILE NAVBAR (STICKY FROSTED GLASS & SCALED BRANDING) ================= */
@media (max-width: 768px) {
  .mobile-site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(10, 10, 10, 0.75) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .mobile-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 64px !important;
    padding: 14px 18px !important;
    background: transparent !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-hamburger-btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 6px 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: opacity 0.2s ease !important;
    z-index: 2 !important;
  }

  .mobile-hamburger-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  .mobile-hamburger-btn:hover,
  .mobile-hamburger-btn:focus-visible {
    opacity: 0.8 !important;
    outline: none !important;
  }

  .mobile-nav-brand {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
  }

  .mobile-nav-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    display: block !important;
  }

  .mobile-nav-brand-name {
    color: #ffffff !important;
    font-family: var(--font-brand) !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    white-space: nowrap !important;
  }

  .mobile-nav-brand-name .brand-dot {
    color: #db081c !important;
  }

  .mobile-nav-services-btn {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    z-index: 2 !important;
  }

  .mobile-nav-services-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
  }

  /* Content offset for other subpages so headers are not covered by fixed navbar */
  .ai-tech-header-block {
    padding-top: 96px !important;
  }

  .article-hero-section {
    padding-top: 100px !important;
  }
}

/* ================= MOBILE NAVIGATION OVERLAY MODAL ================= */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalOverlayFadeIn 0.22s ease-out;
}

.mobile-nav-overlay.hidden {
  display: none !important;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 360px;
  background: rgba(18, 19, 28, 0.94);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 20px 18px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: modalCardPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalCardPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-modal-header {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  height: 32px;
}

.mobile-modal-close-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}

.mobile-modal-close-btn:hover,
.mobile-modal-close-btn:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-modal-brand {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-modal-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: block;
}

.mobile-modal-brand-name {
  color: #ffffff;
  font-family: var(--font-brand);
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.mobile-modal-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-modal-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 500;
  padding: 13px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: block;
}

.mobile-modal-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-modal-link.active {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-modal-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 16px 0 18px 0;
  width: 100%;
}

.mobile-modal-footer {
  width: 100%;
}

.mobile-modal-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #b3001b 0%, #800010 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 18px rgba(220, 20, 60, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-modal-cta-btn:hover {
  background: linear-gradient(135deg, #c70020 0%, #900013 100%);
  box-shadow: 0 0 24px rgba(220, 20, 60, 0.55), 0 6px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.mobile-modal-cta-btn:active {
  transform: scale(0.98);
}

.mobile-modal-cta-btn .cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.mobile-modal-cta-btn:hover .cta-arrow {
  transform: translateX(3px);
}

/* ================= MOBILE HERO SECTION ================= */
.mobile-only {
  background-color: #000000;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

@media (max-width: 768px) {
  body {
    background-color: #000000;
  }
}

.mobile-hero-section {
  background-color: #000000 !important;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 72px !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.mobile-hero-canvas {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 852 / 1581;
  margin: 0 auto !important;
  padding: 0 !important;
  display: block;
  background-color: #000000 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  overflow: hidden;
}

.mobile-hero-canvas picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-hero-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 852 / 1581;
  max-width: 100%;
  display: block !important;
  vertical-align: bottom;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-drag: none;
  user-select: none;
}

.mobile-hero-cta-btn {
  position: absolute;
  top: 24.7%;
  left: 50.7%;
  transform: translate(-50%, -50%);
  width: 54.5%;
  height: 4.6%;
  border-radius: 9999px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 51, 75, 0.25);
  transition: transform 0.15s ease;
}

.mobile-hero-cta-btn:active {
  transform: translate(-50%, -50%) scale(0.97);
}

/* ================= NEWS MOBILE CTA (DESKTOP DEFAULT) ================= */
.news-mobile-cta-wrap {
  display: none;
}

/* ================= MOBILE ADAPTATION FOR AI & TECH NEWS (<= 768px) ================= */
@media (max-width: 768px) {
  /* 1. Pure White Background & Mobile Section Padding */
  .ai-tech-news-section {
    background-color: #ffffff !important;
    padding: 40px 20px !important;
    position: relative;
    overflow: hidden;
  }

  .ai-tech-news-section .section-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  /* 2. Inverted Header Text for High Contrast on White */
  .news-header {
    display: block !important;
    margin-bottom: 24px !important;
  }

  .news-header-left {
    max-width: 100% !important;
  }

  .news-main-title {
    color: #0f172a !important;
    font-size: clamp(26px, 6.5vw, 28px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.6px !important;
    margin-bottom: 10px !important;
  }

  .news-main-desc {
    color: #475569 !important;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }

  /* Hide Desktop Top-Right Buttons & Arrows */
  .news-header-right {
    display: none !important;
  }

  /* 3. Smooth Horizontally Scrollable Carousel Aligned Straight with Section Text */
  .news-cards-wrapper {
    position: relative;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  .news-cards-wrapper::after {
    display: none !important; /* Remove dark desktop edge fade */
  }

  .news-cards-track {
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .news-cards-track::-webkit-scrollbar {
    display: none !important;
  }

  /* Individual Card: 80% width aligned straight under header */
  .news-post-card {
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 310px !important;
    scroll-snap-align: start !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #000000 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .news-post-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    display: block !important;
    image-rendering: -webkit-optimize-contrast !important;
  }

  /* Clean bottom gradient overlay on cards for readability */
  .news-post-card::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 90px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%) !important;
    pointer-events: none !important;
    border-radius: 0 0 18px 18px !important;
  }

  /* 4. Centered Mobile Pill CTA Button */
  .news-mobile-cta-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 24px auto 0 auto !important;
  }

  .btn-news-mobile-cta {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 340px !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #db081c 0%, #a10c1c 60%, #7a0714 100%) !important;
    box-shadow: 0 8px 24px rgba(219, 8, 28, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .btn-news-mobile-cta:active {
    transform: scale(0.98) !important;
  }

  /* ================= MOBILE ADAPTATION FOR ABOUT ME (<= 768px) ================= */
  .about-me-section {
    background-color: #ffffff !important;
    padding: 24px 16px 56px 16px !important; /* Top 24px, 16px side gutters, 56px bottom gap before footer */
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .about-me-mobile-wrap {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    position: relative !important;
    background-color: transparent !important;
  }

  /* 1. Artwork at Top (White background with portrait and curved black card horizon) */
  .about-me-mobile-art {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    background-color: transparent !important;
    line-height: 0 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 32px 32px 0 0 !important;
  }

  .about-me-mobile-art-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    vertical-align: bottom !important;
  }

  /* 2. Seamless Black Content Block (Flows directly from black base of artwork) */
  .about-me-mobile-content {
    background-color: #000000 !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 24px 22px 42px 22px !important;
    position: relative !important;
    text-align: left !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 0 36px 36px !important; /* Rounded bottom corners matching reference 2 */
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16) !important;
  }

  /* 3. Heading: Bold Crimson / Pinkish Red */
  .about-me-mobile-heading {
    color: #ff1a4a !important; /* Vibrant crimson/magenta matching reference */
    font-family: var(--font-heading) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.6px !important;
    margin-bottom: 18px !important;
    text-align: left !important;
  }

  /* 4. Bio Paragraphs */
  .about-me-mobile-bio {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15.5px !important;
    line-height: 1.72 !important;
    margin-bottom: 28px !important;
    text-align: left !important;
  }

  .about-me-mobile-bio p {
    margin-bottom: 16px !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .about-me-mobile-bio p:last-child {
    margin-bottom: 0 !important;
  }

  .about-me-mobile-bio strong {
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  /* 5. CTA Button inside card */
  .about-me-mobile-btn-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .btn-about-mobile-cta {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 340px !important;
    padding: 14px 28px !important;
    border-radius: 9999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #db081c 0%, #a10c1c 60%, #7a0714 100%) !important;
    box-shadow: 0 0 18px rgba(220, 20, 60, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }

  .btn-about-mobile-cta:active {
    transform: scale(0.98) !important;
  }

  /* ================= MOBILE BACKGROUND & PROPORTIONS FOR PROMPT LIBRARY ================= */
  body.prompt-library-page .ai-tech-main-section,
  .ai-tech-main-section {
    background-color: #f8f5f0 !important;
    padding: 24px 14px 60px !important;
  }

  body.prompt-library-page .ai-tech-grid-section,
  .ai-tech-grid-section {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.prompt-library-page .prompts-cards-grid,
  .prompts-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body.prompt-library-page .prompt-card,
  .prompts-cards-grid .prompt-card,
  .prompt-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body.prompt-library-page .prompt-card,
  .prompts-cards-grid .prompt-card {
    width: 100% !important;
    padding: 15px !important;
    border-radius: 22px !important;
    background: #f1ebe1 !important;
    border: 1px solid #e5dcce !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }

  body.prompt-library-page .prompt-card:hover,
  .prompts-cards-grid .prompt-card:hover {
    background: #f1ebe1 !important; /* Keep exact same cream color on mobile hover/active */
    border-color: rgba(219, 8, 28, 0.4) !important;
  }

  body.prompt-library-page .prompt-card-title,
  .prompts-cards-grid .prompt-card-title {
    color: #12141a !important;
  }

  body.prompt-library-page .prompt-card-title {
    color: #12141a !important;
    font-size: 17.5px !important;
    margin-bottom: 12px !important;
    min-height: unset !important;
  }

  body.prompt-library-page .prompt-card-img-wrapper {
    aspect-ratio: 3 / 4 !important;
    border-radius: 16px !important;
    width: 100% !important;
    background: #ffffff !important;
  }

  /* ================= SEARCH BAR (MATCHING HEADLINE COLOR & SECTION BG) ================= */
  .ai-tech-search-box {
    margin-bottom: 28px !important;
  }

  .ai-tech-search-input {
    background: #f8f5f0 !important;
    border: 1.5px solid rgba(219, 8, 28, 0.55) !important;
    border-radius: 40px !important;
    color: #db081c !important;
    box-shadow: 0 0 15px rgba(219, 8, 28, 0.12) !important;
    font-size: 15px !important;
  }

  .ai-tech-search-input::placeholder {
    color: rgba(219, 8, 28, 0.75) !important;
    font-size: 14.5px !important;
  }

  .ai-tech-search-input:focus {
    border-color: #ff1e38 !important;
    outline: none !important;
    box-shadow: 0 0 20px rgba(219, 8, 28, 0.25) !important;
  }

  .ai-tech-search-icon {
    color: #ff2a40 !important;
  }

  /* ================= PAGINATION NUMBERS (CLEARLY VISIBLE ON LIGHT BACKGROUND) ================= */
  .ai-tech-pagination-bar {
    margin-top: 40px !important;
    gap: 8px !important;
  }

  .page-num-btn {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.16) !important;
    color: #0f172a !important; /* Clearly seen high contrast text */
    font-size: 15px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  }

  .page-num-btn:hover {
    color: #000000 !important;
    background: #f1f5f9 !important;
    border-color: rgba(15, 23, 42, 0.3) !important;
  }

  .page-num-btn.active {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
  }

  .page-arrow-btn {
    color: #0f172a !important;
  }

  .page-arrow-btn:hover {
    color: #000000 !important;
  }

  .pagination-dots {
    color: #475569 !important;
  }
}





/* Modal Sequence Items: Headings, Paragraphs, Lists, and Resizable Images */
.prompt-modal-subheading {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: #ff334b;
  margin: 24px 0 10px 0;
  line-height: 1.35;
}

.prompt-modal-paragraph {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.prompt-modal-list {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px 22px;
  padding: 0;
}

.prompt-modal-list li {
  margin-bottom: 8px;
}

.prompt-modal-resizable-img {
  width: 100%;
  margin: 18px 0 28px 0;
  display: flex;
  justify-content: center;
}

.prompt-modal-resizable-img img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.prompt-modal-resizable-img img:hover {
  transform: scale(1.015);
}

/* ==========================================================================
   PROMPT DETAIL PAGE STYLES (MATCHING AI VARSITY WITH SITE NAVBAR & 3:4 VISUALS)
   ========================================================================== */

.prompt-detail-main {
  background: #26221f;
  min-height: calc(100vh - 80px);
  padding: 40px 20px 80px 20px;
}

.prompt-detail-container {
  max-width: 900px;
  margin: 0 auto;
}

.prompt-detail-nav-row {
  margin-bottom: 24px;
}

.prompt-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.prompt-detail-back-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-3px);
}

.prompt-detail-article {
  background: transparent;
  color: #ffffff;
}

.prompt-detail-hero-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.prompt-detail-hero-img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: block;
}

.prompt-detail-hero-img.prompt-detail-hero-banner {
  max-width: 100%;
  aspect-ratio: 1200 / 463;
  object-fit: contain;
  border-radius: 24px;
  border: none;
  box-shadow: none;
}

.prompt-detail-heading {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 16px 0;
}

@media (max-width: 768px) {
  .prompt-detail-heading {
    font-size: 25px;
  }
}

.prompt-detail-subheadline {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px 0;
}

.prompt-detail-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 24px 0 32px 0;
}

.prompt-tools-card {
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
}

.prompt-tools-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.prompt-tools-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff334b;
}

.prompt-tools-list {
  margin: 0 0 0 24px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.8;
}

.prompt-detail-seq-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 22px 0 36px 0;
}

.prompt-detail-seq-img img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: block;
  transition: transform 0.3s ease;
}

.prompt-detail-seq-img img:hover {
  transform: scale(1.015);
}

.prompt-detail-subheading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #ff334b;
  margin: 32px 0 12px 0;
  line-height: 1.35;
}

.prompt-detail-paragraph {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.prompt-detail-list {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 24px 24px;
  padding: 0;
}

.prompt-detail-list li {
  margin-bottom: 8px;
}

/* Prompt Box Expandable with Fade and Toggle */
.prompt-box-card {
  background: #151311;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
  transition: border-color 0.25s ease;
}

.prompt-box-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.prompt-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.prompt-box-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3f4f6;
  font-size: 14.5px;
  font-weight: 600;
}

.prompt-box-title-wrap svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.prompt-box-body-wrap {
  position: relative;
  padding: 18px 20px 8px 20px;
}

.prompt-box-content {
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 110px; /* Collapsed: show preview */
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.prompt-box-content.expanded {
  max-height: 3500px;
}

.prompt-box-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(21, 19, 17, 0) 0%, rgba(21, 19, 17, 1) 90%);
  transition: opacity 0.25s ease;
}

.prompt-box-content.expanded + .prompt-box-fade {
  opacity: 0;
  visibility: hidden;
}

.prompt-box-footer {
  padding: 4px 20px 14px 20px;
  display: flex;
  align-items: center;
}

.btn-toggle-prompt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #f97316;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}

.btn-toggle-prompt:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.prompt-box-note-wrap {
  padding: 10px 20px 14px 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.prompt-box-note {
  font-size: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ================= GLOBAL ANTI-DOWNLOAD & CONTENT PROTECTION ================= */
/* 1. Prevent image and element dragging across all browsers */
*, *::before, *::after {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
}

/* 2. Prevent iOS / Safari long-press callout, text/media selection & context saving */
img, 
picture, 
video, 
canvas, 
svg,
.mobile-hero-img,
.desktop-hero-img,
.mobile-hero-canvas,
.nav-avatar,
.mobile-nav-avatar,
.mobile-modal-avatar,
.footer-avatar,
.news-post-card img,
.portfolio-card img,
.product-photo-card img {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* 3. Disable video download controls and context menus */
video::-internal-media-controls-download-button,
video::-webkit-media-controls-download-button,
video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* 4. Protective layer for hero images while preserving button clicks */
.mobile-hero-img {
  pointer-events: none !important;
  -webkit-touch-callout: none !important;
}

.mobile-hero-cta-btn {
  pointer-events: auto !important;
}

