/* ============================================================
   GroceryPOS — Landing Page Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:      #27ae60;
    --green-dark: #1a6b3c;
    --green-pale: #e8f8ef;
    --white:      #ffffff;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-500:   #64748b;
    --gray-600:   #475569;
    --gray-700:   #334155;
    --gray-900:   #0f172a;
    --radius:     12px;
    --shadow:     0 4px 24px rgba(0,0,0,.08);
    --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.ln-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Scroll animation ── */
.ln-animate { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.ln-visible  { opacity: 1; transform: translateY(0); }

/* ── Navbar ── */
.ln-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.ln-nav.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.ln-nav-inner {
    display: flex; align-items: center; gap: 32px;
    height: 64px;
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.ln-logo {
    display: flex; align-items: center; gap: 9px;
    font-size: 1.15rem; font-weight: 800; color: var(--gray-900);
    flex-shrink: 0;
}
.ln-logo i { color: var(--green); font-size: 1.2rem; }
.ln-nav-links {
    display: flex; align-items: center; gap: 28px;
    flex: 1;
}
.ln-nav-links a {
    font-size: .9rem; font-weight: 500; color: var(--gray-500);
    transition: all .3s ease;
    position: relative;
    padding: 8px 4px;
}
.ln-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, var(--green), #1abc9c);
    border-radius: 2px;
    transition: transform .3s ease;
}
.ln-nav-links a:hover { 
    color: var(--green); 
}
.ln-nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.ln-nav-links a.active {
    color: var(--green);
    font-weight: 600;
}
.ln-nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}
.ln-nav-actions {
    display: flex; align-items: center; gap: 10px; margin-left: auto;
}

/* Buttons */
.ln-btn-ghost {
    padding: 8px 18px; border-radius: 8px;
    font-size: .875rem; font-weight: 600; color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
    transition: all .2s;
}
.ln-btn-ghost:hover { border-color: var(--green); color: var(--green); }

.ln-btn-solid {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 8px;
    font-size: .875rem; font-weight: 600; color: var(--white);
    background: var(--green);
    transition: background .2s, transform .15s;
}
.ln-btn-solid:hover { background: var(--green-dark); transform: translateY(-1px); color: var(--white); }

.ln-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 8px;
    font-size: .875rem; font-weight: 600; color: var(--green);
    border: 2px solid var(--green);
    transition: all .2s;
}
.ln-btn-outline:hover { background: var(--green-pale); }

.ln-btn-lg { padding: 13px 28px; font-size: 1rem; border-radius: 10px; }
.ln-btn-block { width: 100%; justify-content: center; }

/* Hamburger */
.ln-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
    position: relative;
    z-index: 1001;
}
.ln-hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--gray-700); border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.ln-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ln-hamburger.active span:nth-child(2) { opacity: 0; }
.ln-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu backdrop */
.ln-menu-backdrop {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 997;
    opacity: 0;
    transition: opacity .3s ease;
}
.ln-menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* ── Badge ── */
.ln-badge {
    display: inline-block;
    background: var(--green-pale); color: var(--green-dark);
    font-size: .75rem; font-weight: 700; letter-spacing: .04em;
    padding: 4px 14px; border-radius: 999px;
    margin-bottom: 14px;
    border: 1px solid rgba(39,174,96,.25);
    text-transform: uppercase;
}

