:root {
    /* Color Palette - Deep Space & Neon */
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --bg-lighter: #233554;
    --primary: #64ffda;
    /* Neon Cyan */
    --secondary: #bd34fe;
    /* Cyber Purple */
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --white: #e6f1ff;
    --glass: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);

    /* Fonts */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Transitions */
    --trans: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    color: var(--white);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans);
}

ul {
    list-style: none;
}

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.center-align {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    color: var(--primary);
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* === LOADER === */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOutLoader 0.5s ease-out 1.5s forwards;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-lighter);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeOutLoader {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* === HEADER === */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--trans);
}

.main-header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 60px;
    width: auto;
    filter: invert(1);
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-family: var(--font-head);
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--trans);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Button Styles */
.btn-glow {
    position: relative;
    padding: 1px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    overflow: hidden;
}

.btn-content {
    display: block;
    background: var(--bg-dark);
    color: var(--primary);
    padding: 8px 20px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    transition: var(--trans);
}

.btn-glow:hover .btn-content {
    background: transparent;
    color: var(--bg-dark);
}

.btn-primary-large {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-head);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--trans);
}

.btn-primary-large:hover {
    color: var(--bg-dark);
}

.btn-primary-large:hover::before {
    width: 100%;
}

.btn-secondary-large {
    display: inline-block;
    padding: 15px 30px;
    color: var(--text-main);
    font-family: var(--font-head);
    transition: var(--trans);
}

.btn-secondary-large:hover {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--trans);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 25, 47, 0.98);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--trans);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-links {
    text-align: center;
}

.mobile-links li {
    margin: 20px 0;
}

.mobile-links a {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--white);
}

/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-size: 12px;
    font-family: var(--font-head);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.type-writer {
    border-right: 2px solid var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(30, end), blink-caret .75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--secondary);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--white);
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* 3D Visual in Hero */
.hero-visual {
    perspective: 1000px;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.floating-card {
    width: 300px;
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(10deg);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(-10deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-5deg) rotateX(5deg);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 20px;
}

.chart-mockup {
    height: 100px;
    border-bottom: 1px solid var(--text-muted);
    border-left: 1px solid var(--text-muted);
    position: relative;
    margin-bottom: 20px;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform-origin: left;
    transform: rotate(-30deg);
    animation: growLine 2s forwards 1s;
}

@keyframes growLine {
    to {
        width: 120%;
    }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: 1;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: var(--primary);
    top: -20px;
    right: 0;
    animation: orbFloat 10s infinite;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary);
    bottom: -20px;
    left: 0;
    animation: orbFloat 8s infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
    margin-top: 5px;
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        top: 5px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

/* === MARQUEE === */
.marquee-section {
    background: var(--bg-light);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-head);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    margin: 0 30px;
}

.marquee-content i {
    color: var(--primary);
    font-size: 0.8rem;
    vertical-align: middle;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === SERVICES === */
.services-section {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 2px;
    /* For border gradient */
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: var(--trans);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--trans);
}

.service-card:hover .card-border {
    opacity: 0.3;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-content {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-features {
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.service-features li {
    margin-bottom: 5px;
    list-style-type: disc;
    margin-left: 20px;
}

.text-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.text-link:hover {
    gap: 10px;
}

/* === CALCULATOR === */
.calculator-section {
    background: var(--bg-lighter);
}

.calc-wrapper {
    display: grid;
    gap: 40px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
}

.input-group input[type="range"] {
    width: 100%;
    height: 5px;
    background: var(--bg-dark);
    outline: none;
    -webkit-appearance: none;
    border-radius: 5px;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

.range-value {
    text-align: right;
    color: var(--primary);
    font-weight: 700;
    margin-top: 5px;
}

.calc-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-box {
    background: rgba(10, 25, 47, 0.5);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.result-box.highlight {
    border: 1px solid var(--primary);
}

.result-box.highlight-alt {
    border: 1px solid var(--secondary);
}

.result-box span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.result-box h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

/* === INDUSTRIES === */
.industry-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-head);
    transition: var(--trans);
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.industry-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--glass-border);
}

.ind-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
}

/* === TESTIMONIALS === */
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-lighter);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: var(--bg-dark);
}

/* === CONTACT PAGE === */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.info-panel {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    color: var(--primary);
    font-size: 24px;
    margin-top: 5px;
}

.custom-form .input-group {
    margin-bottom: 20px;
}

.custom-form input,
.custom-form textarea,
.custom-form select {
    width: 100%;
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid var(--text-muted);
    padding: 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    border-radius: 5px;
}

.custom-form input:focus,
.custom-form textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* === LEGAL PAGES === */
.legal-container {
    max-width: 900px;
    margin-top: 40px;
}

.legal-content h2 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.glitched {
    position: relative;
}

/* === FOOTER === */
.main-footer {
    background: var(--bg-dark);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-visual {
        height: 300px;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}