/*
Theme Name: TriSec Dark
Theme URI: https://trisec.de
Author: TriSec GmbH
Author URI: https://trisec.de
Description: Modernes, dunkles WordPress-Theme für die TriSec GmbH – Informationssicherheit, ISO 27001 Beratung und Schulungen. Cinematic dark design with custom cursor, scroll animations and interactive hover effects.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trisec-dark
Tags: dark, one-column, custom-menu, featured-images, translation-ready
*/

/* ===== CSS VARIABLES ===== */
:root {
    --bg-primary: #060810;
    --bg-secondary: #0a0d16;
    --bg-card: #0e1220;
    --bg-card-hover: #131829;
    --accent: #0ea5e9;
    --accent-bright: #38bdf8;
    --accent-dim: #0284c7;
    --accent-deep: #1e3a6e;
    --accent-glow: rgba(14, 165, 233, 0.15);
    --accent-glow-strong: rgba(14, 165, 233, 0.3);
    --accent-secondary: #1e40af;
    --text-primary: #e8eaf0;
    --text-secondary: #8a8f9c;
    --text-muted: #555a66;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(14, 165, 233, 0.3);
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-dim) var(--bg-primary);
}

body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: default;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-bright); }

img { max-width: 100%; height: auto; }

/* WordPress admin bar fix */
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.2s ease;
    opacity: 0.5;
}
.cursor-ring.hover {
    transform: scale(1.6);
    opacity: 0.2;
}

/* Noise overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ===== NAVIGATION ===== */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    background: #f0f1f5;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.site-nav.scrolled {
    background: rgba(240, 241, 245, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.7rem 2.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none;
}
.nav-logo img {
    height: 52px;
    width: auto;
    transition: opacity 0.3s;
}
.nav-logo:hover img { opacity: 0.8; }

.nav-menu {
    display: flex; align-items: center; gap: 0.2rem;
    list-style: none;
}
.nav-menu a {
    color: #4a4e5a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-menu a:hover { color: #0c0e18; }
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 1.5px;
    background: var(--accent);
    transition: all 0.3s ease;
    border-radius: 1px;
}
.nav-menu a:hover::after { left: 1rem; right: 1rem; }

.nav-menu .nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 8px !important;
    margin-left: 0.8rem;
    box-shadow: 0 2px 12px rgba(14, 165, 233, 0.25);
}
.nav-menu .nav-cta::after { display: none !important; }
.nav-menu .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35) !important;
    color: #fff !important;
}

/* Sub-menus */
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 220px;
    list-style: none;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    z-index: 100;
}
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    border-radius: 6px;
    color: #4a4e5a;
}
.nav-menu .sub-menu a::after { display: none; }
.nav-menu .sub-menu a:hover { background: rgba(14, 165, 233, 0.08); color: var(--accent-dim); }

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none; border: none;
    width: 32px; height: 24px;
    position: relative; cursor: pointer;
    z-index: 1001;
}
.mobile-toggle span {
    display: block; width: 100%; height: 2px;
    background: #2a2d36;
    position: absolute; left: 0;
    transition: all 0.3s ease;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }
