/*
Theme Name: Tentelian
Theme URI: https://tentelian.de/
Author: Tentelian
Description: Custom one-page WordPress theme converted from the Tentelian HTML landing page.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: tentelian
*/

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

  :root {
    --black: #080A0F;
    --deep: #0D1220;
    --panel: #111827;
    --surface: #1A2235;
    --border: #1E2D44;
    --cyan: #00F0FF;
    --cyan-dim: #00B8C2;
    --cyan-glow: rgba(0, 240, 255, 0.12);
    --white: #E8EDF5;
    --muted: #7A8BA8;
    --accent: #FF4D1C;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 68px;
    background: rgba(8, 10, 15, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--white);
    text-decoration: none;
  }

  .nav-logo span { color: var(--cyan); }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--cyan); }

  .nav-cta {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--cyan);
    border: none;
    padding: 10px 24px;
    cursor: pointer;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
  }

  .nav-cta:hover { background: #33F4FF; transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0,240,255,0.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,77,28,0.04) 0%, transparent 60%),
      var(--black);
  }

  .circuit-lines {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
  }

  .hero-eyebrow {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--cyan);
  }

  .hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
  }

  .hero-title .line-accent { color: var(--cyan); display: block; }
  .hero-title .line-main { display: block; }

  .glitch {
    position: relative;
    display: inline-block;
  }

  .glitch::before,
  .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
  }

  .glitch::before {
    color: var(--cyan);
    animation: glitch-top 3.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translate(-2px, -2px);
  }

  .glitch::after {
    color: var(--accent);
    animation: glitch-bot 3.5s infinite 0.15s;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
  }

  @keyframes glitch-top {
    0%, 90%, 100% { transform: translate(-2px,-2px); opacity: 0; }
    91% { transform: translate(-4px,-2px); opacity: 0.7; }
    93% { transform: translate(2px,-2px); opacity: 0.7; }
    95% { transform: translate(-2px,-2px); opacity: 0; }
  }

  @keyframes glitch-bot {
    0%, 88%, 100% { transform: translate(2px,2px); opacity: 0; }
    89% { transform: translate(4px,2px); opacity: 0.6; }
    91% { transform: translate(-2px,2px); opacity: 0.6; }
    93% { transform: translate(2px,2px); opacity: 0; }
  }

  .hero-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.5rem;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--cyan);
    border: none;
    padding: 14px 36px;
    cursor: pointer;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-primary:hover { background: #33F4FF; transform: translateY(-2px); }

  .btn-secondary {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--cyan);
    padding: 14px 36px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-secondary:hover { background: var(--cyan-glow); transform: translateY(-2px); }

  .hero-visual {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    width: min(480px, 42vw);
    pointer-events: none;
  }

  .hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }

  .stat-item {}
  .stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
  }
  .stat-num span { color: var(--cyan); }
  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
  }

  /* ── SECTION SHARED ── */
  section { padding: 6rem 5vw; }

  .section-eyebrow {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .section-sub {
    color: var(--muted);
    max-width: 560px;
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  /* ── PRODUCTS ── */
  .products { background: var(--deep); }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1.5px solid var(--border);
  }

  .product-card {
    background: var(--panel);
    padding: 2.5rem 2rem;
    cursor: pointer;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
  }

  .product-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .product-card:hover { background: var(--surface); }
  .product-card:hover::after { transform: scaleX(1); }

  .product-tag {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyan);
    background: var(--cyan-glow);
    border: 1px solid rgba(0,240,255,0.2);
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
  }

  .product-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .product-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .product-desc {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .product-price {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--cyan);
  }

  .product-price span {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 400;
    font-family: 'Inter', sans-serif;
  }

  /* ── SPECS / FEATURES ── */
  .features { background: var(--black); }

  .features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .spec-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

  .spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: padding-left 0.2s;
  }

  .spec-item:hover { padding-left: 6px; }

  .spec-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
  }

  .spec-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }

  .spec-text { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }

  /* ── TECH VISUAL ── */
  .tech-display {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ── PERFORMANCE BAR ── */
  .perf-section { background: var(--deep); }

  .perf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    margin-bottom: 3rem;
  }

  .perf-cell {
    background: var(--panel);
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .perf-num {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 4px;
  }

  .perf-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .benchmark-rows { display: flex; flex-direction: column; gap: 1rem; }

  .bench-row { display: flex; flex-direction: column; gap: 6px; }

  .bench-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
  }

  .bench-name { color: var(--white); font-family: 'Rajdhani', sans-serif; letter-spacing: 0.05em; }
  .bench-score { color: var(--cyan); font-family: 'Rajdhani', sans-serif; font-weight: 600; }

  .bench-track {
    height: 4px;
    background: var(--border);
    position: relative;
    overflow: hidden;
  }

  .bench-fill {
    height: 100%;
    background: var(--cyan);
    transform-origin: left;
    animation: fillBar 1.8s ease forwards;
    transform: scaleX(0);
  }

  @keyframes fillBar { to { transform: scaleX(1); } }

  /* ── TESTIMONIALS ── */
  .testimonials { background: var(--black); }

  .testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--border);
  }

  .testi-card {
    background: var(--panel);
    padding: 2rem;
  }

  .testi-stars {
    color: var(--cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .testi-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 1.5rem;
  }

  .testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .testi-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--cyan);
    flex-shrink: 0;
  }

  .testi-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .testi-handle { color: var(--muted); font-size: 0.8rem; }

  /* ── CTA BANNER ── */
  .cta-banner {
    background: var(--deep);
    padding: 6rem 5vw;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,240,255,0.07) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-banner .section-title { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 640px; margin: 0 auto 1rem; }
  .cta-banner .section-sub { margin: 0 auto 2.5rem; }

  .cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

  /* ── FOOTER ── */
  footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 3rem 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    color: var(--white);
  }

  .footer-logo span { color: var(--cyan); }

  .footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
  }

  .footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }

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

  .footer-copy {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .features-layout { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { display: none; }
    .nav-links { display: none; }
    .hero-stats { gap: 1.5rem; }
  }

  @media (max-width: 600px) {
    .hero-title { font-size: 2.8rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    section { padding: 4rem 5vw; }
  }

  @media (prefers-reduced-motion: reduce) {
    .glitch::before, .glitch::after { animation: none; }
    .bench-fill { animation: none; transform: scaleX(1); }
  }