/* ================================================================
   LogiFlow Industrial Theme
   Clean, no-nonsense, Binarit-style industrial feel
   ================================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #334155;
    background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== TOKENS ===== */
:root {
    --lf-navy: #0F172A;
    --lf-teal: #00BCD4;
    --lf-teal-hover: #0097A7;
    --lf-amber: #FFC107;
    --lf-bg: #FFFFFF;
    --lf-surface: #F8FAFC;
    --lf-text: #1E293B;
    --lf-text-muted: #64748B;
    --lf-border: #E2E8F0;
    --lf-max-w: 1200px;
    --lf-section-py: 96px;
    --lf-radius: 4px;
}

/* ===== LAYOUT ===== */
.lf-container {
    max-width: var(--lf-max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.lf-section {
    padding: var(--lf-section-py) 0;
}

.lf-surface {
    background: var(--lf-surface);
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lf-text);
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--lf-text);
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--lf-text);
    margin-bottom: 8px;
}

.lf-section-title {
    text-align: center;
    margin-bottom: 16px;
}

.lf-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--lf-text-muted);
    max-width: 640px;
    margin: 0 auto 56px;
}

/* ===== BUTTONS ===== */
.lf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--lf-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
    text-decoration: none;
}

.lf-btn-cta {
    background: var(--lf-teal);
    color: #fff;
}

.lf-btn-cta:hover {
    background: var(--lf-teal-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.lf-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lf-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lf-btn-outline {
    background: var(--lf-bg);
    color: var(--lf-text);
    border: 1px solid var(--lf-border);
}

.lf-btn-outline:hover {
    border-color: var(--lf-teal);
    color: var(--lf-teal);
}

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

.lf-btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* ===== NAVIGATION ===== */
.lf-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--lf-navy);
}

.lf-nav-inner {
    max-width: var(--lf-max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lf-nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.lf-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.lf-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
    text-decoration: none;
}

.lf-nav-links a:hover {
    color: #fff;
}

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

.lf-nav-actions .lf-btn {
    padding: 10px 20px;
    font-size: 14px;
}

.lf-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #fff;
    font-size: 24px;
}

.lf-mobile-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--lf-navy);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lf-mobile-menu.open {
    display: block;
}

.lf-mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.lf-mobile-menu a:last-child {
    border: none;
}

/* ===== HERO ===== */
.lf-hero {
    padding: 160px 0 80px;
    background: var(--lf-navy);
    position: relative;
    overflow: hidden;
}

/* Diagonal stripe pattern — CSS only */
.lf-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 80px
    );
    pointer-events: none;
}

.lf-hero .lf-container {
    position: relative;
    z-index: 1;
}

.lf-hero-content {
    max-width: 720px;
}

.lf-hero h1 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 52px;
}

.lf-hero-subtitle {
    font-size: 19px;
    color: #94A3B8;
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.7;
}

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

/* ===== STATS BAR ===== */
.lf-stats-bar {
    background: var(--lf-bg);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.lf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.lf-stat-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--lf-bg);
    border: 1px solid var(--lf-border);
}

.lf-stat-card:first-child {
    border-radius: var(--lf-radius) 0 0 var(--lf-radius);
}

.lf-stat-card:last-child {
    border-radius: 0 var(--lf-radius) var(--lf-radius) 0;
}

.lf-stat-card + .lf-stat-card {
    border-left: none;
}

.lf-stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--lf-teal);
    line-height: 1;
    margin-bottom: 8px;
}

.lf-stat-label {
    font-size: 15px;
    color: var(--lf-text-muted);
    font-weight: 500;
}

/* ===== LOGO BAR ===== */
.lf-logo-bar {
    padding: 48px 0;
    border-bottom: 1px solid var(--lf-border);
}

.lf-logo-bar-label {
    text-align: center;
    font-size: 14px;
    color: var(--lf-text-muted);
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lf-logo-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.lf-logo-bar-item {
    font-size: 16px;
    font-weight: 600;
    color: #94A3B8;
    white-space: nowrap;
}

/* ===== CARDS ===== */
.lf-card {
    background: #fff;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 32px;
    transition: box-shadow 0.15s, transform 0.15s;
}

.lf-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.lf-card p {
    font-size: 15px;
    color: var(--lf-text-muted);
    line-height: 1.6;
}

/* ===== WHY LOGIFLOW ===== */
.lf-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ===== FEATURES ===== */
.lf-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.lf-feature-card {
    background: #fff;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 32px;
    transition: box-shadow 0.15s, transform 0.15s;
}

.lf-feature-card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.lf-feature-letter {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--lf-navy);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lf-feature-card p {
    font-size: 15px;
    color: var(--lf-text-muted);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.lf-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}

.lf-steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--lf-border);
    z-index: 0;
}

.lf-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.lf-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--lf-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--lf-teal);
}

.lf-step h3 {
    font-size: 17px;
}

.lf-step p {
    font-size: 14px;
    color: var(--lf-text-muted);
}

/* ===== TESTIMONIALS ===== */
.lf-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.lf-testimonial-card {
    background: #fff;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 32px;
    border-left: 4px solid var(--lf-teal);
}

.lf-testimonial-text {
    font-size: 16px;
    color: var(--lf-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.lf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lf-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lf-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--lf-teal);
    font-size: 16px;
    flex-shrink: 0;
}

.lf-testimonial-info {
    font-size: 14px;
}

.lf-testimonial-info strong {
    display: block;
    color: var(--lf-text);
    font-weight: 600;
}

