/* ─────────────────────────────────────────────────
   LemonHosting – landing.css
   ───────────────────────────────────────────────── */
:root {
    --lh-bg:        #0a0c10;
    --lh-surface:   #13161d;
    --lh-surface-2: #1a1e28;
    --lh-border:    #252a36;
    --lh-text:      #f0f2f7;
    --lh-muted:     #7c8498;
    --lh-yellow:    #FFD629;
    --lh-yellow-dim:rgba(255,214,41,0.12);

    /* bootstrap compat aliases */
    --bg-body:      var(--lh-bg);
    --bg-card:      var(--lh-surface);
    --bg-card-hover:var(--lh-surface-2);
    --text-main:    var(--lh-text);
    --text-muted:   var(--lh-muted);
    --primary-color:var(--lh-yellow);
    --primary-hover:#e6c000;
    --navbar-bg:    rgba(10,12,16,0.92);
    --border-color: var(--lh-border);
}

body {
    background-color: var(--lh-bg);
    color: var(--lh-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--lh-text); margin-bottom: 1rem; }
p { color: var(--lh-muted); line-height: 1.7; }
a { text-decoration: none; transition: color 0.2s; }

/* Navbar */
.navbar {
    background-color: var(--navbar-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lh-border);
    padding: 1rem 0;
}
.navbar-brand { font-weight: 800; color: var(--lh-text) !important; font-size: 1.4rem; letter-spacing: -0.02em; }
.nav-link { color: var(--lh-muted) !important; font-weight: 500; margin: 0 0.5rem; }
.nav-link:hover { color: var(--lh-yellow) !important; }

