/* ── NomNomBites company site — styles ───────────────────────────────────── */

:root {
  --orange:   #FF6B35;
  --amber:    #F59E0B;
  --red:      #FF6B6B;
  --grad:     linear-gradient(135deg, #FF6B35 0%, #F59E0B 100%);
  --grad-h:   linear-gradient(135deg, #e85a22 0%, #e08e00 100%);

  --bg:       #f8f8fa;
  --surface:  #ffffff;
  --surface2: #f1f1f5;
  --border:   #e4e4ea;
  --text:     #1a1a2e;
  --text-2:   #5a5a7a;
  --text-3:   #8888aa;
  --radius:   16px;
  --radius-sm:10px;
  --shadow:   0 2px 16px rgba(0,0,0,.08);
  --shadow-lg:0 8px 40px rgba(0,0,0,.13);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #0f0f18;
    --surface:  #1c1c2e;
    --surface2: #252538;
    --border:   #2e2e48;
    --text:     #f0f0f8;
    --text-2:   #a0a0c0;
    --text-3:   #606080;
    --shadow:   0 2px 16px rgba(0,0,0,.4);
    --shadow-lg:0 8px 40px rgba(0,0,0,.5);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.nav-contact {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 7px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  transition: border-color .15s, color .15s;
}
.nav-contact:hover { border-color: var(--orange); color: var(--orange); }

/* ── Page wrapper ─────────────────────────────────────────────────────────── */
.page { max-width: 960px; margin: 0 auto; padding: 0 24px 100px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 28px;
}

.wordmark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 32px;
  box-shadow: 0 12px 40px rgba(255,107,53,.3);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Apps section ─────────────────────────────────────────────────────────── */
.section { margin-top: 80px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section > .subtitle {
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ── App card ─────────────────────────────────────────────────────────────── */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow .2s, transform .2s;
}

.app-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF6B6B 0%, #F59E0B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(255,107,107,.3);
}

.app-card-body { flex: 1; min-width: 0; }

.app-card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.app-card-body .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255,107,107,.15), rgba(245,158,11,.15));
  color: var(--orange);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.app-card-body p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.app-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 14px;
  transition: transform .15s, box-shadow .15s;
}

.app-link:hover { transform: translateY(-1px); }

.app-link-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255,107,53,.35);
}

.app-link-outline {
  background: var(--surface2);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.app-link-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ── Values / About ───────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,107,53,.15), rgba(245,158,11,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-card h3 {
  font-size: .97rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.value-card p {
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-top: 28px;
}

.contact-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-box p {
  color: var(--text-2);
  margin-bottom: 20px;
  font-size: .95rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(255,107,53,.35);
  transition: transform .15s, box-shadow .15s;
}

.contact-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,107,53,.5);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 32px 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: .82rem;
  color: var(--text-3);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .app-card { flex-direction: column; }
  .app-card-icon { width: 52px; height: 52px; border-radius: 12px; }
}
