/* ============================================
   AeroSapiens Website - Shared Stylesheet
   Dark theme | Orange accent #F26522
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --orange: #F26522;
  --orange-light: #FF8C42;
  --orange-glow: rgba(242,101,34,0.15);
  --dark: #0A0A0A;
  --darker: #050505;
  --card: #111111;
  --card-hover: #161616;
  --text: #FFFFFF;
  --text-muted: #888888;
  --border: #222222;
  --border-hover: #333333;
  --max-width: 1200px;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--orange); color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ============================================
   NAVBAR
   ============================================ */
.as-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.as-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.as-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.as-brand-icon {
  width: 36px;
  height: 36px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.as-brand-icon::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background: white;
  transform: rotate(-45deg);
}

.as-brand-icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  top: 6px;
  left: 6px;
  box-shadow: 8px 0 0 white, 0 8px 0 white, 8px 8px 0 white;
}

.as-brand span { color: var(--orange); }

.as-nav-links { display: flex; gap: 36px; list-style: none; }

.as-nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.as-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
  border-radius: 1px;
}

.as-nav-links a:hover,
.as-nav-links a.active { color: var(--text); }

.as-nav-links a:hover::after,
.as-nav-links a.active::after { width: 100%; }

.as-nav-cta {
  background: var(--orange);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.as-nav-cta:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--orange-glow);
}

/* Mobile menu toggle */
.as-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.as-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 1px;
}

/* ============================================
   BUTTONS
   ============================================ */
.as-btn-primary {
  background: var(--orange);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.as-btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.as-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.as-btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.as-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 32px;
}

.as-section-header {
  margin-bottom: 60px;
}

.as-section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.as-section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.as-section-title span { color: var(--orange); }

.as-section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================
   CARDS
   ============================================ */
.as-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.as-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.as-card:hover::before { transform: scaleX(1); }

.as-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.as-card-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  border: 1px solid rgba(242,101,34,0.2);
}

.as-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.as-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   STATS
   ============================================ */
.as-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.as-stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.as-stat-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(242,101,34,0.06);
}

.as-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.as-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================
   CONTACT ITEMS
   ============================================ */
.as-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.as-contact-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: 18px;
  border: 1px solid rgba(242,101,34,0.2);
}

.as-contact-item div h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.as-contact-item div p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   FORM
   ============================================ */
.as-form-group { margin-bottom: 20px; }

.as-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.as-form-group input,
.as-form-group textarea,
.as-form-group select {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.as-form-group input:focus,
.as-form-group textarea:focus,
.as-form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.as-form-group textarea { min-height: 120px; resize: vertical; }

.as-form-group input::placeholder,
.as-form-group textarea::placeholder { color: #444; }

/* ============================================
   FOOTER
   ============================================ */
.as-footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  text-align: center;
}

.as-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  opacity: 0.6;
}

.as-footer-brand span { color: var(--orange); }

.as-footer p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.as-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.as-footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}

.as-footer-links a:hover { color: var(--orange); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.as-animate {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.as-delay-1 { animation-delay: 0.1s; }
.as-delay-2 { animation-delay: 0.2s; }
.as-delay-3 { animation-delay: 0.3s; }
.as-delay-4 { animation-delay: 0.4s; }

/* Scroll reveal class - activated by JS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .as-nav-links { display: none; }
  .as-menu-toggle { display: flex; }

  .as-section { padding: 60px 24px; }
  .as-section-title { font-size: 32px; }

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

@media (max-width: 768px) {
  .as-section-title { font-size: 28px; }
  .as-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .as-stat-card { padding: 24px 16px; }
  .as-stat-num { font-size: 28px; }

  .as-footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .as-stats { grid-template-columns: 1fr 1fr; }
  .as-brand { font-size: 18px; }
  .as-brand-icon { width: 30px; height: 30px; }
}
