/* ============================================
   LANDING PAGE NEW - Symulator Farmy Online
   ============================================ */

/* ---------- Variables ---------- */
:root {
    --ln-primary: #22c55e;
    --ln-primary-dark: #16a34a;
    --ln-dark: #0f172a;
    --ln-dark-2: #1e293b;
    --ln-gray: #64748b;
    --ln-light: #f8fafc;
    --ln-white: #ffffff;
    --ln-radius: 12px;
    --ln-radius-lg: 20px;
    --ln-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --ln-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --ln-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --ln-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ln-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
body {
    font-family: var(--ln-font);
    color: #334155;
    overflow-x: hidden;
}

/* ---------- Utility ---------- */
.ln-text-gradient {
    background: linear-gradient(135deg, var(--ln-primary), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.min-vh-80 {
    min-height: 80vh;
}

/* ---------- Fade-in animation ---------- */
.ln-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ln-fade-in.ln-visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.ln-fade-in:nth-child(2) { transition-delay: 0.1s; }
.ln-fade-in:nth-child(3) { transition-delay: 0.2s; }
.ln-fade-in:nth-child(4) { transition-delay: 0.3s; }
.ln-fade-in:nth-child(5) { transition-delay: 0.4s; }
.ln-fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   NAVBAR
   ============================================ */
.ln-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--ln-transition);
}

.ln-navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.ln-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ln-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ln-dark);
    text-decoration: none;
}

.ln-navbar-brand:hover {
    color: var(--ln-dark);
    text-decoration: none;
}

.ln-navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ln-nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ln-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--ln-transition);
}

.ln-nav-link:hover {
    color: var(--ln-primary-dark);
    background: rgba(34,197,94,0.08);
    text-decoration: none;
}

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

.ln-navbar-toggle {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.1rem;
    color: var(--ln-dark);
    cursor: pointer;
}

/* Mobile nav */
@media (max-width: 991.98px) {
    .ln-navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--ln-white);
        padding: 16px;
        box-shadow: var(--ln-shadow-lg);
        border-radius: 0 0 var(--ln-radius) var(--ln-radius);
    }

    .ln-navbar-menu.open {
        display: flex;
    }

    .ln-nav-link {
        padding: 12px 16px;
        width: 100%;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.ln-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--ln-transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.ln-btn:hover {
    text-decoration: none;
}

.ln-btn-primary {
    background: var(--ln-primary);
    color: var(--ln-white);
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}

.ln-btn-primary:hover {
    background: var(--ln-primary-dark);
    color: var(--ln-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34,197,94,0.4);
}

.ln-btn-ghost {
    background: transparent;
    color: var(--ln-gray);
    border: 1px solid #e2e8f0;
}

.ln-btn-ghost:hover {
    color: var(--ln-dark);
    border-color: #cbd5e1;
    background: #f8fafc;
}

.ln-btn-outline-light {
    background: transparent;
    color: var(--ln-white);
    border: 2px solid rgba(255,255,255,0.4);
}

.ln-btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    color: var(--ln-white);
    border-color: rgba(255,255,255,0.7);
}

.ln-btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* ============================================
   HERO
   ============================================ */
.ln-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ln-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ln-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ln-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.4) 100%);
}

.ln-hero-content {
    padding: 120px 0 60px;
}

.ln-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.ln-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.ln-badge-free {
    background: rgba(34,197,94,0.2);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}

.ln-badge-no-ads {
    background: rgba(239,68,68,0.2);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.3);
}

.ln-badge-passion {
    background: rgba(168,85,247,0.2);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,0.3);
}

.ln-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ln-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.ln-hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.ln-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.ln-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--ln-radius);
    border: 1px solid rgba(255,255,255,0.1);
    width: fit-content;
}

.ln-hero-stat {
    text-align: center;
}

.ln-hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ln-white);
}

.ln-hero-stat span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ln-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Hero responsive */
@media (max-width: 768px) {
    .ln-hero-title {
        font-size: 2.2rem;
    }

    .ln-hero-desc {
        font-size: 1rem;
    }

    .ln-hero-content {
        padding: 100px 0 40px;
    }

    .ln-hero-stats {
        gap: 16px;
        padding: 14px 18px;
    }

    .ln-hero-stat strong {
        font-size: 1.2rem;
    }

    .ln-hero-actions {
        flex-direction: column;
    }

    .ln-hero-actions .ln-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   TRUST BAR
   ============================================ */
.ln-trust-bar {
    background: var(--ln-dark);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ln-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.ln-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

.ln-trust-item i {
    color: var(--ln-primary);
    font-size: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.ln-section {
    padding: 100px 0;
}

.ln-section-dark {
    background: var(--ln-dark);
}

.ln-section-gray {
    background: var(--ln-light);
}

.ln-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.ln-section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ln-primary-dark);
    background: rgba(34,197,94,0.1);
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ln-section-tag-light {
    color: #4ade80;
    background: rgba(34,197,94,0.15);
}

.ln-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ln-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ln-section-dark .ln-section-title {
    color: var(--ln-white);
}

.ln-section-desc {
    font-size: 1.05rem;
    color: var(--ln-gray);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ln-section {
        padding: 60px 0;
    }

    .ln-section-title {
        font-size: 1.8rem;
    }

    .ln-section-header {
        margin-bottom: 40px;
    }
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.ln-feature-card {
    background: var(--ln-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--ln-radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: var(--ln-transition);
}

.ln-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ln-shadow-xl);
    border-color: transparent;
}

.ln-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--ln-white);
}

