:root {
  --orange: #B35000;
  --orange-light: #D4600A;
  --charcoal: #111111;
  --slate: #1B2A3B;
  --slate-mid: #243447;
  --warm-gray: #F5F3F0;
  --off-white: #FAF9F7;
  --white: #FFFFFF;
  --border: #E2DDD8;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #696969;
  --m365-blue: #0078D4;
  --word-blue: #2B579A;
  --excel-green: #217346;
  --ppt-orange: #D24726;
  --teams-purple: #6264A7;
  --outlook-blue: #0072C6;
  --onedrive-blue: #0078D4;
  --sharepoint-teal: #038387;
  --onenote-purple: #7719AA;
  --powerbi-yellow: #E8B824;
  --planner-green: #31752F;
  --forms-green: #007E5A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text-primary); background: var(--white); overflow-x: hidden; }

/* ── SYSTEM BAR ── */
.m365-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 4.6rem 2rem 4.15rem;
  background:
    radial-gradient(circle at top left, rgba(0,120,212,0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(191,87,0,0.14), transparent 22%),
    linear-gradient(135deg, #08111d 0%, #102134 56%, #173149 100%);
}

.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
@media (max-width: 780px) { .hero-inner { grid-template-columns: 1fr; } .hero-stats { flex-direction: row; flex-wrap: wrap; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,120,212,0.2); border: 1px solid rgba(0,120,212,0.4);
  color: #7ec8ff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em;
  padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }
.hero-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.1; margin-bottom: 0.75rem; }
.hero-title .m365-accent { color: #7ec8ff; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 520px; line-height: 1.65; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--orange-light); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.7rem 1.5rem; border-radius: 6px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-stats { display: flex; flex-direction: column; gap: 1rem; }
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 1.25rem 1.75rem;
  min-width: 130px;
}
.hero-stat-num { font-size: 2.1rem; font-weight: 800; color: #7ec8ff; line-height: 1; }
.hero-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.4; }

/* ── QUICK LAUNCH ── */
section.quick-launch {
  background: var(--charcoal);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ql-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ql-label { color: rgba(255,255,255,0.62); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-right: 0.5rem; white-space: nowrap; }
.ql-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px; text-decoration: none;
  color: rgba(255,255,255,0.82); font-size: 0.78rem; font-weight: 500;
  transition: all 0.15s;
}
.ql-link:hover { background: rgba(255,255,255,0.13); color: #fff; border-color: rgba(255,255,255,0.25); }
.ql-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ── SHARED LAYOUT ── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--charcoal); margin-bottom: 0.65rem; }
.section-sub { font-size: 0.95rem; color: var(--text-secondary); max-width: 620px; line-height: 1.65; margin-bottom: 2.5rem; }

