:root {
    --bg-dark: #0a0a12;
    --bg-panel: #11111a;
    --text-main: #e0e0e0;
    --text-mute: #a0a0b0;
    --accent-blue: #00f3ff;
    --accent-orange: #ff5e00;
    --accent-gold: #ffd700;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glow-blue: 0 0 10px rgba(0, 243, 255, 0.5);
    --glow-orange: 0 0 15px rgba(255, 94, 0, 0.6);
    --border-glow: 1px solid rgba(0, 243, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-blue {
    color: var(--accent-blue);
}

.text-orange {
    color: var(--accent-orange);
}

.text-gold {
    color: var(--accent-gold);
}

.glow-text-blue {
    text-shadow: var(--glow-blue);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-primary {
    background: var(--accent-orange);
    color: #ffffff;
    box-shadow: var(--glow-orange);
}

.btn-primary:hover {
    background: #ff7b00;
    box-shadow: 0 0 25px rgba(255, 94, 0, 0.8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
    /* clip-path needs background to work well with border, simulating border with box-shadow or extra div is common, 
       but for simple effect using standard border for secondary */
    clip-path: none;
    border-radius: 4px;
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/video-stills/video1/frame-15.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for better text contrast */
    background: linear-gradient(to bottom, rgba(10, 10, 18, 0.85) 0%, rgba(10, 10, 18, 0.5) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
    /* "Cloud" / Glass effect for readability */
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 999px;
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 243, 255, 0.08);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.outcome-strip {
    padding: 2rem 0 1rem;
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.98) 0%, #0d1018 100%);
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.outcome-card {
    padding: 1.4rem 1.3rem;
    border: 1px solid rgba(0, 243, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.05), rgba(17, 17, 26, 0.92));
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.05);
}

.outcome-kicker {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
}

.outcome-card p {
    color: var(--text-mute);
    font-size: 1rem;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.section-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
    color: var(--text-mute);
}

.text-left {
    text-align: left;
}

.section-body {
    font-size: 1.1rem;
    color: var(--text-mute);
    line-height: 1.8;
}

.section-tag {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.divider-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
    margin: 0 auto 2rem auto;
}

/* Responsive Image Utilities */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.image-container {
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    position: relative;
    transition: all 0.5s ease;
}

/* Tech Section Specifics */
.tech-section {
    background: radial-gradient(circle at 50% 50%, #161623 0%, var(--bg-dark) 70%);
}

.positioning-section {
    background: linear-gradient(180deg, #0b0f18 0%, #101624 100%);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.capability-card {
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(17, 17, 26, 0.96));
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.2);
}

.capability-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: white;
}

.capability-card p {
    color: var(--text-mute);
}

.capability-label {
    margin-bottom: 0.85rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.glow-border {
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    transition: box-shadow 0.4s ease;
}

.image-container:hover .glow-border {
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
}

/* Methodology Section Specifics */
.method-section {
    background: #0a0a12;
}

.flow-anim-container {
    position: relative;
}

.flow-anim-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 100%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent 0%, rgba(255, 94, 0, 0.1) 50%, transparent 100%);
    z-index: 1;
    opacity: 0;
    animation: flow-pulse 3s infinite linear;
    pointer-events: none;
}

@keyframes flow-pulse {
    0% {
        transform: translateX(-100%) translateY(-50%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) translateY(-50%);
        opacity: 0;
    }
}

/* Tilt effect placeholder (visual depth) */
.tilt-effect {
    perspective: 1000px;
}

/* Split Layout for Sections 4 & 5 */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.visual-content {
    flex: 1;
}

.text-left {
    text-align: left;
}

.section-body {
    font-size: 1.1rem;
    color: var(--text-mute);
    margin-bottom: 2rem;
}

/* Differentiator Section */
.diff-section {
    background: linear-gradient(135deg, #0f0f1a 0%, #050508 100%);
}

.triage-img {
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.2));
}

.inline-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.inline-links a {
    color: var(--accent-blue);
    border-bottom: 1px solid rgba(0, 243, 255, 0.35);
    padding-bottom: 0.2rem;
}

.inline-links a:hover {
    color: white;
    border-color: var(--accent-orange);
}

/* Deliverable Section */
.deliverable-section {
    background:
        radial-gradient(circle at 50% 50%, transparent 0%, #0a0a12 100%),
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    background-color: #0a0a12;
}

.glow-container {
    position: relative;
}

.glow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    z-index: 1;
    animation: pulse-gold 4s infinite ease-in-out;
}

.crate-img {
    position: relative;
    z-index: 2;
}

@keyframes pulse-gold {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }
}

@media (max-width: 900px) {

    .outcome-grid {
        grid-template-columns: 1fr;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        text-align: center;
    }

    .text-left {
        text-align: center;
    }
}

/* Value Section */
.value-section {
    background: #0a0a12;
}

.pillars-img {
    max-width: 900px;
    margin: 0 auto;
}

.demo-entry-section {
    background: linear-gradient(180deg, #0b0f18 0%, #0d1320 100%);
}

.demo-entry-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 520px);
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    border: var(--border-glow);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.08), rgba(17, 17, 26, 0.95));
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.08);
}

.demo-entry-card .section-title {
    margin-bottom: 1rem;
}

.demo-entry-card .section-body {
    max-width: 780px;
}

.demo-entry-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-self: start;
}

.demo-entry-actions .btn {
    min-width: 0;
    width: 100%;
    text-align: center;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 12, 0.78);
    backdrop-filter: blur(8px);
}

.video-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(0, 243, 255, 0.22);
    background: linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(8, 12, 22, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.video-modal-frame {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #03060d;
    aspect-ratio: 16 / 9;
}

.video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.services-section {
    background: radial-gradient(circle at top, rgba(0, 243, 255, 0.08), transparent 40%), #090c14;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.service-pills span {
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

/* Footer Section */
.footer-section {
    background-image: url('../images/video-stills/video4/frame-210.png');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #0a0a12 0%, rgba(10, 10, 18, 0.8) 100%);
    z-index: 1;
}

.footer-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-cta {
    flex: 1;
    text-align: left;
}

.footer-cta h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-container {
    flex: 1;
    max-width: 500px;
    background: rgba(22, 22, 35, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 243, 255, 0.05);
}

.full-width {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-mute);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-icon:hover {
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .demo-entry-card {
        flex-direction: column;
        align-items: flex-start;
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .demo-entry-actions {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .demo-entry-actions .btn {
        width: 100%;
        text-align: center;
    }

    .inline-links {
        justify-content: center;
    }

    .footer-cta h2 {
        text-align: center;
    }

    .features-list {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

