/* ============================================
   Handover Pack Builder — Practical Tradesperson
   JOYCAM TECH SRL | Accent: #2d5016 (forest green)
   Stefan's voice: installation coordinator,
   checklist-driven, no-nonsense
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 24px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.navbar-brand {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand svg {
    flex-shrink: 0;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-signin {
    font-size: 0.82rem;
    font-weight: 500;
    color: #2d5016;
}

.btn-signin:hover {
    color: #1a3a0d;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    background: #2d5016;
    padding: 7px 14px;
    border-radius: 4px;
}

.btn-register:hover {
    background: #1a3a0d;
}

/* --- Hero --- */
.hero {
    padding: 120px 0 60px;
    background: #ffffff;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.hero .hero-sub {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    max-width: 600px;
}

/* --- Checklist section --- */
.checklist-section {
    padding: 56px 0;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.checklist-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.check-mark {
    color: #2d5016;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Steps section --- */
.steps-section {
    padding: 56px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.steps-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num {
    width: 32px;
    height: 32px;
    background: #2d5016;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.step p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
}

/* --- Screenshot --- */
.screenshot-section {
    padding: 48px 0;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.screenshot-frame {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
}

/* --- Download --- */
.download-section {
    padding: 64px 0;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.download-box {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 40px 32px;
}

.dl-version {
    font-size: 0.72rem;
    font-weight: 700;
    color: #2d5016;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.download-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.dl-meta {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 24px;
}

.dl-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2d5016;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1a3a0d;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #2d5016;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.dl-trial {
    font-size: 0.82rem;
    color: #2d5016;
    font-weight: 600;
    margin-top: 16px;
}

.dl-note {
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 6px;
}

/* --- Contact line --- */
.contact-line {
    padding: 32px 0;
    background: #fafafa;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-line p {
    font-size: 0.9rem;
    color: #666;
}

.contact-line strong {
    color: #2d5016;
}

/* --- Footer --- */
.footer {
    background: #ffffff;
    color: #999;
    padding: 32px 0;
    border-top: 1px solid #eee;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-company {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.footer-contact {
    font-size: 0.8rem;
    color: #999;
}

.footer-copy {
    font-size: 0.75rem;
    color: #ccc;
}

/* --- Auth Forms --- */
.auth-section {
    padding: 120px 0 60px;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 380px;
    margin: 0 auto;
}

.auth-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.auth-card .auth-subtitle {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 32px;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    width: 100%;
    padding: 11px 0;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}

.auth-card input::placeholder {
    color: #ccc;
}

.auth-card input:focus {
    border-bottom-color: #2d5016;
}

.auth-card .btn-primary {
    margin-top: 10px;
}

.auth-card .auth-footer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
}

.auth-card .auth-footer a {
    color: #2d5016;
    font-weight: 600;
}

.auth-card .auth-footer a:hover {
    color: #1a3a0d;
}

.auth-error {
    background: #fff5f5;
    color: #cc3333;
    border-left: 3px solid #cc3333;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .steps {
        gap: 20px;
    }

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

    .footer .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
