/* CSS Variables for Theme */
:root {
    /* Colors */
    --bg-dark: #070707;
    --bg-darker: #000000;
    --bg-light: #111111;

    --accent-blue: #00f3ff;
    --accent-blue-dim: rgba(0, 243, 255, 0.2);
    --accent-green: #00ff88;
    --accent-red: #ff3366;

    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --glass-bg: rgba(15, 15, 15, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-sans: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --section-pad: 100px 0;
    --nav-height: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.mb-5 {
    margin-bottom: 3rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-blue);
}

.highlight-red {
    color: var(--accent-red);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    /* Industrial sharp edges vs rounded */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--accent-blue-dim);
}

.btn-primary:hover {
    background-color: #fff;
    box-shadow: 0 0 25px var(--accent-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--accent-blue-dim);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    /* Align links to right without logo */
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, var(--bg-light) 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

/* Decorative Glows */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--accent-blue);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--accent-green);
    opacity: 0.1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 2rem;
    background: rgba(0, 243, 255, 0.05);
    cursor: default;
}

/* Edgy text effect */
.blur-text {
    filter: blur(4px);
    transition: filter 0.3s ease;
    user-select: none;
}

.badge:hover .blur-text {
    filter: blur(0px);
}

/* Background Media & Particles */
.hero-media-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0.6;
    /* Increased opacity slightly to show videos better */
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Sections */
.section-padding {
    padding: var(--section-pad);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Problem Section */
.problem {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--glass-border);
}

/* Solution Section - Glassmorphism */
.solution {
    background-image: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.grid {
    display: grid;
    gap: 2rem;
}

.trifecta-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--bg-darker);
    position: relative;
}

.philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    filter: blur(250px);
    opacity: 0.1;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    background: rgba(0, 243, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.method span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--accent-blue);
}

/* Form */
.input-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

textarea {
    resize: vertical;
}

/* Footer */
.footer {
    position: relative;
    background-color: #000;
    border-top: 1px solid var(--glass-border);
    padding: 6rem 0;
    overflow: hidden;
}

.footer-media-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.footer-media-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.footer-media-bg .bg-video {
    opacity: 0.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-legal {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive Media Queries */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
        /* In a real app, implement a hamburger menu dropdown here */
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    :root {
        --section-pad: 60px 0;
    }
}