/* ═══════════════════════════════════════
   SHARED STYLES — learninganalytics.ai
   ═══════════════════════════════════════ */

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #2c2c2c;
  background: #fff;
}

/* ── NAV BAR ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: unset;
  height: auto;
}

nav .logo img { height: 52px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: #2c2c2c;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s;
}

nav ul li a:hover { color: #c0392b; }

nav ul li.cta a {
  background: #c0392b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
}

nav ul li.cta a:hover { background: #a93226; color: #fff; }

/* ── FOOTER ── */
footer {
  background: #1a1a2e;
  color: #888;
  text-align: center;
  padding: 28px 48px;
  font-size: 0.85rem;
}

footer a { color: #c0392b; text-decoration: none; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2c2c4a 100%);
  color: #fff;
  text-align: center;
  padding: 40px 48px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: #e74c3c; }

.hero p {
  font-size: 1.2rem;
  color: #c0c0d0;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}

.hero-cta:hover { background: #a93226; }

/* ── PAGE HEADER (tools.html) ── */
.page-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #2c2c4a 100%);
  color: #fff;
  text-align: center;
  padding: 40px 48px;
}

.page-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.page-header p { font-size: 1.1rem; color: #c0c0d0; }

/* ── INTRO ── */
.intro {
  text-align: center;
  padding: 80px 48px 40px;
  max-width: 860px;
  margin: 0 auto;
}

.intro h2 {
  font-size: 1.6rem;
  color: #c0392b;
  margin-bottom: 20px;
  font-weight: 600;
}

.intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

/* ── APPS GRID ── */
.apps-section {
  padding: 60px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.apps-section h2 {
  text-align: center;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 40px;
}

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

.app-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px 28px;
  text-decoration: none;
  color: #2c2c2c;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.app-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-color: #c0392b;
}

.app-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #1a1a2e; }
.app-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.app-card .arrow {
  display: inline-block;
  margin-top: 20px;
  color: #c0392b;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── TEAMSHIPIQ PAGE ── */
.header {
  padding: 40px 60px 30px;
  border-bottom: 1px solid #eee;
  max-width: 860px;
  margin: 0 auto;
}

.header h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -1px; }
.header h1 span { color: #e85d1a; }
.header h2 { font-size: 1.15rem; font-weight: 700; margin: 10px 0 8px; }
.header p { font-size: 0.97rem; color: #444; line-height: 1.6; }

.hidden-costs { background: #f5f5f5; }
.hidden-costs h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; text-align: center; }

.cards-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.card { background: #fff; border-radius: 10px; padding: 22px 20px; flex: 1; min-width: 220px; max-width: 280px; box-shadow: 0 1px 6px rgba(0,0,0,0.07); }
.card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.87rem; color: #555; line-height: 1.55; }

.stat-section { text-align: center; padding: 36px 60px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stat-section .big-number { font-size: 2.8rem; font-weight: 900; color: #e85d1a; }
.stat-section p { font-size: 0.97rem; color: #444; margin-top: 6px; }

.introducing { text-align: center; background: #fff; }
.introducing h2 { font-size: 1.6rem; font-weight: 900; }
.introducing .tagline { color: #e85d1a; font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1px; margin: 8px 0 18px; }
.introducing .sub { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.introducing .desc { font-size: 0.93rem; color: #555; margin-bottom: 30px; }
.introducing .desc em { font-style: italic; }

.steps-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.step { background: #f5f5f5; border-radius: 10px; padding: 28px 22px; flex: 1; min-width: 200px; max-width: 240px; text-align: center; }
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step h4 { font-weight: 800; font-size: 0.97rem; margin-bottom: 8px; }
.step p { font-size: 0.84rem; color: #555; line-height: 1.5; }

.benefits { background: #fff; }
.benefits h2 { text-align: center; font-size: 1.5rem; font-weight: 900; margin-bottom: 28px; }
.benefit-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.benefit-card { background: #f5f5f5; border-radius: 10px; padding: 22px 20px; flex: 1; min-width: 220px; max-width: 280px; }
.benefit-card .bc-icon { font-size: 1.5rem; margin-bottom: 4px; }
.benefit-card h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 4px; }
.benefit-card .bc-sub { font-weight: 800; font-size: 0.9rem; margin-bottom: 6px; color: #222; }
.benefit-card p { font-size: 0.85rem; color: #555; line-height: 1.5; }

.cta-section { background: #f5f5f5; text-align: center; padding: 50px 60px; }
.cta-section h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.cta-section h3 span { color: #e85d1a; }
.cta-section p { font-size: 0.93rem; color: #555; margin-bottom: 22px; }
.cta-btn { display: inline-block; background: transparent; border: 2px solid #e85d1a; color: #e85d1a; text-decoration: underline; padding: 12px 28px; border-radius: 30px; font-weight: 600; font-size: 0.93rem; cursor: pointer; }
.cta-email { display: block; margin-top: 18px; color: #e85d1a; font-size: 0.9rem; text-decoration: underline; }

/* ══════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;
    padding: 12px 20px;
    gap: 12px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }

  nav ul li a { font-size: 0.75rem; padding: 6px 8px; }
  nav ul li.cta a { padding: 8px 12px; }

  .hero { padding: 30px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .page-header { padding: 30px 20px; }
  .page-header h1 { font-size: 1.6rem; }

  .intro { padding: 40px 20px 20px; }
  .intro h2 { font-size: 1.3rem; }

  .apps-section { padding: 40px 20px 60px; }
  .apps-grid { grid-template-columns: 1fr; }

  section { padding: 30px 20px; }

  .header { padding: 30px 20px 20px; }

  .cards-row, .steps-row, .benefit-cards {
    flex-direction: column;
    align-items: center;
  }

  .card, .step, .benefit-card {
    max-width: 100%;
    width: 100%;
  }

  .stat-section { padding: 30px 20px; }
  .cta-section { padding: 40px 20px; }

  footer { padding: 20px; }
}
