/* ============================================================
   AUTOMECH PRO - Landing Page Style
   Design System: Stitch Industrial Precision | Orange Accent
   ============================================================ */

:root {
  --bg-primary: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark-accent: #0f172a;
  --bg-dark-card: #1e293b;
  --bg-glass: rgba(248, 250, 252, 0.85);
  --bg-glass-dark: rgba(15, 23, 42, 0.9);
  
  --primary: #f97316;        /* Orange */
  --primary-hover: #ea580c;  /* Orange Darker */
  --primary-glow: rgba(249, 115, 22, 0.2);
  --primary-subtle: rgba(249, 115, 22, 0.06);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --border: #e2e8f0;
  --border-dark: #334155;
  --border-active: #f97316;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 6px 20px rgba(249, 115, 22, 0.3);
  
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* --- Layout Wrapper --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header / Navigation --- */
.landing-header {
  position: sticky;
  top: 0;
  height: 72px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-primary);
}
.brand-icon .material-symbols-rounded {
  font-size: 20px;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.nav-menu {
  display: flex;
  gap: 24px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.4)), 
              url('../hero_mechanic_bg.png') no-repeat center center / cover;
  color: var(--text-white);
  padding: 80px 0;
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}
.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 500px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.stats-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 100px;
  line-height: 1.3;
}

/* --- Services Section --- */
.services {
  padding: 80px 0;
}
.section-header {
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.section-title-wrapper {
  max-width: 500px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.section-link:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249, 115, 22, 0.2);
}
.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.08); /* light blue accent */
  color: #0ea5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon-box .material-symbols-rounded {
  font-size: 26px;
}
.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex: 1;
}
.service-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* --- Diagnostic Callout Section --- */
.diagnostic-callout {
  background: var(--bg-dark-accent);
  color: var(--text-white);
  padding: 80px 0;
  border-top: 1px solid var(--border-dark);
}
.callout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .callout-wrapper { grid-template-columns: 1fr; gap: 40px; }
}
.callout-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.callout-content .desc {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 36px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-item {
  display: flex;
  gap: 16px;
}
.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-info p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}
.callout-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}
.mockup-tablet {
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 12px solid #1e293b;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: #000;
  overflow: hidden;
}
.mockup-tablet img {
  width: 100%;
  display: block;
}

/* --- Footer --- */
.landing-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 0 100px; /* offset for bottom mobile nav */
  font-size: 13px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo .brand-icon {
  width: 32px; height: 32px;
  box-shadow: none;
}
.footer-logo .brand-name {
  color: var(--text-white);
  font-size: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a:hover {
  color: var(--text-white);
}
.footer-contact {
  display: flex;
  align-items: center;
}
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  color: var(--text-white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}
.phone-btn:hover {
  background: var(--primary);
  box-shadow: var(--shadow-primary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--text-white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}
.btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: var(--border-active);
}
.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
}

/* --- Bottom Mobile Bar --- */
.bottom-mobile-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-dark);
  display: none;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  gap: 3px;
  flex: 1;
}
.bnav-item .material-symbols-rounded {
  font-size: 22px;
}
.bnav-item.active {
  color: var(--primary);
}

/* --- Animations --- */
.animate-in {
  animation: fadeInUp 0.5s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .bottom-mobile-nav { display: flex; }
  .hero { text-align: center; justify-content: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 36px; }
  .stats-bar { padding: 16px 0; }
  .stats-wrapper { justify-content: grid; grid-template-columns: 1fr; gap: 16px; }
  .stat-item { justify-content: center; }
  .section-header { text-align: center; justify-content: center; }
  .section-link { margin-top: 10px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-nav { flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
