/* TemplateMo 594 nexus flow - https://templatemo.com/tm-594-nexus-flow */
@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-grey: #e5e7eb;
    --primary-orange: #f97316;
    --primary-purple: #7c3aed;
    --secondary-amber: #fbbf24;
    --dark-bg: #1a0b2e;
    --darker-bg: #0f051a;
    --card-bg: rgba(229, 231, 235, 0.03);
    --border-color: rgba(229, 231, 235, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --primary-cyan: #00ffff;
    --primary-pink: #ff00ff
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden
}

.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    overflow: hidden;
    z-index: -5
}

.cyber-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.15)0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.15)0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.15)0%, transparent 50%), radial-gradient(circle at 60% 20%, rgba(249, 115, 22, 0.15)0%, transparent 50%);
    animation: gradientRotate 30s linear infinite;
    filter: blur(40px)
}

@keyframes gradientRotate {
    0% {
        transform: rotate(0deg) scale(1)
    }

    50% {
        transform: rotate(180deg) scale(1.2)
    }

    100% {
        transform: rotate(360deg) scale(1)
    }
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15
}

.matrix-column {
    position: absolute;
    top: -100vh;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    text-shadow: 0 0 5px var(--primary-cyan);
    animation: matrixFall linear infinite;
    writing-mode: vertical-rl;
    text-orientation: upright;
    background: linear-gradient(to bottom, transparent 0%, var(--primary-cyan)50%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.matrix-column:nth-child(3n) {
    color: var(--primary-pink);
    text-shadow: 0 0 5px var(--primary-pink);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-pink)50%, transparent 100%)
}

.matrix-column:nth-child(5n) {
    color: var(--primary-purple);
    text-shadow: 0 0 5px var(--primary-purple);
    background: linear-gradient(to bottom, transparent 0%, var(--primary-purple)50%, transparent 100%)
}

@keyframes matrixFall {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(200vh)
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 255, 255, 0.05)1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.05)1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite
}

.grid-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 0, 255, 0.03)2px, transparent 2px), linear-gradient(90deg, rgba(255, 0, 255, 0.03)2px, transparent 2px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite reverse
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0)
    }

    100% {
        transform: translate(50px, 50px)
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: float 20s infinite;
    opacity: 0;
    transition: transform .3s ease, box-shadow .3s ease
}

.particle:nth-child(odd) {
    background: var(--primary-pink);
    box-shadow: 0 0 10px var(--primary-pink);
    animation-duration: 25s
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0
    }

    10% {
        opacity: 1
    }

    90% {
        opacity: 1
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0
    }
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    animation: orbFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -4
}

.orb1 {
    width: 300px;
    height: 300px;
    background: var(--primary-cyan);
    top: 10%;
    left: -150px;
    animation-delay: 0s
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--primary-pink);
    bottom: 10%;
    right: -200px;
    animation-delay: 5s
}

.orb3 {
    width: 250px;
    height: 250px;
    background: var(--primary-purple);
    top: 50%;
    left: 50%;
    animation-delay: 10s
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(100px, -50px) scale(1.1)
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9)
    }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%, rgba(0, 255, 255, 0.03)50%, transparent 100%);
    background-size: 100% 4px;
    animation: scanline 8s linear infinite
}

.scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8)100%);
    pointer-events: none
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .03;
    z-index: -1;
    pointer-events: none;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03)2px, rgba(255, 255, 255, 0.03)4px), repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0, 255, 255, 0.02)2px, rgba(0, 255, 255, 0.02)4px)
}

@keyframes scanline {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(100%)
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 10000;
    transition: all .3s ease
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 30px;
    transition: all .3s ease
}

.mobile-menu-button:hover {
    color: var(--primary-orange);
    transform: scale(1.1)
}

.hamburger {
    position: relative;
    width: 25px;
    height: 20px;
    margin: auto
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--primary-cyan);
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all .25s ease-in-out;
    box-shadow: 0 0 5px var(--primary-cyan);
    transform-origin: center
}

.hamburger span:nth-child(1) {
    top: 0
}

.hamburger span:nth-child(2) {
    top: 9px
}

.hamburger span:nth-child(3) {
    top: 18px
}

