/* ===== Global Variables ===== */
:root {
    --primary-red: #DC143C;
    --dark-red: #8B0000;
    --bright-red: #FF0000;
    --accent-red: #B22222;
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --text-light-gray: #888888;
    --border-red: rgba(220, 20, 60, 0.3);
    --glow-red: rgba(220, 20, 60, 0.6);
    
    /* Circuit Animation Variables - See Solutions Section for customization */
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
    overflow: visible;
}

/* ===== Corner Lights ===== */
.corner-light {
    position: fixed;
    width: clamp(300px, 40vw, 400px);
    height: clamp(300px, 40vw, 400px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite;
}

.corner-light.top-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
}

.corner-light.top-right {
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--dark-red) 0%, transparent 70%);
    animation-delay: 2s;
}

.corner-light.bottom-left {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
    animation-delay: 1s;
}

.corner-light.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: clamp(80px, 15vh, 150px) 0;
    overflow: hidden;
}

/* Hero Circuit Animation Styles */
.hero-triangle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Circuit Animation Keyframes */
@keyframes circuit-draw {
    from {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

@keyframes circuit-fill {
    from {
        fill-opacity: 0;
    }
    to {
        fill-opacity: 0.3;
    }
}

@keyframes circuit-dash {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes circuit-glow {
    0%, 100% {
        filter: drop-shadow(0 0 2px #DC143C) drop-shadow(0 0 5px #DC143C);
    }
    50% {
        filter: drop-shadow(0 0 5px #DC143C) drop-shadow(0 0 10px #DC143C) drop-shadow(0 0 15px #8B0000);
    }
}

/* Filled Circuit Paths (Draw + Fill Animation) */
.hero-triangle .circuits path {
    fill: #DC143C;
    stroke: #DC143C;
    stroke-width: 3.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill-opacity: 0;
    animation: 
        circuit-draw 20s ease-in-out forwards,
        circuit-fill 3s ease-in-out 8s forwards,
        circuit-glow 10s ease-in-out infinite;
}

/* Line-Only Circuit Paths (Dash Animation) */
.hero-triangle .circuit-no-fill path {
    fill: none;
    stroke: #DC143C;
    stroke-width: 3.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0.6;
    animation: circuit-dash 10s ease-in-out infinite alternate;
}

.hero-centered {
    text-align: center;
}

.hero-main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: clamp(2rem, 5vh, 3rem);
    letter-spacing: 2px;
}

.hero-main-title .title-line {
    display: block;
}

.hero-main-title .gradient-text {
    color: #FF1744;
    -webkit-text-fill-color: #FF1744;
}

.hero-url {
    font-size: clamp(1rem, 3vw, 1.8rem);
    letter-spacing: 5px;
    color: var(--text-gray);
    font-weight: 300;
}

/* Business System Section */
.business-system-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.1) 0%, transparent 100%);
    overflow: hidden;
}

.business-system-section .container {
    display: block;
    margin: 0;
    max-width: 100%;
    padding-left: 4rem;
}

.business-system-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    text-align: left;
}

.business-system-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    text-align: left;
}

.business-system-content .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.business-system-content .cta-button {
    margin-top: 2rem;
}

/* Network Visual */
.network-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: clamp(350px, 45vw, 500px);
    height: clamp(350px, 45vh, 500px);
    opacity: 0.9;
    z-index: 3;
    overflow: visible;
}

.network-visual svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Real Earth Image */
.earth-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    animation: earth-rotate 60s linear infinite;
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.4), 
                0 0 60px rgba(100, 150, 255, 0.2),
                inset -20px -20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* 3D Earth Container */
#earth-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 10;
    cursor: grab;
}

#earth-container:active {
    cursor: grabbing;
}

#earth-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Info Label */
#info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(220, 20, 60, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 15;
    pointer-events: none;
    animation: info-pulse 2s ease-in-out infinite;
}

@keyframes info-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Marker Label */
#markerLabel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 250px;
    z-index: 20;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(220, 20, 60, 0.3);
}

#markerLabel.hidden {
    display: none;
}

#markerLabel #closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: rgba(220, 20, 60, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

#markerLabel #closeButton:hover {
    color: #DC143C;
    transform: scale(1.1);
}

