:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-surface: rgba(20, 20, 20, 0.6);
    --bg-surface-hover: rgba(30, 30, 30, 0.8);

    --primary-accent: #00f3ff;
    /* Electric Blue */
    --secondary-accent: #39ff14;
    /* Neon Green */
    --tertiary-accent: #ff00ff;
    /* Magenta/Cyber Pink */

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

    --border-color: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Inter', system-ui, sans-serif;
    /* Can add a cooler font later */

    /* Spacing */
    --container-width: 1400px;
    /* Wider for modern feel */
    --header-height: 90px;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 243, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(57, 255, 20, 0.4);
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-backdrop: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(57, 255, 20, 0.05), transparent 25%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border: var(--glass-border);
}

.glow-text {
    text-shadow: var(--glow-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--primary-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    /* Pillow shape for modern look */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-primary {
    background: var(--primary-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    transition: width 0.3s;
    z-index: -1;
    transform: skewX(-20deg);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.8), 0 0 10px #fff;
    transform: translateY(-2px);
    color: #000;
}

.btn-primary:hover::before {
    width: 150%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-accent);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.section-padding {
    padding: 100px 0;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

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

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(10px);
    }

    50% {
        opacity: 1;
        filter: blur(15px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Header */
/* Header */
header {
    background-color: transparent;
    height: var(--header-height);
    position: fixed;
    top: 20px;
    /* Floating header look */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: var(--container-width);
    z-index: 1000;
    border-radius: 16px;
    transition: all 0.4s ease;
}

header .container {
    height: 100%;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    top: 10px;
    width: 98%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-accent);
    text-shadow: var(--glow-primary);
}

.logo::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-accent);
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
    animation: pulse-glow 2s infinite;
}

.nav-links {
    display: flex;
    gap: 40px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

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

/* Footer Independent Disclaimer */
/* Footer - Cyber Minimal */
footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 30px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.disclaimer-banner {
    background: rgba(255, 0, 0, 0.05);
    /* Subtle warning tint */
    border: 1px solid rgba(255, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 15px;
    border-top: 1px solid var(--primary-accent);
    z-index: 999;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Todo: mobile menu */
    }

    .mobile-sticky-cta {
        display: block;
    }


    .section-padding {
        padding: 50px 0;
    }
}

/* =========================================
   HOME PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('../assets/images/hero-bg-cyber.png') no-repeat center center/cover;
    overflow: hidden;
    margin-top: -20px;
    /* Offset the header margin top */
    padding-top: 100px;
    /* Ensure content clears header */
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #fff;
}

.hero h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-accent);
    position: relative;
}

.hero h1 span::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: var(--primary-accent);
    overflow: hidden;
    border-right: 4px solid var(--secondary-accent);
    animation: text-fill 3s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.5s;
    white-space: nowrap;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

@keyframes text-fill {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
        border-right-color: transparent;
    }
}

.sub-headline {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 650px;
    border-left: 3px solid var(--secondary-accent);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.05), transparent);
}

.hero-btns {
    display: flex;
    gap: 25px;
}

/* Services Overview */
/* Services Grid - Bento Style */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 25px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: span 6;
    /* Default span */
}

/* Feature specific cards to break grid */
.service-card:nth-child(1) {
    grid-column: span 8;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(0, 243, 255, 0.05) 100%);
}

.service-card:nth-child(2) {
    grid-column: span 4;
}

.service-card:nth-child(3) {
    grid-column: span 4;
}

.service-card:nth-child(4) {
    grid-column: span 8;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(57, 255, 20, 0.05) 100%);
}


.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: auto;
    /* Push to top */
    background: rgba(255, 255, 255, 0.03);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 90%;
}

.service-link {
    color: var(--primary-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.service-link:hover {
    opacity: 1;
    gap: 15px;
}


/* Why Choose Us - Holographic Cards */
.why-us {
    background: linear-gradient(to bottom, var(--bg-dark), #000);
    position: relative;
}

.features-grid {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--secondary-accent);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.1);
}

.feature-icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--secondary-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.feature-icon-box i,
.feature-icon-box div {
    transform: rotate(-45deg);
    /* Counter rotate icon */
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Supported Printer Types - Text Only/Generic */
/* Marquee Section */
.printer-types {
    padding: 60px 0;
    overflow: hidden;
    background: var(--bg-surface);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.type-tags-wrapper {
    display: flex;
    gap: 40px;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.type-tag {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
}

.type-tag:hover {
    color: var(--primary-accent);
    -webkit-text-stroke: 1px var(--primary-accent);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    cursor: default;
}

/* Gradient Masks for Marquee */
.printer-types::before,
.printer-types::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.printer-types::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.printer-types::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
}