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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    gap: 0;
}

.demo-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #f6f1ff 0%, #ede6ff 100%);
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-panel-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 80px 40px 64px;
    gap: 40px;
    text-align: center;
}

.logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 520px;
}

.logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    color: #6d42ff;
}

.panel-copy {
    flex: 1;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    text-align: left;
}

.panel-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.18;
    color: #000;
    margin-bottom: 24px;
    max-width: 520px;
}

.panel-description {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    max-width: 500px;
}

.mobile-copy {
    display: none;
}

.mobile-inline-cta {
    display: none;
}

.demo-panel-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 520px;
}

.right-section {
    overflow-y: auto;
    overflow-x: hidden;
}

.right-content {
    padding: 60px 0;
    max-width: none;
    margin: 0 auto;
}

.hero-section,
.feature-section,
.cta-section,
.footer {
    width: min(720px, calc(100% - 120px));
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.app-store-badge {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.app-store-badge:hover {
    transform: translateY(-2px);
}

.store-badge-image {
    display: block;
    width: auto;
    height: 57px;
}

.store-badge-image-inverse {
    filter: invert(1) hue-rotate(180deg);
}

.btn-primary {
    background-color: #6d42ff;
    color: white;
}

.btn-primary:hover {
    background-color: #5932db;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(82, 54, 183, 0.2);
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #000;
}

.btn-secondary:hover {
    background-color: #e3e3e3;
}

.btn-secondary-light {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary-light:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.section {
    margin-bottom: 80px;
}

.section:last-child {
    margin-bottom: 0;
}

.feature-section {
    margin-bottom: 72px;
}

.hero-section,
.feature-section {
    min-height: 96vh;
    display: flex;
    align-items: center;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    width: 100%;
}

.feature-image {
    width: auto;
    max-width: 100%;
    max-height: 90vh;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-image {
    box-shadow: 0 20px 40px rgba(76, 47, 153, 0.12);
}

.cta-section {
    background: linear-gradient(135deg, #2c2350 0%, #1d1736 100%);
    color: white;
    padding: 60px;
    border-radius: 16px;
    margin-bottom: 60px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.system-req {
    font-size: 13px;
    opacity: 0.85;
}

.footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col-stacked {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #000;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 14px;
    color: #666;
}

.footer-col a:hover {
    color: #6d42ff;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
    padding-bottom: 12px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    text-decoration: underline;
    text-decoration-color: #ccc;
    text-underline-offset: 2px;
}

.footer-bottom a:hover {
    color: #666;
    text-decoration-color: #999;
}

.croco-logo {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 2px;
}

@media (max-width: 1024px) {
    .container-layout {
        grid-template-columns: 1fr;
    }

    .demo-panel {
        position: relative;
        height: 100vh;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .demo-panel-content {
        align-items: flex-start;
        padding: 64px 24px 56px;
        gap: 24px;
        text-align: left;
    }

    .demo-panel-footer {
        flex-direction: row;
    }

    .right-content {
        padding: 60px 24px;
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-section,
    .feature-section,
    .cta-section,
    .footer {
        width: auto;
    }

    .panel-title {
        font-size: 36px;
    }

    .cta-section {
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 32px;
    }

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

@media (max-width: 640px) {
    .demo-panel-content {
        padding: 48px 16px 44px;
        gap: 16px;
        align-items: flex-start;
        text-align: left;
    }

    .demo-panel {
        height: auto;
        min-height: 0;
    }

    .logo {
        width: 84px;
        height: 84px;
        border-radius: 20px;
    }

    .app-title {
        font-size: 50px;
        line-height: 1;
    }

    .logo-header {
        gap: 22px;
        margin-bottom: 8px;
    }

    .panel-copy {
        justify-content: flex-start;
    }

    .panel-title,
    .panel-description {
        display: none;
    }

    .demo-panel-footer {
        display: none;
    }

    .right-content {
        padding: 40px 16px;
    }

    .section {
        margin-bottom: 60px;
    }

    .feature-section {
        margin-bottom: 60px;
    }

    .mobile-copy {
        display: block;
        margin-bottom: 24px;
    }

    .mobile-title {
        margin-bottom: 14px;
        font-size: 30px;
        line-height: 1.08;
        font-weight: 700;
        color: #000;
        letter-spacing: -0.03em;
    }

    .mobile-description {
        font-size: 16px;
        line-height: 1.7;
        color: #666;
    }

    .hero-mobile-copy {
        margin-bottom: 28px;
        padding: 24px 0 8px;
    }

    .hero-mobile-copy .mobile-title {
        font-size: 36px;
        line-height: 1.02;
        margin-bottom: 16px;
    }

    .hero-mobile-copy .mobile-description {
        font-size: 17px;
    }

    .mobile-hero-cta {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 24px;
    }

    .mobile-hero-cta .btn {
        width: 100%;
    }

    .mobile-inline-cta {
        display: flex;
        justify-content: center;
        margin: 8px 0 52px;
    }

    .app-store-badge {
        justify-content: center;
    }

    .store-badge-image {
        height: 54px;
    }

    .hero-section,
    .feature-section {
        min-height: auto;
        display: block;
    }

    .cta-section {
        padding: 32px 16px;
        margin-bottom: 40px;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
