:root {
    --primary: #00d9ff;
    --secondary: #ff006e;
    --accent: #8338ec;
    --dark-bg: #0a0e27;
    --darker-bg: #050813;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
}

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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Canvas Background */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(50px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 550px;
}

/* Logo */
.logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.animated-logo {
    position: relative;
    width: 100%;
    height: 100%;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
    border: 2px solid rgba(0, 217, 255, 0.5);
}

.logo-glow {
    position: absolute;
    inset: -15px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Title */
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.word {
    display: inline-block;
}

.letter {
    display: inline-block;
    animation: letterBounce 0.8s ease-out backwards;
}

.letter:nth-child(1) { animation-delay: 0.05s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.15s; }
.letter:nth-child(4) { animation-delay: 0.2s; }
.letter:nth-child(5) { animation-delay: 0.25s; }
.letter:nth-child(6) { animation-delay: 0.3s; }
.letter:nth-child(7) { animation-delay: 0.35s; }
.letter:nth-child(8) { animation-delay: 0.4s; }

@keyframes letterBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Subtitle */
.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.subtitle-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, var(--primary), transparent);
    animation: expandWidth 0.8s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Tagline */
.tagline {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 450px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* CTA Container */
.cta-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.email-input-modern {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input-modern::placeholder {
    color: var(--text-muted);
}

.email-input-modern:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
}

.cta-button {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* Status Message */
.status-message {
    font-size: 0.95rem;
    font-weight: 600;
    height: 24px;
    color: var(--primary);
}

/* Badge Container */
.badge-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.badge {
    padding: 10px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.badge:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.showcase-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 217, 255, 0.2);
}

.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 0.8s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.95);
    }
    to {
        transform: scale(1);
    }
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.nav-dot:hover {
    background: rgba(0, 217, 255, 0.5);
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 5;
    padding: 100px 80px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 110, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature:hover {
    border-color: var(--primary);
    background: rgba(0, 217, 255, 0.08);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

.feature:hover::before {
    opacity: 1;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-light);
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    position: relative;
    z-index: 5;
    padding: 40px 80px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(5, 8, 19, 0.8));
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 80px 40px;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

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

    .cta-container {
        flex-direction: column;
    }

    .email-input-modern {
        width: 100%;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .features-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature {
        padding: 30px 20px;
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}