/* ============================================
   JMS Dev Lab - Company Website
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand palette */
  --slate-950: #0c0f1a;
  --slate-900: #131729;
  --slate-800: #1c2038;
  --slate-700: #2d3352;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f6f7fa;

  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;

  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;

  --white: #ffffff;
  --off-white: #f8fafc;

  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
  --gradient-blue-hover: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1d4ed8 100%);
  --gradient-dark: linear-gradient(180deg, #0c0f1a 0%, #131729 100%);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing */
  --section-padding: 6rem 1.5rem;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-blue: 0 4px 14px rgba(37, 99, 235, 0.3);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-950);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.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;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.animate-fade-in-up-delay-1 {
  animation: fadeInUp 0.6s 0.15s ease both;
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 0.6s 0.3s ease both;
}

.animate-fade-in-up-delay-3 {
  animation: fadeInUp 0.6s 0.45s ease both;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--gradient-blue-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--blue-400);
  color: var(--blue-400);
  background: rgba(59, 130, 246, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--slate-900);
  border: 2px solid var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(12, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.navbar-logo img,
.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-logo .logo-jms {
  color: var(--blue-400);
}

.navbar-logo .logo-devlab {
  color: var(--white);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color var(--transition-fast);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--blue-400);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  margin: 6px 0;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--off-white), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-400);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Trust Badges Strip ---------- */
.trust-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.25rem 1.5rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-600);
  white-space: nowrap;
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--blue-500);
  flex-shrink: 0;
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--section-padding);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-white {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
}

.section-dark .section-label {
  color: var(--blue-400);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: var(--slate-400);
}

/* ---------- App Cards (Featured Apps) ---------- */
.app-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all var(--transition-base);
  position: relative;
}

.app-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-300);
  transform: translateY(-2px);
}

.app-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.app-card-icon.jsm {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.app-card-icon.staffhub {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.app-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.app-card-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}

.app-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.app-card .app-tagline {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.app-card .app-price {
  font-size: 0.875rem;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.app-card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.app-card-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Value Props (What We Do) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.value-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  border-radius: 12px;
  margin: 0 auto 1.25rem;
  color: var(--blue-600);
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--slate-950);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ---------- How We Build (Steps) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300), var(--blue-500));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid rgba(37, 99, 235, 0.25);
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-400);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--slate-400);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Tech Stack Strip ---------- */
.tech-strip {
  padding: 2rem 1.5rem;
  background: var(--slate-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-300);
  font-family: var(--font-mono);
}

/* ---------- App Detail Cards (Portfolio) ---------- */
.app-detail {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 3rem;
  margin-bottom: 3rem;
}

.app-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.app-detail-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2.25rem;
  flex-shrink: 0;
}

.app-detail-meta h3 {
  font-size: 1.75rem;
  margin-bottom: 0.375rem;
}

.app-detail-meta .app-tagline {
  font-size: 1rem;
  color: var(--slate-500);
  margin-bottom: 0.5rem;
}

.app-detail p.app-description {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 640px;
}

.app-detail-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.app-detail-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-weight: 500;
}

.app-detail-features li svg {
  width: 18px;
  height: 18px;
  color: var(--blue-500);
  flex-shrink: 0;
}

.app-detail-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.app-detail-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.app-detail-screenshots img {
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  width: 100%;
}

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.blog-card h3 a {
  color: var(--slate-950);
  transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
  color: var(--blue-600);
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-card .read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition-fast);
}

.blog-card .read-more:hover {
  gap: 0.625rem;
}

.blog-card .read-more svg {
  width: 16px;
  height: 16px;
}

/* ---------- Contact Cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  border-radius: 12px;
  margin: 0 auto 1rem;
  color: var(--blue-600);
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.contact-card a {
  color: var(--blue-600);
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-900);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 5rem 1.5rem;
  background: var(--slate-950);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--slate-400);
  margin-bottom: 2rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 0.75rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-300);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-400);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--slate-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-400);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Legal Pages ---------- */
.legal-hero {
  background: var(--gradient-dark);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.legal-hero p {
  font-size: 1rem;
  color: var(--slate-400);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--slate-950);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--slate-800);
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
}

.legal-content li {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.8;
  list-style: disc;
  margin-bottom: 0.375rem;
}

.legal-content ol li {
  list-style: decimal;
}

.legal-content a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--blue-500);
}

.legal-content strong {
  color: var(--slate-900);
  font-weight: 600;
}

/* ---------- Blog Article ---------- */
.article-meta {
  text-align: center;
  margin-bottom: 2rem;
}

.article-meta .blog-card-date {
  margin-bottom: 0.5rem;
}

/* ---------- About Page Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.values-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.values-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
}

.values-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.values-card p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ---------- About Story ---------- */
.about-story {
  max-width: 720px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-story strong {
  color: var(--slate-900);
}

.mission-box {
  background: var(--blue-100);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.mission-box p {
  color: var(--slate-800);
  font-weight: 500;
  margin-bottom: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .app-cards,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .app-detail-features {
    grid-template-columns: 1fr;
  }

  .app-detail-screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1rem;
  }

  .navbar-links,
  .navbar-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 15, 26, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-links.active a {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
  }

  .navbar-links.active a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .value-grid,
  .steps-grid,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .trust-badges {
    gap: 1.25rem;
    justify-content: center;
  }

  .trust-badge {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .app-detail {
    padding: 1.5rem;
  }

  .app-detail-header {
    flex-direction: column;
  }

  .app-detail-screenshots {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .trust-badges {
    gap: 1rem;
  }

  .trust-badge span {
    font-size: 0.6875rem;
  }
}
