/* Autofixa — Landing Page
   ============================================================ */

/* Override site.css body bottom margin (no longer a fixed footer) */
body {
    margin-bottom: 0;
}

/* ============================================================
   NAV
   ============================================================ */

.landing-nav {
    background: #06192C;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-logo:hover {
    text-decoration: none;
}

.logo-slashes {
    display: flex;
    gap: 3px;
}

.logo-slashes span {
    display: block;
    width: 5px;
    height: 24px;
    background: #00DBDA;
    transform: skewX(-23deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00DBDA;
    margin-top: 2px;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.landing-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #8b9db3;
    text-decoration: none;
    transition: color 0.15s;
}

.landing-nav-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-landing-login {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1.25rem;
    background: #00DBDA;
    color: #06192C;
    border: none;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.btn-landing-login:hover {
    background: #00c4c3;
    color: #06192C;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-landing-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 1rem;
    background: transparent;
    color: #8b9db3;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.btn-landing-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */

.landing-hero {
    background: #06192C;
    min-height: calc(100vh - 64px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Right diagonal fill */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.025);
    transform: skewX(-23deg);
    pointer-events: none;
}

/* Teal diagonal sliver */
.landing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 18%;
    width: 10%;
    height: 100%;
    background: rgba(0, 219, 218, 0.045);
    transform: skewX(-23deg);
    pointer-events: none;
}

.landing-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Status pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3125rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    font-size: 0.6875rem;
    font-family: monospace;
    letter-spacing: 0.08em;
    color: #8b9db3;
    text-transform: uppercase;
    width: fit-content;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-headline {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 1.25rem 0 1.5rem;
}

.hero-headline .accent {
    color: #00DBDA;
}

.hero-body {
    font-size: 1.0625rem;
    color: #8b9db3;
    line-height: 1.7;
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-body strong {
    color: #d4dde6;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #00DBDA;
    color: #06192C;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-hero-primary:hover {
    background: #00c4c3;
    color: #06192C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 219, 218, 0.22);
    text-decoration: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #d4dde6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.btn-hero-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
}

/* ============================================================
   DASHBOARD MOCKUP (right column visual)
   ============================================================ */

.mockup-wrapper {
    position: relative;
}

.mockup-frame-accent {
    position: absolute;
    inset: -16px;
    border: 2px solid rgba(0, 219, 218, 0.25);
    border-radius: 2px;
    transform: skewX(-6deg) translate(16px, 16px);
    pointer-events: none;
}

.mockup-card {
    position: relative;
    background: #0b1929;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    transition: transform 0.5s ease;
}

.mockup-card:hover {
    transform: scale(1.02);
}

.mockup-chrome {
    height: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.375rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.mockup-addressbar {
    margin-left: 1rem;
    height: 14px;
    width: 180px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
}

.mockup-body {
    padding: 1.5rem;
}

.mockup-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.mockup-skel {
    height: 26px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    animation: skel-pulse 2.6s ease-in-out infinite;
}

@keyframes skel-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.mockup-rows {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.mockup-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 3px;
}

.mockup-row-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    flex-shrink: 0;
}

.mockup-row-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-row-line {
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
}

.mockup-row-line.short {
    width: 55%;
}

.mockup-row-pill {
    width: 44px;
    height: 16px;
    background: rgba(0, 219, 218, 0.14);
    border-radius: 2px;
    flex-shrink: 0;
}

.mockup-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: #ffffff;
    border-left: 4px solid #FFE536;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-size: 0.6875rem;
    font-weight: 700;
    color: #06192C;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */

.feature-strip {
    background: #f8f9fb;
    padding: 4.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.feature-strip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 16px rgba(6, 25, 44, 0.08);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #06192C;
    margin: 0;
}

.feature-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CTA SECTION (logged-out only)
   ============================================================ */

.landing-cta {
    background: #06192C;
    padding: 5.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00DBDA 0%, rgba(0, 219, 218, 0.3) 50%, transparent 100%);
}

.landing-cta-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.landing-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.landing-cta p {
    font-size: 1.0625rem;
    color: #8b9db3;
    font-weight: 300;
    margin: 0 0 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.landing-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.landing-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.landing-footer-links {
    display: flex;
    gap: 1.5rem;
}

.landing-footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s;
}

.landing-footer-links a:hover {
    color: #06192C;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .landing-hero-container {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem;
    }

    .mockup-wrapper {
        display: none;
    }

    .feature-strip-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landing-nav-links {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-footer-container {
        flex-direction: column;
        text-align: center;
    }
}
