:root{
    --bg-dark: #0b0b10;
    --warm-1: #FFAA6E;
    --warm-2: #B77D2A;
    --muted-text: #6b6b6b;
    --card-bg: #ffffff;
    --accent-green: #1B4D3E;
    --max-width: 1100px;
    --radius: 14px;
}

html,body{height:100%;}
body{
    margin:0;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color:#222;
    background: linear-gradient(180deg, #fbfbfb 0%, #f6f6f7 100%);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    line-height:1.45;
}

/* Navbar */
.navbar{
    background: rgba(12,12,14,0.92);
    box-shadow: 0 6px 24px rgba(10,10,12,0.25);
    backdrop-filter: blur(6px);
}
.navbar .navbar-brand{
    font-weight:700;
    color: #fff;
    display:flex;
    align-items:center;
    gap:10px;
}
.navbar .brand-dot{
    width:12px; height:12px; border-radius:50%;
    background: linear-gradient(135deg,var(--warm-1),#AA8AF7);
    box-shadow:0 6px 20px rgba(170,138,247,0.12);
}
.nav-link{ color: rgba(255,255,255,0.88) !important; font-weight:600; }
.nav-link:hover, .nav-link:focus{ color: var(--warm-2) !important; }

/* Hero */
.hero{
    background: radial-gradient(900px 500px at 10% 10%, rgba(255,170,110,0.12), transparent 20%),
    radial-gradient(800px 480px at 90% 0%, rgba(170,140,255,0.10), transparent 20%),
    linear-gradient(180deg, #0f1720 0%, #111217 48%, #0b0b10 100%);
    color: #fff;
    padding: 4rem 0;
    position:relative;
    overflow:hidden;
}
.hero .lead{ color: rgba(255,255,255,0.92); font-size:1.125rem; }
.hero .hero-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding:18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.hero .logo-img{
    max-width:320px;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

/* Layout */
.container { max-width: var(--max-width); }
.section { padding: 56px 0; }
.section--soft { background: #fff; border-top: 1px solid #efefef; }

/* Cards */
.project-card{
    border-radius: var(--radius);
    border:1px solid #ececec;
    background: var(--card-bg);
    transition: transform .28s ease, box-shadow .28s ease;
}
.project-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}
.project-placeholder{
    height: 260px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    background: linear-gradient(135deg, rgba(27,77,62,0.95), rgba(44,44,44,0.95));
    color:#fff;
    font-weight:700;
}
.badge-skill{
    background: rgba(24,24,24,0.04);
    color: #444;
    border-radius: 8px;
    padding:6px 10px;
    font-weight:600;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(180deg,var(--warm-2), #9E6515);
    border: none;
    box-shadow: 0 12px 36px rgba(158,101,21,0.18);
    border-radius: 12px;
    font-weight:700;
    padding: 12px 18px;
}
.btn-outline-ghost{
    background: transparent;
    border:1px solid rgba(255,255,255,0.12);
    color:#fff;
    border-radius:12px;
    padding:12px 18px;
}

/* Form */
.form-control:focus{
    border-color: var(--warm-2);
    box-shadow: 0 6px 30px rgba(183,125,42,0.12);
}

/* Footer */
footer{
    background: #0f1012;
    color: #c9c9c9;
    padding:22px 0;
    border-top:1px solid rgba(255,255,255,0.03);
}

/* Global link styling */
/* Make links obvious again */
a {
    color: #0f5b46;                 /* slightly brighter than accent-green */
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(183,125,42,0.55); /* warm underline */
    font-weight: 650;
    transition: color 0.18s ease, text-decoration-color 0.18s ease, opacity 0.18s ease;
}

a:hover,
a:focus {
    color: var(--warm-2);
    text-decoration-color: rgba(183,125,42,0.95);
    opacity: 1;
}

/* Buttons should not be underlined */
a.btn,
a.btn:hover,
a.btn:focus {
    text-decoration: none !important;
}

/* Footer links stay subtle but readable */
footer a {
    color: rgba(255,255,255,0.80);
    text-decoration-color: rgba(255,255,255,0.28);
    font-weight: 600;
}

footer a:hover {
    color: var(--warm-2);
    text-decoration-color: rgba(183,125,42,0.95);
}

/* Navbar links keep your current treatment */
.navbar .nav-link {
    text-decoration: none;
}

/* Little Nudge: branded intro banner (small mascot + script title) */
.ln-floatwrap {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.ln-floatcard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98); /* More solid background */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); /* Stronger */
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}

.ln-float-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

/* MUCH smaller mascot */
.ln-float-mascot {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.22);
    flex: 0 0 auto;
    margin-top: 2px;
    object-fit: cover;
    display: block;
}

.ln-float-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ln-float-brandblock {
    min-width: 0;
}

/* Script / scroll-like title */
.ln-float-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    line-height: 1;
}

.ln-float-name {
    font-family: "Dancing Script", "Brush Script MT", cursive;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.2px;
    color: #1a1a1a;
    margin: 0;
}

.ln-float-tag {
    color: #404040;
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0;
}

/* Explanation under the name */
.ln-float-sub {
    margin: 6px 0 0;
    color: #333333;
    font-size: 0.92rem;
    line-height: 1.25;
}

/* Actions */
.ln-float-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.ln-float-actions .btn {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 850;
    text-decoration: none !important; /* keep buttons clean */
}

.ln-float-actions .btn.btn-outline-ghost {
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.04);
}

/* Page-specific helpers (kept here so you don’t have to touch global CSS) */
.ln-pill{
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 12px; border-radius:999px;
    border:1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    font-weight:600; font-size:0.9rem;
}
.ln-hero-note{ color: rgba(255,255,255,0.72); font-size:0.92rem; }
.ln-section-title{ color: var(--accent-green); font-weight:800; }
.ln-muted{ color: #5f6368; }
.ln-kpi{
    border-radius: var(--radius);
    border:1px solid #ececec;
    background: #fff;
    padding:16px;
}
.ln-kpi .k{ font-weight:800; color: var(--accent-green); }
.ln-kpi .v{ color: #5f6368; margin:0; }
.ln-steps .step{
    border-radius: var(--radius);
    border:1px solid #ececec;
    background: #fff;
    padding:18px;
    height:100%;
}
.ln-steps .icon{
    width:44px; height:44px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(183,125,42,0.12);
    color: #8a560f;
    margin-bottom:12px;
}
.ln-soft-wrap{
    background: #fff;
    border-top:1px solid #efefef;
    border-bottom:1px solid #efefef;
}
.ln-highlight{
    border-radius: 18px;
    border:1px solid rgba(27,77,62,0.12);
    background: linear-gradient(135deg, rgba(27,77,62,0.05), rgba(183,125,42,0.06));
    padding:18px;
}
.ln-screens img{
    border-radius: 16px;
    border:1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 50px rgba(16,24,40,0.10);
    background:#fff;
}
.ln-faq .accordion-button{
    font-weight:700;
}
.ln-faq .accordion-button:focus{
    box-shadow: 0 0 0 0.25rem rgba(183,125,42,0.18);
    border-color: rgba(183,125,42,0.35);
}

/* Responsive */
@media (max-width:900px){
    .hero{ padding:56px 0 36px; }
    .project-placeholder{ height:200px; font-size:1.2rem; }

    .ln-floatwrap { margin-bottom: -14px; }
    .ln-floatcard {
        flex-direction: column;
        align-items: stretch;
    }
    .ln-float-actions .btn { width: 100%; }
}