/* =====================================================
   akademiax.de – Custom Stylesheet
   ===================================================== */

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

:root {
  --ax-primary:    #6366F1;
  --ax-primary-d:  #4F46E5;
  --ax-violet:     #8B5CF6;
  --ax-dark:       #0B0F1A;
  --ax-dark-2:     #111827;
  --ax-dark-3:     #1E293B;
  --ax-slate:      #334155;
  --ax-muted:      #64748B;
  --ax-border:     #E2E8F0;
  --ax-bg:         #F8FAFC;
  --ax-white:      #FFFFFF;
  --ax-success:    #10B981;
  --ax-danger:     #EF4444;
  --gradient-hero: linear-gradient(135deg, #0B0F1A 0%, #0F172A 50%, #1a1040 100%);
  --gradient-btn:  linear-gradient(135deg, #6366F1, #8B5CF6);
  --shadow-card:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lift:   0 8px 32px rgba(99,102,241,.18);
  --radius-card:   16px;
  --radius-btn:    10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ax-dark);
  background: var(--ax-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--ax-primary); border-radius: 4px; }

/* ── Typography helpers ────────────────────────────── */
.ax-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ax-primary);
  background: rgba(99,102,241,.1);
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.ax-label--light {
  color: #a5b4fc;
  background: rgba(165,180,252,.12);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.display-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.section-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

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

/* ── Buttons ───────────────────────────────────────── */
.btn-ax-primary {
  background: var(--gradient-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  padding: .75rem 1.75rem;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-ax-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  color: #fff;
  opacity: .95;
}
.btn-ax-primary:active { transform: translateY(0); }

.btn-ax-outline {
  background: transparent;
  color: var(--ax-white);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius-btn);
  padding: .7rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .15s, background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-ax-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  color: var(--ax-white);
  transform: translateY(-2px);
}

.btn-ax-light {
  background: var(--ax-white);
  color: var(--ax-primary);
  border: 1.5px solid var(--ax-border);
  border-radius: var(--radius-btn);
  padding: .7rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-ax-light:hover {
  border-color: var(--ax-primary);
  box-shadow: 0 4px 16px rgba(99,102,241,.12);
  color: var(--ax-primary);
  transform: translateY(-2px);
}

/* ── Navbar ────────────────────────────────────────── */
#axNav {
  background: rgba(11, 15, 26, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .6rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: background .3s ease;
}

#axNav.scrolled {
  background: rgba(11, 15, 26, .98);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.ax-navbar-logo {
  height: 38px;
  width: auto;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .4rem .9rem !important;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.06);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero ──────────────────────────────────────────── */
#hero {
  background: var(--gradient-hero);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,.18) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--ax-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-trust {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  margin-top: 1.5rem;
}

/* ── Dashboard Mockup ──────────────────────────────── */
.ax-mockup-wrap {
  position: relative;
}

.ax-mockup {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
  z-index: 1;
}

.ax-mockup-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ax-mockup-header .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.ax-mockup-header .dot.red   { background: #EF4444; }
.ax-mockup-header .dot.yellow { background: #F59E0B; }
.ax-mockup-header .dot.green  { background: #10B981; }

.ax-mockup-header .url-bar {
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: .2rem .75rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  font-family: monospace;
  flex: 1;
  text-align: center;
}

.ax-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: .75rem;
}

.ax-dash-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: .75rem;
}

.ax-dash-card .label {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: .25rem;
}

.ax-dash-card .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.ax-dash-card .value span {
  font-size: .75rem;
  font-weight: 500;
  color: var(--ax-success);
}

.ax-dash-progress {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: .75rem;
  margin-bottom: .75rem;
}

.ax-dash-progress .label {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: .5rem;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}

.progress-row .name {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-row .bar-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-row .bar {
  height: 100%;
  background: var(--gradient-btn);
  border-radius: 10px;
}

.progress-row .pct {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  width: 28px;
  text-align: right;
}

.ax-dash-event {
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 10px;
  padding: .6rem .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.ax-dash-event .ev-icon {
  width: 28px; height: 28px;
  background: var(--gradient-btn);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.ax-dash-event .ev-info .ev-title {
  font-size: .7rem;
  color: #fff;
  font-weight: 600;
}

.ax-dash-event .ev-info .ev-time {
  font-size: .63rem;
  color: rgba(255,255,255,.45);
}

/* ── Sections ──────────────────────────────────────── */
.ax-section {
  padding: 5rem 0;
}

.ax-section--dark {
  background: var(--ax-dark);
  color: var(--ax-white);
}

.ax-section--dark h2,
.ax-section--dark h3 { color: var(--ax-white); }
.ax-section--dark p { color: rgba(255,255,255,.65); }

.ax-section--gray {
  background: var(--ax-bg);
}

/* ── Problem Comparison ────────────────────────────── */
.compare-card {
  border-radius: var(--radius-card);
  padding: 2.5rem;
  height: 100%;
}

.compare-card--before {
  background: #FFF5F5;
  border: 1.5px solid #FECACA;
}

.compare-card--after {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
}

.compare-card--before h4 { color: #991B1B; }
.compare-card--after h4  { color: #166534; }

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .95rem;
}

.compare-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .65rem;
  margin-top: .15rem;
}

.compare-icon.cross  { background: #FEE2E2; color: #EF4444; }
.compare-icon.check  { background: #D1FAE5; color: #10B981; }
.compare-item .text  { color: var(--ax-slate); }

/* ── Feature Cards ─────────────────────────────────── */
.ax-feature-card {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
  overflow: hidden;
}

.ax-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.ax-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.25);
}

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

.ax-feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--ax-primary);
}

.ax-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ax-dark);
  margin-bottom: .5rem;
}

.ax-feature-card p {
  font-size: .9rem;
  color: var(--ax-muted);
  margin-bottom: .75rem;
  line-height: 1.6;
}

.ax-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.ax-tag {
  font-size: .72rem;
  font-weight: 500;
  background: rgba(99,102,241,.08);
  color: var(--ax-primary);
  border-radius: 6px;
  padding: .2rem .55rem;
}

/* ── Pricing ───────────────────────────────────────── */
.ax-price-card {
  background: var(--ax-white);
  border: 2px solid var(--ax-primary);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(99,102,241,.15);
  max-width: 520px;
  margin: 0 auto;
}

.ax-price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-btn);
  color: #fff;
  padding: .3rem 1.25rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.ax-price-amount {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ax-dark);
  letter-spacing: -.04em;
}