.mobile-menu-button.active .hamburger span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
    background: var(--primary-orange)
}

.mobile-menu-button.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -25px
}

.mobile-menu-button.active .hamburger span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
    background: var(--primary-orange)
}

.mobile-menu {
    position: fixed;
    top: 78px;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: calc(100vh - 78px);
    background: var(--darker-bg);
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--border-color);
    z-index: 9999;
    transition: right .4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column
}

.mobile-menu.active {
    right: 0
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible
}

.mobile-menu-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 15px var(--primary-cyan);
    text-decoration: none;
    display: inline-block;
    transition: all .3s ease
}

.mobile-menu-logo::before {
    content: '>';
    margin-right: .5rem;
    color: var(--primary-orange);
    transition: all .3s ease
}

.mobile-menu-logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-cyan)
}

.mobile-menu-logo:hover {
    text-shadow: 0 0 25px var(--primary-cyan);
    transform: scale(1.05)
}

.mobile-menu-logo:hover::before {
    margin-right: .8rem;
    text-shadow: 0 0 10px var(--primary-orange)
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease
}

.mobile-menu-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg)
}

.mobile-menu-nav {
    padding: 0;
    flex-grow: 1
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.mobile-menu-nav li {
    margin: 0
}

.mobile-menu-nav a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all .3s ease;
    position: relative;
    border-bottom: 1px solid rgba(229, 231, 235, 0.1)
}

.mobile-menu-nav a:hover {
    color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
    padding-left: 3rem;
    text-shadow: 0 0 10px var(--primary-cyan)
}

.mobile-menu-nav a::before {
    content: '>';
    position: absolute;
    left: 2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all .3s ease;
    color: var(--primary-orange)
}

.mobile-menu-nav a:hover::before {
    opacity: 1;
    transform: translateX(0)
}

.mobile-menu-nav li:last-child a {
    border-bottom: none
}

.mobile-menu-cta {
    padding: 2rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color)
}

.cyber-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--darker-bg);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s ease;
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    width: 100%;
    text-align: center
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5)
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (min-width:769px) {
    .mobile-menu-button {
        display: none !important
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        gap: 0
    }

    .nav-top {
        flex: 0 0 auto
    }

    .nav-links {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0 2rem;
        max-width: none
    }

    .nav-links a {
        padding: 0;
        border-bottom: none;
        font-size: .9rem
    }

    .nav-links a:hover {
        background: none;
        transform: none;
        padding-left: 0
    }

    .nav-links a::before {
        display: none
    }

    .nav-bottom {
        flex: 0 0 auto
    }

    .cyber-button {
        width: auto;
        max-width: none
    }
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 20px var(--primary-cyan);
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all .3s ease
}

.logo:hover {
    text-shadow: 0 0 30px var(--primary-cyan);
    transform: scale(1.05)
}

.logo::before {
    content: '>';
    margin-right: .5rem;
    color: var(--primary-orange);
    transition: all .3s ease
}

.logo:hover::before {
    margin-right: .8rem;
    text-shadow: 0 0 10px var(--primary-orange)
}

.logo::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-cyan)
}

@keyframes blink {

    0%,
    50% {
        opacity: 1
    }

    51%,
    100% {
        opacity: 0
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 1px
}

.nav-links a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan)
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    transition: width .3s ease;
    box-shadow: 0 0 10px var(--primary-cyan)
}

.nav-links a:hover::before {
    width: 100%
}

.hero {
    padding: 150px 2rem 100px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    cursor: pointer;
    line-height: 1.2
}

.hero-nexus {
    background: linear-gradient(135deg, var(--primary-cyan), #00ccff);
    background: -webkit-linear-gradient(135deg, var(--primary-cyan), #00ccff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all .3s ease;
    animation: cyanPulse 3s ease-in-out infinite;
    position: relative
}

.hero-flow {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    background: -webkit-linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: .1em;
    display: inline-block;
    transition: all .3s ease;
    animation: purplePulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
    position: relative
}

@keyframes cyanPulse {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
        transform: translateY(0) scale(1)
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 25px rgba(0, 255, 255, 0.8));
        transform: translateY(-2px) scale(1.01)
    }
}