/* ── A5 LICENSE OVERVIEW ── */
section.a5-overview {
  background: var(--white);
  padding: 4.5rem 2rem;
}
.a5-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.a5-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 1.5rem; background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.a5-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.a5-icon {
  width: 42px; height: 42px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 0.9rem;
}
.a5-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.35rem; }
.a5-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }
.a5-card ul { list-style: none; margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.a5-card ul li { font-size: 0.78rem; color: var(--text-secondary); padding-left: 1rem; position: relative; }
.a5-card ul li::before { content: '·'; position: absolute; left: 0.2rem; color: var(--orange); font-weight: 700; }
.a5-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem; border-radius: 3px;
  margin-bottom: 0.6rem;
}
.tag-orange { background: #fff0e8; color: var(--orange); }

/* ── COPILOT TIERS ── */
section.copilot-section {
  background: var(--warm-gray);
  padding: 4.5rem 2rem;
}
.copilot-intro { margin-bottom: 2.5rem; }
.copilot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 720px) { .copilot-grid { grid-template-columns: 1fr; } }
.copilot-card {
  background: var(--white); border-radius: 12px;
  border: 2px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s;
}
.copilot-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.copilot-card.featured { border-color: var(--m365-blue); }
.copilot-card-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.copilot-card.featured .copilot-card-header {
  background: linear-gradient(135deg, rgba(0,120,212,0.07) 0%, rgba(0,120,212,0.02) 100%);
}
.tier-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.2rem 0.65rem; border-radius: 4px;
  margin-bottom: 0.8rem;
}
.badge-included { background: #dcfce7; color: #15803d; }
.badge-addon { background: #fef3c7; color: #854d0e; }
.copilot-title { font-size: 1.15rem; font-weight: 800; color: var(--charcoal); margin-bottom: 0.3rem; }
.copilot-sub { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
.copilot-card-body { padding: 1.5rem 1.75rem; flex: 1; }
.copilot-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.copilot-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.83rem; color: var(--text-primary); line-height: 1.45;
}
.copilot-features li .cf-check { color: #16a34a; font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }
.copilot-card-footer { padding: 1rem 1.75rem 1.5rem; border-top: 1px solid var(--border); }
.btn-m365 {
  display: inline-block;
  background: var(--m365-blue); color: #fff;
  padding: 0.6rem 1.25rem; border-radius: 6px;
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: opacity 0.2s;
}
.btn-m365:hover { opacity: 0.87; }
.btn-m365-outline {
  display: inline-block;
  background: transparent; color: var(--orange);
  border: 1px solid var(--orange);
  padding: 0.6rem 1.25rem; border-radius: 6px;
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-m365-outline:hover { background: var(--orange); color: #fff; }
.copilot-note {
  background: rgba(0,120,212,0.06); border-left: 3px solid var(--m365-blue);
  border-radius: 0 6px 6px 0; padding: 0.75rem 1rem;
  margin-top: 1.25rem; font-size: 0.78rem; color: var(--text-secondary); line-height: 1.55;
}
.copilot-note a { color: var(--m365-blue); text-decoration: none; }
.copilot-note a:hover { text-decoration: underline; }

/* ── APP SHOWCASE ── */
section.apps-showcase {
  background: var(--white);
  padding: 4.5rem 2rem;
}
.apps-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.app-tab {
  padding: 0.4rem 1rem; border-radius: 20px; border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; cursor: pointer;
  background: var(--white); color: var(--text-secondary);
  transition: all 0.15s;
}
.app-tab.active, .app-tab:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.app-card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 1.25rem 1rem; text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: var(--white);
}
.app-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.app-icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; flex-shrink: 0;
}
.app-name { font-size: 0.83rem; font-weight: 600; color: var(--charcoal); }
.app-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }

/* ── GETTING STARTED ── */
section.getting-started {
  background: var(--slate);
  padding: 4.5rem 2rem;
  color: #fff;
}
.gs-header { margin-bottom: 2.5rem; }
.gs-header .section-label { color: #7ec8ff; }
.gs-header .section-title { color: #fff; }
.gs-header .section-sub { color: rgba(255,255,255,0.7); max-width: 100%; margin-bottom: 0; }
.gs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.gs-step {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 1.75rem;
}
.gs-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 800; margin-bottom: 1rem;
}
.gs-step h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.gs-step p { font-size: 0.82rem; color: rgba(255,255,255,0.68); line-height: 1.6; }
.gs-step a { color: #7ec8ff; text-decoration: none; }
.gs-step a:hover { text-decoration: underline; }
.gs-tip {
  margin-top: 2rem; background: rgba(0,120,212,0.15); border: 1px solid rgba(0,120,212,0.25);
  border-radius: 8px; padding: 1.1rem 1.5rem;
  font-size: 0.83rem; color: rgba(255,255,255,0.8); line-height: 1.55;
}
.gs-tip strong { color: #7ec8ff; }

/* ── TRAINING ── */
section.training-section {
  background: var(--off-white);
  padding: 4.5rem 2rem;
}
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.training-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.5rem; transition: box-shadow 0.2s;
}
.training-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.training-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 0.18rem 0.55rem; border-radius: 3px;
  margin-bottom: 0.75rem;
}
.tag-free { background: #dcfce7; color: #15803d; }
.tag-self { background: #e0f2fe; color: #0369a1; }
.tag-live { background: #f3e8ff; color: #7e22ce; }
.training-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.4rem; }
.training-card p { font-size: 0.81rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 1rem; }
.training-link { font-size: 0.82rem; font-weight: 600; color: var(--orange); text-decoration: none; }
.training-link:hover { text-decoration: underline; }

/* ── SUPPORT TRIPTYCH ── */
section.support-section {
  background: var(--white);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.support-card {
  text-align: center; padding: 2rem 1.5rem;
  border: 1px solid var(--border); border-radius: 10px;
  transition: box-shadow 0.2s;
}
.support-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.support-icon { font-size: 2rem; margin-bottom: 1rem; }
.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.support-card p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 1.25rem; }
.support-link {
  display: inline-block; font-size: 0.84rem; font-weight: 600;
  color: var(--orange); text-decoration: none;
  border: 1px solid var(--orange); border-radius: 6px;
  padding: 0.5rem 1.1rem; transition: all 0.2s;
}
.support-link:hover { background: var(--orange); color: #fff; }

/* ── FOOTER ── */
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 0.75rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.81rem; text-decoration: none; margin-bottom: 0.4rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
