/* ==========================================
  1. VARIABLES & CORE RESET
  ========================================== */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.35);
  --accent: #38bdf8;

  /* Backgrounds & Surfaces */
  --bg-dark: #0f172a;
  --bg-emerald: #004d40;
  --glass: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Text */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  /* Animation */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

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

body {
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.announcement-bar {
  display: none; /* Hidden by default, JS will show it */
  background: var(--primary);
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000; /* Higher than navbar */
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

#closeAnnouncement {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#closeAnnouncement:hover {
  opacity: 1;
}

body.has-announcement .navbar {
  top: 40px; 
}

.pulse-blue {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: nav-pulse 2s infinite;
}

/* Adjust Hero padding so content isn't hidden */
.hero {
  padding-top: 100px; 
  transition: padding-top 0.3s var(--ease);
}

body.has-announcement .hero {
  padding-top: 140px; /* Adjusted for bar */
}

h1,
h2,
h3,
h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================
  2. NAVIGATION (Optimized Glassmorphism)
  ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;

  background: linear-gradient(
    to bottom,
    #020617 0%,
    rgba(2, 6, 23, 0.8) 70%,
    transparent 100%
  );

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: top 0.3s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 2. Logo & Status Wrapper */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
}

.nav-logo span {
  color: #3b82f6;
}

/* 3. Service Indicator Styling */
.service-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.indicator-text {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 600;
}

.pulse-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: nav-pulse 2s infinite;
}

/* Hamburger menu */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  transition: var(--transition);
}

/* When the hamburger HAS the active class, turn the bars into an X */

/* Top bar: moves down and rotates */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
  background-color: var(--accent);
}

/* Middle bar: fades out and slides right */
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

/* Bottom bar: moves up and rotates the opposite way */
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  width: 100%; /* Force it back to full width for the X shape */
  background-color: var(--accent);
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.bar:nth-child(2) {
  width: 70%;
  align-self: flex-end;
}

.bar:nth-child(3) {
  width: 90%;
}

.hamburger:hover .bar {
  background-color: var(--accent); /* Glows blue on hover */
  width: 100%; /* All bars expand to full width */
  box-shadow: 0 0 12px var(--primary-glow);
}

.nav-links.active ~ .hamburger .bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.nav-links.active ~ .hamburger .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.nav-links.active ~ .hamburger .bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  width: 100%;
}

/* 4. Nav Links */
.nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 1);
  backdrop-filter: blur(15px);
  padding: 2rem;
  gap: 1rem;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

  /* Animation states */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s var(--ease);
}

.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

.nav-links li {
  width: 100%;
  list-style-type: none;
}

.nav-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}

.nav-links a.active {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--primary);
}

.nav-links a.active::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-green 2s infinite;
}

.nav-links a::before {
  content: '>_';
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  font-weight: 700;
}

.nav-links a::after {
  content: '0' + attr(data-index);
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0.5;
}

.nav-links a:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary);
  color: #fff;
  transform: translateX(8px);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

@keyframes nav-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ==========================================
  3. HERO SECTION (Refactored Layout)
  ========================================== */
/* --- 1. CORE LAYOUT (Mobile First) --- */
.hero {
  padding-top: 100px;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.15);
  filter: blur(100px);
  border-radius: 50%;
  z-index: 0;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-container {
  /* position: relative;
  z-index: 1;
  width: 100%; */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
}

.hero-text-wrapper {
  order: 1;
  text-align: left;
  width: 100%;
}

.hero-visual {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.service-label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

/* --- 2. THE BUTTONS & GLASS CONTAINER --- */
.hero-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;

  /* Glass Effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

p,
.hero-subtitle,
.aim-item p {
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.btn,
.tech-pill,
.service-label,
.stack-label {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.section-title {
  font-weight: 800;
  text-transform: capitalize;
}

/* next element RoadMap Section */
/* 1. Section Container */
.roadmap-section {
  padding: 4rem 2rem;
  background: radial-gradient(circle at center, #1e1b4b 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* border: 2px dashed; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.roadmap-universal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 800px;

  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 3px dashed rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.roadmap-universal-footer:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.4);
}

.footer-icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #60a5fa, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
  animation: pulse-glow 3s infinite ease-in-out;
}

.footer-text h4 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.footer-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
}

.footer-text strong {
  color: #60a5fa;
  font-weight: 600;
}

