/* AeroCore Material Recovery — Main Stylesheet */
/* Mobile-first, SEO-optimized, no framework dependencies */

/* ============================================
   RESET & BASE
   ============================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root {
  --primary: #1e3a6e;
  --primary-dark: #152d56;
  --primary-light: #e8eef6;
  --primary-50: rgba(30,58,110,0.05);
  --primary-10: rgba(30,58,110,0.1);
  --accent: #2d5ba0;
  --accent-light: #4a7ec4;
  --dark: #0c1529;
  --dark-2: #131f36;
  --dark-3: #1a2b47;
  --text: #1a1a2e;
  --text-light: #4a5568;
  --text-muted: #6b7c8f;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark: #0c1529;
  --border: #dce3ed;
  --border-light: #e8eef5;
  --success: #38a169;
  --warning: #d69e2e;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  padding: 12px 24px;
  font-size: 14px;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,58,110,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
}
.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 18px;
}
.logo-text {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.logo-text strong { font-weight: 700; }
.nav-link.active { color: var(--primary); background: var(--primary-50); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30,58,110,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,110,0.1) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(30,58,110,0.2);
  border: 1px solid rgba(30,58,110,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #6ba3e8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.text-accent { color: #6ba3e8; }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #6ba3e8;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-badge-light {
  background: rgba(107,163,232,0.15);
  color: #6ba3e8;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   MATERIALS GRID
   ============================================ */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.material-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
}
.material-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.material-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}
.material-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.material-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.material-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.pricing-table thead {
  background: var(--dark);
  color: #fff;
}
.pricing-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--primary-50); }
.price-cell {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.process-step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.process-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
  flex-shrink: 0;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   ID GUIDE
   ============================================ */
.id-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.id-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.id-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.id-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.id-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.id-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  background: var(--bg);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after {
  content: '\2212';
}
.faq-answer {
  padding: 0 24px 18px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.contact-info > p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  color: #fff;
  transition: all var(--transition);
}
.contact-method:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.contact-method svg { flex-shrink: 0; color: #6ba3e8; }
.contact-method strong { display: block; font-size: 15px; }
.contact-method span { display: block; font-size: 12px; color: rgba(255,255,255,0.5); }
.contact-note {
  padding: 14px 18px;
  background: rgba(107,163,232,0.1);
  border: 1px solid rgba(107,163,232,0.2);
  border-radius: var(--radius);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.contact-form-wrap {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-10);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.file-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.file-upload:hover { border-color: var(--primary); background: var(--primary-50); }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.file-upload-content svg { color: var(--text-muted); }
.file-upload-content span { font-size: 13px; color: var(--text-muted); }
.file-upload-content small { font-size: 11px; color: var(--text-muted); opacity: 0.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo .logo-text { color: #fff; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: #6ba3e8; }
.footer-col li:not(:has(a)) { font-size: 14px; }

.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-sitemap {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-sitemap h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.sitemap-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.sitemap-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.sitemap-links a:hover { color: #6ba3e8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Section CTA link */
.section-cta { text-align: center; margin-top: 32px; }

/* Material card as link */
.material-card-link { text-decoration: none; color: inherit; display: block; }
.material-card-link:hover { color: inherit; }

/* Page header (for sub-pages) */
.page-header {
  padding: 120px 0 48px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
  color: #fff;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb a:hover { color: #6ba3e8; }

/* Content section for sub-pages */
.content-section { padding: 60px 0; }
.content-section h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.content-section h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.content-section p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.content-section ul, .content-section ol { margin: 0 0 16px 24px; color: var(--text-light); }
.content-section li { margin-bottom: 6px; line-height: 1.7; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-link { padding: 6px 8px; font-size: 12px; }
  .nav-links { gap: 1px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .id-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { padding: 12px 0; font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }

  .materials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .id-grid { grid-template-columns: 1fr 1fr; }

  .process-grid { flex-direction: column; align-items: center; gap: 24px; }
  .process-connector { transform: rotate(90deg); }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .pricing-table { font-size: 13px; }
  .pricing-table th, .pricing-table td { padding: 10px 14px; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-items { flex-direction: column; gap: 12px; align-items: center; }
  .id-grid { grid-template-columns: 1fr; }
}