/* ── Hero ── */
.ln-hero {
    position: relative; overflow: hidden;
    padding: 140px 0 100px;
    background: linear-gradient(160deg, #f0fdf6 0%, #ffffff 55%, #f8f4ff 100%);
}
.ln-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 600px 400px at 80% 30%, rgba(39,174,96,.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 10% 80%, rgba(142,68,173,.08) 0%, transparent 70%);
    animation: heroGradient 20s ease infinite;
}
@keyframes heroGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.ln-hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    position: relative;
}
.ln-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.9); border: 1.5px solid var(--gray-200);
    padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
    color: var(--gray-700); margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    animation: fadeInDown 0.8s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ln-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.1;
    color: var(--gray-900); margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.ln-gradient-text {
    background: linear-gradient(135deg, var(--green) 0%, #1abc9c 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}
.ln-hero-desc {
    font-size: 1.15rem; color: var(--gray-600); margin-bottom: 32px; 
    max-width: 540px; line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}
.ln-hero-features {
    display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.ln-hero-feature {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; font-weight: 500; color: var(--gray-700);
}
.ln-hero-feature i {
    color: var(--green); font-size: 1.1rem;
}
.ln-hero-cta { 
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.ln-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; color: var(--white);
    background: linear-gradient(135deg, var(--green) 0%, #1abc9c 100%);
    box-shadow: 0 8px 24px rgba(39,174,96,.3);
    transition: all .3s ease;
    border: none;
}
.ln-btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 32px rgba(39,174,96,.4);
}
.ln-btn-primary i {
    transition: transform .3s ease;
}
.ln-btn-primary:hover i {
    transform: translateX(4px);
}
.ln-btn-text {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .95rem; font-weight: 600; color: var(--gray-700);
    transition: color .2s;
}
.ln-btn-text:hover { color: var(--green); }
.ln-btn-text i {
    font-size: .8rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

/* Hero Showcase */
.ln-hero-showcase {
    position: relative;
    animation: fadeInRight 1s ease 0.6s both;
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
.ln-showcase-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    border: 1px solid var(--gray-200);
    transition: all .3s ease;
}
.ln-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0,0,0,.12);
}
.ln-card-1 {
    margin-bottom: 20px;
    animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.ln-card-2 {
    position: absolute;
    top: 140px;
    right: 60px;
    width: 200px;
    animation: floatCard 5s ease-in-out infinite 1s;
}
.ln-card-3 {
    margin-top: 20px;
    animation: floatCard 7s ease-in-out infinite 2s;
}
.ln-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
}
.ln-card-header i {
    color: var(--green);
    font-size: 1.1rem;
}
.ln-card-stats {
    margin-bottom: 16px;
}
.ln-stat-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}
.ln-stat-label {
    font-size: .85rem;
    color: var(--gray-500);
    margin-top: 6px;
}
.ln-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}
.ln-chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--green), #1abc9c);
    border-radius: 4px 4px 0 0;
    transition: all .3s ease;
    animation: barGrow 1.5s ease both;
}
@keyframes barGrow {
    from { height: 0 !important; opacity: 0; }
    to { opacity: 1; }
}
.ln-chart-bar:nth-child(1) { animation-delay: 0.1s; }
.ln-chart-bar:nth-child(2) { animation-delay: 0.2s; }
.ln-chart-bar:nth-child(3) { animation-delay: 0.3s; }
.ln-chart-bar:nth-child(4) { animation-delay: 0.4s; }
.ln-chart-bar:nth-child(5) { animation-delay: 0.5s; }
.ln-chart-bar:nth-child(6) { animation-delay: 0.6s; }
.ln-chart-bar:nth-child(7) { animation-delay: 0.7s; }
.ln-chart-bar:hover {
    background: linear-gradient(to top, var(--green-dark), var(--green));
    transform: scaleY(1.05);
}
.ln-quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ln-qstat {
    text-align: center;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 10px;
}
.ln-qstat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}
.ln-qstat span {
    font-size: .75rem;
    color: var(--gray-600);
    margin-top: 4px;
    display: block;
}
.ln-card-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.ln-card-alert:last-child {
    margin-bottom: 0;
}
.ln-card-alert.success {
    background: #d4edda;
    color: #155724;
}
.ln-card-alert.warning {
    background: #fff3cd;
    color: #856404;
}
.ln-card-alert i {
    font-size: 1rem;
    flex-shrink: 0;
}
.ln-floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    border: 1.5px solid var(--gray-200);
    animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
.ln-floating-badge i {
    color: var(--green);
    font-size: 1rem;
}
.ln-badge-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0.5s;
}
.ln-badge-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

