/* ==========================================================================
   WumoK - Cohere 2026 Enterprise Web Design System (wumok.com)
   Editorial Whitespace, Deep Green Bands, Soft Mineral Surfaces, Monospaced Accents
   ========================================================================== */

:root {
  /* Cohere 2026 Color Palette */
  --cohere-primary: #17171c;
  --cohere-black: #000000;
  --cohere-ink: #212121;
  --cohere-deep-green: #003c33;
  --cohere-dark-navy: #071829;
  --cohere-canvas: #ffffff;
  --cohere-soft-stone: #eeece7;
  --cohere-stone-light: #f7f6f2;
  --cohere-stone-card: #fcfcfb;
  --cohere-pale-green: #edfce9;
  --cohere-pale-blue: #f1f5ff;
  --cohere-hairline: #d9d9dd;
  --cohere-border-light: #e5e7eb;
  --cohere-card-border: #e8e8ec;
  --cohere-muted: #93939f;
  --cohere-slate: #75758a;
  --cohere-body-muted: #616161;
  --cohere-action-blue: #1863dc;
  --cohere-focus-blue: #4c6ee6;
  --cohere-coral: #ff7759;
  --cohere-coral-soft: #ffad9b;
  --cohere-form-focus: #9b60aa;
  --cohere-on-primary: #ffffff;
  --cohere-on-dark: #ffffff;
  --cohere-error: #b30000;

  /* Typography Stacks */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'Space Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Cohere Rounded Scale */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(23, 23, 28, 0.04), 0 1px 2px rgba(23, 23, 28, 0.02);
  --shadow-card: 0 4px 20px -2px rgba(23, 23, 28, 0.06);
  --shadow-card-hover: 0 16px 36px -4px rgba(23, 23, 28, 0.1);
  --shadow-elevated: 0 24px 48px -12px rgba(0, 60, 51, 0.15);

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--cohere-canvas);
  color: var(--cohere-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--cohere-canvas);
  color: var(--cohere-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Sections */
.section {
  padding: 110px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
}

.section-stone {
  background-color: var(--cohere-soft-stone);
}

.section-dark-green {
  background-color: var(--cohere-deep-green);
  color: var(--cohere-on-dark);
}

.section-dark-navy {
  background-color: var(--cohere-dark-navy);
  color: var(--cohere-on-dark);
}

/* Section Header Typography */
.section-title-wrap {
  text-align: left;
  max-width: 820px;
  margin-bottom: 56px;
}

.section-title-wrap.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.81rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cohere-slate);
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section-dark-green .section-tag {
  color: var(--cohere-pale-green);
  background: rgba(237, 252, 233, 0.1);
  border-color: rgba(237, 252, 233, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--cohere-primary);
  margin-bottom: 16px;
}

.section-dark-green .section-title,
.section-dark-navy .section-title {
  color: var(--cohere-on-dark);
}

.section-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--cohere-body-muted);
  line-height: 1.65;
  max-width: 680px;
}

.section-dark-green .section-desc,
.section-dark-navy .section-desc {
  color: #c9d5d2;
}

/* Editorial Typography Accents */
.editorial-serif {
  font-style: italic;
  font-weight: 400;
  color: var(--cohere-coral);
}

/* Buttons (Pill Aesthetic) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--cohere-primary);
  color: #ffffff;
  border-color: var(--cohere-primary);
}

.btn-primary:hover {
  background-color: var(--cohere-deep-green);
  border-color: var(--cohere-deep-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 60, 51, 0.2);
}

.btn-coral {
  background-color: var(--cohere-coral);
  color: #ffffff;
  border-color: var(--cohere-coral);
}

.btn-coral:hover {
  background-color: #f25f3e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 119, 89, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--cohere-primary);
  border-color: var(--cohere-hairline);
}

.btn-outline:hover {
  background-color: var(--cohere-stone-light);
  border-color: var(--cohere-primary);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--cohere-primary);
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: var(--cohere-soft-stone);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-white-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-white-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 6px 14px;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header / Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cohere-border-light);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--cohere-hairline);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
  flex-wrap: nowrap !important;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cohere-primary);
  border-radius: var(--radius-sm);
  color: #ffffff;
  transition: var(--transition);
  flex-shrink: 0 !important;
}

.brand-logo:hover .logo-icon {
  background: var(--cohere-deep-green);
  transform: rotate(-4deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cohere-primary);
  letter-spacing: -0.04em;
  white-space: nowrap !important;
}

.logo-text .highlight {
  color: var(--cohere-coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap !important;
}

.nav-link {
  color: var(--cohere-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap !important;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--cohere-deep-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-actions .btn {
  white-space: nowrap !important;
  font-size: 0.82rem;
  padding: 7px 16px;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--cohere-slate);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.lang-btn:hover {
  color: var(--cohere-primary);
}

.lang-btn.active {
  background: var(--cohere-primary);
  color: #ffffff;
}

.lang-divider {
  font-size: 0.75rem;
  color: var(--cohere-hairline);
}

.nav-btn-mobile {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--cohere-primary);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section (Editorial Split)
   ========================================================================== */
