/* VARIABLES & THEME */
:root {
    --bg-main: #0a0a0c;
    --bg-secondary: #111114;
    --bg-glass: rgba(20, 20, 25, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);

    --text-main: #f0f0f5;
    --text-muted: #8e8e99;

    --accent-red: #ff2a2a;
    --accent-red-glow: rgba(255, 42, 42, 0.4);
    --accent-orange: #ff5500;

    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* NOISE & GRID BACKGROUND */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    perspective: 1000px;
    transform-origin: center bottom;
    animation: gridMove 20s linear infinite;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
.glitch {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-glow {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red-glow), 0 0 20px var(--accent-red-glow);
    font-weight: 700;
}

.text-neon {
    color: var(--accent-red);
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand .brand-icon {
    color: var(--accent-red);
    width: 28px;
    height: 28px;
}

.nav-brand .highlight {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* BUTTONS */
.btn-primary {
    background: var(--accent-red);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary:hover,
.glow-btn:hover {
    background: #e61919;
    box-shadow: 0 0 25px var(--accent-red-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid rgba(255, 42, 42, 0.3);
    color: var(--accent-red);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.glitch {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    color: white;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* HERO VISUAL (ABSTRACT WIREFRAME) */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.wireframe-model {
    position: relative;
    width: 400px;
    height: 500px;
}

.armor-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.armor-line {
    fill: none;
    stroke: var(--accent-red);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px var(--accent-red-glow));
    stroke-dasharray: 2500;
    stroke-dashoffset: 2500;
    animation: drawArmor 4s ease-out forwards;
}

.armor-glow {
    animation: pulseGlow 4s infinite alternate ease-in-out;
}

.core-line {
    stroke-width: 1.5;
    opacity: 0.5;
}

.hud-line {
    stroke: #ff3333;
    stroke-width: 1.5;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255, 50, 50, 0.8));
}

.power-core {
    stroke-width: 4;
    animation: corePulse 2s infinite alternate ease-in-out;
}

.power-core-inner {
    stroke-width: 2;
    fill: rgba(255, 42, 42, 0.6);
    animation: corePulseBase 1s infinite alternate ease-in-out;
}

.weapon-line {
    stroke: var(--accent-red);
    stroke-width: 2;
    opacity: 0.8;
}

.evo-frame {
    stroke-width: 3;
    stroke: #ff5555;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255, 50, 50, 0.9));
}

@keyframes drawArmor {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 5px var(--accent-red));
    }

    100% {
        filter: drop-shadow(0 0 20px var(--accent-red));
    }
}

@keyframes corePulse {
    0% {
        filter: drop-shadow(0 0 12px var(--accent-red));
        transform: scale(1);
        transform-origin: 250px 290px;
    }

    100% {
        filter: drop-shadow(0 0 30px rgba(255, 50, 50, 1));
        transform: scale(1.08);
        transform-origin: 250px 290px;
    }
}

@keyframes corePulseBase {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.hud-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hud-box {
    position: absolute;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-red);
    background: rgba(255, 42, 42, 0.05);
    padding: 4px 8px;
    border-left: 2px solid var(--accent-red);
}

.top-left {
    top: 10%;
    left: 0;
}

.top-right {
    top: 20%;
    right: 0;
}

.bottom-left {
    bottom: 20%;
    left: 10%;
}

.bottom-right {
    bottom: 10%;
    right: 10%;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
    animation: scan 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

/* SECTION COMMON */
section {
    padding: 8rem 5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--accent-red);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* PILLARS */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.frosted-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 3rem 2rem;
    transition: var(--transition);
}

.frosted-glass:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 42, 42, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 42, 42, 0.1);
    color: var(--accent-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    width: 32px;
    height: 32px;
}

.pillar-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pillar-card .sub-heading {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-list i {
    color: var(--accent-red);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-list strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.feature-list span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ENERGY & CYBER */
.black-bg {
    background: #050505;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.neon-badge {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.spec-block {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--accent-red);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.spec-header h4 {
    font-size: 1.2rem;
    margin: 0;
}

.split-visual {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at center, rgba(40, 40, 45, 0.5) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cyber-core {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #111;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 42, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 42, 42, 0.3);
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-red);
    animation: pulse 2s ease-out infinite;
}

.core-shield {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent-red);
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
}

.data-stream {
    position: absolute;
    left: calc(100% + 25px);
    width: max-content;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.6;
}

.data-stream .bin {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* STRATEGY & MARKET */
.strategy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 42, 42, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.market-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 2.5rem;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.market-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.market-card h5 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.big-num {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1;
}

.market-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.unit-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.unit-tag {
    background: rgba(255, 42, 42, 0.1);
    color: var(--accent-red);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-family: monospace;
}

.business-model h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.bm-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.bm-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-glass);
    z-index: 0;
}

.bm-step {
    background: var(--bg-main);
    padding: 2rem;
    border: 1px solid var(--border-glass);
    border-top: 3px solid var(--accent-red);
    position: relative;
    z-index: 1;
}

.bm-step.border-red {
    border-top: 3px solid #ff3333;
    box-shadow: 0 -5px 15px rgba(255, 50, 50, 0.1);
}

.step-num {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    font-weight: 900;
    z-index: -1;
}

.bm-step h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.bm-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* SWOT */
.swot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.swot-card {
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
}

.swot-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.swot-header i {
    width: 28px;
    height: 28px;
}

.swot-header h3 {
    font-size: 1.5rem;
}

.swot-card ul {
    list-style-position: inside;
    color: var(--text-muted);
}

.swot-card li {
    margin-bottom: 0.8rem;
}

.strength {
    border-top: 3px solid #00ff88;
}

.strength i {
    color: #00ff88;
}

.weakness {
    border-top: 3px solid #ffaa00;
}

.weakness i {
    color: #ffaa00;
}

.opportunity {
    border-top: 3px solid #00aaff;
}

.opportunity i {
    color: #00aaff;
}

.threat {
    border-top: 3px solid var(--accent-red);
}

.threat i {
    color: var(--accent-red);
}

/* FOOTER CTA */
footer {
    padding: 6rem 5% 2rem;
    text-align: center;
    background: linear-gradient(to top, rgba(10, 10, 12, 1) 0%, transparent 100%);
    position: relative;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    color: var(--accent-red);
    margin-bottom: 2rem;
}

footer h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

footer p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ANIMATIONS & SCROLL UTILS */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-scroll].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-blur-reveal] {
    opacity: 0;
    filter: blur(10px);
    animation: blurReveal 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .market-stats {
        grid-template-columns: 1fr;
    }

    .bm-steps {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .bm-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .swot-grid {
        grid-template-columns: 1fr;
    }

    .glitch {
        font-size: 3.5rem;
    }

    footer h2 {
        font-size: 2.5rem;
    }
}