/* Reset & Base Styles */
* {
    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;
}

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

/* Left Section - Sticky */
.left-section {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    text-align: center;
}

.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

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

.demo-area {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    min-height: 0;
}

.placeholder-demo {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    border: 2px solid #d0d9ff;
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.1);
}

.demo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 82, 204, 0.15));
    transition: opacity 0.3s ease;
}

.left-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

/* Right Section - Scrollable */
.right-section {
    overflow-y: auto;
    overflow-x: hidden;
}

.right-content {
    padding: 60px 60px;
    max-width: 100%;
}

/* Buttons */
.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;
}

.btn-primary {
    background-color: #007AFF;
    color: white;
}

.btn-primary:hover {
    background-color: #0066CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 82, 204, 0.2);
}

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

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

.btn-secondary-light {
    background-color: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
}

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

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

/* Sections */
.section {
    margin-bottom: 80px;
}

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

/* Hero Section */
.hero-section {
    margin-top: 0;
    margin-bottom: 100px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #000;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    margin-right: 8px;
}

/* Feature Sections */
.feature-section {
    margin-bottom: 72px;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 40px;
    display: inline-block;
    line-height: 1;
}

.feature-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.feature-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 32px;
    max-width: 500px;
}

.feature-visual {
    margin-top: 20px;
}

.placeholder-feature {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    border: 2px solid #d0d9ff;
}

.feature-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c2c2e 0%, #1c1c1e 100%);
    color: white;
    padding: 60px;
    border-radius: 16px;
    margin-bottom: 60px;
    text-align: center;
}

.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;
}

.cta-section .btn-primary {
    background-color: #007AFF;
    color: white;
}

.cta-section .btn-primary:hover {
    background-color: #0066CC;
}

.cta-section .btn-secondary-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

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

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

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

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

.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: #007AFF;
}

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

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

/* Tablet & Mobile Responsive Design */
@media (max-width: 1024px) {
    .container-layout {
        grid-template-columns: 1fr;
    }

    .left-section {
        position: relative;
        height: auto;
        min-height: unset;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .left-content {
        padding: 32px 24px 24px;
    }

    .left-footer {
        max-width: 100%;
        flex-direction: row;
    }

    .left-footer .btn {
        flex: 1;
    }

    .right-content {
        padding: 60px 24px;
    }

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

    .feature-title {
        font-size: 28px;
    }

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

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

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

@media (max-width: 640px) {
    .container-layout {
        gap: 0;
    }

    .left-content {
        padding: 32px 16px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .app-title {
        font-size: 22px;
    }

    .logo-header {
        margin-bottom: 24px;
    }

    .demo-area {
        flex: none;
        padding: 8px 12px;
        margin: 0;
    }

    .placeholder-demo {
        min-height: 200px;
    }

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

    .hero-title {
        font-size: 28px;
    }

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

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

    .hero-cta .btn {
        width: 100%;
        margin-right: 0;
    }

    .section {
        margin-bottom: 60px;
    }

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

    .feature-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .feature-icon {
        font-size: 32px;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-description {
        font-size: 15px;
    }

    .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;
    }

    .left-footer {
        width: 100%;
    }

    .left-footer .btn {
        width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #f0f0f0;
    }

    .left-section {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
        border-right-color: #333;
    }

    .hero-title,
    .feature-title,
    .cta-title {
        color: #f0f0f0;
    }

    .placeholder-demo,
    .placeholder-feature {
        background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
        border-color: #444;
        color: #999;
    }

    .hero-subtitle,
    .feature-description {
        color: #ccc;
    }

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

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

    .btn-secondary-light {
        border-color: #666;
        color: #ccc;
    }

    .btn-secondary-light:hover {
        background-color: #2a2a2a;
    }

    .footer {
        border-top-color: #333;
    }

    .footer-col h4 {
        color: #f0f0f0;
    }

    .footer-col a {
        color: #999;
    }

    .footer-col a:hover {
        color: #5a9cff;
    }

    .footer-bottom {
        border-top-color: #333;
        color: #666;
    }

    .cta-section {
        background: linear-gradient(135deg, #007AFF 0%, #0066CC 100%);
    }

    .cta-section .btn-primary:hover {
        background-color: #e8e8e8;
    }
}