.hero-section {
  padding-top: 150px;
  padding-bottom: 96px;
  background: var(--cohere-canvas);
  position: relative;
  border-bottom: 1px solid var(--cohere-border-light);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 56px;
  align-items: center;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cohere-pale-green);
  border: 1px solid #b7ebb0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cohere-deep-green);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--cohere-deep-green);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--cohere-primary);
  margin-bottom: 24px;
}

.hero-title .editorial-contrast {
  color: var(--cohere-deep-green);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--cohere-body-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-subtitle strong {
  color: var(--cohere-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.store-compatibility {
  padding-top: 28px;
  border-top: 1px solid var(--cohere-border-light);
}

.store-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cohere-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 14px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cohere-primary);
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.tech-pill svg {
  flex-shrink: 0;
}

/* Hero Right Visual (Architectural Card) */
.hero-visual {
  position: relative;
}

.cohere-spec-card {
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--cohere-hairline);
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cohere-slate);
  letter-spacing: 0.05em;
}

.spec-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--cohere-pale-green);
  color: var(--cohere-deep-green);
  border: 1px solid #b7ebb0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.spec-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--cohere-border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition);
}

.spec-item:hover {
  border-color: var(--cohere-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.spec-item-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cohere-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-item-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cohere-primary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: var(--cohere-soft-stone);
  border-bottom: 1px solid var(--cohere-hairline);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: #ffffff;
  border: 1px solid var(--cohere-card-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--cohere-hairline);
  box-shadow: var(--shadow-card-hover);
}

.about-card-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cohere-coral);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cohere-primary);
  margin-bottom: 24px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cohere-primary);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--cohere-body-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Services Section (What I Do)
   ========================================================================== */
.services-section {
  background: var(--cohere-canvas);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-box {
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-box:hover {
  background: #ffffff;
  border-color: var(--cohere-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

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

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--cohere-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cohere-primary);
  transition: var(--transition);
}

.service-box:hover .service-icon-wrap {
  background: var(--cohere-deep-green);
  color: #ffffff;
  border-color: var(--cohere-deep-green);
}

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cohere-slate);
  background: #ffffff;
  border: 1px solid var(--cohere-hairline);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cohere-primary);
  margin-bottom: 14px;
}

.service-box p {
  color: var(--cohere-body-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--cohere-hairline);
  padding-top: 24px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--cohere-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-bullet {
  font-family: var(--font-mono);
  color: var(--cohere-deep-green);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Projects Showcase Section
   ========================================================================== */
.projects-section {
  background: var(--cohere-stone-light);
  border-top: 1px solid var(--cohere-hairline);
  border-bottom: 1px solid var(--cohere-hairline);
}

.filter-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--cohere-hairline);
  color: var(--cohere-slate);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--cohere-primary);
  border-color: var(--cohere-primary);
  background: var(--cohere-soft-stone);
}

.filter-btn.active {
  background: var(--cohere-primary);
  color: #ffffff;
  border-color: var(--cohere-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--cohere-card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.project-card:hover {
  border-color: var(--cohere-hairline);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.project-thumb {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: var(--cohere-stone-light);
  border-bottom: 1px solid var(--cohere-border-light);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb img {
  transform: scale(1.03);
}

.project-status {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-status.in-progress {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--cohere-hairline);
  color: var(--cohere-primary);
}

.project-status.live {
  background: rgba(237, 252, 233, 0.95);
  border: 1px solid #b7ebb0;
  color: var(--cohere-deep-green);
}

.project-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cohere-coral);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cohere-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-text {
  font-size: 0.95rem;
  color: var(--cohere-body-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.project-tags span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cohere-slate);
  background: var(--cohere-stone-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cohere-hairline);
}

.project-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--cohere-border-light);
  padding-top: 20px;
}

.store-hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cohere-muted);
}

/* Callout Banner (Deep Green Product Band) */
.project-add-banner {
  margin-top: 60px;
  background: var(--cohere-deep-green);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #ffffff;
  box-shadow: var(--shadow-elevated);
}

.banner-content h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 1.05rem;
  color: #c9d5d2;
  max-width: 620px;
}