#markerLabel .text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

#markerLabel .text:last-child {
    margin-bottom: 0;
}

@keyframes earth-rotate {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(5deg) brightness(1.1);
    }
    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

.circuit-trace {
    opacity: 1;
    stroke-linecap: square;
    stroke-linejoin: miter;
    filter: drop-shadow(0 0 3px rgba(220, 20, 60, 0.6)) drop-shadow(0 0 6px rgba(220, 20, 60, 0.3));
}

.circuit-node {
    animation: node-pulse 3s ease-in-out infinite;
}

.circuit-node:nth-child(2n) {
    animation-delay: -1s;
}

.circuit-node:nth-child(3n) {
    animation-delay: -1.5s;
}

@keyframes node-pulse {
    0%, 100% {
        opacity: 0.7;
        filter: drop-shadow(0 0 4px rgba(220, 20, 60, 0.9)) drop-shadow(0 0 8px rgba(220, 20, 60, 0.5));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px rgba(220, 20, 60, 1)) drop-shadow(0 0 12px rgba(220, 20, 60, 0.7));
    }
}

/* Earth Globe */
.title-line {
    display: block;
}

.text-highlight {
    color: var(--primary-red);
    font-weight: 600;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ===== Text Colors ===== */
.text-red {
    color: var(--primary-red);
}

/* ===== Workflow Section ===== */
.workflow-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 50%, transparent 100%);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 4rem);
    line-height: 1.8;
}

.section-subtitle.center {
    text-align: center;
}

.section-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
}

.workflow-card {
    background: rgba(60, 60, 60, 0.3);
    border: 2px solid rgba(80, 80, 80, 0.5);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    transition: all 0.4s ease;
}

.workflow-card.featured {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(80, 80, 80, 0.5);
}

.workflow-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.4);
}

.workflow-icon {
    width: 80px;
    height: 80px;
    background: var(--dark-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-white);
}

.workflow-card.featured .workflow-icon {
    background: var(--primary-red);
}

.workflow-label {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.workflow-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.workflow-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== About Section ===== */
.about-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.1) 0%, transparent 100%);
    overflow: visible;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    overflow: visible;
}

.about-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-title-highlight {
    background: linear-gradient(90deg, var(--primary-red), var(--bright-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-image-wrapper {
    position: relative;
    overflow: visible;
}

.about-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(400px, 50vw, 600px);
    height: clamp(400px, 50vw, 600px);
    background: radial-gradient(circle at center, rgba(220, 20, 60, 0.6), transparent 60%);
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
    position: relative;
}

/* ===== Solutions Section ===== */
/* Circuit Animation Variables - Customize Here */
:root {
    --circuit-color: #DC143C;
    --circuit-opacity: 0.8;
    --circuit-glow: rgba(220, 20, 60, 0.3);
    --animation-duration: 1500ms;
    --node-animation-duration: 800ms;
    --card-animation-duration: 1200ms;
}

.solutions-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: #000;
    overflow: hidden;
}

.solutions-section .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0 4rem;
}

.solutions-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vh, 3rem);
    position: relative;
    z-index: 3;
    transform: translateY(clamp(-2rem, -5vh, -4rem));
}

.solutions-main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.solutions-tagline {
    font-size: 1.5rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.solutions-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.power-button-container {
    text-align: center;
    margin: clamp(2rem, 5vh, 3rem) 0;
    position: relative;
    z-index: 10;
}

.power-button {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.5), inset 0 0 20px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
    animation: powerPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.power-button i {
    font-size: 3rem;
    color: var(--primary-red);
}

.power-button:hover {
    background: rgba(220, 20, 60, 0.2);
    box-shadow: 0 0 50px rgba(220, 20, 60, 0.8), inset 0 0 30px rgba(220, 20, 60, 0.5);
    transform: scale(1.05);
    cursor: pointer;
}

.power-button.active {
    animation: none;
    background: rgba(220, 20, 60, 0.3);
    box-shadow: 0 0 60px rgba(220, 20, 60, 0.9), inset 0 0 40px rgba(220, 20, 60, 0.6);
}

@keyframes powerPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.5), inset 0 0 20px rgba(220, 20, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(220, 20, 60, 0.8), inset 0 0 30px rgba(220, 20, 60, 0.5);
    }
}

