/* ========================================
   LANDING PAGE — KreşSaaS
   ======================================== */

/* --- Scroll Reveal --- */
.sr { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); transition-delay: var(--delay, 0s); }
.sr-visible { opacity: 1; transform: translateY(0); }

/* --- NAV --- */
.ln-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.ln-nav.scrolled { border-bottom-color: #f1f5f9; box-shadow: 0 4px 24px rgba(0,0,0,.04); }
.ln-nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.ln-brand { font-weight: 800; font-size: 20px; color: #1f2937; text-decoration: none; letter-spacing: -.02em; }
.ln-brand span { background: linear-gradient(135deg, #FF6B6B, #4ECDC4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln-nav-links { display: flex; align-items: center; gap: 8px; }
.ln-nav-links a { text-decoration: none; color: #4b5563; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: all .15s; }
.ln-nav-links a:hover { color: #FF6B6B; background: rgba(255,107,107,.05); }
.ln-nav-toggle { display: none; background: none; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 20px; width: 40px; height: 40px; cursor: pointer; color: #374151; }

/* --- BUTTONS --- */
.ln-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: 2px solid transparent;
    transition: all .2s cubic-bezier(.16,1,.3,1); white-space: nowrap;
}
.ln-btn-primary { background: linear-gradient(135deg, #FF6B6B, #e85d5d); color: #fff; border-color: #FF6B6B; box-shadow: 0 4px 14px rgba(255,107,107,.3); }
.ln-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,107,.4); }
.ln-btn-outline { background: transparent; color: #374151; border-color: #d1d5db; }
.ln-btn-outline:hover { border-color: #FF6B6B; color: #FF6B6B; background: rgba(255,107,107,.03); }
.ln-btn-ghost { background: rgba(78,205,196,.08); color: #0d9488; border: 0; }
.ln-btn-ghost:hover { background: rgba(78,205,196,.15); }
.ln-btn-white { background: #fff; color: #FF6B6B; border-color: #fff; font-weight: 700; }
.ln-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,255,255,.3); }
.ln-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.ln-btn-block { display: flex; width: 100%; margin-top: auto; }

/* --- HERO --- */
.ln-hero {
    position: relative; overflow: hidden;
    padding: 160px 24px 100px; text-align: center;
    background: linear-gradient(170deg, #fff5f1 0%, #ecfbf8 40%, #fff 100%);
}
.ln-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ln-blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
    animation: blobFloat 14s ease-in-out infinite alternate;
}
.ln-blob-1 { width: 500px; height: 500px; background: #FF6B6B; top: -150px; right: -100px; animation-delay: 0s; }
.ln-blob-2 { width: 400px; height: 400px; background: #4ECDC4; bottom: -100px; left: -80px; animation-delay: 3s; }
.ln-blob-3 { width: 300px; height: 300px; background: #FFD93D; top: 40%; left: 50%; animation-delay: 6s; }
@keyframes blobFloat {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(30px,-20px) scale(1.08); }
    100% { transform: translate(-20px,15px) scale(.95); }
}
.ln-hero-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ln-badge {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: #FF6B6B;
    background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.15);
    margin-bottom: 20px;
}
.ln-hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin: 0 0 20px; color: #111827; letter-spacing: -.03em; }
.ln-gradient-text { background: linear-gradient(135deg, #FF6B6B, #4ECDC4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln-hero-sub { font-size: 18px; color: #6b7280; line-height: 1.6; margin: 0 0 32px; max-width: 580px; margin-left: auto; margin-right: auto; }
.ln-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.ln-hero-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ln-stat-chip {
    padding: 8px 18px; border-radius: 999px; font-size: 14px; color: #374151;
    background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ln-stat-chip strong { color: #FF6B6B; margin-right: 4px; }

/* --- SECTIONS --- */
.ln-section { padding: 100px 24px; }
.ln-section-alt { background: linear-gradient(180deg, #f9fafb, #fff); }
.ln-section-inner { max-width: 1200px; margin: 0 auto; }
.ln-section-header { text-align: center; margin-bottom: 56px; }
.ln-section-header h2 { font-size: 36px; font-weight: 800; color: #111827; margin: 12px 0 16px; letter-spacing: -.02em; }
.ln-section-header p { font-size: 17px; color: #6b7280; max-width: 560px; margin: 0 auto; }

/* --- FEATURES --- */
.ln-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ln-feature-card {
    padding: 28px; border-radius: 16px; background: #fff;
    border: 1px solid #f1f5f9; box-shadow: 0 2px 8px rgba(0,0,0,.03);
    transition: all .25s cubic-bezier(.16,1,.3,1);
}
.ln-feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: rgba(255,107,107,.2); }
.ln-feature-icon { font-size: 32px; margin-bottom: 14px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,107,107,.08), rgba(78,205,196,.08)); border-radius: 14px; }
.ln-feature-card h3 { font-size: 17px; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.ln-feature-card p { font-size: 14px; color: #6b7280; line-height: 1.5; margin: 0; }

/* --- STEPS --- */
.ln-steps { display: flex; align-items: flex-start; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ln-step {
    flex: 1; min-width: 220px; max-width: 300px; text-align: center;
    padding: 32px 24px; background: #fff; border-radius: 16px;
    border: 1px solid #f1f5f9; box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.ln-step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px; font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4); color: #fff;
    margin-bottom: 16px;
}
.ln-step h3 { font-size: 17px; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.ln-step p { font-size: 14px; color: #6b7280; line-height: 1.5; margin: 0; }
.ln-step-arrow { font-size: 28px; color: #d1d5db; padding-top: 48px; font-weight: 300; }

/* --- PRICING --- */
.ln-pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; }
.ln-toggle-label { font-size: 15px; color: #9ca3af; font-weight: 600; transition: color .2s; }
.ln-toggle-label.is-active { color: #1f2937; }
.ln-toggle-switch {
    position: relative; width: 52px; height: 28px; border-radius: 999px;
    background: #e5e7eb; border: 0; cursor: pointer; transition: background .25s;
    padding: 0;
}
.ln-toggle-switch.is-on { background: linear-gradient(135deg, #FF6B6B, #4ECDC4); }
.ln-toggle-knob {
    position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
    border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.ln-toggle-switch.is-on .ln-toggle-knob { transform: translateX(24px); }
.ln-save-badge {
    display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #FF6B6B, #e85d5d); padding: 2px 8px;
    border-radius: 999px; margin-left: 6px;
}

.ln-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ln-plan-card {
    position: relative; padding: 32px 24px; border-radius: 20px;
    background: #fff; border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    display: flex; flex-direction: column;
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
.ln-plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.ln-plan-card.is-featured {
    border: 2px solid var(--plan-color, #FF6B6B);
    box-shadow: 0 8px 32px rgba(255,107,107,.15);
    transform: scale(1.03);
}
.ln-plan-card.is-featured:hover { transform: scale(1.03) translateY(-6px); }
.ln-plan-ribbon {
    position: absolute; top: -1px; right: 24px;
    background: linear-gradient(135deg, #FF6B6B, #e85d5d); color: #fff;
    font-size: 12px; font-weight: 700; padding: 6px 14px;
    border-radius: 0 0 10px 10px;
}
.ln-plan-icon { font-size: 36px; margin-bottom: 12px; }
.ln-plan-card h3 { font-size: 22px; font-weight: 800; color: #1f2937; margin: 0 0 6px; }
.ln-plan-desc { font-size: 13.5px; color: #9ca3af; margin: 0 0 20px; }
.ln-plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.ln-price-amount { font-size: 42px; font-weight: 800; color: #1f2937; letter-spacing: -.03em; }
.ln-price-currency { font-size: 18px; color: #6b7280; font-weight: 600; }
.ln-price-currency small { font-size: 14px; font-weight: 500; }
.ln-plan-features {
    list-style: none; padding: 0; margin: 0 0 24px; flex: 1;
    display: flex; flex-direction: column; gap: 8px;
    font-size: 14px; color: #4b5563;
}
.ln-plan-features li::before { content: '✓ '; color: #4ECDC4; font-weight: 700; }
.ln-plan-highlight { font-weight: 600; }
.ln-plan-highlight::before { color: var(--plan-color, #4ECDC4) !important; }

/* --- CTA --- */
.ln-cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
}
.ln-cta-inner {
    max-width: 640px; margin: 0 auto; text-align: center;
}
.ln-cta h2 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 12px; }
.ln-cta p { font-size: 17px; color: rgba(255,255,255,.85); margin: 0 0 28px; }

/* --- FAQ --- */
.ln-faq { display: flex; flex-direction: column; gap: 10px; }
.ln-faq-item {
    background: #fff; border: 1px solid #f1f5f9; border-radius: 12px;
    overflow: hidden; transition: box-shadow .2s;
}
.ln-faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.ln-faq-item summary {
    padding: 18px 22px; font-size: 15px; font-weight: 600; color: #1f2937;
    cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.ln-faq-item summary::after { content: '+'; font-size: 22px; color: #9ca3af; font-weight: 300; transition: transform .2s; }
.ln-faq-item[open] summary::after { content: '−'; color: #FF6B6B; }
.ln-faq-item summary::-webkit-details-marker { display: none; }
.ln-faq-item p { padding: 0 22px 18px; font-size: 14.5px; color: #6b7280; line-height: 1.6; margin: 0; }

/* --- FOOTER --- */
.ln-footer { background: #111827; padding: 60px 24px 0; color: #d1d5db; }
.ln-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.ln-footer-brand p { font-size: 14px; color: #9ca3af; margin: 12px 0 0; line-height: 1.6; }
.ln-footer .ln-brand { color: #fff; font-size: 22px; }
.ln-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #9ca3af; margin: 0 0 14px; font-weight: 600; }
.ln-footer-col a { display: block; color: #d1d5db; text-decoration: none; font-size: 14px; padding: 4px 0; transition: color .15s; }
.ln-footer-col a:hover { color: #FF6B6B; }
.ln-footer-bottom { max-width: 1200px; margin: 40px auto 0; padding: 20px 0; border-top: 1px solid #1f2937; font-size: 13px; color: #6b7280; text-align: center; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .ln-features-grid { grid-template-columns: repeat(2, 1fr); }
    .ln-hero h1 { font-size: 36px; }
    .ln-section-header h2 { font-size: 28px; }
    .ln-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .ln-nav-toggle { display: flex; align-items: center; justify-content: center; }
    .ln-nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: #fff; padding: 16px 20px;
        border-bottom: 1px solid #f1f5f9; box-shadow: 0 8px 24px rgba(0,0,0,.06);
        gap: 4px;
    }
    .ln-nav-links.is-open { display: flex; }
    .ln-nav-links a { padding: 12px 16px; border-radius: 10px; font-size: 15px; }
    .ln-hero { padding: 120px 20px 64px; }
    .ln-hero h1 { font-size: 30px; }
    .ln-hero-sub { font-size: 15.5px; }
    .ln-section { padding: 60px 16px; }
    .ln-features-grid { grid-template-columns: 1fr; }
    .ln-steps { flex-direction: column; align-items: center; }
    .ln-step-arrow { display: none; }
    .ln-step { max-width: 100%; }
    .ln-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .ln-plan-card.is-featured { transform: none; }
    .ln-plan-card.is-featured:hover { transform: translateY(-6px); }
    .ln-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .ln-cta h2 { font-size: 24px; }
}