.project-add-banner .btn,
.project-add-banner .btn-primary {
  background-color: #ffffff !important;
  color: var(--cohere-primary) !important;
  border-color: #ffffff !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.project-add-banner .btn:hover,
.project-add-banner .btn-primary:hover {
  background-color: var(--cohere-soft-stone) !important;
  border-color: var(--cohere-soft-stone) !important;
  color: var(--cohere-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Verification & Trust Section
   ========================================================================== */
.verification-section {
  background: var(--cohere-canvas);
}

.verification-wrapper {
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-subtle);
}

.verification-badge-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--cohere-hairline);
}

.v-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--cohere-pale-green);
  border: 1px solid #b7ebb0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cohere-deep-green);
}

.v-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cohere-primary);
  margin-bottom: 6px;
}

.v-sub {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cohere-slate);
}

.verification-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 44px;
}

.v-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cohere-primary);
  margin-bottom: 12px;
}

.v-item p {
  font-size: 0.95rem;
  color: var(--cohere-body-muted);
  line-height: 1.65;
}

.v-mail {
  color: var(--cohere-coral);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-mono);
}

.v-mail:hover {
  text-decoration: underline;
}

.legal-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cohere-hairline);
  flex-wrap: wrap;
  gap: 20px;
}

.legal-action-bar span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cohere-slate);
  font-weight: 500;
}

.legal-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Direct Contact Section (No Form, No Social)
   ========================================================================== */
.contact-section {
  background: var(--cohere-soft-stone);
  border-top: 1px solid var(--cohere-hairline);
}

.direct-contact-wrapper {
  max-width: 920px;
  margin: 0 auto;
}

.contact-box-main {
  background: #ffffff;
  border: 1px solid var(--cohere-card-border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-card);
}

.contact-box-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--cohere-border-light);
}

.contact-badge-icon {
  width: 60px;
  height: 60px;
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cohere-primary);
  flex-shrink: 0;
}

.contact-box-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cohere-primary);
  margin-bottom: 6px;
}

.contact-box-header p {
  color: var(--cohere-body-muted);
  font-size: 1rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.c-info-card {
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.c-info-card:hover {
  background: #ffffff;
  border-color: var(--cohere-primary);
  transform: translateY(-2px);
}

.c-info-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cohere-slate);
}

.c-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cohere-primary);
  word-break: break-all;
}

.highlight-mail {
  color: var(--cohere-coral) !important;
  text-decoration: none;
  font-family: var(--font-mono);
}

.highlight-mail:hover {
  text-decoration: underline;
}

.contact-actions-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copy-feedback {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cohere-deep-green);
  min-height: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.copy-feedback.show {
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--cohere-hairline);
  background: #ffffff;
  padding: 72px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-desc {
  color: var(--cohere-body-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 360px;
  line-height: 1.6;
}

.footer-nav h4, .footer-legal h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cohere-slate);
  margin-bottom: 20px;
}

.footer-nav ul, .footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a, .footer-legal a {
  color: var(--cohere-primary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-nav a:hover, .footer-legal a:hover {
  color: var(--cohere-coral);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--cohere-border-light);
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cohere-slate);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 28, 0.6);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid var(--cohere-hairline);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--cohere-border-light);
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cohere-primary);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--cohere-slate);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--cohere-primary);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  color: var(--cohere-body-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h4 {
  font-family: var(--font-display);
  color: var(--cohere-primary);
  margin: 20px 0 10px;
  font-size: 1.15rem;
}

.modal-body p {
  margin-bottom: 14px;
}

.modal-body code {
  font-family: var(--font-mono);
  background: var(--cohere-stone-light);
  border: 1px solid var(--cohere-hairline);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  color: var(--cohere-coral);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 32px;
  border-top: 1px solid var(--cohere-border-light);
  background: var(--cohere-stone-light);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
}

/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet, Mobile Perfection)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .verification-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #ffffff;
    flex-direction: column;
    padding: 36px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--cohere-hairline);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cohere-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--cohere-border-light);
    width: 100%;
    white-space: normal !important;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-btn-mobile {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--cohere-primary);
    color: #ffffff !important;
    padding: 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .about-grid,
  .services-grid,
  .projects-grid,
  .verification-content-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .project-thumb {
    height: 220px;
  }

  .project-info {
    padding: 28px 22px;
  }

  .project-add-banner {
    padding: 32px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .project-add-banner .btn {
    width: 100%;
  }

  .verification-wrapper,
  .contact-box-main {
    padding: 32px 22px;
  }

  .contact-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions-bar .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding-left: 14px;
    padding-right: 14px;
    gap: 8px;
  }
  .brand-logo {
    gap: 8px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .logo-icon {
    width: 28px;
    height: 28px;
  }
  .lang-switcher {
    padding: 2px 4px;
    gap: 2px;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.7rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.6rem) !important;
    line-height: 1.15;
    word-break: break-word;
  }
}
