/* ==========================================================================
   Howard Software Systems Ltd - Official Stylesheet
   Aesthetic: Crisp Modern Light (High-contrast, clean minimalist agency look)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --bg-surface: #f1f5f9;
  --bg-dark: #090d16;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-focus: #2563eb;
  
  /* Primary Accent: Electric Sapphire / Apple Blue */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-border: #bfdbfe;
  
  /* trakdit Cinema Accents */
  --trakdit-amber: #f59e0b;
  --trakdit-rose: #f43f5e;
  --trakdit-purple: #8b5cf6;
  --trakdit-indigo: #4f46e5;
  --trakdit-dark: #0c0f1d;
  --trakdit-surface: #171b30;
  --trakdit-card: #1f2440;
  --trakdit-border: #2a3154;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 35px -5px rgba(37, 99, 235, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-primary-hover);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Padding */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Section Header Utility */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background-color: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag.cinema {
  color: #d97706;
  background-color: #fffbeb;
  border-color: #fde68a;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid #1e293b;
}

.btn-dark:hover {
  background-color: #1e293b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
  min-height: 4.25rem;
  gap: 1.5rem;
}

.brand-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.brand-text-group {
  display: inline-flex;
  align-items: center;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  line-height: 1;
}

.ltd-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #475569;
  padding: 0.15rem 0.42rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  display: inline-block;
  line-height: 1;
  letter-spacing: 0.04em;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1.2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-btn-app {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-btn-icon {
  border-radius: 4px;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section - Product-First (trakdit Spotlight)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #ffffff 70%);
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
  transition: transform var(--transition-fast);
}

.hero-app-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hero-app-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.hero-app-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-app-badge-highlight {
  color: var(--accent-primary);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: #090d16;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #475569;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.store-badge-btn {
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.store-badge-btn img {
  height: 48px;
  width: auto;
  border-radius: 10px;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.hero-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1rem;
}

.hero-pill-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.hero-pill-icon {
  color: var(--accent-primary);
  display: flex;
}

/* ==========================================================================
   Hardware Showcase Mockup (MacBook Pro & iPhone 16 Pro)
   ========================================================================== */
.mockup-wrapper {
  margin-top: 3.5rem;
  position: relative;
}

.mockup-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
}

.mockup-tab-btn {
  background: none;
  border: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-tab-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.mockup-tab-btn.active {
  background-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.device-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* MacBook Pro Frame */
.macbook-chassis {
  width: 100%;
  max-width: 840px;
  background: #18191c;
  border-radius: 20px 20px 4px 4px;
  padding: 12px 12px 0 12px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  z-index: 1;
}

.macbook-screen {
  background: #090a10;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid #232736;
  position: relative;
  line-height: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.macbook-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
  transition: transform var(--transition-normal);
}

.macbook-base {
  height: 14px;
  background: #25282e;
  border-radius: 0 0 16px 16px;
  position: relative;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.macbook-notch-bottom {
  width: 120px;
  height: 5px;
  background: #111215;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

/* iPhone Native Frame with Real trakdit iOS Screenshot */
.iphone-frame {
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 255px;
  background: #111317;
  border: 4px solid #2b2e36;
  border-radius: 46px;
  box-shadow: -15px 25px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  z-index: 10;
  padding: 5px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  line-height: 0;
}

.iphone-frame:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.iphone-bezel-wrap {
  border-radius: 38px;
  overflow: hidden;
  width: 100%;
  background: #000;
  display: block;
  line-height: 0;
}

.iphone-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
}

/* Feature Indicator Pills under Screenshots */
.screenshot-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 3rem;
  position: relative;
  z-index: 5;
}

.screenshot-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.screenshot-feat-pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.feat-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.feat-pill-dot.green { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.feat-pill-dot.orange { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.feat-pill-dot.purple { background: #8b5cf6; box-shadow: 0 0 8px rgba(139, 92, 246, 0.6); }
.feat-pill-dot.blue { background: #2563eb; box-shadow: 0 0 8px rgba(37, 99, 235, 0.6); }

/* ==========================================================================
   trakdit Feature Highlights Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.icon-blue {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.icon-amber {
  background-color: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.icon-purple {
  background-color: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.icon-emerald {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.icon-rose {
  background-color: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.icon-cyan {
  background-color: #ecfeff;
  color: #0891b2;
  border: 1px solid #a5f3fc;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-tech-tag {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Howard Software Systems Services Section
   ========================================================================== */
.services-section {
  background-color: #ffffff;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.service-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-highlight-bullet {
  color: #10b981;
  display: flex;
}

.service-tech-stack-row {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   Interactive Project Scope Calculator Widget
   ========================================================================== */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
}

.calc-step {
  margin-bottom: 2rem;
}

.calc-step-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-primary);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.calc-options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.calc-option-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.calc-option-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-light);
}

.calc-option-btn.selected {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: var(--shadow-sm);
}

/* Calculator Summary Box */
.calc-summary-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.88rem;
}

.summary-item-label {
  color: var(--text-muted);
}

.summary-item-val {
  font-weight: 700;
  color: var(--text-primary);
}

.summary-action-btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Engineering Standards & Process
   ========================================================================== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
}

.process-step-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--accent-border);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon-cross {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--accent-primary);
}

.faq-item.open .faq-icon-cross {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.open .faq-body {
  max-height: 300px;
  padding-bottom: 1.35rem;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.input-control, .select-control, .textarea-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.input-control:focus, .select-control:focus, .textarea-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.textarea-control {
  resize: vertical;
  min-height: 110px;
}

/* Honeypot anti-spam field (hidden from human eyes) */
.honey-field {
  display: none !important;
  visibility: hidden !important;
}

.form-status-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-status-alert.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status-alert.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid #1e293b;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .device-stage {
    flex-direction: column;
    align-items: center;
  }
  
  .iphone-frame {
    position: static;
    margin-top: 2.5rem;
    width: 270px;
    height: auto;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    gap: 0.75rem;
    z-index: 999;
  }

  .nav-links.mobile-active .nav-link {
    font-size: 1rem;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    justify-content: space-between;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }

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

@media (max-width: 768px) {
  .macbook-sidebar {
    display: none;
  }

  .mac-cards-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

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