.mobile-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(30, 58, 110, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative; z-index: 2;
    animation: fadeUp 0.8s ease both;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 900px;
    position: relative; z-index: 2;
    animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 .accent {
    background: linear-gradient(135deg, #1e3a6e, var(--accent-bright), #00e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin-top: 1.5rem;
    line-height: 1.65;
    font-weight: 400;
    position: relative; z-index: 2;
    animation: fadeUp 0.8s 0.2s ease both;
}
.hero-actions {
    display: flex; gap: 1rem; margin-top: 2.5rem;
    position: relative; z-index: 2;
    animation: fadeUp 0.8s 0.3s ease both;
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 40px var(--accent-glow-strong);
    color: var(--bg-primary);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2.2rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(14, 165, 233, 0.04);
    color: var(--text-primary);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem; z-index: 2;
    animation: fadeUp 0.8s 0.5s ease both;
}
.hero-scroll .chevron {
    width: 24px; height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--accent-glow); }
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
    letter-spacing: -0.03em;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== SECTIONS ===== */
.ts-section {
    padding: 7rem 2rem;
    position: relative;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--accent);
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 700px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin-top: 1.2rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px var(--accent-glow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 1.4rem;
    transition: all 0.3s;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card:hover .service-icon {
    background: rgba(14, 165, 233, 0.15);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Ref icons */
.ref-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.ref-icon svg { width: 18px; height: 18px; }

/* Partner icon */
.partner-icon-circle {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(14,165,233,0.06);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin: 0 auto;
}
.partner-icon-circle svg { width: 48px; height: 48px; }

/* Alliance badge icon */
.alliance-badge-icon {
    display: flex; align-items: center; color: var(--accent);
}
.alliance-badge-icon svg { width: 24px; height: 24px; }

/* Value item icons */
.value-icon {
    display: inline-flex; align-items: center; color: var(--accent);
}
.value-icon svg { width: 18px; height: 18px; }
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}
.service-tag {
    display: inline-block;
    margin-top: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(14,165,233,0.15);
    border-radius: 4px;
    transition: all 0.3s;
}
.service-card:hover .service-tag {
    background: rgba(14,165,233,0.08);
}

/* ===== ISO SECTION ===== */
.iso-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.iso-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.iso-visual {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.iso-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 6s ease-in-out infinite;
}
.iso-ring:nth-child(1) { width: 120px; height: 120px; animation-delay: 0s; border-color: rgba(14, 165, 233, 0.35); }
.iso-ring:nth-child(2) { width: 200px; height: 200px; animation-delay: 0.5s; }
.iso-ring:nth-child(3) { width: 280px; height: 280px; animation-delay: 1s; }
.iso-ring:nth-child(4) { width: 360px; height: 360px; animation-delay: 1.5s; }
@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}
.iso-center-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    z-index: 2;
}
.iso-center-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.iso-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.iso-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.iso-benefits li:hover {
    background: var(--bg-card);
    border-color: var(--border);
}
.iso-benefits .check {
    width: 22px; height: 22px; min-width: 22px;
    border-radius: 6px;
    background: rgba(14,165,233,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 2px;
}
.iso-benefits li strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.iso-benefits li p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ===== PRICING / SCHULUNGEN ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.pricing-card .course-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.pricing-card .duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
    display: flex; gap: 1rem;
}
.pricing-card .duration span { display: flex; align-items: center; gap: 0.35rem; }
.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}
.price-row .amount {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}
.price-row .suffix { color: var(--text-muted); font-size: 0.8rem; }
.price-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.pricing-features li {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.pricing-features li::before {
    content: '→';
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* ===== REFERENZEN SCROLL ===== */
.ref-scroll {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ref-track {
    display: flex;
    gap: 2rem;
    animation: refScroll 30s linear infinite;
}
@keyframes refScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ref-item {
    flex-shrink: 0;
    padding: 1.5rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s;
    min-width: 280px;
}
.ref-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.ref-item span { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }

/* ===== PARTNER SECTION ===== */
.partner-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    transition: all 0.4s;
}
.partner-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 60px var(--accent-glow);
}
.partner-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.partner-card h3 .mono { font-family: var(--font-mono); color: var(--accent); }
.partner-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.about-text p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.value-item {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}
.value-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.value-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.value-item p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative; z-index: 2;
}
.cta-section p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 1.2rem auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative; z-index: 2;
}
.cta-section .btn-primary { position: relative; z-index: 2; font-size: 1.05rem; padding: 1rem 2.5rem; }

/* ===== CONTACT ===== */
.contact-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block h4 {
    font-size: 0.78rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-mono);
    margin-bottom: 0.6rem;
}
.contact-block p, .contact-block a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-block a:hover { color: var(--accent); }
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form input,
.contact-form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
    width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn-primary { border: none; justify-content: center; }

/* ===== FOOTER ===== */
.site-footer {
    background: #f0f1f5;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 3rem 2rem;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left { display: flex; align-items: center; gap: 2rem; }
.footer-left img { height: 38px; width: auto; }
.footer-left span { color: #6b7080; font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
    color: #6b7080;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: #0c0e18; }

/* ===== ALLIANCE BADGE ===== */
.alliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 2rem;
    transition: all 0.3s;
}
.alliance-badge:hover { border-color: var(--border-hover); }
.alliance-badge span { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.4; }

/* ===== SECTION SEPARATOR ===== */
.section-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== WORDPRESS CONTENT STYLES ===== */
.entry-content { max-width: 800px; margin: 0 auto; padding: 2rem; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { color: var(--text-secondary); padding-left: 1.5rem; margin-bottom: 1.2rem; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.entry-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 0 10px 10px 0;
}
.entry-content blockquote p { color: var(--text-primary); margin-bottom: 0; }
.entry-content code {
    font-family: var(--font-mono);
    background: var(--bg-card);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--accent);
}
.entry-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.entry-content pre code { background: none; padding: 0; }
.entry-content img { border-radius: 12px; margin: 1.5rem 0; }
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.entry-content th, .entry-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}
.entry-content th { background: var(--bg-card); color: var(--accent); font-weight: 600; }

/* Page/post header */
.page-header-section {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}
.page-header-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-header-section .hero-bg { position: absolute; inset: 0; z-index: -1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .iso-layout, .contact-layout, .about-grid { grid-template-columns: 1fr; }
    .iso-visual { height: 300px; }
}
@media (max-width: 768px) {
    .site-nav { padding: 1rem 1.5rem; }
    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(240, 241, 245, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        backdrop-filter: blur(20px);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { font-size: 1.2rem; color: #2a2d36 !important; }
    .nav-menu .sub-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        min-width: auto;
        text-align: center;
    }
    .mobile-toggle { display: block; }
    .services-grid, .pricing-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .partner-card { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    .about-values { grid-template-columns: 1fr; }
    .ts-section { padding: 5rem 1.5rem; }
    .cursor-dot, .cursor-ring { display: none; }
}

/* Screen reader only */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