/* About section */
/* 1. Section & Title Styling */
.about-section {
  display: block;
  width: 100%;
  padding: 100px 0;
  position: relative;

  background: linear-gradient(
    165deg,
    #1b2c55 0%,
    #0f1e3f 50%,
    #071760 100%
  ) !important;

  background-attachment: scroll;
  background-size: cover;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.03);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.section-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 60px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

/* 2. Responsive Container (Stack on Mobile, Grid on Desktop) */
.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about-card {
  /* Using a slightly lighter blue for the glass effect to stand out from the new background */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  /* Border color shifted to a cool cyan-blue to match the background */
  border: 1px solid rgba(147, 197, 253, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.subsection-title {
  color: #60a5fa;
  border-left: 4px solid #3b82f6;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-left: 15px;
}

.aim-item i {
  /* Shifted icons to a vibrant Cyan/Teal to pop against the deep Blue background */
  color: #22d3ee;
  font-size: 1.5rem;
}

.aim-item h4 {
  color: #f8fafc; /* Crisp white for headings */
}

/* 4. Philosophy (Left Side) - Aim Items */
.aims-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.aim-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.aim-item i {
  font-size: 1.5rem;
  color: #f472b6; /* Soft pink accent */
  padding-top: 5px;
}

.aim-item h4 {
  color: #fff;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.aim-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 5. Toolbox (Right Side) - Tech Pills */
.stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stack-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-pill {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #cbd5e1;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  border-radius: 50px;
  font-size: 0.85rem;
}

.tech-pill:hover {
  background: #3b82f6;
  color: white;
  border-color: #60a5fa;
}

.section-title {
  color: white;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* 1. Section & Background */
.process {
  padding: 8rem 2rem;
  /* Deep Blue to Dark Navy to match your palette */
  background: linear-gradient(180deg, #071760 0%, #020617 100%);
  position: relative;
}

/* 2. Intro Text & Link */
.process-intro {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.process-intro p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.text-link:hover {
  color: #22d3ee;
  transform: translateX(5px);
}

/* 3. Log Card Grid */
.log-cards {
  display: grid;
  grid-template-columns: 1fr; /* Stacked on mobile */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 4. Individual Log Cards (Terminal Style) */
.log-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

/* Subtle "Scanline" effect for terminal feel */
.log-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.02),
      rgba(0, 255, 0, 0.01),
      rgba(0, 0, 255, 0.02)
    );
  background-size:
    100% 4px,
    3px 100%;
  pointer-events: none;
}

.log-card:hover {
  transform: translateY(-10px);
  border-color: #60a5fa;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  background: rgba(30, 41, 59, 0.8);
}

/* 5. Badge & Typography */
.badge {
  display: inline-block;
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  font-family: 'Roboto Mono', monospace; /* Monospace for "Logs" feel */
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.log-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.log-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Process grid */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* 2. Process Card Styling */
.process-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.process-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(96, 165, 250, 0.4);
}

/* 3. Status Badges */
.status-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.status-done {
  background: rgba(16, 185, 129, 0.15); /* Emerald */
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-progress {
  background: rgba(245, 158, 11, 0.15); /* Amber */
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* 4. Icons & Titles */
.process-icon-wrapper {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 5. Process List Styling */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  padding-left: 1.2rem;
}

/* Custom bullet: small blue square */
.process-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 2px;
}

.process-list strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.process-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* The Core Dot */
.status-dot {
  width: 12px;
  height: 12px;
  background-color: #fbbf24;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.status-dot::before,
.status-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fbbf24;
  opacity: 0.6;
  z-index: 1;
}

.status-dot::before {
  animation: sonar-pulse 2s infinite ease-out;
}

.status-dot::after {
  animation: sonar-pulse 2s infinite ease-out 1s;
}

@keyframes sonar-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* 1. Section Background & Spacing */
.engineering-log {
  padding: 6rem 1.5rem;
  background: #020617; /* Solid Dark Navy for contrast */
}

/* 2. The Main "Log" Card */
.main-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Header style for the deep dive */
.main-card h2.section-title {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #60a5fa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

/* 3. Log Entry Typography */
.log-entry {
  margin-bottom: 3rem;
}

.log-entry h3 {
  font-family:
    'Roboto Mono', monospace; /* Use mono for numbering if possible */
  color: #f472b6; /* Pink accent for step numbers */
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.log-entry p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* 4. Code Snippet Preview */
.code-snippet-preview {
  background: #000;
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid #3b82f6;
}

.code-snippet-preview code {
  font-family: 'Roboto Mono', monospace;
  color: #10b981;
  font-size: 0.9rem;
}

/* 5. Stats List Styling */
/* 4. Stats List (Mobile First) */
.stats-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr; /* 1 Column for everything under 992px */
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats-list li {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 8px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 5. Typography & Code Fixes */
.log-entry h3 {
  color: #f472b6;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.code-snippet-preview {
  background: #000;
  border-radius: 8px;
  padding: 1.2rem;
  margin-top: 1rem;
  border-left: 4px solid #3b82f6;
  overflow-x: auto;
}

/* 1. Main Footer Section */
.footer {
  padding: 5rem 1.5rem 2rem;
  background: #020617; /* Matches the deepest point of your gradients */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* Mobile stack */
  gap: 3rem;
  text-align: center;
}

/* 3. Brand & Logo Styling */
.nav-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  letter-spacing: -1px;
}

.nav-logo span {
  color: #3b82f6; /* Blue accent from your title */
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}

.footer-brand p span {
  color: #f472b6; /* Pink accent */
}

/* 4. Contact & Socials */
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center; /* Center for mobile */
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-item i {
  color: #3b82f6;
}

.contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #fff;
}

/* Social Icons with Glass Effect */
.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
  background: #3b82f6;
  border-color: #60a5fa;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* 5. Copyright */
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- 3. BIG SCREEN STYLES (Desktop) --- */
@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
  .nav-links {
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
  }

  .nav-links a {
    position: relative;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    display: inline-block;
  }

  .nav-links a.active {
    background: transparent;
    box-shadow: none;
    color: var(--accent);
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
    box-shadow: 0 0 8px var(--accent);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-links a.active::after {
    width: 100%;
    height: 3px;
    background: var(--primary);
  }

  /* .nav-links a:hover::after {
    width: 100%;
  } */

  .nav-links a::before {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 2rem 0;
  }
  .hero {
    padding-top: 120px;
  }
  .contact-item {
    justify-content: flex-start;
  }
  .footer-socials {
    justify-content: flex-end;
  }
  .contact-item {
    justify-content: flex-start;
  }

  .footer-container {
    grid-template-columns: 1.5fr 1fr 1.5fr; /* Brand in center, info on sides */
    align-items: center;
    text-align: left;
  }

  .footer-brand {
    order: 2;
    text-align: center;
  } /* Logo in the middle */
  .footer-contact {
    order: 1;
  }
  .footer-socials {
    order: 3;
    text-align: right;
  }

  .footer-copy {
    grid-column: 1 / -1;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-card {
    padding: 4rem;
  }

  .stats-list {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for stats on desktop */
    gap: 1.5rem;
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch; /* Ensures all cards are the same height */
    padding: 4rem 2rem;
  }

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

  .about-container {
    grid-template-columns: 1.1fr 0.9fr;
  }

  /* .hero-content {
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
    padding: 100px 8%; 
    text-align: left;
  } */

  .hero-text-wrapper {
    order: 1;
    flex: 1.2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 60%;
  }

  .hero-visual {
    order: 2;
    flex: 0.8;
    justify-content: flex-end;
  }

  .hero-buttons {
    grid-template-columns: repeat(2, 1fr);
    max-width: 550px;
    margin-left: 0;
  }

  .hero-buttons a:last-child {
    grid-column: span 2;
  }

  .profile-frame {
    max-width: 400px;
  }
}

/* --- 4. TITLE & ANIMATION FIXES --- */
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  font-weight: 800;

  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* --- 5. BUTTON & IMAGE REFINEMENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  font-weight: 600;
}

.btn i {
  margin-left: 10px;
}

.profile-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Default button styles */
.btn-api {
  background: #4f46e5;
  color: white;
}
.btn-fs {
  background: #0ea5e9;
  color: white;
}
.btn-ui {
  background: #ec4899;
  color: white;
}
.btn-blog {
  background: #f59e0b;
  color: white;
}
.btn-flask {
  background: #10b981;
  color: white;
}

.new-site-card {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 320px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: slideInUp 0.6s var(--ease);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.status-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 1px;
}

.new-site-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.new-site-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.visit-btn:hover {
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hide on mobile if it blocks content */
@media (max-width: 480px) {
  .new-site-card {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
  }
}


.card-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.card-close-btn:hover {
  color: #fff;
}

