/* =========================================================
   FiBu-Connect – Global Style (FINAL / CLEAN)
   SaaS · Enterprise · Launch
   ========================================================= */

/* ---------- VARIABLEN ---------- */
:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e5e7eb;

  --text: #111827;
  --muted: #6b7280;

  --primary: #f97316;
  --primary-dark: #ea580c;

  --shadow: 0 8px 24px rgba(16,24,40,.06);

  --topbar-h: 48px;
  --header-h: 72px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

/* ---------- LINKS ---------- */
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* =========================================================
   TOPBAR (COUNTDOWN)
   ========================================================= */

.fc-topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  z-index: 10001;
  background: linear-gradient(135deg,#0f172a,#1e293b);
  color: #fff;
  font-size: 14px;
}

.fc-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.fc-topbar-left { font-weight: 800; }
.fc-topbar-center { text-align: center; font-weight: 600; }
.fc-topbar-date { opacity: .7; font-size: 13px; margin-left: 8px; }

.fc-topbar-cta {
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.fc-topbar-cta:hover { background: var(--primary-dark); }

/* =========================================================
   HEADER
   ========================================================= */

.fc-header {
  position: fixed;
  top: var(--topbar-h);
  height: var(--header-h);
  inset-inline: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 10000;
}

.fc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

/* Logo */
.fc-logo img { height: 36px; display: block; }

/* Navigation */
.fc-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.fc-nav a,
.fc-nav-link {
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fc-nav a:hover,
.fc-nav-link:hover { color: var(--primary); }

/* Dropdown */
.fc-nav-dropdown { position: relative; }

.fc-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 0;
}

.fc-nav-dropdown:hover .fc-nav-dropdown-menu { display: block; }

.fc-nav-dropdown-menu a,
.fc-disabled {
  display: block;
  padding: 12px 18px;
}

.fc-disabled { color: #9ca3af; cursor: not-allowed; }

/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.fc-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.fc-action-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Login */
.fc-login {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.fc-login:hover { background: #f3f4f6; }

/* Register */
.fc-register {
  background: var(--primary);
  color: #fff;
}
.fc-register:hover { background: var(--primary-dark); }

/* Telegram */
.fc-telegram {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #2aabee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(42,171,238,.35);
}
.fc-telegram img { width: 20px; height: 20px; }

/* =========================================================
   MAIN (KEIN RIESENABSTAND)
   ========================================================= */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding:
    calc(var(--topbar-h) + var(--header-h) + 32px)
    16px
    64px;
}

/* =========================================================
   LAUNCH HERO (EIGENE KACHEL)
   ========================================================= */

.fc-launch-hero {
  position: relative;
  padding: 72px 24px 64px;
  text-align: center;
  background: radial-gradient(circle at top,
    rgba(249,115,22,.12),
    rgba(249,115,22,0) 70%);
  border-radius: 24px;
  margin-bottom: 40px;
}

.fc-launch-hero::after {
  content: "🚀";
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-size: 220px;
  opacity: .06;
}

.fc-launch-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.fc-launch-hero h1 span { color: var(--primary); }

.fc-launch-subline {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================================
   CARDS / GRID
   ========================================================= */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 28px;
}

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }

.mini-card {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.mini-card .icon { font-size: 20px; margin-top: 2px; }
.mini-card strong { font-weight: 600; }

/* =========================================================
   FOOTER (FIXED & CLEAN)
   ========================================================= */

.fc-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 64px;
}

.fc-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: .85rem;
  color: var(--muted);
}

.fc-footer-links {
  display: flex;
  gap: 16px;
}

.fc-footer-links a {
  color: var(--muted);
}
.fc-footer-links a:hover { color: var(--primary); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .fc-nav { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}
