/* ===== ECHTZEIT-DASHBOARD – PINK/DATA-VIZ THEME ===== */

    /* HERO: Full dark with floating widget gallery */
    .ed-hero {
      background: #0a0014;
      min-height: 100vh;
      padding: 120px 0 80px;
      position: relative;
      overflow: hidden;
    }
    .ed-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 55% 55% at 30% 40%, rgba(236,72,153,.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 80% 60%, rgba(168,85,247,.1) 0%, transparent 70%);
    }
    .ed-hero-inner {
      display: grid;
      grid-template-columns: 480px 1fr;
      gap: 4rem;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .ed-badge {
      display: inline-flex; align-items: center; gap: .5rem;
      background: rgba(236,72,153,.12);
      border: 1px solid rgba(236,72,153,.25);
      color: #f9a8d4;
      border-radius: 99px;
      padding: .4rem 1rem;
      font-size: .8rem; font-weight: 700; letter-spacing: .04em;
      margin-bottom: 1.5rem;
    }
    .ed-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #ec4899; animation: blink 1.5s infinite; }
    .ed-title {
      font-size: clamp(2.2rem, 3.8vw, 3.2rem);
      font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1.25rem;
    }
    .ed-grad { background: linear-gradient(135deg, #f9a8d4, #ec4899, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .ed-sub { font-size: 1.05rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 2rem; }
    .ed-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
    .ed-btn-p {
      background: linear-gradient(135deg, #ec4899, #a855f7);
      color: #fff; border: none; border-radius: 10px;
      padding: .85rem 2rem; font-size: .95rem; font-weight: 700;
      text-decoration: none; display: inline-block;
      box-shadow: 0 0 30px rgba(236,72,153,.3);
    }
    .ed-btn-g {
      background: transparent; color: rgba(255,255,255,.7);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px; padding: .85rem 2rem;
      font-size: .95rem; font-weight: 600;
      text-decoration: none; display: inline-block;
    }

    /* Widget gallery (right side of hero) */
    .ed-widgets {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .85rem;
    }
    .ed-widget {
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 16px;
      padding: 1.25rem;
      position: relative;
      overflow: hidden;
    }
    .ed-widget::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
    }
    .ed-w-pink::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
    .ed-w-purple::before { background: linear-gradient(90deg, #a855f7, #8b5cf6); }
    .ed-w-blue::before { background: linear-gradient(90deg, #3b82f6, #6366f1); }
    .ed-w-green::before { background: linear-gradient(90deg, #22c55e, #14b8a6); }
    .ed-w-amber::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
    .ed-w-teal::before { background: linear-gradient(90deg, #14b8a6, #06b6d4); }
    .ed-widget-label { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
    .ed-widget-val { font-size: 1.7rem; font-weight: 800; color: #fff; display: block; line-height: 1; margin-bottom: .25rem; }
    .ed-widget-sub { font-size: .7rem; color: rgba(255,255,255,.4); }
    .ed-widget-trend { font-size: .72rem; font-weight: 700; }
    .ed-w-up { color: #4ade80; }
    .ed-w-down { color: #f87171; }
    /* Mini bar chart in widget */
    .ed-mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 32px; margin-top: .75rem; }
    .ed-mini-bar { flex: 1; border-radius: 2px 2px 0 0; min-width: 6px; }
    /* Mini line chart */
    .ed-mini-line { margin-top: .75rem; }
    /* Activity feed widget */
    .ed-feed-item { display: flex; align-items: center; gap: .5rem; font-size: .65rem; color: rgba(255,255,255,.55); padding: .25rem 0; }
    .ed-feed-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
    .ed-feed-time { margin-left: auto; color: rgba(255,255,255,.25); }
    /* Donut widget */
    .ed-donut { width: 60px; height: 60px; position: relative; margin: .5rem auto 0; }
    .ed-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }

    /* Live update section */
    .ed-ably { padding: 6rem 0; background: #f8fafc; }
    .ed-ably-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .ed-ably-left h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 800; color: #0f172a; margin-bottom: .75rem; }
    .ed-ably-left p { font-size: .95rem; color: #64748b; line-height: 1.7; margin-bottom: 1.5rem; }
    .ed-ably-tech { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
    .ed-tech-pill {
      background: #f1f5f9; border-radius: 8px; padding: .4rem .85rem;
      font-size: .78rem; font-weight: 700; color: #475569;
      border: 1px solid #e2e8f0;
    }
    .ed-ably-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .ed-ably-stat { background: #fff; border-radius: 14px; padding: 1.25rem; border: 1px solid #e2e8f0; }
    .ed-ably-stat-val { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg,#ec4899,#a855f7); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display: block; }
    .ed-ably-stat-lbl { font-size: .78rem; color: #64748b; }
    .ed-ably-right {
      background: #fff;
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid #e2e8f0;
      box-shadow: 0 8px 32px rgba(15,23,42,.06);
    }
    .ed-ably-right-title { font-size: .8rem; font-weight: 700; color: #64748b; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
    .ed-event-stream { display: flex; flex-direction: column; gap: .6rem; }
    .ed-event {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: .65rem .85rem;
      display: flex;
      align-items: center;
      gap: .75rem;
    }
    .ed-event-icon { width: 28px; height: 28px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .ed-event-text { font-size: .78rem; color: #475569; flex: 1; }
    .ed-event-time { font-size: .65rem; color: #94a3b8; }
    .ed-event-badge { font-size: .65rem; font-weight: 700; border-radius: 4px; padding: .15rem .5rem; }

    /* Widget gallery section (light) */
    .ed-gallery { padding: 6rem 0; background: #fff; }
    .ed-gallery-title { text-align: center; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #0f172a; margin-bottom: .5rem; }
    .ed-gallery-sub { text-align: center; color: #64748b; max-width: 560px; margin: 0 auto 3.5rem; font-size: .95rem; line-height: 1.7; }
    .ed-gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .ed-gallery-card {
      background: #f8fafc;
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid #e2e8f0;
      position: relative;
      overflow: hidden;
    }
    .ed-gallery-card::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
    }
    .ed-gc-p::after { background: linear-gradient(90deg, #ec4899, #f472b6); }
    .ed-gc-b::after { background: linear-gradient(90deg, #3b82f6, #6366f1); }
    .ed-gc-g::after { background: linear-gradient(90deg, #22c55e, #14b8a6); }
    .ed-gc-a::after { background: linear-gradient(90deg, #f59e0b, #f97316); }
    .ed-gc-v::after { background: linear-gradient(90deg, #a855f7, #8b5cf6); }
    .ed-gc-t::after { background: linear-gradient(90deg, #14b8a6, #06b6d4); }
    .ed-gallery-card-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
    .ed-gallery-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
    .ed-gallery-card p { font-size: .83rem; color: #64748b; line-height: 1.55; }
    .ed-gallery-card-features { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
    .ed-gallery-card-features li { font-size: .78rem; color: #475569; display: flex; align-items: center; gap: .4rem; }
    .ed-gallery-card-features li::before { content: '·'; color: #ec4899; font-size: 1.2rem; line-height: 1; }

    /* Alert system */
    .ed-alerts { padding: 6rem 0; background: #0a0014; }
    .ed-alerts-title { text-align: center; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: .5rem; }
    .ed-alerts-sub { text-align: center; color: rgba(255,255,255,.5); max-width: 560px; margin: 0 auto 3.5rem; font-size: .95rem; }
    .ed-alert-types {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .ed-alert-card {
      background: #160020;
      border-radius: 20px;
      padding: 2rem;
      border: 1px solid rgba(255,255,255,.06);
    }
    .ed-alert-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
    .ed-alert-icon {
      width: 46px; height: 46px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .ed-alert-card h3 { font-size: 1rem; font-weight: 700; color: #fff; }
    .ed-alert-card p { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 1.25rem; }
    .ed-alert-examples { display: flex; flex-direction: column; gap: .5rem; }
    .ed-alert-example {
      background: rgba(255,255,255,.04);
      border-radius: 10px;
      padding: .65rem .9rem;
      font-size: .75rem;
      color: rgba(255,255,255,.6);
      border-left: 3px solid;
    }
    .ed-ae-critical { border-color: #ef4444; }
    .ed-ae-warning { border-color: #f59e0b; }
    .ed-ae-info { border-color: #3b82f6; }

    /* Steps */
    .ed-steps { padding: 6rem 0; background: #f8fafc; }
    .ed-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .ed-step {
      background: #fff; border-radius: 20px; padding: 2rem;
      border: 1px solid #e2e8f0; text-align: center;
      position: relative; overflow: hidden;
    }
    .ed-step-num {
      position: absolute;
      top: -15px; right: 1rem;
      font-size: 5rem; font-weight: 900;
      color: rgba(236,72,153,.06);
      line-height: 1;
    }
    .ed-step-circle {
      width: 60px; height: 60px; border-radius: 50%;
      background: linear-gradient(135deg, #ec4899, #a855f7);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.25rem;
    }
    .ed-step h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
    .ed-step p { font-size: .83rem; color: #64748b; line-height: 1.6; }

    /* CTA */
    .ed-cta-sec { padding: 6rem 0; }
    .ed-cta-inner { text-align: center; }
    .ed-cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #0f172a; margin-bottom: .75rem; }
    .ed-cta-inner p { color: #64748b; margin-bottom: 2rem; }
    .ed-cta-btns { display: flex; gap: 1rem; justify-content: center; }
    .ed-cta-w { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: #fff; border-radius: 10px; padding: .85rem 2rem; font-weight: 700; text-decoration: none; box-shadow: 0 4px 16px rgba(236,72,153,.25); }
    .ed-cta-o { background: transparent; color: #475569; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: .85rem 2rem; font-weight: 600; text-decoration: none; }

    @media (max-width:900px) {
      .ed-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
      .ed-widgets { grid-template-columns: 1fr 1fr; }
      .ed-ably-inner { grid-template-columns: 1fr; }
      .ed-gallery-grid { grid-template-columns: 1fr 1fr; }
      .ed-alert-types { grid-template-columns: 1fr; }
      .ed-steps-grid { grid-template-columns: 1fr; }
    }
    @media (max-width:600px) {
      .ed-gallery-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) { footer .container > div:first-child { grid-template-columns: 1fr !important; } }
