@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Organic Light Theme (Default, matches protolm.pages.dev light mode) */
  --bg-body: #f6f7f4;
  --bg-panel: #ffffff;
  --border-panel: #d9ded4;
  --border-panel-faded: rgba(217, 222, 212, 0.4);
  --text-ink: #1d241c;
  --text-muted: #687264;
  --text-muted-faded: rgba(104, 114, 100, 0.7);
  
  /* LCH Forest green accents */
  --accent: oklch(0.45 0.12 130);
  --accent-hover: oklch(0.38 0.12 130);
  --accent-faded: oklch(0.45 0.12 130 / 0.08);
  --accent-glow: 0 0 20px oklch(0.45 0.12 130 / 0.15);
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
  
  --shadow-card: 0 8px 30px rgba(29, 36, 28, 0.05), 0 2px 8px rgba(29, 36, 28, 0.03);
  --shadow-nav: 0 4px 20px rgba(29, 36, 28, 0.03);
  --shadow-inset: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

html.dark {
  /* Organic Dark Theme (matches protolm.pages.dev dark mode) */
  --bg-body: #10140f;
  --bg-panel: #151b14;
  --border-panel: #2d352b;
  --border-panel-faded: rgba(45, 53, 43, 0.4);
  --text-ink: #edf2e9;
  --text-muted: #9da895;
  --text-muted-faded: rgba(157, 168, 149, 0.7);
  
  /* Sage green accents */
  --accent: oklch(0.65 0.12 130);
  --accent-hover: oklch(0.72 0.12 130);
  --accent-faded: oklch(0.65 0.12 130 / 0.08);
  --accent-glow: 0 0 20px oklch(0.65 0.12 130 / 0.15);
  
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-inset: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Global Reset & Base Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-ink);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-body);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: var(--border-panel);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Animations */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Layout Utilities */
.section {
  padding: 8rem 2rem 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  text-align: left;
  max-width: 700px;
  animation: reveal-up 1s ease forwards;
}

.section-tag {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-ink);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 300;
}

/* Faded Borders & Shadow Cards (ProtoLM inspired) */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow), var(--shadow-card);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 1.5rem 2rem;
}

header.scrolled {
  padding: 1rem 2rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-panel-faded);
  box-shadow: var(--shadow-nav);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-ink);
}

.logo-icon {
  width: 32px;
  height: 32px;
  position: relative;
  background: var(--accent);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-quick);
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-panel);
  border-radius: 6px;
  z-index: 1;
}

.logo-icon::after {
  content: 'DL';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  padding: 0.25rem;
  border-radius: 30px;
  box-shadow: var(--shadow-card);
}

.nav-links a {
  display: block;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  transition: var(--transition-quick);
  border: 1px solid transparent; /* Stabilize container size to prevent layout shifts */
}

.nav-links a:focus {
  outline: none; /* Remove focus ring on mouse click */
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent); /* Keep keyboard accessibility focus visible */
  outline-offset: 2px;
}

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

.nav-links a.active {
  color: var(--text-ink);
  background: var(--accent-faded);
  border: 1px solid var(--border-panel-faded);
}

/* Nav Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button (Light/Dark Toggle) */
.theme-toggle {
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  color: var(--text-ink);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-quick);
  box-shadow: var(--shadow-card);
  outline: none;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

html.dark .sun-icon { display: block; }
html.dark .moon-icon { display: none; }
html:not(.dark) .sun-icon { display: none; }
html:not(.dark) .moon-icon { display: block; }

.nav-cta {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--bg-panel);
  background: var(--accent);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  transition: var(--transition-quick);
  box-shadow: var(--shadow-card);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-ink);
  margin: 5px 0;
  transition: var(--transition-quick);
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem 2rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  animation: reveal-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-faded);
  border: 1px solid var(--border-panel);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-ink);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.btn-primary {
  color: var(--bg-panel);
  background: var(--accent);
  box-shadow: var(--shadow-card);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-glow), var(--shadow-card);
}

.btn-secondary {
  color: var(--text-ink);
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  background: var(--bg-body);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Products Section */
.products-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  padding: 3.5rem;
  border-radius: 12px;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-panel);
  box-shadow: var(--shadow-card);
}

.featured-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-ink);
}

.product-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.product-bullets {
  list-style: none;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-ink);
  font-size: 0.95rem;
}

.bullet-icon {
  width: 20px;
  height: 20px;
  background: var(--accent-faded);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.7rem;
}

.product-featured-visual {
  height: 350px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-panel);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(var(--border-panel) 1px, transparent 0);
  background-size: 30px 30px;
  opacity: 0.8;
}