/* Circuit Board Background */
.circuit-spider {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    height: 100%;
    min-height: 800px;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
    filter: drop-shadow(0 0 10px var(--circuit-glow));
}

.spider-line {
    opacity: 0;
    stroke: var(--circuit-color);
    filter: drop-shadow(0 0 3px var(--circuit-color));
}

.spider-node {
    opacity: 0;
    fill: var(--circuit-color);
    transform-origin: center;
    filter: drop-shadow(0 0 5px var(--circuit-color));
}

.solutions-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(3rem, 8vw, 6rem);
    max-width: 2000px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    opacity: 0;
}

.solutions-grid-top {
    margin-bottom: 0;
    transform: translateY(-3rem);
}

.solutions-grid-bottom {
    margin-top: 0;
}

.solution-card {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-red);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 10;
    opacity: 0;
}

.solution-card:hover {
    border-color: var(--primary-red);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3);
}

.solution-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.solution-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===== Problem Section ===== */
.problem-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 0, 0, 0.1) 50%, transparent 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-icon {
    width: clamp(200px, 40vw, 300px);
    height: clamp(200px, 40vw, 300px);
    border: 8px solid var(--primary-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow-pulse 3s ease-in-out infinite;
    position: relative;
}

.warning-icon::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.3), transparent);
    filter: blur(40px);
    z-index: -1;
}

.warning-icon i {
    font-size: 10rem;
    color: var(--primary-red);
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(220, 20, 60, 0.5); }
    50% { box-shadow: 0 0 60px rgba(220, 20, 60, 0.8); }
}

.problem-line {
    width: 120px;
    height: 8px;
    background: var(--primary-red);
    margin-bottom: 0.01rem;
}

.problem-label {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.problem-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.problem-highlight {
    font-size: 1.2rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.problem-subtitle-large {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.problem-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem;
}

.problem-list {
    list-style: none;
    margin-bottom: 2rem;
}

.problem-list li {
    padding: 0.2rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.problem-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
    line-height: 1;
}

.problem-conclusion {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===== Business OS Section ===== */
.business-os-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, transparent 100%);
}

.business-os-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.business-os-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.business-os-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.brain-network {
    width: 100%;
    height: 400px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><defs><radialGradient id="brain-glow"><stop offset="0%%" stop-color="rgb(220,20,60)" stop-opacity="0.8"/><stop offset="100%%" stop-color="rgb(220,20,60)" stop-opacity="0"/></radialGradient></defs><circle cx="250" cy="250" r="100" fill="url(%23brain-glow)"/></svg>') center/contain no-repeat;
    position: relative;
}

/* ===== System Breakdown Section ===== */
.system-breakdown {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
}

.amiral-x {
    color: var(--primary-red);
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.system-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.system-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.4);
}

.system-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(220, 20, 60, 0.3);
}

.system-label {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.system-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-red);
}

.system-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.system-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.system-arrow {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--primary-red);
    font-size: 1.5rem;
}

.system-details {
    margin: 1.5rem 0;
}

.detail-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.detail-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.detail-list li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.kpi-signals {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1rem;
}

.kpi-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.kpi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.kpi-item span {
    font-weight: 700;
}

.kpi-item.red span {
    color: #FF4444;
}

.kpi-item.green span {
    color: #44FF88;
}

.kpi-item.yellow span {
    color: #FFAA44;
}

.system-outcome {
    font-size: 0.9rem;
    color: var(--text-light-gray);
    font-style: italic;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.4;
}

/* ===== Case Studies Section ===== */
.case-studies-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.case-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 2.5rem);
    transition: all 0.4s ease;
}

.case-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.4);
}

.case-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 20, 60, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: var(--primary-red);
}

.case-badge {
    display: inline-block;
    background: var(--dark-red);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.case-section {
    margin-bottom: 2rem;
}

.case-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.8rem;
}

.case-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-list {
    list-style: none;
    margin-bottom: 1rem;
}

.case-list li {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-gray);
    font-size: 0. 9rem;
}

.case-result i {
    color: var(--primary-red);
    font-size: 1rem;
}

