@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);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

/* Panel 1 - Hero Section */
.hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    padding: 80px 100px;
    align-items: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-robot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 1s ease-out;
}

.hero-robot {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.hero-content {
    padding-left: 60px;
    animation: fadeIn 1s ease-out 0.2s both;
}

.brand-name {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.main-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.sub-headline {
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.top-download-btn {
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.top-download-btn:hover {
    background: #2a2a2a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tag-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag-button-wrapper {
    position: relative;
    display: inline-block;
}

.tag-button {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tag-button.black {
    background: #1a1a1a;
    color: #ffffff;
}

.tag-button.gray {
    background: #e8e8e8;
    color: #1a1a1a;
}

.tag-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tag-button .arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s;
}

.tag-button:hover .arrow {
    transform: translate(3px, -3px);
}

.tag-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s 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: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1a1a1a;
}

.tag-popup-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-popup-text {
    font-size: 0.9rem;
    color: #e8e8e8;
    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: #ffffff;
}

.panel-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeIn 1s ease-out;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.problem-block {
    padding: 50px;
    border-radius: 8px;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.problem-block:hover {
    transform: translateY(-5px);
}

.problem-block.light {
    background: #f5f5f5;
    color: #1a1a1a;
}

.problem-block.dark {
    background: #2a2a2a;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.problem-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.6;
}

.problem-text {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
}

.problem-block.dark::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Panel 3 - Results Section */
.results-panel {
    padding: 120px 100px;
    background: #ffffff;
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.result-block {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-block:hover {
    border-color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-percentage {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.bottom-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Robot Comment Section */
.robot-comment-section {
    position: relative;
    padding: 80px 100px;
    background: #fafafa;
    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;
}

.robot-comment {
    position: absolute;
    top: 20%;
    right: -60px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 280px;
    opacity: 0;
    z-index: 20;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.robot-comment::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 35px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #2a2a2a;
}

.robot-comment.show {
    animation: commentPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.robot-comment.fade-out {
    animation: commentFadeOut 0.4s ease-in forwards;
}

@keyframes commentPop {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.5);
    }
    50% {
        transform: translateX(-5px) 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(-30px) scale(0.5);
    }
}

.robot-comment-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.3rem;
}

.download-section {
    padding: 120px 100px;
    background: #1a1a1a;
    text-align: center;
    scroll-margin-top: 80px;
}

.download-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.download-subtitle {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 60px;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card {
    background: #2a2a2a;
    padding: 50px 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-10px);
    border-color: #ffffff;
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.platform-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.platform-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-description {
    font-size: 1rem;
    color: #999;
    margin-bottom: 30px;
    line-height: 1.6;
}

.platform-download-btn {
    background: #ffffff;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    width: 100%;
    position: relative;
}

.platform-download-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.platform-popup {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    color: #1a1a1a;
    padding: 25px 30px;
    border-radius: 15px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    pointer-events: none;
}

.platform-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 #ffffff;
}

.platform-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.platform-popup-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-popup-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-popup-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.platform-popup-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 700;
}

.platform-card {
    position: relative;
}

.platform-download-btn-wrapper {
    position: relative;
}

@media (hover: hover) {
    .platform-download-btn-wrapper:hover .platform-popup {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

@media (hover: none) {
    .platform-popup.mobile-active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

.download-btn {
    background: #ffffff;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 60px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    .hero-panel,
    .problems-panel,
    .results-panel,
    .robot-comment-section {
        padding: 60px 50px;
    }

    .main-headline {
        font-size: 2.5rem;
    }

    .panel-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .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: 40px;
    }

    .hero-content {
        padding-left: 0;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .results-container {
        grid-template-columns: 1fr;
    }

    .robot-comment {
        right: 20px;
        top: 10%;
    }
}

@media (max-width: 768px) {
    .hero-panel,
    .problems-panel,
    .results-panel,
    .robot-comment-section,
    .download-section {
        padding: 60px 20px;
    }

    .download-platforms {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-title {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .main-headline {
        font-size: 2rem;
    }

    .panel-title {
        font-size: 2rem;
    }

    .result-percentage {
        font-size: 3rem;
    }
}