.visual-core {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  background: var(--accent-faded);
  border: 2px solid var(--accent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.visual-core::after {
  content: 'ProtoLM';
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Secondary Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.product-card {
  padding: 2.5rem;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-body);
  border: 1px solid var(--border-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.product-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-quick);
}

.product-link:hover {
  gap: 0.75rem;
  color: var(--accent-hover);
}

/* Projects / Portfolio Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.project-year {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-main h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-main p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.project-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-body);
  border: 1px solid var(--border-panel);
  color: var(--text-muted);
}

/* Technical Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.blog-img {
  height: 180px;
  width: 100%;
  position: relative;
  background: var(--bg-body);
  overflow: hidden;
  border-bottom: 1px solid var(--border-panel);
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-body);
}

.blog-card:nth-child(1) .blog-img-placeholder {
  background: radial-gradient(circle at 70% 30%, var(--accent-faded) 0%, transparent 60%);
}
.blog-card:nth-child(2) .blog-img-placeholder {
  background: radial-gradient(circle at 30% 70%, var(--accent-faded) 0%, transparent 60%);
}
.blog-card:nth-child(3) .blog-img-placeholder {
  background: radial-gradient(circle at 50% 50%, var(--accent-faded) 0%, transparent 60%);
}

.blog-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text-ink);
  transition: var(--transition-quick);
}

.blog-card:hover .blog-card-title {
  color: var(--accent);
}

.blog-summary {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  transition: var(--transition-quick);
}

.blog-card:hover .blog-read-more {
  color: var(--accent);
  gap: 0.5rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  padding: 2rem;
  text-align: center;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 1px solid var(--border-panel);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--text-ink);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.team-card:hover .team-avatar {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  transform: scale(1.05);
}

.team-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

/* About / Vision Section */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1.5rem;
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.highlight-content h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.highlight-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Footer Section */
footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-panel);
  padding: 5rem 2rem 2.5rem 2rem;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  font-weight: 300;
  max-width: 320px;
}

.footer-links-title, .footer-newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-quick);
}

.footer-links-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  flex-grow: 1;
  background: var(--bg-body);
  border: 1px solid var(--border-panel);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-quick);
}

.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

.newsletter-btn {
  background: var(--accent);
  color: var(--bg-panel);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-quick);
}

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

.newsletter-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-panel);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-quick);
}

.footer-socials a:hover {
  color: var(--accent);
}

/* Media Queries & Responsiveness */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
  .product-featured {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem;
  }
  .product-featured-visual {
    height: 300px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }
  
  /* Mobile navigation menu active state */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-panel);
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid var(--border-panel);
    border-radius: 0;
    box-shadow: var(--shadow-card);
    z-index: 100;
  }
  
  .nav-links.mobile-active a {
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1.5rem;
  }
  
  /* hamburger transformations */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .section {
    padding: 6rem 1.5rem 3rem 1.5rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Roadmap Section Styling */
.roadmap-container {
  margin-top: 6rem;
  width: 100%;
}

.roadmap-header {
  margin-bottom: 3rem;
  text-align: left;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.roadmap-phase {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.phase-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.phase-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-ink);
}

.phase-timeline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: inline-block;
  background: var(--bg-body);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-panel-faded);
  width: fit-content;
}

.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phase-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
  position: relative;
  padding-left: 1.25rem;
  text-align: left;
}

.phase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.phase-list strong {
  color: var(--text-ink);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contact / Collaborate Section Styles */
#contact {
  padding-bottom: 8rem;
}

.contact-card {
  padding: 5rem 3rem;
  text-align: center;
  border-radius: 12px;
  background: var(--bg-panel);
  position: relative;
  overflow: hidden;
}

.contact-heading {
  font-size: 3.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.15;
}

.contact-desc {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.contact-ctas {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

/* Mobile Responsive Adjustments for Contact Card */
@media (max-width: 768px) {
  #contact {
    padding-bottom: 5rem;
  }
  
  .contact-card {
    padding: 3.5rem 1.5rem; /* Horizontal breathing room on mobile */
  }
  
  .contact-heading {
    font-size: 2.25rem; /* Smaller heading on mobile to prevent overlapping */
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }
  
  .contact-desc {
    margin-bottom: 2.25rem;
    font-size: 0.95rem;
  }
  
  .contact-ctas {
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    gap: 1rem;
  }
  
  .contact-ctas .btn {
    width: 100%; /* Force buttons to be full width when stacked */
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    text-align: center;
  }
}