.ln-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ln-dark);
    margin-bottom: 10px;
}

.ln-feature-card p {
    font-size: 0.9rem;
    color: var(--ln-gray);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================
   USP SECTION
   ============================================ */
.ln-usp-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ln-usp-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ln-usp-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(34,197,94,0.15);
    color: var(--ln-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 2px;
}

.ln-usp-item strong {
    display: block;
    color: var(--ln-white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.ln-usp-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.ln-usp-image {
    position: relative;
}

.ln-usp-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ln-white);
    border-radius: var(--ln-radius);
    box-shadow: var(--ln-shadow-lg);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ln-dark);
    animation: floatCard 3s ease-in-out infinite;
}

.ln-usp-float-card i {
    font-size: 1.2rem;
}

.ln-usp-float-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.ln-usp-float-2 {
    bottom: 15%;
    left: -10px;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .ln-usp-float-card {
        display: none;
    }
}

/* ============================================
   SCREENSHOTS GRID
   ============================================ */
.ln-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ln-screenshot-item {
    position: relative;
    border-radius: var(--ln-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.ln-screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ln-screenshot-item:hover img {
    transform: scale(1.05);
}

.ln-screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ln-screenshot-overlay i {
    color: var(--ln-white);
    font-size: 1.5rem;
}

.ln-screenshot-item:hover .ln-screenshot-overlay {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .ln-screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .ln-screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.ln-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ln-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.ln-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--ln-radius);
    box-shadow: var(--ln-shadow-xl);
}

.ln-lightbox-close,
.ln-lightbox-prev,
.ln-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--ln-white);
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--ln-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ln-lightbox-close:hover,
.ln-lightbox-prev:hover,
.ln-lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

.ln-lightbox-close {
    top: 20px;
    right: 20px;
}

.ln-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.ln-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.ln-lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   VIDEO
   ============================================ */
.ln-video-wrapper {
    border-radius: var(--ln-radius-lg);
    overflow: hidden;
    box-shadow: var(--ln-shadow-xl);
    background: #000;
}

.ln-video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* ============================================
   PLATFORMS
   ============================================ */
.ln-platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ln-platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ln-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--ln-radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ln-dark);
    transition: var(--ln-transition);
}

.ln-platform-item:hover {
    border-color: var(--ln-primary);
    background: rgba(34,197,94,0.05);
}

.ln-platform-item i {
    font-size: 1.2rem;
    color: var(--ln-primary);
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.ln-review-card {
    background: var(--ln-dark-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ln-radius-lg);
    padding: 32px 28px;
    height: 100%;
    transition: var(--ln-transition);
}

.ln-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34,197,94,0.3);
}

.ln-review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.ln-review-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.ln-review-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.ln-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ln-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ln-primary), #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ln-white);
    font-weight: 700;
    font-size: 0.85rem;
}

.ln-review-author strong {
    display: block;
    color: var(--ln-white);
    font-size: 0.9rem;
}

.ln-review-author span {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* ============================================
   STAT CARDS
   ============================================ */
.ln-stat-card {
    background: var(--ln-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--ln-radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--ln-transition);
}

.ln-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ln-shadow-lg);
    border-color: transparent;
}

.ln-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ln-primary);
    font-size: 1.2rem;
}

.ln-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ln-dark);
    margin-bottom: 4px;
}

.ln-stat-label {
    font-size: 0.85rem;
    color: var(--ln-gray);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.ln-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ln-dark) 0%, #1a2e1a 100%);
}

.ln-cta-box {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.ln-cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ln-white);
    margin-bottom: 16px;
}

.ln-cta-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ln-cta-actions {
    margin-bottom: 20px;
}

.ln-cta-note {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .ln-cta-box h2 {
        font-size: 1.8rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.ln-footer {
    background: var(--ln-dark);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ln-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ln-white);
}

.ln-footer-heading {
    color: var(--ln-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.ln-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ln-footer-links li {
    margin-bottom: 10px;
}

.ln-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--ln-transition);
}

.ln-footer-links a:hover {
    color: var(--ln-primary);
}

.ln-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.ln-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--ln-transition);
}

.ln-footer-social a:hover {
    background: var(--ln-primary);
    color: var(--ln-white);
}

.ln-footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.ln-footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.ln-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ln-primary);
    color: var(--ln-white);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--ln-shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--ln-transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ln-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.ln-back-to-top:hover {
    background: var(--ln-primary-dark);
    transform: translateY(-3px);
}
