/**
 * ASENVIROCON — PREMIUM DESIGN SYSTEM
 * Dark futuristic theme with indigo accents
 */

:root {
    /* Core palette */
    --f-bg: #050507;
    --f-surface: #0a0a0f;
    --f-surface-hover: #0f1018;
    --f-accent: #6366f1;
    --f-accent-hover: #4f46e5;
    --f-accent-muted: rgba(99, 102, 241, 0.15);

    /* Text hierarchy */
    --f-text: #ffffff;
    --f-text-secondary: rgba(255, 255, 255, 0.82);
    --f-text-muted: rgba(255, 255, 255, 0.55);
    --f-text-dim: rgba(255, 255, 255, 0.3);

    /* Borders */
    --f-border: rgba(255, 255, 255, 0.06);
    --f-border-hover: rgba(255, 255, 255, 0.12);
    --f-border-accent: rgba(99, 102, 241, 0.3);

    /* Glass */
    --f-glass: rgba(255, 255, 255, 0.025);
    --f-glass-hover: rgba(255, 255, 255, 0.05);

    /* Spacing */
    --f-section-padding: clamp(80px, 12vw, 160px);
    --f-container: 90%;

    /* Transitions */
    --f-ease: cubic-bezier(0.19, 1, 0.22, 1);
    --f-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.asenvirocon-front {
    background-color: var(--f-bg);
    color: var(--f-text);
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Selection color */
body.asenvirocon-front ::selection {
    background: var(--f-accent);
    color: #fff;
}

/* ── GRID BACKGROUND ── */
#f-main-container {
    position: relative;
}

#f-main-container::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--f-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--f-border) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

/* ── AURA BLOBS ── */
.aura-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.12;
    animation: aura-float 25s infinite alternate ease-in-out;
    will-change: transform;
}

.aura-1 {
    width: 700px;
    height: 700px;
    background: #6366f1;
    top: -15%;
    right: -10%;
}

.aura-2 {
    width: 550px;
    height: 550px;
    background: #a855f7;
    bottom: 5%;
    left: -8%;
    animation-delay: -8s;
}

.aura-3 {
    width: 450px;
    height: 450px;
    background: #3b82f6;
    top: 45%;
    left: 35%;
    animation-duration: 30s;
    opacity: 0.08;
}

@keyframes aura-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -30px) scale(1.05); }
    100% { transform: translate(120px, 60px) scale(1.1); }
}

/* ── THREE.JS CONTAINER ── */
#futuristic-canvas-container {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

/* ── TYPOGRAPHY ── */
.huge-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 5.5vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fff;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

p {
    color: var(--f-text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── SECTIONS ── */
.f-section {
    padding: var(--f-section-padding) 20px;
    max-width: var(--f-container);
    margin: 0 auto;
    position: relative;
}

/* ── CARDS ── */
.minimal-card {
    background: var(--f-glass);
    border: 1px solid var(--f-border);
    border-radius: 2px;
    padding: 60px;
    transition: all 0.5s var(--f-ease);
}

.minimal-card:hover {
    background: var(--f-glass-hover);
    border-color: var(--f-border-hover);
}

/* ── BUTTONS ── */
.btn-f {
    display: inline-flex;
    align-items: center;
    padding: 20px 45px;
    background: #fff;
    color: #000 !important;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.4s var(--f-ease);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-f::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--f-accent);
    transform: translateY(101%);
    transition: transform 0.4s var(--f-ease);
}

.btn-f:hover {
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.btn-f:hover::before {
    transform: translateY(0);
}

.btn-f span,
.btn-f i {
    position: relative;
    z-index: 1;
}

/* ── HERO ── */
.hero-visual-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-inner {
    width: 100%;
    max-width: 600px;
    filter: contrast(1.05);
    transition: all 0.8s var(--f-ease);
}

.hero-image-inner:hover {
    filter: contrast(1.1) brightness(1.05);
    transform: scale(1.02);
}

/* ── STATS ── */
.stat-number {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 900;
    font-family: 'Outfit';
    color: #fff;
    line-height: 1;
    transition: all 0.4s ease;
}

/* ── HIDE ELEMENTOR LEFTOVERS ── */
[class*="elementor-element"] {
    background: transparent !important;
}

/* ── SMOOTH SCROLL ── */
html {
    scroll-behavior: smooth;
}

/* ── DESKTOP REFINEMENTS (1200px+) ── */
@media (min-width: 1200px) {
    .f-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ── TABLET ── */
@media (max-width: 1024px) {
    .hero-content > div {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
        text-align: center;
    }

    .hero-text-block { order: 1; }
    .hero-visual-block { order: 2; }

    .hero-image-inner {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .huge-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .f-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ── ULTRAWIDE (2000px+) ── */
@media (min-width: 2000px) {
    .huge-title {
        font-size: 6rem;
    }

    .section-title {
        font-size: 4rem;
    }

    .f-section {
        max-width: 88%;
    }
}

@media (min-width: 2800px) {
    .huge-title {
        font-size: 7rem;
    }

    .section-title {
        font-size: 4.5rem;
    }
}

/* ── FORCE DARK INPUTS ON FRONT PAGE ── */
body.asenvirocon-front input,
body.asenvirocon-front input[type="text"],
body.asenvirocon-front input[type="email"],
body.asenvirocon-front input[type="tel"],
body.asenvirocon-front input[type="url"],
body.asenvirocon-front input[type="search"],
body.asenvirocon-front textarea,
body.asenvirocon-front select,
body.asenvirocon-front .form-control {
    background: transparent !important;
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.asenvirocon-front input:focus,
body.asenvirocon-front textarea:focus,
body.asenvirocon-front select:focus,
body.asenvirocon-front .form-control:focus {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Header styles moved to header.css (loaded on all pages) */