.case-result strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* ===== Results Section ===== */
.results-section {
    padding: clamp(80px, 15vh, 150px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(220, 20, 60, 0.2) 100%);
}

.results-hero {
    text-align: center;
}

.results-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--bright-red) 50%, var(--dark-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-url {
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--text-gray);
    font-weight: 300;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: clamp(60px, 10vh, 100px) 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.1) 0%, transparent 50%, rgba(139, 0, 0, 0.1) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
}

.contact-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-top: 0.2rem;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-light-gray);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(60, 60, 60, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-red);
    border-radius: 20px;
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea {
    background: rgba(60, 60, 60, 0.5);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-white);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light-gray);
}

.submit-button {
    padding: 1.2rem 2.5rem;
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
}

.submit-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

/* ============================================================================
   CONTROL INTELLIGENCE CENTER SECTION
   ============================================================================ */

.control-center-section {
    padding: clamp(60px, 12vh, 120px) 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 100%);
    position: relative;
    overflow: hidden;
}

.control-center-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.control-center-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vh, 60px);
    position: relative;
    z-index: 1;
}

.control-center-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.control-center-subtitle {
    font-size: 1.2rem;
    color: #DC143C;
    margin-bottom: 15px;
    font-weight: 500;
}

.control-center-subtitle .bullet {
    margin: 0 10px;
    opacity: 0.6;
}

.control-center-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(15px, 3vw, 20px);
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* Metric Cards */
.metric-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: clamp(20px, 4vw, 25px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DC143C, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.metric-card-risk {
    position: relative;
}

.risk-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #4ade80;
    opacity: 0.8;
}

.metric-header {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-value-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fbbf24, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-total {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.metric-unit {
    font-size: 2rem;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    line-height: 1.4;
}

.metric-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.metric-bar-fill {
    height: 100%;
    background: #DC143C;
    border-radius: 3px;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.metric-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.metric-bar-gradient {
    background: linear-gradient(90deg, #fbbf24, #4ade80);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Chart Cards */
.chart-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    grid-column: span 2;
}

.chart-card-large {
    grid-column: span 2;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.chart-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.chart-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(220, 20, 60, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.chart-dot {
    width: 8px;
    height: 8px;
    background: #DC143C;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chart-percentage {
    color: #4ade80;
    font-weight: 700;
}

.performance-chart {
    width: 100%;
    height: auto !important;
    max-height: 200px;
}

/* Status Cards */
.status-cards-column {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 20, 60, 0.4);
}

.status-card-automation {
    border-left: 3px solid #DC143C;
}

.status-card-security {
    border-left: 3px solid #fbbf24;
}

.status-icon {
    color: #DC143C;
    margin-bottom: 15px;
}

.status-card-security .status-icon {
    color: #fbbf24;
}

.status-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.status-subtitle {
    font-size: 0.9rem;
    color: #4ade80;
    margin-bottom: 15px;
}

.status-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.status-button {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.status-button:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Impact Cards */
.impact-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    grid-column: span 2;
}

.impact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.impact-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    min-width: 150px;
}

.impact-bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.impact-bar {
    height: 100%;
    background: linear-gradient(90deg, #DC143C, #ff4444);
    border-radius: 4px;
    transition: width 1.5s ease;
}

.impact-percentage {
    font-size: 1rem;
    font-weight: 700;
    color: #DC143C;
    min-width: 50px;
    text-align: right;
}

.impact-chart-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    grid-column: span 2;
    position: relative;
}

.impact-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-red {
    background: #DC143C;
}

.impact-chart {
    width: 100%;
    height: 250px;
}

/* Control Center Responsive */
@media (max-width: 1400px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-card-large {
        grid-column: span 2;
    }
    
    .status-cards-column {
        grid-column: span 2;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-card,
    .chart-card-large,
    .status-cards-column,
    .impact-card,
    .impact-chart-card {
        grid-column: span 1;
    }
    
    .status-cards-column {
        flex-direction: column;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .about-grid,
    .business-os-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .system-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .network-visual {
        width: 400px;
        height: 320px;
    }

    .business-system-content {
        max-width: 100%;
    }

    .solutions-grid,
    .system-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .network-visual {
        width: 300px;
        height: 240px;
        right: 2%;
    }

    .business-system-content {
        max-width: 100%;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
