/* ============================================================
   BIZIX IT — Homepage
   AESTHETIC: Tactical HUD — toned-down sibling of Aerospace
   ============================================================ */

/* --- HUD GRID OVERLAY --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
}

/* Scan-line overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    pointer-events: none;
    position: relative;
}

/* HUD corner brackets removed on Bizix — overlapped CTA content + too tactical
   for the corporate parent feel. Aerospace + Agritech retain them. */
.hero::before, .hero::after { display: none; }

.hero-content {
    pointer-events: auto;
    max-width: 900px;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #ffffff 0%, #7a8a9a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    filter: drop-shadow(0 0 40px rgba(255, 184, 77, 0.12));
}

p.lead {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 3rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 3px solid var(--accent-cyan);
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.05) 0%, rgba(3, 5, 8, 0.8) 100%);
    backdrop-filter: blur(8px);
    position: relative;
    box-shadow: -4px 0 20px rgba(255, 184, 77, 0.1), -2px 0 40px rgba(255, 184, 77, 0.04);
    animation: hud-flicker 14s infinite;
}
p.lead::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
}
p.lead strong {
    color: var(--accent-cyan);
}

/* --- FEATURES SECTION --- */
.features {
    background: linear-gradient(to bottom, transparent, var(--bg-deep) 90%);
}

/* --- SOCIAL PROOF --- */
.social-proof {
    background: var(--bg-deep);
    text-align: center;
    padding: 4rem 5% !important;
    position: relative;
    overflow: hidden;
}
.social-proof::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--glass-border) 20%,
        var(--accent-cyan-dim) 50%,
        var(--glass-border) 80%,
        transparent
    );
    animation: pulse-line 6s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 184, 77, 0.1), 0 0 40px rgba(255, 184, 77, 0.04);
}
.social-proof p {
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    position: relative;
    z-index: 1;
}

/* --- USE CASES TEASER --- */
.use-cases-teaser {
    background: var(--bg-section);
}
.use-cases-teaser .card {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.use-cases-teaser .card h3 {
    font-size: 0.85rem;
}

/* --- PLATFORM SECTION --- */
#platform {
    background: var(--bg-deep);
    position: relative;
}

.platform-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.platform-text p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.platform-text ul { list-style: none; padding: 0; }
.platform-text li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-body);
    font-size: 0.95rem;
}
.platform-text li::before {
    content: '//';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(255, 184, 77, 0.4);
    animation: hud-flicker-fast 8s infinite;
}
.platform-text li strong {
    color: var(--text-main);
}

/* --- TRUST SIGNALS --- */
.trust-signals {
    background: var(--bg-deep);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: var(--max-content);
    margin: 0 auto;
}
.trust-grid > div {
    text-align: center;
}
.trust-stat {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    text-shadow: 0 0 25px var(--accent-cyan-glow), 0 0 60px rgba(255, 184, 77, 0.2);
    margin-bottom: 1rem;
    line-height: 1;
}
.trust-grid p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
}
@media (max-width: 768px) {
    .trust-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .trust-stat { font-size: 2.8rem; }
}

/* --- SENSITIVE SITES (unused on Bizix; kept for shared CSS parity) --- */
.sensitive-sites {
    background: var(--bg-section);
}

.site-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    position: relative;
    clip-path: polygon(
        0 var(--bevel),
        var(--bevel) 0,
        100% 0,
        100% calc(100% - var(--bevel)),
        calc(100% - var(--bevel)) 100%,
        0 100%
    );
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent 60%);
}
.site-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 40px rgba(255, 184, 77, 0.08),
        inset 0 1px 0 rgba(255, 184, 77, 0.1);
}
.site-card-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.site-card-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.25rem;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 184, 77, 0.15);
}
.site-status {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background: rgba(255, 184, 77, 0.08);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px var(--accent-cyan-glow);
    box-shadow: 0 0 12px rgba(255, 184, 77, 0.15);
}
.site-card-body {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.8;
}
.site-card-body a {
    color: var(--accent-cyan);
    border-bottom: 1px dotted rgba(255, 184, 77, 0.4);
    transition: border-color 0.2s, text-shadow 0.2s;
}
.site-card-body a:hover {
    border-bottom-color: var(--accent-cyan);
    text-shadow: 0 0 6px var(--accent-cyan-glow);
}
.site-card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--accent-cyan);
    transition: text-shadow 0.2s, padding-right 0.2s;
}
.site-card-link:hover {
    text-shadow: 0 0 8px var(--accent-cyan-glow);
    padding-right: 0.75rem;
}

/* --- HOMEPAGE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; letter-spacing: 2px; }
    .hero::before, .hero::after { display: none; }
    p.lead { font-size: 1.15rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
}
