:root {
    --hero-accent: #d97a3f;
}

body.hero-page {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--content-bg, #f1f3f6);
}

.hero-section {
    position: relative;
    background: linear-gradient(180deg, #c76b35 0%, #bc5c2a 100%);
    color: #fff;
    padding-bottom: 90px;
    overflow: hidden;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-brand .logo-badge {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-brand .logo-badge img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.hero-brand .brand-text strong {
    display: block;
    font-size: 1.1rem;
}

.hero-brand .brand-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-btn {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pill-btn:hover { background: rgba(0, 0, 0, 0.35); }

.hero-body {
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 0 48px;
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 60px;
    align-items: center;
}

.hero-dropzone {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.hero-dropzone-inner {
    border: 2px dashed #d8d4cc;
    border-radius: 16px;
    padding: 56px 24px;
    text-align: center;
    color: #333;
    transition: border-color 0.15s, background 0.15s;
}

.hero-dropzone.dragover .hero-dropzone-inner {
    border-color: var(--hero-accent);
    background: #fff7f0;
}

.plus-badge {
    width: 56px;
    height: 56px;
    border: 2px solid var(--hero-accent);
    color: var(--hero-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}

.hero-dropzone-inner p {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.hero-dropzone-actions { font-size: 0.85rem; }

.hero-dropzone-actions button {
    background: none;
    border: none;
    color: var(--hero-accent);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    padding: 0;
}

.hero-dropzone-actions span {
    color: #bbb;
    margin: 0 6px;
}

.hero-copy h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin: 0 0 16px;
}

.hero-copy p.lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    max-width: 480px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hero-scroll {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.hero-scroll a {
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 90px;
    display: block;
}

.below-fold {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 16px 60px;
}

.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 100px;
    color: #2a2a2a;
}

.mission-quote {
    text-align: center;
    font-style: italic;
    color: #555;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.divider {
    width: 60px;
    border: none;
    border-top: 2px solid #ddd;
    margin: 0 auto 60px;
}

.about-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.diagram-compare {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.diagram-arrow-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 170px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #9a9a9a;
    text-align: center;
}

.diagram-arrow-label .arrow-glyph {
    font-size: 1.5rem;
    color: #b8b8b8;
}

.diagram-arrow-label.tilt-left { transform: rotate(-4deg); }
.diagram-arrow-label.tilt-right { transform: rotate(4deg); }

.diagram-compare-label {
    text-align: center;
    max-width: 230px;
    padding-top: 4px;
}

.diagram-compare-label strong {
    display: block;
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 6px;
}

.diagram-compare-label span {
    display: block;
    font-size: 0.78rem;
    color: #999;
    line-height: 1.4;
}

.diagram-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.diagram-device {
    position: relative;
    width: 110px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-icon {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.laptop-screen {
    width: 76px;
    height: 52px;
    border: 3px solid var(--hero-accent);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-screen span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hero-accent);
    line-height: 1;
}

.laptop-base {
    width: 96px;
    height: 8px;
    background: var(--hero-accent);
    margin-top: 3px;
    clip-path: polygon(8% 0, 92% 0, 100% 100%, 0% 100%);
}

.diagram-device .ripple {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--hero-accent);
    border-radius: 50%;
    opacity: 0.55;
    transform: translate(-50%, 50%) scaleY(0.4) scale(0.5);
    animation: diagram-ripple 2.4s ease-out infinite;
}

.diagram-device .ripple:nth-child(2) { animation-delay: 0.8s; }
.diagram-device .ripple:nth-child(3) { animation-delay: 1.6s; }

@keyframes diagram-ripple {
    0% { transform: translate(-50%, 50%) scaleY(0.4) scale(0.5); opacity: 0.55; }
    100% { transform: translate(-50%, 50%) scaleY(0.4) scale(1.8); opacity: 0; }
}

.diagram-server {
    background: #fff;
    border: 2px solid var(--hero-accent);
    border-radius: 16px;
    padding: 16px 22px;
    text-align: left;
}

.diagram-server strong {
    display: block;
    color: var(--hero-accent);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.diagram-server span {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-top: 4px;
}

.diagram-arrow {
    font-size: 1.6rem;
    color: #ccc;
}

.diagram-caption {
    font-style: italic;
    color: #555;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-align: center;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 48px;
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--hero-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-text h3 {
    margin: 8px 0 12px;
    font-size: 1.25rem;
}

.feature-text p {
    margin: 0;
    color: #555;
    line-height: 1.55;
}

@media (max-width: 820px) {
    .hero-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-features {
        justify-items: center;
    }
    .hero-copy p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-nav {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .feature-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .diagram-arrow {
        display: none;
    }
    .diagram-server {
        text-align: center;
    }
}