/* Buttons */
.btn-primary {
    background: var(--lh-yellow) !important;
    border-color: var(--lh-yellow) !important;
    color: #0a0c10 !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(255,214,41,0.35) !important; }
.btn-outline-primary {
    border-color: var(--lh-border) !important;
    color: var(--lh-muted) !important;
    background: transparent !important;
    border-radius: 8px !important;
}
.btn-outline-primary:hover {
    background: var(--lh-surface-2) !important;
    color: var(--lh-yellow) !important;
    border-color: rgba(255,214,41,0.3) !important;
}

/* Hero */
.hero-section {
    background: linear-gradient(180deg, #0d0f14 0%, var(--lh-bg) 100%);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(255,214,41,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.hero-title { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; color: var(--lh-text); letter-spacing: -0.04em; line-height: 1.1; }
.hero-title span, .hero-title .text-primary { color: var(--lh-yellow) !important; }
.hero-subtitle { font-size: 1.1rem; color: var(--lh-muted); max-width: 600px; line-height: 1.7; }

/* Feature / product cards */
.card {
    background-color: var(--lh-surface) !important;
    border: 1px solid var(--lh-border) !important;
    border-radius: 12px !important;
    color: var(--lh-text) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: rgba(255,214,41,0.25) !important; box-shadow: 0 4px 24px rgba(255,214,41,0.08) !important; }
.card-header { background-color: var(--lh-surface-2) !important; border-color: var(--lh-border) !important; }
.card-body { color: var(--lh-text) !important; }
.card-title { color: var(--lh-text) !important; font-weight: 700; }
.card-text { color: var(--lh-muted) !important; }

/* Price tag */
.price { font-size: 2.2rem; font-weight: 800; color: var(--lh-yellow); letter-spacing: -0.04em; }
.price span { font-size: 1rem; font-weight: 400; color: var(--lh-muted); }

/* Feature icons */
.feature-icon {
    width: 48px; height: 48px;
    background: var(--lh-yellow-dim);
    border: 1px solid rgba(255,214,41,0.2);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--lh-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Badges */
.badge-primary, .badge.bg-primary { background: var(--lh-yellow) !important; color: #0a0c10 !important; font-weight: 700; }
.text-primary { color: var(--lh-yellow) !important; }

/* Section headings */
section { padding: 5rem 0; }
.section-title { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; color: var(--lh-text); letter-spacing: -0.03em; }
.section-subtitle { color: var(--lh-muted); font-size: 1.05rem; }

/* Tables */
.table { --bs-table-bg: var(--lh-surface); --bs-table-color: var(--lh-text); border-color: var(--lh-border); }
.table thead th { background: var(--lh-surface-2) !important; color: var(--lh-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; border-color: var(--lh-border); }
.table tbody tr td { border-color: var(--lh-border); color: var(--lh-text); }

/* Forms */
.form-control, .form-select {
    background: var(--lh-surface-2) !important;
    border-color: var(--lh-border) !important;
    color: var(--lh-text) !important;
    border-radius: 8px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--lh-yellow) !important;
    box-shadow: 0 0 0 3px rgba(255,214,41,0.15) !important;
}
.form-control::placeholder { color: var(--lh-muted); }
.form-label { color: var(--lh-text); font-weight: 500; }

/* Category / product grid */
.category-card, .product-card {
    background: var(--lh-surface);
    border: 1px solid var(--lh-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Store cards render package art as background-image on this class. */
.custom-card-bg {
    min-height: 430px !important;
    background-color: #10141a !important;
    background-size: 180px 180px !important;
    background-position: center 16px !important;
    background-repeat: no-repeat !important;
    border: 1px solid var(--lh-border) !important;
    border-radius: 10px !important;
    padding: 210px 1.25rem 1.25rem !important;
}
.custom-card-bg::before { display: none !important; }
.custom-card-bg h4,
.custom-card-bg .pricing,
.custom-card-bg .btn {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px #000;
}
.custom-card-bg .pricing { margin-top: auto !important; }
.custom-card-bg .btn { margin-top: .75rem; }
.custom-card-bg::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #f3d51d; }
.row > .col-md-4:nth-child(2) .custom-card-bg::after { background: #aeb7c2; }
.row > .col-md-4:nth-child(3) .custom-card-bg::after { background: #f3d51d; }
.row > .col-md-4:nth-child(4) .custom-card-bg::after { background: #7bdbe8; }
.row > .col-md-4:nth-child(5) .custom-card-bg::after { background: #ba806e; }
.row > .col-md-4:nth-child(6) .custom-card-bg::after { background: #9b87e8; }
footer p.text-muted.small,
footer a[href*="pteroca.com"],
[href*="pteroca.com"] { display: none !important; }
 .navbar-brand img { width: 40px !important; height: 40px !important; object-fit: contain !important; }
footer img[src*="/assets/img/logo/logo.png"] { width: 42px !important; height: 42px !important; object-fit: contain !important; opacity: 1 !important; }

/* Keep package artwork contained inside a stable card frame. */
.product-image-container {
    height: 176px !important;
    min-height: 176px !important;
    aspect-ratio: 16 / 9;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10141a !important;
    background-image: none !important;
    border: 1px solid var(--lh-border);
    border-radius: 8px;
}
.product-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px;
    background: #10141a !important;
}
.product-card .product-image-container,
.category-card .product-image-container {
    height: 176px !important;
    min-height: 176px !important;
    aspect-ratio: 16 / 9;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10141a !important;
    border: 1px solid var(--lh-border);
    border-radius: 8px;
}
.product-card .product-image,
.category-card .product-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px;
    background: #10141a !important;
}
.product-card .card-body,
.category-card .card-body { position: relative; z-index: 1; background: var(--lh-surface) !important; }
.category-card:hover, .product-card:hover {
    border-color: rgba(255,214,41,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,214,41,0.08);
}

/* Alerts */
.alert-info    { background: rgba(255,214,41,0.08) !important; border-color: rgba(255,214,41,0.25) !important; color: var(--lh-text) !important; }
.alert-danger  { background: rgba(248,113,113,0.08) !important; border-color: rgba(248,113,113,0.3) !important; color: #f87171 !important; }
.alert-success { background: rgba(74,222,128,0.08) !important; border-color: rgba(74,222,128,0.3) !important; color: #4ade80 !important; }

/* Footer */
footer {
    background-color: var(--lh-surface) !important;
    border-top: 1px solid var(--lh-border) !important;
    color: var(--lh-muted);
    padding: 2.5rem 0;
    margin-top: auto;
}
footer a { color: var(--lh-muted); }
footer a:hover { color: var(--lh-yellow); }
footer .text-muted { color: var(--lh-muted) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--lh-bg); }
::-webkit-scrollbar-thumb { background: var(--lh-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--lh-muted); }