.lf-testimonial-info span {
    color: var(--lf-text-muted);
}

/* ===== PRICING ===== */
.lf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 48px;
}

.lf-pricing-card {
    background: #fff;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 36px 32px;
    position: relative;
}

.lf-pricing-highlighted {
    border-top: 4px solid var(--lf-teal);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.lf-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lf-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.lf-pricing-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--lf-text);
    margin-bottom: 8px;
}

.lf-pricing-price {
    margin-bottom: 4px;
}

.lf-pricing-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--lf-text);
    line-height: 1;
}

.lf-pricing-period {
    font-size: 16px;
    font-weight: 500;
    color: var(--lf-text-muted);
}

.lf-pricing-features {
    margin: 24px 0;
    padding: 0;
}

.lf-pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--lf-text-muted);
    border-bottom: 1px solid var(--lf-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lf-pricing-features li:last-child {
    border: none;
}

.lf-pricing-features li::before {
    content: '✓';
    color: #16A34A;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== CTA BAND ===== */
.lf-cta-band {
    background: var(--lf-navy);
    padding: 72px 0;
    text-align: center;
}

.lf-cta-band h2 {
    color: #fff;
    margin-bottom: 12px;
}

.lf-cta-band p {
    color: #94A3B8;
    font-size: 18px;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.lf-footer {
    background: var(--lf-navy);
    padding: 64px 0 32px;
    color: #94A3B8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.lf-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 300px;
}

.lf-footer h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.lf-footer ul li {
    margin-bottom: 12px;
}

.lf-footer ul a {
    color: #94A3B8;
    font-size: 14px;
    transition: color 0.15s;
    text-decoration: none;
}

.lf-footer ul a:hover {
    color: #fff;
}

.lf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748B;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .lf-stat-number { font-size: 36px; }
    .lf-features-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-why-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-stat-card { border-radius: 0 !important; }
    .lf-stat-card:nth-child(2) { border-left: 1px solid var(--lf-border); }
    .lf-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; margin-top: 48px; }
    .lf-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-steps-grid::before { display: none; }
}

@media (max-width: 768px) {
    :root { --lf-section-py: 48px; }
    h1 { font-size: 34px; }
    h2 { font-size: 26px; }
    .lf-stat-number { font-size: 32px; }
    .lf-hero { padding: 120px 0 60px; }
    .lf-hero h1 { font-size: 34px; }
    .lf-nav-links { display: none; }
    .lf-nav-actions { display: none; }
    .lf-hamburger { display: block; }
    .lf-features-grid,
    .lf-testimonials-grid { grid-template-columns: 1fr; }
    .lf-why-grid { grid-template-columns: 1fr; }
    .lf-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lf-steps-grid { grid-template-columns: 1fr; }
    .lf-logo-bar-grid { gap: 24px; }
    .lf-footer-grid { grid-template-columns: 1fr; }
    .lf-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .lf-hero-actions { flex-direction: column; }
    .lf-hero-actions .lf-btn { width: 100%; justify-content: center; }
}

/* ===== ACCESSIBILITY ===== */
.lf-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--lf-navy);
    color: #fff;
    padding: 12px 24px;
    z-index: 10000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.lf-skip-link:focus {
    top: 0;
}

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--lf-teal);
    outline-offset: 2px;
}

/* ===== COOKIE BANNER ===== */
.lf-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--lf-navy);
    color: #fff;
    padding: 16px 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

.lf-cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.lf-cookie-inner p {
    font-size: 14px;
    color: #CBD5E1;
    margin: 0;
    max-width: 600px;
}

.lf-cookie-inner a {
    color: var(--lf-teal);
    text-decoration: underline;
}

.lf-cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.lf-cookie-btn {
    padding: 8px 20px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .lf-cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .lf-cookie-actions {
        width: 100%;
    }
    .lf-cookie-btn {
        flex: 1;
    }
}

/* ===== TYPOGRAPHY FIXES — Use Sora + DM Sans ===== */
body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', system-ui, sans-serif;
}

.lf-nav-logo {
    font-family: 'Sora', system-ui, sans-serif;
}

/* ===== LANGUAGE SWITCHER ===== */
.lf-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.lf-lang-switcher a {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    text-decoration: none;
    padding: 2px 4px;
    transition: color 0.15s;
}

.lf-lang-switcher a:hover {
    color: #fff;
}

.lf-lang-active {
    color: var(--lf-teal) !important;
    font-weight: 700 !important;
}

/* ===== ERROR PAGES ===== */
.lf-error-code {
    font-size: 96px;
    font-weight: 800;
    color: var(--lf-teal);
    line-height: 1;
    margin-bottom: 16px;
    font-family: 'Sora', sans-serif;
}

/* ===== SOCIAL PROOF BAR ===== */
.lf-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    background: var(--lf-surface);
    font-size: 14px;
    color: var(--lf-text-muted);
    font-weight: 500;
}

.lf-social-proof strong {
    color: var(--lf-text);
}

/* ===== NEWSLETTER CAPTURE ===== */
.lf-newsletter {
    background: var(--lf-surface);
    padding: 48px 0;
    text-align: center;
}

.lf-newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}

.lf-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    font-size: 15px;
    font-family: inherit;
}

.lf-newsletter-form input:focus {
    outline: 2px solid var(--lf-teal);
    outline-offset: 0;
    border-color: var(--lf-teal);
}

@media (max-width: 768px) {
    .lf-lang-switcher { display: none; }
    .lf-newsletter-form {
        flex-direction: column;
    }
}