/* ── Stats strip ── */
.ln-stats {
    background: linear-gradient(135deg, var(--green-dark) 0%, #1a8f5c 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.ln-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}
.ln-stats-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
    position: relative;
}
.ln-stat-item { 
    text-align: center; 
    transition: transform .3s ease;
}
.ln-stat-item:hover {
    transform: translateY(-4px);
}
.ln-stat-num {
    display: block; font-size: 3rem; font-weight: 900;
    color: var(--white); line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
    animation: countUp 1.5s ease both;
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
.ln-stat-label { 
    font-size: .9rem; color: rgba(255,255,255,.85); 
    margin-top: 8px; display: block; font-weight: 500;
}

/* ── Sections ── */
.ln-section     { padding: 100px 0; }
.ln-section-alt { padding: 100px 0; background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }

.ln-section-head {
    text-align: center; max-width: 680px; margin: 0 auto 72px;
}
.ln-section-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 900; color: var(--gray-900); margin-bottom: 16px;
    line-height: 1.2;
}
.ln-section-head p { 
    color: var(--gray-600); font-size: 1.1rem; line-height: 1.7;
}

/* Features grid */
.ln-features-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.ln-feat-card {
    background: var(--white); 
    border-radius: var(--radius);
    padding: 28px 24px; 
    border: 1px solid var(--gray-200);
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.ln-feat-card:hover {
    box-shadow: var(--shadow); 
    transform: translateY(-4px);
}
.ln-feat-icon {
    width: 48px; 
    height: 48px; 
    border-radius: 12px;
    background: color-mix(in srgb, var(--ic) 12%, white);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.3rem; 
    color: var(--ic);
    margin-bottom: 16px;
    flex-shrink: 0;
}
.ln-feat-card h3 { 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--gray-900); 
    margin-bottom: 8px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-height: 2.8em; /* Reserve space for 2 lines */
}
.ln-feat-card p  { 
    font-size: .88rem; 
    color: var(--gray-500); 
    line-height: 1.6;
    flex: 1;
}

/* Steps */
.ln-steps {
    display: flex; align-items: flex-start; gap: 0;
    justify-content: center; flex-wrap: wrap;
}
.ln-step {
    flex: 1; min-width: 200px; max-width: 300px;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
    transition: transform .3s ease;
}
.ln-step:hover {
    transform: translateY(-8px);
}
.ln-step-num {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, #1abc9c 100%);
    color: var(--white);
    font-size: 1.6rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; 
    box-shadow: 0 8px 24px rgba(39,174,96,.35);
    transition: all .3s ease;
    position: relative;
}
.ln-step:hover .ln-step-num {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 32px rgba(39,174,96,.5);
}
.ln-step-num::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed var(--green);
    opacity: 0;
    transition: opacity .3s ease;
}
.ln-step:hover .ln-step-num::after {
    opacity: 0.3;
}
.ln-step-body h3 { 
    font-size: 1.15rem; font-weight: 700; color: var(--gray-900); 
    margin-bottom: 8px; 
}
.ln-step-body p  { 
    font-size: .92rem; color: var(--gray-600); line-height: 1.7;
}
.ln-step-arrow {
    font-size: 1.5rem; color: var(--green); padding: 0 16px; margin-top: 24px;
    flex-shrink: 0;
    animation: slideArrow 2s ease-in-out infinite;
}
@keyframes slideArrow {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(8px); opacity: 1; }
}

/* Pricing */
.ln-pricing-wrap {
    display: flex; justify-content: center;
}
.ln-pricing-card {
    background: var(--white); border-radius: 20px;
    border: 2px solid var(--green); box-shadow: 0 8px 40px rgba(39,174,96,.18);
    padding: 40px 44px; max-width: 420px; width: 100%;
    position: relative; text-align: center;
}
.ln-pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: var(--white);
    font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.ln-pricing-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.ln-pricing-price {
    font-size: 3rem; font-weight: 800; color: var(--green); line-height: 1;
    margin-bottom: 8px;
}
.ln-pricing-price span { font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.ln-pricing-sub { font-size: .88rem; color: var(--gray-500); margin-bottom: 24px; }
.ln-pricing-list {
    list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px;
}
.ln-pricing-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gray-700); }
.ln-pricing-list i  { color: var(--green); font-size: .85rem; flex-shrink: 0; }