@keyframes purplePulse {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 15px rgba(255, 0, 255, 0.6));
        transform: translateY(0) scale(1)
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 255, 0.8));
        transform: translateY(-2px) scale(1.01)
    }
}

.hero-title:hover .hero-nexus {
    transform: translateX(-3px) scale(1.02);
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(0, 255, 255, 0.9))
}

.hero-title:hover .hero-flow {
    transform: translateX(3px) scale(1.02);
    filter: brightness(1.2) drop-shadow(0 0 30px rgba(255, 0, 255, 0.9))
}

.hero-nexus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08)0%, transparent 60%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none
}

.hero-flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.08)0%, transparent 60%);
    filter: blur(50px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: .5;
        transform: translate(-50%, -50%) scale(0.9)
    }

    50% {
        opacity: .8;
        transform: translate(-50%, -50%) scale(1)
    }
}

.hero-title:hover .hero-nexus,
.hero-title:hover .hero-flow {
    animation-play-state: paused
}

.hero-nexus::after,
.hero-flow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    transition: width .3s ease
}

.hero-nexus::after {
    background: linear-gradient(90deg, var(--primary-cyan), transparent)
}

.hero-flow::after {
    background: linear-gradient(90deg, transparent, var(--primary-pink));
    left: auto;
    right: 0
}

.hero-title:hover .hero-nexus::after,
.hero-title:hover .hero-flow::after {
    width: 100%
}

@keyframes typeIn {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: .9;
    background: linear-gradient(135deg, var(--text-secondary), var(--primary-grey));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    color: var(--darker-bg);
    padding: 1.2rem 3rem;
    border: none;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4)
}

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    padding: 1.2rem 3rem;
    border: 2px solid var(--primary-cyan);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%)
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--darker-bg);
    box-shadow: 0 0 30px var(--primary-cyan)
}

.features {
    padding: 120px 2rem;
    position: relative
}

.features-container {
    max-width: 1400px;
    margin: 0 auto
}

.section-header {
    text-align: center;
    margin-bottom: 5rem
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5)
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    box-shadow: 0 0 20px var(--primary-cyan)
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    position: relative;
    transition: all .4s ease;
    backdrop-filter: blur(10px);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px)
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2)
}

.feature-card:hover::before {
    opacity: .1
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5)
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8
}

.stats {
    padding: 80px 2rem;
    background: rgba(0, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color)
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center
}

.stat-item {
    position: relative
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: .5rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3))
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px
}

.pricing {
    padding: 120px 2rem
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    text-align: center;
    position: relative;
    transition: all .4s ease;
    backdrop-filter: blur(10px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px)
}

.pricing-card.featured {
    border-color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3)
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
    color: var(--darker-bg);
    padding: .5rem 2rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%)
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.2)
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px)
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5)
}

.plan-price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: .5rem;
    text-shadow: 0 0 20px var(--primary-cyan)
}

.plan-period {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left
}

.plan-features li {
    padding: 1rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1)
}

.plan-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-size: .8rem
}

.contact {
    padding: 120px 2rem;
    background: rgba(0, 255, 255, 0.02);
    border-top: 1px solid var(--border-color)
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 4rem
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    backdrop-filter: blur(10px);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1)
}

.form-group {
    margin-bottom: 2rem
}

.form-group label {
    display: block;
    color: var(--primary-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
    margin-bottom: .8rem;
    text-shadow: 0 0 10px var(--primary-cyan)
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all .3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px)
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: .7
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3)
}

.form-group textarea {
    resize: vertical;
    min-height: 120px
}

.btn-submit {
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
    border: none;
    transition: all .3s ease
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(229, 231, 235, 0.4)
}

.footer {
    padding: 60px 2rem 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 80px
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
    transition: all .3s ease;
    position: relative;
    padding: 0 .5rem
}

.footer-links a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--primary-cyan);
    transform: translateY(-2px)
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-cyan);
    transition: width .3s ease;
    box-shadow: 0 0 5px var(--primary-cyan)
}

.footer-links a:hover::after {
    width: 80%
}

.footer-separator {
    color: var(--primary-cyan);
    opacity: .5;
    font-size: .8rem;
    margin: 0 .2rem
}

