/* ═══════════════════════════════════════════
   STYLE.CSS — wspólne style FSS
   Źródło prawdy dla całego serwisu.
═══════════════════════════════════════════ */

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

  :root {
    --bg: #030712;
    --surface: #0d1117;
    --surface2: #161b22;
    --border: rgba(99,202,183,0.15);
    --accent: #63cab7;
    --accent2: #3b82f6;
    --accent3: #8b5cf6;
    --glow: rgba(99,202,183,0.4);
    --text: #e6edf3;
    --muted: #7d8590;
    --danger: #f97316;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
  }

  /* ─── GRID BG ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(99,202,183,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(99,202,183,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* ─── NAV ─── */

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
  }

  .btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
  }

  .btn-ghost:hover {
    color: var(--text);
    border-color: var(--accent);
  }

  .btn-primary {
    background: var(--accent);
    color: #000;
  }

  .btn-primary:hover {
    background: #7dddd0;
    box-shadow: 0 0 24px var(--glow);
  }

  /* ─── HERO ─── */
  .hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 80px;
    overflow: hidden;
  }

  .hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99,202,183,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-glow-2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99,202,183,0.08);
    border: 1px solid rgba(99,202,183,0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
  }

  .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
  }

  .hero h1 {
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
  }

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

  .hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
  }

  .hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 10px;
  }

  .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
  }

  .stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -1px;
  }

  .stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* ─── FLOATING DEVICE ─── */
  .hero-visual {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    z-index: 1;
  }

  @keyframes float {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50% { transform: translateY(-50%) translateY(-16px); }
  }

  .hero-visual { animation: float 6s ease-in-out infinite; }

  /* ─── TICKER ─── */
  .ticker {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .ticker-inner {
    display: inline-flex;
    gap: 0;
    animation: ticker 30s linear infinite;
  }

  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    font-size: 13px;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
  }

  .ticker-item .dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
  }

  /* ─── SECTIONS ─── */
  section {
    position: relative;
    z-index: 1;
    padding: 100px 48px;
  }

  .section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.7;
  }

  /* ─── SERVICES ─── */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 64px;
  }

  .service-card {
    background: var(--surface);
    padding: 40px;
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
  }

  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(99,202,183,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .service-card:hover { background: var(--surface2); }
  .service-card:hover::before { opacity: 1; }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .service-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: var(--text);
  }

  .service-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
  }

  /* ─── IOT FEATURE ─── */
  .iot-section {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(13,17,23,0) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .iot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .iot-visual {
    position: relative;
  }

  .iot-diagram {
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: auto;
  }

  .iot-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }

  .iot-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color 0.2s;
  }

  .iot-feature:hover { border-color: var(--accent); }

  .iot-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(99,202,183,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .iot-feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .iot-feature-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ─── PRODUCTS ─── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
  }

  .product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
  }

  .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,202,183,0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  }

  .product-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
  }

  .product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--surface));
  }

  .product-body {
    padding: 24px;
  }

  .product-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(99,202,183,0.1);
    border: 1px solid rgba(99,202,183,0.2);
    border-radius: 4px;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
  }

  .product-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
  }

  .product-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* ─── TECH STACK ─── */
  .tech-section {
    text-align: center;
  }

  .tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
  }

  .tech-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
  }

  .tech-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .tech-pill svg { width: 20px; height: 20px; }

  /* ─── TESTIMONIAL ─── */
  .testimonial-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .testimonial-card {
    max-width: 800px;
    margin: 64px auto 0;
    padding: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
  }

  .testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 48px;
    font-size: 120px;
    color: var(--accent);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.3;
  }

  .testimonial-text {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 32px;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #000;
  }

  .author-name {
    font-weight: 700;
    font-size: 15px;
  }

  .author-role {
    font-size: 13px;
    color: var(--muted);
  }

  /* ─── CTA ─── */
  .cta-section {
    text-align: center;
    padding: 120px 48px;
  }

  .cta-box {
    max-width: 700px;
    margin: auto;
    padding: 80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
  }

  .cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,202,183,0.1), transparent 70%);
    pointer-events: none;
  }

  .cta-box h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  .cta-box p {
    color: var(--muted);
    margin-bottom: 36px;
    font-size: 16px;
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 1px solid var(--border);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }

  .footer-copy {
    font-size: 13px;
    color: var(--muted);
  }

  .footer-links {
    display: flex;
    gap: 24px;
  }

  .footer-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--text); }

  /* ─── STATUS BAR ─── */
  .status-bar {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--muted);
  }

  .status-ok {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
  }

  .status-ok::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  /* ─── ANIMATED CIRCUIT ─── */
  @keyframes dash {
    to { stroke-dashoffset: 0; }
  }

  .circuit-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 2s linear forwards;
  }

  /* ─── GLASS CARD ─── */
  .glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06);
  }

  /* ─── MOBILE NAV ─── */

  @media (max-width: 1100px) { }
  @media (max-width: 768px) {
    .stack-grid { grid-template-columns: 1fr !important; }
    .hw-grid { grid-template-columns: 1fr; }

    .nav-cta .btn-ghost { display: none; }
    .btn-primary { padding: 8px 16px; font-size: 13px; }

    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 38px; letter-spacing: -1px; }
    .hero-visual { display: none; }
    .hero-stats { gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .iot-grid { grid-template-columns: 1fr; }
    section { padding: 64px 20px; }
    .cta-box { padding: 48px 24px; }
    footer { flex-direction: column; gap: 24px; padding: 32px 20px; text-align: center; align-items: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }
  @media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stats .stat-num { font-size: 28px; }
  }
  .lang-switcher{display:flex;align-items:center;gap:4px;margin-left:8px;}
  .lang-btn{background:none;border:none;color:var(--muted);font-size:11px;font-weight:700;cursor:pointer;padding:3px 5px;border-radius:4px;letter-spacing:.5px;font-family:'JetBrains Mono',monospace;transition:color .2s;}
  .lang-btn:hover,.lang-btn.active{color:var(--accent);}