.ax-price-amount sup {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
  margin-right: .1rem;
}

.ax-price-unit {
  font-size: .9rem;
  color: var(--ax-muted);
  margin-bottom: 2rem;
}

.ax-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.ax-price-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 0;
  font-size: .92rem;
  color: var(--ax-slate);
  border-bottom: 1px solid var(--ax-border);
}

.ax-price-features li:last-child { border-bottom: none; }
.ax-price-features li i { color: var(--ax-success); font-size: .95rem; }

.ax-calc-table {
  background: var(--ax-bg);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.ax-calc-table .row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem 0;
  font-size: .88rem;
  color: var(--ax-slate);
  border-bottom: 1px solid var(--ax-border);
}

.ax-calc-table .row-item:last-child { border-bottom: none; }
.ax-calc-table .row-item .val { font-weight: 700; color: var(--ax-primary); }

/* ── Target Groups ─────────────────────────────────── */
.ax-target-card {
  background: var(--ax-white);
  border: 1px solid var(--ax-border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.ax-target-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.ax-target-card .icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.ax-target-card h5 {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  color: var(--ax-dark);
}

/* ── Why comparison table ──────────────────────────── */
.ax-why-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ax-why-table th {
  padding: 1rem 1.5rem;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ax-why-table th:first-child { background: #F8FAFC; color: var(--ax-muted); }
.ax-why-table th:nth-child(2) { background: #FFF5F5; color: #B91C1C; }
.ax-why-table th:nth-child(3) { background: var(--ax-primary); color: #fff; }

.ax-why-table td {
  padding: .85rem 1.5rem;
  font-size: .92rem;
  border-bottom: 1px solid var(--ax-border);
}

.ax-why-table tr:last-child td { border-bottom: none; }
.ax-why-table td:first-child { color: var(--ax-slate); font-weight: 500; background: var(--ax-bg); }
.ax-why-table td:nth-child(2) { background: #FFF5F5; }
.ax-why-table td:nth-child(3) { background: #F0FDF4; }

.ax-why-table td i.bi-x-circle-fill { color: #EF4444; }
.ax-why-table td i.bi-check-circle-fill { color: var(--ax-success); }

/* ── URL showcase ──────────────────────────────────── */
.ax-url-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ax-dark-3);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .6rem 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: .88rem;
  color: #a5b4fc;
  margin: .3rem;
}

.ax-url-pill .slug { color: var(--ax-violet); font-weight: 700; }

/* ── FAQ ───────────────────────────────────────────── */
.ax-faq .accordion-item {
  border: 1px solid var(--ax-border);
  border-radius: 12px !important;
  margin-bottom: .75rem;
  overflow: hidden;
}

.ax-faq .accordion-button {
  font-weight: 600;
  color: var(--ax-dark);
  background: var(--ax-white);
  font-size: .97rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px !important;
}

.ax-faq .accordion-button:not(.collapsed) {
  color: var(--ax-primary);
  background: rgba(99,102,241,.04);
  box-shadow: none;
}

.ax-faq .accordion-button::after {
  filter: invert(38%) sepia(97%) saturate(552%) hue-rotate(218deg) brightness(94%) contrast(90%);
}

.ax-faq .accordion-body {
  color: var(--ax-muted);
  font-size: .93rem;
  line-height: 1.7;
  padding: 0 1.5rem 1.25rem;
}

/* ── CTA Section ───────────────────────────────────── */
#cta {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Footer ────────────────────────────────────────── */
footer {
  background: var(--ax-dark);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 4rem 0 2rem;
}

footer .footer-logo { height: 32px; width: auto; }

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

footer ul { padding: 0; list-style: none; margin: 0; }
footer ul li { margin-bottom: .6rem; }
footer ul li a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .88rem;
  transition: color .15s;
}
footer ul li a:hover { color: #fff; }

.footer-divider {
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 2.5rem 0 1.5rem;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

/* ── Stats bar ─────────────────────────────────────── */
.ax-stats-bar {
  background: var(--ax-dark-3);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 2rem 0;
}

.ax-stat-item { text-align: center; }
.ax-stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
}
.ax-stat-item .num span { color: var(--ax-primary); }
.ax-stat-item .desc {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: .2rem;
}

/* ── Divider ───────────────────────────────────────── */
.ax-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ax-border), transparent);
  margin: 0;
}

/* ── Responsive helpers ────────────────────────────── */
@media (max-width: 991.98px) {
  .ax-mockup-wrap { margin-top: 3rem; }
  .hero-headline { letter-spacing: -.03em; }
  .ax-why-table { font-size: .82rem; }
  .ax-why-table th, .ax-why-table td { padding: .7rem .75rem; }
}

@media (max-width: 767.98px) {
  .ax-section { padding: 3.5rem 0; }
  .ax-price-card { padding: 2.5rem 1.75rem; }
  .compare-card { padding: 1.75rem; }
  .ax-feature-card { padding: 1.5rem; }
  #hero { padding: 4rem 0 3rem; }
  .ax-why-table { display: block; overflow-x: auto; }
}

@media (max-width: 575.98px) {
  .hero-headline { font-size: 2rem; }
  .btn-ax-primary, .btn-ax-outline { width: 100%; justify-content: center; }
  .ax-url-pill { font-size: .78rem; }
}
