/*
Theme Name: AI Tools Test – Dark Cyberpunk
Theme URI: https://software.kompass.sascha-kruss.de
Author: Sascha Krüss
Description: Dark-Mode WordPress-Theme für KI-Tool-Vergleiche. Glassmorphismus, Neon-Akzente, Affiliate-optimiert.
Version: 1.0
Text Domain: aitools
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0e1a;
    color: #e0e6f0;
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: #2dd4bf; text-decoration: none; transition: color .3s; }
a:hover { color: #5eead4; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: #fff; }
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #2dd4bf, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    text-align: center;
    color: #8892b0;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ============================================================
   GLASSMORPHISM HELPER
   ============================================================ */
.glass {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 12px;
    font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all .3s;
    border: none; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #2dd4bf, #06b6d4);
    color: #fff; box-shadow: 0 0 30px rgba(45,212,191,.3);
}
.btn-primary:hover {
    box-shadow: 0 0 50px rgba(45,212,191,.5);
    transform: translateY(-2px); color: #fff;
}
.btn-outline {
    background: transparent; color: #2dd4bf;
    border: 1.5px solid rgba(45,212,191,.4);
}
.btn-outline:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0 30px rgba(45,212,191,.2);
    color: #2dd4bf;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,14,26,.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
}
.site-logo {
    display: flex; align-items: center; gap: 12px;
}
.logo-sk {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #2dd4bf, #34d399);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.2rem; color: #0a0e1a;
    flex-shrink: 0;
}
.logo-text {
    font-weight: 800; font-size: 1.15rem; color: #fff;
}
.main-nav .nav-list { display: flex; gap: 32px; }
.main-nav .nav-list a {
    color: #a0a8c0; font-weight: 500; font-size: .9rem;
    transition: color .3s; position: relative;
}
.main-nav .nav-list a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, #2dd4bf, #06b6d4);
    transition: width .3s;
}
.main-nav .nav-list a:hover { color: #fff; }
.main-nav .nav-list a:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 10px 22px; font-size: .85rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(6,182,212,.08), transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(45,212,191,.06), transparent 60%);
}
.hero-video-placeholder {
    position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
    width: 45%; aspect-ratio: 9/19; border-radius: 32px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(45,212,191,.15);
    box-shadow: 0 0 80px rgba(45,212,191,.1);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-video-placeholder::before {
    content: ''; position: absolute; inset: 8px; border-radius: 24px;
    background: linear-gradient(180deg, transparent 30%, rgba(45,212,191,.1) 100%);
}
.hero-chat-bubbles {
    display: flex; flex-direction: column; gap: 12px; padding: 32px; width: 100%;
}
.chat-bubble {
    padding: 12px 18px; border-radius: 16px;
    max-width: 80%; font-size: .8rem; font-weight: 500;
    animation: floatBubble 3s ease-in-out infinite;
    opacity: 0;
}
.chat-bubble:nth-child(1) {
    align-self: flex-start;
    background: rgba(45,212,191,.15);
    border: 1px solid rgba(45,212,191,.2);
    animation-delay: 0s; color: #5eead4;
}
.chat-bubble:nth-child(2) {
    align-self: flex-end;
    background: rgba(139,92,246,.15);
    border: 1px solid rgba(139,92,246,.2);
    animation-delay: .5s; color: #a78bfa;
}
.chat-bubble:nth-child(3) {
    align-self: flex-start;
    background: rgba(45,212,191,.15);
    border: 1px solid rgba(45,212,191,.2);
    animation-delay: 1s; color: #5eead4;
}
.chat-bubble:nth-child(4) {
    align-self: flex-end;
    background: rgba(6,182,212,.15);
    border: 1px solid rgba(6,182,212,.2);
    animation-delay: 1.5s; color: #22d3ee;
}
@keyframes floatBubble {
    0%, 100% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateY(-12px); opacity: 1; }
    90% { opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
    display: inline-block;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(45,212,191,.1);
    border: 1px solid rgba(45,212,191,.2);
    color: #5eead4; font-size: .8rem; font-weight: 600;
    margin-bottom: 24px;
    animation: pulseBadge 2s ease-in-out infinite;
}
@keyframes pulseBadge { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900; line-height: 1.1; margin-bottom: 20px;
}
.hero-title .gradient {
    background: linear-gradient(135deg, #2dd4bf, #06b6d4, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem; color: #8892b0;
    max-width: 520px; margin-bottom: 36px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 40px; margin-top: 48px;
}
.hero-stat-value {
    font-size: 1.8rem; font-weight: 800; color: #fff;
}
.hero-stat-label { font-size: .8rem; color: #5a6280; margin-top: 2px; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-section {
    padding: 100px 0;
    position: relative;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.feature-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px; padding: 40px 32px;
    position: relative; overflow: hidden;
    transition: all .4s;
}
.feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; border-radius: 0 0 20px 20px;
    transition: height .3s;
}
.feature-card:nth-child(1)::after { background: linear-gradient(90deg, #f97316, #fb923c); }
.feature-card:nth-child(2)::after { background: linear-gradient(90deg, #2dd4bf, #06b6d4); }
.feature-card:nth-child(3)::after { background: linear-gradient(90deg, #a78bfa, #8b5cf6); }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.1); }
.feature-card:hover::after { height: 5px; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card:nth-child(1) .feature-icon { background: rgba(249,115,22,.15); color: #fb923c; }
.feature-card:nth-child(2) .feature-icon { background: rgba(45,212,191,.15); color: #2dd4bf; }
.feature-card:nth-child(3) .feature-icon { background: rgba(139,92,246,.15); color: #a78bfa; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: #8892b0; font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.feature-link {
    color: #2dd4bf; font-weight: 600; font-size: .85rem;
    display: inline-flex; align-items: center; gap: 6px;
}
.feature-link:hover { gap: 10px; }
.feature-glow {
    position: absolute; top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(45,212,191,.03), transparent 60%);
    pointer-events: none;
}

/* ============================================================
   PRODUCTS (TOOL REVIEWS)
   ============================================================ */
.products-section {
    padding: 100px 0;
    background: rgba(255,255,255,.01);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}
.product-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 20px; overflow: hidden;
    transition: all .4s;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45,212,191,.2);
    box-shadow: 0 20px 60px rgba(45,212,191,.08);
}
.product-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    padding: 4px 14px; border-radius: 100px;
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-sieger { background: linear-gradient(135deg, #f59e0b, #d97706); color: #1c1917; }
.badge-price { background: linear-gradient(135deg, #2dd4bf, #06b6d4); color: #0a0e1a; }
.badge-tip { background: linear-gradient(135deg, #a78bfa, #8b5cf6); color: #fff; }
.product-card-image {
    height: 200px; background: rgba(255,255,255,.02);
    display: flex; align-items: center; justify-content: center;
    padding: 32px; position: relative;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.product-card-image img {
    max-height: 100%; object-fit: contain;
}
.product-card-body { padding: 28px; }
.product-name { font-size: 1.3rem; margin-bottom: 4px; }
.product-rating {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.rating-number { color: #8892b0; font-size: .9rem; font-weight: 600; }
.product-features { margin-bottom: 20px; }
.product-features li {
    padding: 6px 0; color: #c0c8e0; font-size: .9rem;
    display: flex; align-items: center; gap: 8px;
}
.product-features li::before {
    content: '✓'; color: #2dd4bf; font-weight: 700;
}
.product-card .btn { width: 100%; justify-content: center; }

/* Vergleichstext */
.comparison-text {
    max-width: 800px; margin: 0 auto;
    color: #8892b0; line-height: 1.9;
}
.comparison-text h3 {
    font-size: 1.3rem; margin: 32px 0 16px;
    -webkit-text-fill-color: #fff;
    background: none;
}
.comparison-text p { margin-bottom: 16px; }
.comparison-text strong { color: #e0e6f0; }

/* ============================================================
   VERGLEICHSTABELLE
   ============================================================ */
.comparison-section { padding: 100px 0; }
.comparison-table-wrapper { overflow-x: auto; margin-top: 40px; }
.comparison-table {
    width: 100%; border-collapse: collapse;
    font-size: .9rem;
}
.comparison-table th,
.comparison-table td {
    padding: 16px 20px; text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.comparison-table thead th {
    background: rgba(255,255,255,.03);
    font-weight: 700; color: #fff;
    white-space: nowrap;
}
.comparison-table thead th:first-child { border-radius: 12px 0 0 0; }
.comparison-table thead th:last-child { border-radius: 0 12px 0 0; }
.comparison-table tbody tr:hover { background: rgba(255,255,255,.02); }
.comparison-table tbody td:first-child { font-weight: 600; color: #c0c8e0; }
.comparison-table .highlight { color: #2dd4bf; font-weight: 700; }

/* ============================================================
   VERDICT / FAZIT
   ============================================================ */
.verdict-section { padding: 80px 0; }
.verdict-card {
    max-width: 800px; margin: 0 auto;
    background: linear-gradient(135deg, rgba(45,212,191,.05), rgba(6,182,212,.03));
    border: 1px solid rgba(45,212,191,.1);
    border-radius: 20px; padding: 48px;
    text-align: center;
    box-shadow: 0 0 60px rgba(45,212,191,.05);
}
.verdict-card p {
    color: #8892b0; font-size: 1.05rem; line-height: 1.8;
    margin-bottom: 16px;
}
.verdict-card strong { color: #e0e6f0; }
.verdict-cta {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.05);
    font-weight: 700; font-size: 1.2rem;
    background: linear-gradient(135deg, #2dd4bf, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   TRUST BANNER (COUNTDOWN)
   ============================================================ */
.trust-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(45,212,191,.08), rgba(6,182,212,.05), rgba(139,92,246,.05));
    border-top: 1px solid rgba(45,212,191,.1);
    border-bottom: 1px solid rgba(45,212,191,.1);
    text-align: center;
}
.trust-banner h3 { font-size: 1.6rem; margin-bottom: 8px; }
.trust-banner p { color: #8892b0; margin-bottom: 24px; }
.countdown {
    display: flex; gap: 24px; justify-content: center;
    margin-bottom: 24px;
}
.countdown-item {
    text-align: center;
}
.countdown-value {
    font-size: 2.2rem; font-weight: 900; color: #fff;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 12px 20px; min-width: 70px;
}
.countdown-label {
    font-size: .75rem; color: #5a6280; margin-top: 6px;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: rgba(255,255,255,.02);
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 60px 0 32px;
}
.footer-inner { text-align: center; }
.footer-trust {
    display: flex; gap: 40px; justify-content: center;
    margin-bottom: 40px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    color: #5a6280; font-size: .85rem; font-weight: 500;
}
.trust-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(45,212,191,.1);
    display: flex; align-items: center; justify-content: center;
    color: #2dd4bf; font-size: 1rem;
}
.footer-affiliate-hinweis {
    max-width: 600px; margin: 0 auto 32px;
    font-size: .8rem; color: #4a5270; line-height: 1.7;
}
.footer-nav-list {
    display: flex; gap: 24px; justify-content: center;
    margin-bottom: 24px;
}
.footer-nav-list a { color: #5a6280; font-size: .85rem; }
.footer-nav-list a:hover { color: #2dd4bf; }
.footer-copy p { color: #3a4260; font-size: .8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-video-placeholder { display: none; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-cta .btn { padding: 8px 16px; font-size: .8rem; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .comparison-table { font-size: .8rem; }
    .comparison-table th,
    .comparison-table td { padding: 12px; }
    .countdown { gap: 12px; }
    .countdown-value { font-size: 1.6rem; padding: 8px 12px; min-width: 50px; }
    .features-section,
    .products-section,
    .comparison-section { padding: 60px 0; }
}

/* ============================================================
   ANIMATED BACKGROUND PARTICLES
   ============================================================ */
.bg-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
