/* ============================================================
   Flykort Landing Page — Dark Aviation Theme
   ============================================================ */

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

:root {
    --bg:           #070b13;
    --bg2:          #0d1424;
    --bg-card:      #0e1623;
    --bg-card-h:    #152035;
    --accent:       #3b82f6;
    --accent-glow:  rgba(59, 130, 246, 0.25);
    --accent2:      #22d3ee;
    --text:         #f1f5f9;
    --text-muted:   #94a3b8;
    --text-dim:     #64748b;
    --border:       rgba(59, 130, 246, 0.18);
    --border-h:     rgba(59, 130, 246, 0.55);
    --radius:       12px;
    --font-mono:    'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ---- Navigation ------------------------------------------ */

.lk-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 56px;
    background: rgba(7, 11, 19, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}

.lk-nav__logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.lk-nav__links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lk-nav__links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.lk-nav__links a:hover { color: var(--text); }

.lk-nav__cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem !important;
    transition: background 0.2s, box-shadow 0.2s !important;
}
.lk-nav__cta:hover {
    background: #2563eb !important;
    box-shadow: 0 0 20px var(--accent-glow);
    color: #fff !important;
}

/* ---- Hero ------------------------------------------------ */

.lk-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 10%,  rgba(34, 211, 238, 0.07) 0%, transparent 45%),
        var(--bg);
}

/* Dot-grid radar backdrop */
.lk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 0%, transparent 100%);
    pointer-events: none;
}

.lk-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent2);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    position: relative;
}

.lk-hero__badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.lk-hero__title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    position: relative;
}

.lk-hero__title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lk-hero__sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    position: relative;
}

.lk-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.lk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    border: none;
}

.lk-btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}
.lk-btn--primary:hover {
    background: #2563eb;
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.55);
    transform: translateY(-1px);
    color: #fff;
}

.lk-btn--ghost {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}
.lk-btn--ghost:hover {
    background: rgba(255,255,255,0.09);
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
}

.lk-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---- Stats bar ------------------------------------------- */

.lk-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem 1.5rem;
    background: var(--bg2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lk-stat {
    text-align: center;
}

.lk-stat__value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono);
}

.lk-stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ---- Airport section ------------------------------------- */

.lk-airports {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.lk-section-header {
    margin-bottom: 2.5rem;
}

.lk-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.lk-section-sub {
    color: var(--text-muted);
    font-size: 1rem;
}

.lk-search-wrap {
    margin-bottom: 2.5rem;
}

.lk-search {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1.1rem 0.75rem 2.75rem;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.85rem center;
}

.lk-search::placeholder { color: var(--text-dim); }

.lk-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Country filter pills */
.lk-country-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.lk-pill {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.lk-pill:hover {
    border-color: var(--border-h);
    color: var(--text);
}

.lk-pill--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Airport grid */
.lk-airport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.lk-airport-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
    position: relative;
    overflow: hidden;
}

.lk-airport-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(ellipse at 80% 0%, rgba(59,130,246,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lk-airport-card:hover {
    border-color: var(--border-h);
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.18), 0 4px 16px rgba(0,0,0,0.5);
    transform: translateY(-3px);
    background: var(--bg-card-h);
}

.lk-airport-card:hover::after { opacity: 1; }

.lk-airport-card--hidden { display: none; }

.lk-airport-code {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.04em;
    line-height: 1;
}

.lk-airport-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 0.6rem;
    line-height: 1.3;
}

.lk-airport-country {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.lk-airport-cta {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    color: var(--accent2);
    margin-top: 1.1rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-weight: 600;
}

.lk-airport-card:hover .lk-airport-cta {
    opacity: 1;
    transform: translateX(0);
}

.lk-no-results {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ---- Browse all link ------------------------------------- */
.lk-browse-all {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* ---- Featured airport cards ------------------------------ */
.lk-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lk-featured-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem 1.5rem;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.lk-featured-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 0%, rgba(59,130,246,0.1) 0%, transparent 55%);
    pointer-events: none;
}

.lk-featured-card:hover {
    border-color: var(--border-h);
    box-shadow: 0 0 32px rgba(59, 130, 246, 0.2), 0 6px 20px rgba(0,0,0,0.5);
    transform: translateY(-4px);
    background: var(--bg-card-h);
}

.lk-featured-card__code {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.lk-featured-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.lk-featured-card__location {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lk-featured-card__cta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--accent2);
    font-weight: 600;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lk-featured-card:hover .lk-featured-card__cta {
    opacity: 1;
    transform: translateX(0);
}

/* Nav back link (used on Airports page) */
.lk-nav__back {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.18s;
}
.lk-nav__back:hover { color: var(--text); }

@media (max-width: 900px) {
    .lk-featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .lk-featured-grid { grid-template-columns: 1fr; }
}

/* ---- Features section ------------------------------------ */

.lk-features {
    padding: 5rem 2rem;
    background: var(--bg2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.lk-features-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.lk-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.lk-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.lk-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--accent);
}

.lk-feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.lk-feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.lk-feature-soon {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent2);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ---- Footer ---------------------------------------------- */

.lk-footer {
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.lk-footer a { color: var(--text-muted); transition: color 0.2s; }
.lk-footer a:hover { color: var(--text); }

/* ---- Responsive ------------------------------------------ */

@media (max-width: 640px) {
    .lk-stats { gap: 2rem; flex-wrap: wrap; }
    .lk-airport-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .lk-nav__links { display: none; }
}