/* CTA Banner */
.ln-cta {
    background: linear-gradient(135deg, var(--green-dark) 0%, #1abc9c 100%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.ln-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}
.ln-cta-inner { text-align: center; position: relative; z-index: 1; }
.ln-cta-inner h2 { 
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; 
    color: var(--white); margin-bottom: 16px; 
    text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.ln-cta-inner p  { 
    color: rgba(255,255,255,.9); font-size: 1.15rem; 
    margin-bottom: 36px; max-width: 600px; 
    margin-left: auto; margin-right: auto;
}
.ln-cta .ln-btn-solid { 
    background: var(--white); color: var(--green-dark); 
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    padding: 16px 36px;
    font-size: 1.1rem;
}
.ln-cta .ln-btn-solid:hover { 
    background: var(--gray-50); color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

/* Footer */
.ln-footer { 
    background: var(--gray-900); padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}
.ln-footer-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.ln-footer .ln-logo { 
    color: var(--white); 
    transition: transform .3s ease;
}
.ln-footer .ln-logo:hover {
    transform: scale(1.05);
}
.ln-footer .ln-logo i { color: var(--green); }
.ln-footer-copy { 
    font-size: .85rem; color: rgba(255,255,255,.5); 
}
.ln-footer-links { display: flex; gap: 24px; }
.ln-footer-links a { 
    font-size: .9rem; color: rgba(255,255,255,.6); 
    transition: color .2s; font-weight: 500;
}
.ln-footer-links a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 960px) {
    .ln-hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .ln-hero-showcase { 
        order: -1; max-width: 480px; margin: 0 auto; 
        position: relative;
    }
    .ln-card-2 {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
    .ln-floating-badge {
        position: static;
        display: inline-flex;
        margin: 10px 5px;
    }
    .ln-features-grid { grid-template-columns: repeat(2,1fr); }
    .ln-stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
    .ln-hero { padding: 110px 0 70px; }
}
@media (max-width: 680px) {
    .ln-container {
        padding: 0 20px;
    }
    
    .ln-nav-links, .ln-nav-actions { display: none; }
    .ln-hamburger { display: flex; }
    
    /* Mobile menu opens as dropdown */
    .ln-nav-links.open {
        display: flex; 
        flex-direction: column; 
        gap: 0;
        position: fixed; 
        top: 64px; 
        left: 0; 
        right: 0;
        background: var(--white); 
        border-bottom: 1px solid var(--gray-200);
        padding: 8px 0; 
        box-shadow: 0 8px 24px rgba(0,0,0,.12); 
        z-index: 999;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .ln-nav-links.open a { 
        padding: 14px 24px; 
        font-size: .95rem;
        width: 100%;
        transition: background .2s;
    }
    .ln-nav-links.open a:hover {
        background: var(--gray-50);
    }
    .ln-nav-links.open a::after {
        display: none; /* Hide the underline indicator on mobile */
    }
    
    /* Show actions below nav links when menu is open */
    .ln-hamburger.active ~ .ln-nav-actions {
        display: flex; 
        flex-direction: column; 
        gap: 8px;
        padding: 16px 24px 20px;
        position: fixed; 
        top: calc(64px + env(safe-area-inset-top)); /* After nav links */
        left: 0; 
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 8px 24px rgba(0,0,0,.12);
        z-index: 998;
    }
    
    .ln-hamburger.active ~ .ln-nav-actions .ln-btn-ghost,
    .ln-hamburger.active ~ .ln-nav-actions .ln-btn-solid {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .ln-section, .ln-section-alt {
        padding: 60px 0;
    }
    
    .ln-section-head {
        margin-bottom: 36px;
    }
    
    .ln-section-head h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .ln-section-head p {
        font-size: .95rem;
    }
    
    .ln-features-grid { 
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Better feature card spacing on mobile */
    .ln-feat-card {
        padding: 24px 20px;
    }
    .ln-feat-card h3 {
        font-size: 1.05rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        min-height: 2.8em;
    }
    .ln-feat-card p {
        font-size: .9rem;
        line-height: 1.65;
    }
    
    .ln-steps { flex-direction: column; align-items: center; }
    .ln-step-arrow { transform: rotate(90deg); margin: 0; padding: 4px 0; }
    .ln-pricing-card { padding: 36px 24px; }
    .ln-hero { 
        padding: 100px 0 60px; 
    }
    .ln-hero-title { 
        font-size: 2rem;
        line-height: 1.2;
    }
    .ln-hero-desc { 
        font-size: .95rem;
        line-height: 1.6;
    }
    .ln-hero-cta { 
        flex-direction: column; 
        width: 100%;
        gap: 12px;
    }
    .ln-btn-primary { 
        width: 100%; 
        justify-content: center;
        padding: 14px 24px;
        font-size: .95rem;
    }
    .ln-btn-text {
        padding: 12px 20px;
    }
    .ln-hero-features { 
        flex-direction: column; 
        gap: 12px;
        align-items: flex-start;
    }
    .ln-hero-feature {
        width: 100%;
    }
    .ln-stats-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }
    .ln-stat-num { 
        font-size: 2.5rem; 
    }
    .ln-stat-item {
        padding: 24px;
        text-align: center;
    }
    .ln-btn-lg { width: 100%; justify-content: center; }
    .ln-footer-inner { 
        flex-direction: column; 
        text-align: center;
        gap: 12px;
    }
    .ln-footer-links {
        flex-direction: column;
        gap: 8px;
    }
    .ln-showcase-card { 
        padding: 16px;
        margin-bottom: 12px;
    }
    .ln-stat-big { 
        font-size: 1.8rem; 
    }
    .ln-mini-chart { 
        height: 60px; 
    }
    .ln-quick-stats {
        gap: 16px;
    }
    .ln-card-header {
        font-size: .85rem;
        margin-bottom: 12px;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 400px) {
    .ln-container {
        padding: 0 16px;
    }
    
    .ln-hero-title {
        font-size: 1.75rem;
    }
    
    .ln-feat-card {
        padding: 20px 16px;
    }
    
    .ln-feat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
    
    .ln-section, .ln-section-alt {
        padding: 48px 0;
    }
    
    .ln-btn-lg {
        padding: 12px 20px;
        font-size: .9rem;
    }
    
    .ln-stat-num {
        font-size: 2.2rem;
    }
}

/* ── About Section ── */
.ln-about-content {
    max-width: 960px;
    margin: 0 auto;
}

.ln-about-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-top: 48px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.ln-about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--green), #1abc9c);
    border-radius: 2px;
}

.ln-about-text h3:first-child {
    margin-top: 0;
}

.ln-about-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.ln-about-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: grid;
    gap: 16px;
}

.ln-about-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--green);
    transition: all .3s ease;
}

.ln-about-list li:hover {
    background: var(--green-pale);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(39,174,96,.15);
}

.ln-about-list i {
    color: var(--green);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.ln-about-list strong {
    color: var(--gray-900);
    font-weight: 700;
}

.ln-about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.ln-about-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.ln-about-card:hover {
    border-color: var(--green);
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--white) 100%);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(39,174,96,.15);
}

.ln-about-card i {
    font-size: 2.2rem;
    color: var(--green);
    flex-shrink: 0;
    transition: transform .3s ease;
}

.ln-about-card:hover i {
    transform: scale(1.15) rotate(5deg);
}

.ln-about-card strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.ln-about-card p {
    font-size: .95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .ln-about-text h3 {
        font-size: 1.4rem;
        margin-top: 36px;
    }
    
    .ln-about-text p {
        font-size: 1rem;
    }
    
    .ln-about-list li {
        font-size: 0.98rem;
        padding: 14px 16px;
    }
    
    .ln-about-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ln-about-card {
        padding: 20px;
    }
    
    .ln-about-card i {
        font-size: 1.9rem;
    }
}

/* Features grid */
.ln-features-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.ln-feat-card {
    background: var(--white); border-radius: 16px;
    padding: 32px 28px; border: 2px solid var(--gray-200);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.ln-feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ic), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}
.ln-feat-card:hover::before {
    opacity: 1;
}
.ln-feat-card:hover {
    border-color: var(--ic);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    transform: translateY(-6px);
}
.ln-feat-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--ic) 15%, white), color-mix(in srgb, var(--ic) 8%, white));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--ic);
    margin-bottom: 20px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--ic) 20%, transparent);
    transition: transform .3s ease;
}
.ln-feat-card:hover .ln-feat-icon {
    transform: scale(1.1) rotate(5deg);
}
.ln-feat-card h3 { 
    font-size: 1.15rem; font-weight: 700; color: var(--gray-900); 
    margin-bottom: 10px; transition: color .3s;
}
.ln-feat-card:hover h3 { color: var(--ic); }
.ln-feat-card p  { 
    font-size: .92rem; color: var(--gray-600); line-height: 1.7; 
}