.footer-bottom {
    color: var(--text-secondary);
    font-size: .9rem
}

.footer-bottom p {
    margin: .5rem 0
}

.footer-credit {
    font-size: .85rem;
    opacity: .8;
    margin-top: .5rem
}

.footer-credit a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: all .3s ease;
    font-weight: 600
}

.footer-credit a:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px var(--primary-pink);
    text-decoration: underline
}

/* Fix for mobile menu button positioning */
@media (max-width: 500px) {
    /* Ensure nav fits within viewport without horizontal scroll */
    nav {
        width: 100%;
        max-width: 100vw;
        padding: 0.75rem 1rem;
        overflow-x: hidden;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-top {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Fix for logo positioning */
    .logo {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60%;
    }
    
    /* Fix for mobile menu button positioning */
    .mobile-menu-button {
        display: block !important;
        position: static;
        margin: 0;
        transform: none;
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .mobile-menu-button.hamburger {
        width: 25px;
        height: 20px;
    }
    
    /* Hide desktop navigation elements */
    .nav-links,
    .nav-bottom,
    .nav-bottom .cyber-button {
        display: none !important;
    }
    
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Fix for mobile menu positioning */
    .mobile-menu {
        width: 85%;
        max-width: 320px;
        right: -100%;
        top: 0;
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    
    .mobile-menu.active {
        right: 0;
    }
}

/* Special fix for very small screens (360px) */
@media (max-width: 400px) {
    nav {
        padding: 0.75rem 0.75rem;
    }
    
    .logo {
        font-size: 1.1rem;
        max-width: 55%;
    }
    
    .mobile-menu-button {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu {
        width: 90%;
        max-width: 300px;
    }
    
    /* Ensure content doesn't overflow */
    .hero-title,
    .hero-subtitle,
    .section-title,
    .section-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Additional safety fixes */
* {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Fix for landscape orientation */
@media (max-height: 400px) and (orientation: landscape) {
    .mobile-menu {
        width: 60%;
        max-width: 280px;
    }
    
    nav {
        padding: 0.5rem 0.75rem;
    }
}

/* Animation for button to make it more visible */
.mobile-menu-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

/* Touch-friendly button area */
.mobile-menu-button {
    padding: 8px;
    border-radius: 4px;
    background: rgba(0, 255, 255, 0.1);
}

/* Media query for 360x740 specifically */
@media screen and (max-width: 360px) {
    nav {
        padding: 0.5rem;
        min-height: 60px;
    }
    
    .nav-container {
        min-height: 50px;
    }
    
    .logo {
        font-size: 1rem;
        max-width: 50%;
    }
    
    .mobile-menu-button {
        width: 26px;
        height: 26px;
    }
    
    .mobile-menu {
        width: 95%;
        max-width: none;
    }
    
    /* Ensure no horizontal scroll */
    .hero,
    .features,
    .pricing,
    .contact,
    .footer {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Emergency fix for extremely problematic cases */
@media (max-width: 360px) and (orientation: portrait) {
    /* Force no horizontal scrolling */
    body, html {
        overflow-x: hidden !important;
        position: relative;
        width: 100vw;
    }
    
    /* Container width fix */
    .nav-container {
        min-width: 100%;
        width: 100vw;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    /* Button positioning fix */
    .mobile-menu-button {
        position: relative !important;
        right: 0 !important;
        left: auto !important;
        margin-left: auto;
    }
    
    /* Logo truncation for very small screens */
    .logo {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
        line-height: normal;
    }
}

@media (max-width:480px) {
    .mobile-menu {
        width: 90%;
        max-width: none
    }

    .mobile-menu-header {
        padding: 1.5rem
    }

    .mobile-menu-nav a {
        padding: 1.2rem 1.5rem;
        font-size: 1rem
    }

    .mobile-menu-cta {
        padding: 1.5rem
    }

    .cyber-button {
        padding: .8rem 1.5rem;
        font-size: .9rem
    }

    .hero-title {
        font-size: 2rem
    }

    .hero-nexus,
    .hero-flow {
        display: block;
        margin: 0
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all .8s ease
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

.data-streams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -3;
    pointer-events: none
}

.data-stream {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    animation: dataFlow 3s ease-in-out infinite
}

.data-stream:nth-child(odd) {
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
    animation-duration: 4s
}

@keyframes dataFlow {
    0% {
        width: 0;
        opacity: 0;
        transform: translateX(0)
    }

    50% {
        width: 300px;
        opacity: .8
    }

    100% {
        width: 0;
        opacity: 0;
        transform: translateX(100vw)
    }
}

@media (max-width:668px) {
    .matrix-rain {
        display: none
    }

    .particles {
        opacity: .5
    }

    .particle {
        animation-duration: 30s !important
    }

    .orb {
        filter: blur(100px);
        opacity: .3
    }

    .scanlines::before {
        animation: none;
        transform: translateY(0)
    }

    .data-streams {
        display: none
    }

    .noise-overlay {
        display: none
    }
}

@media (prefers-reduced-motion:reduce) {

    .cyber-gradient,
    .grid-lines,
    .grid-glow,
    .particle,
    .orb,
    .matrix-column,
    .scanlines::before,
    .data-stream {
        animation: none !important
    }
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--darker-bg)
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-cyan), var(--primary-pink));
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-pink), var(--primary-cyan))
}\\/* Mobile adjustments for 360×740 devices */
@media (max-width: 400px) {
    /* Navigation */
    nav {
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: none;
        right: -100%;
        height: 100vh;
        top: 0;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 1rem 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }
    
    .hero-nexus, .hero-flow {
        display: block;
        margin: 0.5rem 0;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Features Section */
    .features {
        padding: 80px 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Stats Section */
    .stats {
        padding: 60px 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-item {
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Pricing Section */
    .pricing {
        padding: 80px 1rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .pricing-card.featured::before {
        padding: 0.4rem 1.5rem;
        font-size: 0.7rem;
    }
    
    .plan-name {
        font-size: 1.2rem;
    }
    
    .plan-price {
        font-size: 3rem;
    }
    
    .plan-features {
        margin-bottom: 2rem;
    }
    
    .plan-features li {
        padding: 0.8rem 0;
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 80px 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 1rem 30px;
        margin-top: 60px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links a {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
    
    .footer-credit {
        font-size: 0.75rem;
    }
    
    /* Mobile Menu Optimizations */
    .mobile-menu-header {
        padding: 1.5rem;
    }
    
    .mobile-menu-logo {
        font-size: 1.2rem;
    }
    
    .mobile-menu-nav a {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu-cta {
        padding: 1.5rem;
    }
    
    .cyber-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Performance Optimizations for Small Screens */
    .cyber-gradient {
        filter: blur(30px);
        animation-duration: 40s;
    }
    
    .particle {
        width: 2px;
        height: 2px;
        animation-duration: 40s !important;
    }
    
    .orb {
        filter: blur(120px);
        opacity: 0.2;
    }
    
    .orb1 {
        width: 200px;
        height: 200px;
    }
    
    .orb2 {
        width: 250px;
        height: 250px;
    }
    
    .orb3 {
        width: 150px;
        height: 150px;
    }
    
    .grid-lines,
    .grid-glow {
        background-size: 80px 80px;
        animation-duration: 40s;
    }
    
    .matrix-rain {
        display: none;
    }
    
    .data-streams {
        display: none;
    }
    
    /* Scrollbar adjustments */
    ::-webkit-scrollbar {
        width: 4px;
    }
    
    /* Touch-friendly improvements */
    .nav-links a,
    .footer-links a,
    .cyber-button,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Fix for mobile viewport height issues */
    .hero {
        min-height: 100svh;
    }
    
    /* Safe area insets for newer iPhones */
    @supports (padding: max(0px)) {
        .hero,
        .features,
        .pricing,
        .contact {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
        }
        
        .hero {
            padding-top: max(120px, calc(120px + env(safe-area-inset-top)));
            padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom)));
        }
    }
}

/* Additional optimizations for very small screens (under 360px) */


/* Landscape mode adjustments for 360×740 */
@media (max-height: 400px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 1rem 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
        width: auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu {
        width: 50%;
        height: 100vh;
        top: 0;
    }
}