/* ai1offs.com — Custom Apps Spoke */
:root {
  --bg: #080C14;
  --surface: #1a2235;
  --surface-raised: #1f2a42;
  --orange: #E8622A;
  --orange-light: #F07848;
  --cream: #F5F5F0;
  --text: #F5F5F0;
  --text-muted: #8896B0;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 6px;
  --transition: 200ms ease;
  --max-w: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav-links a:active { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }
.nav-cta:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.nav-cta:active { background: var(--orange); transform: translateY(0); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232, 98, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(232, 98, 42, 0.3);
}

.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 98, 42, 0.4);
}
.btn-orange:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.btn-orange:active {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(232, 98, 42, 0.3);
}

section { padding: 96px 40px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: rgba(232, 98, 42, 0.4);
  transform: translateY(-3px);
}

.service-icon { font-size: 28px; margin-bottom: 14px; }
.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--cream); }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  border-color: rgba(232, 98, 42, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
}

.project-thumb img { width: 100%; height: 100%; object-fit: cover; }

.project-body { padding: 20px; }

.project-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.status-live { background: rgba(45, 160, 100, 0.15); color: #2DA064; }
.status-dev  { background: rgba(232, 161, 42, 0.15); color: #E8A12A; }

.project-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--cream); }
.project-body p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.project-link { font-size: 13px; color: var(--orange); text-decoration: none; font-weight: 500; }
.project-link:hover { color: var(--orange-light); }
.project-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.project-link:active { color: var(--orange-light); }

.cred-strip {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 40px;
}

.cred-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.cred-stat { text-align: center; }
.cred-stat .number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
}
.cred-stat .label { font-size: 13px; color: var(--text-muted); }

.final-cta {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta p { color: var(--text-muted); margin-bottom: 32px; font-size: 17px; }

.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-input:focus { border-color: var(--orange); }
.form-input::placeholder { color: var(--text-muted); }

footer {
  padding: 32px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer p { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--cream); }
.footer-links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer-links a:active { color: var(--orange); }

/* Scroll reveal */
.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  section { padding: 64px 20px; }
  .cred-inner { gap: 32px; }
  footer { padding: 24px 20px; flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}
