/* =========================================================
   ipfoo.de – style.css
   Dark / Cloud / Dashboard Style (final)
   ========================================================= */

/* ---------- CSS Variablen ---------- */
:root{
  --bg0:#061a2c;
  --bg1:#031225;

  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  --accent: #78ff7a;   /* Grün */
  --accent2:#35d6ff;   /* Cyan */

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
}

/* ---------- Reset / Base ---------- */
*{ box-sizing:border-box }

body{
  margin:0;
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -20%, rgba(53,214,255,.20), transparent 60%),
    radial-gradient(900px 500px at 70% 10%, rgba(120,255,122,.12), transparent 65%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
}

/* dezentes Grid */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:90px 90px;
  opacity:.10;
  pointer-events:none;
}

/* ---------- Layout ---------- */
.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:22px;
}

main{
  padding:18px 0 34px;
}

/* ---------- Header / Navigation ---------- */
header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(3,18,37,.80), rgba(3,18,37,.35));
  border-bottom:1px solid rgba(255,255,255,.08);
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.brand .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 18px rgba(120,255,122,.55);
}

nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
}

nav a:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  text-decoration:none;
  cursor:pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    filter .15s ease,
    transform .05s ease;
}

.btn:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.28);
}

.btn:active{
  transform:translateY(1px);
}

.btn:focus-visible{
  outline:2px solid rgba(53,214,255,.8);
  outline-offset:3px;
}

/* Primary Button */
.btn.primary{
  background:linear-gradient(
    180deg,
    rgba(120,255,122,.95),
    rgba(120,255,122,.75)
  );
  color:#041a10;
  border:none;
}

.btn.primary:hover{
  filter:brightness(1.08);
}

/* CTA im Header */
.cta{
  background:linear-gradient(
    180deg,
    rgba(120,255,122,.95),
    rgba(120,255,122,.75)
  );
  color:#041a10;
  font-weight:800;
  padding:10px 14px;
  border-radius:14px;
  box-shadow:0 14px 30px rgba(120,255,122,.18);
  text-decoration:none;
}

.cta:hover{
  filter:brightness(1.08);
}

/* ---------- Hero ---------- */
.hero{
  padding:30px 0 12px;
  text-align:center;
}

.hero h1{
  margin:0;
  font-size:52px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.hero h1 span{
  color:var(--accent2);
}

.hero p{
  margin:16px auto 0;
  max-width:720px;
  color:rgba(255,255,255,.78);
  font-size:16px;
}

.btnRow{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:20px;
  margin-bottom:16px; /* Abstand zu Karten */
}

/* ---------- Cards ---------- */
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:24px;
}

@media (min-width:980px){
  .grid{
    grid-template-columns:1.25fr .75fr;
  }
}

.card{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.03)
  );
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.card .pad{
  padding:20px;
}

.card h2{
  margin:22px 0 12px;
  font-size:18px;
}

/* ---------- IP Block ---------- */
.bigIp{
  font-size:36px;
  font-weight:900;
  letter-spacing:.02em;
  word-break:break-all;
  margin-bottom:14px; /* Abstand zu Pills */
}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:rgba(255,255,255,.9);
}

.pill i{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 14px rgba(120,255,122,.45);
}

/* ---------- Tabellen ---------- */
.table{
  width:100%;
  border-collapse:collapse;
}

.table td{
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.10);
  vertical-align:top;
}

.table td.k{
  width:270px;
  color:var(--muted);
}

code{
  background:rgba(0,0,0,.28);
  padding:3px 8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
}

/* ---------- Notice ---------- */
.notice{
  margin-top:18px;
  background:rgba(0,0,0,.28);
  border:1px dashed rgba(255,255,255,.20);
  border-radius:16px;
  padding:14px;
  color:rgba(255,255,255,.85);
}

/* ---------- Dashboard Preview ---------- */
.preview{
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.20),
    rgba(0,0,0,.38)
  );
  border-top:1px solid rgba(255,255,255,.10);
}

.miniDash{
  margin-top:16px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(500px 200px at 20% 10%, rgba(53,214,255,.18), transparent 60%),
    radial-gradient(500px 200px at 80% 30%, rgba(120,255,122,.10), transparent 65%),
    rgba(255,255,255,.03);
}

.stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

@media (min-width:980px){
  .stats{
    grid-template-columns:repeat(4,1fr);
  }
}

.stat{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px;
}

.stat .label{
  font-size:12px;
  color:var(--muted);
}

.stat .val{
  font-size:18px;
  font-weight:800;
  margin-top:6px;
}

/* ---------- Lists / Magazin ---------- */
.list{
  list-style:none;
  padding:0;
  margin:0;
}

.list li{
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.10);
}

.list a{
  color:var(--text);
  text-decoration:none;
  font-weight:800;
}

.list a:hover{
  text-decoration:underline;
}

/* ---------- Footer ---------- */
footer{
  border-top:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  padding:20px 0;
  text-align:center;
}

footer a{
  color:rgba(255,255,255,.88);
}

/* ---------- Textlinks (inline) ---------- */
a{
  color: var(--accent2);            /* Cyan statt Browser-Blau */
  text-decoration: none;
  font-weight: 600;
}

a:hover{
  color: #7fe6ff;                   /* etwas heller */
  text-decoration: underline;
}

a:focus-visible{
  outline: 2px solid rgba(53,214,255,.85);
  outline-offset: 2px;
}
