@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3), 0 0 40px rgba(0, 217, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.6), 0 0 80px rgba(0, 217, 255, 0.3);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Panel 1 - Hero Section */
.hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding: 80px 100px;
    align-items: center;
    background: radial-gradient(ellipse at top, rgba(0, 217, 255, 0.15), transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(0, 255, 136, 0.1), transparent 50%),
                #0a0a0a;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 60%);
    filter: blur(100px);
    animation: float 10s ease-in-out infinite;
}

.hero-robot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 1s ease-out;
    z-index: 2;
}

.hero-robot {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.3)) 
            drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-robot:hover {
    transform: scale(1.05);
}

.hero-content {
    padding-left: 60px;
    animation: fadeIn 1s ease-out 0.2s both;
    z-index: 2;
}

.brand-name {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #ffffff 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00D9FF, transparent);
    border-radius: 2px;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.sub-headline {
    font-size: 1.3rem;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 600px;
}

.top-download-btn {
    background: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px 55px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3),
                0 0 40px rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.top-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.top-download-btn:hover::before {
    left: 100%;
}

.top-download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5),
                0 0 60px rgba(0, 217, 255, 0.2);
}

.tag-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag-button-wrapper {
    position: relative;
    display: inline-block;
}

.tag-button {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.tag-button.black {
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    border-color: rgba(0, 217, 255, 0.3);
}

.tag-button.gray {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.tag-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.6);
}

.tag-button.black:hover {
    background: rgba(0, 217, 255, 0.2);
}

.tag-button.gray:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tag-button .arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
}

.tag-button:hover .arrow {
    transform: translate(4px, -4px);
}

.tag-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 25px 30px;
    border-radius: 16px;
    min-width: 300px;
    max-width: 350px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(0, 217, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    pointer-events: none;
}

.tag-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgba(10, 10, 10, 0.95);
}

.tag-popup-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #00D9FF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-popup-text {
    font-size: 0.9rem;
    color: #c0c0c0;
    line-height: 1.6;
}

@media (hover: hover) {
    .tag-button-wrapper:hover .tag-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

@media (hover: none) {
    .tag-popup.mobile-active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

/* Panel 2 - Problems Section */
.problems-panel {
    padding: 120px 100px;
    background: #0a0a0a;
    position: relative;
}

.panel-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: fadeIn 1s ease-out;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.problem-block {
    padding: 60px;
    border-radius: 20px;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.problem-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 217, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.problem-block:hover::before {
    opacity: 1;
}

.problem-block:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.15);
}

.problem-block.light {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.problem-block.dark {
    background: rgba(0, 217, 255, 0.05);
    color: #ffffff;
    border-color: rgba(0, 217, 255, 0.1);
}

.problem-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #00D9FF;
    position: relative;
    z-index: 1;
}

.problem-text {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Panel 3 - Results Section */
.results-panel {
    padding: 120px 100px;
    background: #0a0a0a;
    position: relative;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.result-block {
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.result-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00D9FF, #00FF88);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.result-block:hover::before {
    transform: scaleX(1);
}

.result-block:hover {
    border-color: #00D9FF;
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.25);
    background: rgba(0, 217, 255, 0.05);
}

.result-percentage {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.result-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-description {
    font-size: 1.05rem;
    color: #a0a0a0;
    line-height: 1.7;
}

.bottom-tags {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Robot Comment Section */
.robot-comment-section {
    position: relative;
    padding: 100px 100px;
    background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.08), transparent 70%),
                #0a0a0a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.comment-robot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-robot {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.2));
    animation: float 8s ease-in-out infinite;
}

.robot-comment {
    position: absolute;
    top: 20%;
    right: -80px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 255, 136, 0.15));
    backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    max-width: 300px;
    opacity: 0;
    z-index: 20;
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3),
                0 0 0 1px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.robot-comment::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(0, 217, 255, 0.2);
}

.robot-comment.show {
    animation: commentPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.robot-comment.fade-out {
    animation: commentFadeOut 0.5s ease-in forwards;
}

@keyframes commentPop {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.5);
    }
    50% {
        transform: translateX(-8px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes commentFadeOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-40px) scale(0.5);
    }
}

.robot-comment-icon {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.5rem;
}

/* Download Section */
.download-section {
    padding: 120px 100px;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    text-align: center;
    scroll-margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 217, 255, 0.15), transparent 70%);
    filter: blur(80px);
}

.download-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00D9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
}

.download-subtitle {
    font-size: 1.3rem;
    color: #a0a0a0;
    margin-bottom: 70px;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.platform-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    padding: 60px 45px;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 217, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00D9FF, #00FF88);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #00D9FF;
    box-shadow: 0 25px 70px rgba(0, 217, 255, 0.3),
                0 0 0 1px rgba(0, 217, 255, 0.2);
    background: rgba(0, 217, 255, 0.05);
}

.platform-icon {
    font-size: 4.5rem;
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.platform-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 217, 255, 0.3));
}

.platform-name {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.platform-description {
    font-size: 1.05rem;
    color: #a0a0a0;
    margin-bottom: 35px;
    line-height: 1.7;
}

.platform-download-btn {
    background: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    color: #0a0a0a;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 18px 45px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.platform-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.platform-download-btn:hover::before {
    left: 100%;
}

.platform-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 217, 255, 0.5);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-panel,
    .problems-panel,
    .results-panel,
    .robot-comment-section,
    .download-section {
        padding: 80px 60px;
    }

    .main-headline {
        font-size: 2.8rem;
    }

    .panel-title {
        font-size: 2.8rem;
    }

    .download-platforms {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 968px) {
    .hero-panel,
    .robot-comment-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .results-container {
        grid-template-columns: 1fr;
    }

    .robot-comment {
        right: 30px;
        top: 15%;
        max-width: 250px;
    }

    .brand-name::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-panel,
    .problems-panel,
    .results-panel,
    .robot-comment-section,
    .download-section {
        padding: 60px 25px;
    }

    .download-platforms {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-title {
        font-size: 2.5rem;
    }

    .brand-name {
        font-size: 2.8rem;
    }

    .main-headline {
        font-size: 2rem;
    }

    .panel-title {
        font-size: 2rem;
    }

    .result-percentage {
        font-size: 3.5rem;
    }

    .problem-block {
        padding: 40px;
        min-height: 280px;
    }

    .result-block {
        padding: 35px;
    }
}
