@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --text: #ffffff;
    --accent: #00ff88;
    --accent2: #ff0055;
    --accent3: #00d4ff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.2em;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 15vw, 18rem);
    line-height: 0.85;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    position: relative;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
}

.glitch {
    position: relative;
    color: var(--text);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-anim 2s infinite;
    color: var(--accent);
    z-index: -1;
}

.glitch::after {
    animation: glitch-anim 3s infinite reverse;
    color: var(--accent2);
    z-index: -2;
}

@keyframes glitch-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, -2px);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(2px, 2px);
    }
    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-2px, 2px);
    }
    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(2px, -2px);
    }
    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-2px, 2px);
    }
    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, -2px);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    padding: 1.5rem 4rem;
    border: 2px solid var(--accent);
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.hero-cta:hover::before {
    left: 0;
}

.hero-cta:hover {
    color: var(--bg);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 15px);
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.features {
    min-height: 100vh;
    padding: 15rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 10rem;
}

.section-number {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    letter-spacing: 0.05em;
    line-height: 1;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.feature-card {
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 255, 136, 0.2);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.showcase {
    min-height: 100vh;
    padding: 15rem 4rem;
    display: flex;
    align-items: center;
    position: relative;
}

.showcase-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 8rem;
    align-items: center;
}

.showcase-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: 0.05em;
    line-height: 0.9;
    margin-bottom: 3rem;
}

.showcase-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.showcase-visual {
    position: relative;
    height: 600px;
}

.floating-element {
    position: absolute;
    padding: 2rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.floating-element:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.element-1 {
    top: 0;
    left: 0;
    width: 280px;
}

.element-2 {
    top: 45%;
    right: 0;
    width: 300px;
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.element-3 {
    bottom: 0;
    left: 10%;
    width: 260px;
    background: rgba(255, 0, 85, 0.1);
    border-color: rgba(255, 0, 85, 0.3);
}

.element-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.element-content {
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.cta-content {
    max-width: 1000px;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    letter-spacing: 0.05em;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
}

.cta-button {
    display: inline-block;
    padding: 2rem 5rem;
    background: var(--accent);
    color: var(--bg);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.4);
}

footer {
    padding: 8rem 4rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-section h3 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 8rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-menu-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-links a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    nav {
        padding: 2rem 2rem;
    }
    .nav-menu {
        gap: 2rem;
        font-size: 0.85rem;
    }
    .hero-title {
        font-size: clamp(4rem, 12vw, 10rem);
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
        margin: 0 auto;
    }
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    .showcase-visual {
        height: 500px;
        margin: 0 auto;
        max-width: 500px;
    }
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    .cursor,
    .cursor-dot {
        display: none;
    }
    nav {
        padding: 1.5rem 1.5rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero {
        padding: 2rem 1.5rem;
        height: 100svh;
    }
    .hero-title {
        font-size: clamp(3.5rem, 15vw, 6rem);
        margin-bottom: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }
    .hero-cta {
        padding: 1.2rem 2.5rem;
        font-size: 0.9rem;
    }
    .scroll-indicator {
        bottom: 2rem;
        font-size: 0.7rem;
    }
    .scroll-line {
        height: 40px;
    }
    .features,
    .showcase,
    .cta-section {
        padding: 6rem 1.5rem;
    }
    .section-number {
        font-size: 0.8rem;
    }
    .section-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }
    .features-grid {
        gap: 2rem;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .feature-number {
        font-size: 3.5rem;
    }
    .feature-title {
        font-size: 1.5rem;
    }
    .feature-description {
        font-size: 0.95rem;
    }
    .showcase-content {
        gap: 4rem;
    }
    .showcase-text h2 {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 2rem;
    }
    .showcase-text p {
        font-size: 1rem;
    }
    .stats {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 3rem;
    }
    .stat-number {
        font-size: 4rem;
    }
    .showcase-visual {
        height: 450px;
        width: 100%;
    }
    .floating-element {
        padding: 1.5rem;
    }
    .element-1 {
        width: 220px !important;
        top: 0;
        left: 0;
    }
    .element-2 {
        width: 240px !important;
        top: 35%;
        right: -10px;
    }
    .element-3 {
        width: 200px !important;
        bottom: 0;
        left: 5%;
    }
    .element-label {
        font-size: 0.7rem;
    }
    .element-content {
        font-size: 1.2rem;
    }
    .cta-title {
        font-size: clamp(3rem, 15vw, 6rem);
        margin-bottom: 1.5rem;
    }
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    .cta-button {
        padding: 1.5rem 3rem;
        font-size: 1rem;
    }
    footer {
        padding: 6rem 1.5rem 3rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-brand {
        font-size: 2rem;
    }
    .footer-section {
        text-align: center;
    }
    .footer-bottom {
        font-size: 0.8rem;
    }
    .glitch::before,
    .glitch::after {
        display: none;
    }
    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.8rem, 15vw, 4rem);
    }
    .section-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
    .features,
    .showcase,
    .cta-section {
        padding: 5rem 1.5rem;
    }
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
    .showcase-visual {
        height: 400px;
    }
    .element-1,
    .element-2,
    .element-3 {
        width: 180px !important;
    }
    .element-content {
        font-size: 1.1rem;
    }
    .cta-button {
        padding: 1.3rem 2.5rem;
        font-size: 0.9rem;
    }
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 8rem 1.5rem 4rem;
    }
    .scroll-indicator {
        display: none;
    }
    .features,
    .showcase,
    .cta-section {
        padding: 8rem 1.5rem;
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 0.2em;
    color: var(--accent);
}

@keyframes noise {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-5%, -5%);
    }
    20% {
        transform: translate(-10%, 5%);
    }
    30% {
        transform: translate(5%, -10%);
    }
    40% {
        transform: translate(-5%, 15%);
    }
    50% {
        transform: translate(-10%, 5%);
    }
    60% {
        transform: translate(15%, 0);
    }
    70% {
        transform: translate(0, 10%);
    }
    80% {
        transform: translate(-15%, 0);
    }
    90% {
        transform: translate(10%, 5%);
    }
}
