/* ═══════════════════════════════════════════════════════
   NutriNen Baby — Landing Page Styles
   Brand: #5ec722 green, #1a1a2e navy, #ffd700 gold
   Style: Dark glassmorphism, mobile-first
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand colors */
    --nn-green: #5ec722;
    --nn-green-light: #8bef47;
    --nn-green-dark: #3d9915;
    --nn-gold: #ffd700;
    --nn-gold-dark: #cc8800;
    --nn-bg: #1a1a2e;
    --nn-bg-deep: #0f0f1a;
    --nn-bg-card: rgba(255, 255, 255, 0.04);
    --nn-border: rgba(255, 255, 255, 0.08);
    --nn-text: rgba(255, 255, 255, 0.92);
    --nn-text-dim: rgba(255, 255, 255, 0.55);
    --nn-text-muted: rgba(255, 255, 255, 0.35);

    /* Spacing */
    --section-pad: clamp(48px, 8vw, 96px);
    --container-max: 1080px;
    --container-pad: clamp(20px, 5vw, 40px);

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    font-family: var(--font);
    background: var(--nn-bg);
    color: var(--nn-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--nn-green-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Container ────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nn-border);
    transition: background 0.3s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--nn-green-light), var(--nn-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.navbar-links a {
    color: var(--nn-text-dim);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.navbar-links a:hover {
    color: white;
    text-decoration: none;
}

.navbar-cta {
    background: linear-gradient(135deg, var(--nn-green), var(--nn-green-dark));
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.navbar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(94, 199, 34, 0.3);
    text-decoration: none;
}

/* Mobile menu */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .navbar-toggle { display: block; }

    .navbar-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(24px);
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--nn-border);
    }
}

/* ── Hero Section ─────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(170deg, rgba(26,26,46,0.65) 0%, rgba(15,15,30,0.72) 100%),
        url('/img/fondo5.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 199, 34, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-brand-desc {
    font-size: clamp(1.9rem, 4.8vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 32px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(94, 199, 34, 0.12);
    border: 1px solid rgba(94, 199, 34, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--nn-green-light);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--nn-green-light), var(--nn-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--nn-text-dim);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nn-green), var(--nn-green-dark));
    color: white;
    box-shadow: 0 4px 24px rgba(94, 199, 34, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(94, 199, 34, 0.35);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--nn-bg-card);
    color: var(--nn-text);
    border: 1px solid var(--nn-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn .btn-icon {
    font-size: 1.3em;
}

/* Google Play badge-style button */
.btn-playstore {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4a 100%);
    border: 2px solid var(--nn-green);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-playstore::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(94, 199, 34, 0.1), transparent);
    pointer-events: none;
}

.btn-playstore:hover {
    border-color: var(--nn-green-light);
    box-shadow: 0 0 30px rgba(94, 199, 34, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-playstore .btn-label-small {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    display: block;
    line-height: 1;
}

.btn-playstore .btn-label-big {
    font-size: 1.15rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

/* ── Hero Phone Mockup ────────────────────────────── */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(180deg, #2a2a4a, #1a1a2e);
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(94, 199, 34, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.phone-mockup-screen {
    position: absolute;
    inset: 8px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--nn-bg);
}

.phone-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-mockup-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #111;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

/* Floating elements around phone */
.hero-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--nn-text);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

.hero-float:nth-child(2) { animation-delay: -2s; }
.hero-float:nth-child(3) { animation-delay: -4s; }

.hero-float.top-left {
    top: 5%;
    left: -10%;
}

.hero-float.mid-right {
    top: 40%;
    right: -15%;
}

.hero-float.bottom-left {
    bottom: 10%;
    left: -5%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ── Section Commons ──────────────────────────────── */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* Section backgrounds — onboarding-style images */
#features {
    background:
        linear-gradient(170deg, rgba(26,26,46,0.7) 0%, rgba(15,15,30,0.75) 100%),
        url('/img/fondo4.png') center/cover no-repeat;
}

#faq {
    background:
        linear-gradient(170deg, rgba(15,15,26,0.72) 0%, rgba(26,26,46,0.7) 100%),
        url('/img/fondo1.png') center/cover no-repeat;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nn-green);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--nn-text-dim);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Problem Section ──────────────────────────────── */
.problem {
    background: linear-gradient(180deg, var(--nn-bg) 0%, var(--nn-bg-deep) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.problem-card {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.problem-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--nn-text-dim);
    line-height: 1.6;
}

/* ── Features Section (Redesigned) ──────────────── */

/* Hero Feature */
.ft-hero {
    position: relative;
    background: linear-gradient(170deg, rgba(167,139,250,.06) 0%, rgba(56,189,248,.04) 50%, rgba(52,211,153,.03) 100%);
    border: 1px solid rgba(167,139,250,.15);
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 28px;
    overflow: hidden;
}
.ft-hero-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(167,139,250,.12) 0%, transparent 70%);
    pointer-events: none;
}
.ft-hero-content { position: relative; z-index: 1; }
.ft-hero-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(167,139,250,.12);
    color: #a78bfa;
    border: 1px solid rgba(167,139,250,.2);
    margin-bottom: 14px;
}
.ft-hero-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(167,139,250,.3));
}
.ft-hero h3 {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}
.ft-hero p {
    font-size: 0.88rem;
    color: var(--nn-text-dim);
    line-height: 1.65;
    max-width: 640px;
}
.ft-hero p strong { color: var(--nn-text); }
.ft-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.ft-hero-chips span {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--nn-text-dim);
}

/* Feature Tabs */
.ft-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 4px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--nn-border);
    border-radius: 14px;
    overflow-x: auto;
}
.ft-tab {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--nn-text-dim);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.ft-tab:hover { color: var(--nn-text); background: rgba(255,255,255,.03); }
.ft-tab.active {
    background: rgba(94,199,34,.08);
    color: var(--nn-green);
    box-shadow: 0 1px 8px rgba(94,199,34,.1);
}

/* Feature Category Panels */
.ft-cat { display: none; animation: ftFadeIn 0.35s ease; }
.ft-cat.active { display: block; }
@keyframes ftFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.ft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) { .ft-grid { grid-template-columns: 1fr; } }

/* Feature Card (New) */
.ft-card {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.3s;
}
.ft-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.12);
}
.ft-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.ft-ic {
    width: 38px; height: 38px; min-width: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    background: color-mix(in srgb, var(--c) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 18%, transparent);
}
.ft-card-head h4 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}
.ft-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--c);
}
.ft-card p {
    font-size: 0.8rem;
    color: var(--nn-text-dim);
    line-height: 1.55;
    margin-bottom: 10px;
}
.ft-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ft-highlights span {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    color: var(--nn-text-muted);
}

/* Replaces 5 Apps */
.ft-replaces {
    margin-top: 28px;
    background: linear-gradient(170deg, rgba(94,199,34,.04) 0%, rgba(56,189,248,.03) 100%);
    border: 1px solid rgba(94,199,34,.12);
    border-radius: 18px;
    padding: 28px 24px;
}
.ft-replaces-header {
    text-align: center;
    margin-bottom: 20px;
}
.ft-replaces-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
}
.ft-replaces-header h3 span { color: var(--nn-green); }
.ft-replaces-header p {
    font-size: 0.82rem;
    color: var(--nn-text-dim);
    margin-top: 4px;
}
.ft-replaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px;
}
.ft-rep-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;
    font-size: 0.78rem;
}
.ft-rep-x { font-size: 0.7rem; }
.ft-rep-old {
    color: var(--nn-text-muted);
    text-decoration: line-through;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ft-rep-arrow { color: var(--nn-green); font-weight: 700; }
.ft-rep-new {
    font-weight: 700;
    color: var(--nn-green);
    white-space: nowrap;
}

/* ── Stats Bar ────────────────────────────────────── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    padding: 40px 0;
    text-align: center;
}

.stat-item .stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--nn-green-light), var(--nn-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    color: var(--nn-text-dim);
    margin-top: 4px;
}

/* ── Tools / Lead Magnets Section ─────────────────── */
.tools-section {
    background:
        linear-gradient(170deg, rgba(15,15,26,0.72) 0%, rgba(26,26,46,0.68) 100%),
        url('/img/fondo2.png') center/cover no-repeat;
}

/* ── Tools Filter Bar ─────────────────────────────── */
.tools-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}
.tools-filter-btn {
    padding: 9px 20px;
    border-radius: 24px;
    border: 1px solid var(--nn-border);
    background: var(--nn-bg-card);
    color: var(--nn-text-dim);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}
.tools-filter-btn:hover {
    border-color: var(--nn-green);
    color: var(--nn-text);
    background: rgba(94,199,34,0.04);
}
.tools-filter-btn.active {
    background: rgba(94,199,34,0.12);
    border-color: var(--nn-green);
    color: var(--nn-green);
    box-shadow: 0 2px 12px rgba(94,199,34,0.1);
}
.tools-filter-btn .tf-count {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.72rem;
    margin-left: 4px;
    font-weight: 700;
}
.tools-filter-btn.active .tf-count {
    background: rgba(94,199,34,0.2);
}

/* ── Tools Category Boxes ─────────────────────────── */
.tools-categories {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Category container box */
.tools-cat-box {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 28px 24px 24px;
    transition: all 0.35s ease;
}
.tools-cat-box:hover {
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.045);
}
.tools-cat-box.hidden-cat {
    display: none;
}

/* Color accent — top border glow */
.tools-cat-box[data-cat="nursing"]  { border-top: 3px solid #f472b6; }
.tools-cat-box[data-cat="food"]     { border-top: 3px solid #5ec722; }
.tools-cat-box[data-cat="health"]   { border-top: 3px solid #60a5fa; }
.tools-cat-box[data-cat="planning"] { border-top: 3px solid #a78bfa; }

/* Category header inside box */
.tools-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tools-cat-head .tch-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}
.tools-cat-box[data-cat="nursing"]  .tch-icon { background: rgba(244,114,182,0.10); }
.tools-cat-box[data-cat="food"]     .tch-icon { background: rgba(94,199,34,0.10); }
.tools-cat-box[data-cat="health"]   .tch-icon { background: rgba(96,165,250,0.10); }
.tools-cat-box[data-cat="planning"] .tch-icon { background: rgba(167,139,250,0.10); }

.tools-cat-head .tch-info { flex: 1; min-width: 0; }
.tools-cat-head .tch-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--nn-text);
}
.tools-cat-head .tch-desc {
    font-size: 0.78rem;
    color: var(--nn-text-muted);
    margin-top: 2px;
}
.tools-cat-head .tch-count {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.tools-cat-box[data-cat="nursing"]  .tch-count { background: rgba(244,114,182,0.10); color: #f472b6; }
.tools-cat-box[data-cat="food"]     .tch-count { background: rgba(94,199,34,0.10); color: #5ec722; }
.tools-cat-box[data-cat="health"]   .tch-count { background: rgba(96,165,250,0.10); color: #60a5fa; }
.tools-cat-box[data-cat="planning"] .tch-count { background: rgba(167,139,250,0.10); color: #a78bfa; }

/* Grid of tool cards inside each category */
.tools-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

/* Nested tool mini-cards */
.tools-cat-grid .tool-card {
    padding: 20px 16px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
}
.tools-cat-grid .tool-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.tools-cat-grid .tool-card .tool-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.tools-cat-grid .tool-card h3 {
    font-size: 0.92rem;
}
.tools-cat-grid .tool-card p {
    font-size: 0.76rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive adjustments for category boxes */
@media (max-width: 540px) {
    .tools-cat-head {
        flex-wrap: wrap;
        gap: 10px;
    }
    .tools-cat-head .tch-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    .tools-cat-head .tch-count {
        margin-left: auto;
    }
    .tools-cat-box {
        padding: 20px 16px 16px;
    }
    .tools-cat-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.tool-card {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--nn-text);
    display: block;
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.08);
    text-decoration: none;
}

.tool-card .tool-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tool-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 0.82rem;
    color: var(--nn-text-dim);
    line-height: 1.5;
}

.tool-card .tool-badge {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--nn-gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
}

.tool-card .tool-badge.live {
    color: var(--nn-green);
    background: rgba(94, 199, 34, 0.12);
}

/* ── Comparison Table ─────────────────────────────── */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--nn-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--nn-border);
}

.comparison-table th {
    background: rgba(94, 199, 34, 0.08);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nn-text-dim);
    white-space: nowrap;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table th.highlight {
    color: var(--nn-green-light);
    background: rgba(94, 199, 34, 0.15);
}

.comparison-table td.highlight {
    background: rgba(94, 199, 34, 0.04);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ── CTA Section ──────────────────────────────────── */
.cta-section {
    text-align: center;
    background:
        linear-gradient(170deg, rgba(26,26,46,0.68) 0%, rgba(15,15,30,0.72) 100%),
        url('/img/fondo5.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 199, 34, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--nn-text-dim);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ───────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--nn-border);
    padding: 48px 0 32px;
    background: var(--nn-bg-deep);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 12px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--nn-text-dim);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--nn-text-dim);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--nn-text-muted);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--nn-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--nn-text-muted);
}

.footer-bottom a {
    color: var(--nn-text-muted);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ── Responsive ───────────────────────────────────── */

/* Hide floating badges before layout collapses — they overlap the phone mockup */
@media (max-width: 1100px) {
    .hero-float {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

/* ── Scroll Animations ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Accessibility ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

:focus-visible {
    outline: 2px solid var(--nn-green);
    outline-offset: 2px;
}

/* ── Google Play Próximamente badge ───────────────── */
.btn-soon {
    cursor: pointer;
    position: relative;
    opacity: 0.75;
    border-style: dashed;
}
.btn-soon:hover { opacity: 1; }
.soon-bubble {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--nn-green);
    color: #0f0f1a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(94,199,34,0.35);
    z-index: 10;
}
.soon-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--nn-green);
}
.btn-soon.open .soon-bubble,
.btn-soon:hover .soon-bubble {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Blog ─────────────────────────────────────────── */

/* Blog Index */
.blog-hero {
    padding-top: 100px;
    padding-bottom: 24px;
    text-align: center;
}
.blog-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.blog-hero p {
    color: var(--nn-text-dim);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Blog Controls: Search + Category Filters ── */
.blog-controls {
    max-width: 720px;
    margin: 0 auto 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.blog-search {
    position: relative;
}
.blog-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--nn-text-muted);
    pointer-events: none;
}
.blog-search input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--nn-border);
    background: var(--nn-bg-card);
    color: var(--nn-text);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}
.blog-search input::placeholder {
    color: var(--nn-text-muted);
}
.blog-search input:focus {
    border-color: var(--nn-green);
}
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.blog-filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--nn-border);
    background: transparent;
    color: var(--nn-text-dim);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.blog-filter-btn:hover {
    border-color: rgba(94,199,34,.4);
    color: var(--nn-green);
}
.blog-filter-btn.active {
    background: rgba(94,199,34,.12);
    border-color: var(--nn-green);
    color: var(--nn-green);
}
.blog-filter-btn .blog-filter-count {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    font-size: 0.68rem;
    font-weight: 700;
    margin-left: 6px;
}
.blog-filter-btn.active .blog-filter-count {
    background: rgba(94,199,34,.2);
}

/* Stats bar */
.blog-results-info {
    text-align: center;
    font-size: 0.78rem;
    color: var(--nn-text-muted);
    margin-bottom: 4px;
    min-height: 20px;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--nn-text-muted);
}
.blog-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.blog-empty p {
    font-size: 0.92rem;
}
.blog-empty button {
    margin-top: 16px;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--nn-border);
    background: transparent;
    color: var(--nn-green);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
.blog-empty button:hover {
    background: rgba(94,199,34,.1);
    border-color: var(--nn-green);
}

/* Hide cards via JS */
.blog-card[hidden] { display: none; }

/* Category color accents */
.blog-card[data-cat="Lactancia"] .blog-card-cat { background: rgba(255,182,193,.12); color: #f4a0b0; }
.blog-card[data-cat="Sueño"] .blog-card-cat { background: rgba(138,143,226,.12); color: #a0a5e8; }
.blog-card[data-cat="Seguridad"] .blog-card-cat { background: rgba(255,107,107,.12); color: #ff7b7b; }
.blog-card[data-cat="Salud"] .blog-card-cat { background: rgba(72,199,235,.12); color: #5ac8e6; }
.blog-card[data-cat="Desarrollo"] .blog-card-cat { background: rgba(255,215,0,.12); color: #f0c929; }
.blog-card[data-cat="Crecimiento"] .blog-card-cat { background: rgba(147,112,219,.12); color: #b08ee6; }
.blog-card[data-cat="Embarazo"] .blog-card-cat { background: rgba(255,170,120,.12); color: #f5a878; }
.blog-card[data-cat="Postparto"] .blog-card-cat { background: rgba(134,239,172,.12); color: #86efac; }
.blog-card[data-cat="Fertilidad"] .blog-card-cat { background: rgba(167,139,250,.12); color: #a78bfa; }
.blog-card[data-cat="Niños"] .blog-card-cat { background: rgba(251,191,36,.12); color: #fbbf24; }

/* ═══ Blog Preview (landing) ═══ */
.blog-preview-cats { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:28px; }
.blog-preview-chip { padding:5px 14px; border-radius:20px; font-size:.75rem; font-weight:700; border:1px solid var(--nn-border); color:var(--nn-text-dim); background:transparent; text-decoration:none; transition:all .2s; letter-spacing:.3px; }
.blog-preview-chip:hover { border-color:rgba(94,199,34,.4); color:var(--nn-green); background:rgba(94,199,34,.05); }
.blog-preview-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; margin-bottom:28px; }
.blog-preview-card { display:flex; gap:14px; padding:16px; background:var(--nn-bg-card); border:1px solid var(--nn-border); border-radius:var(--radius-md,16px); text-decoration:none; color:inherit; transition:all .25s; }
.blog-preview-card:hover { transform:translateY(-3px); border-color:rgba(94,199,34,.3); }
.blog-preview-emoji { font-size:2rem; flex-shrink:0; display:flex; align-items:center; }
.blog-preview-info { flex:1; min-width:0; }
.blog-preview-info .bpc-cat { display:inline-block; padding:2px 8px; border-radius:6px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; font-size:.6rem; background:rgba(94,199,34,.1); color:var(--nn-green); margin-bottom:6px; }
.blog-preview-info h3 { font-size:.92rem; font-weight:700; line-height:1.3; margin-bottom:4px; }
.blog-preview-info p { font-size:.78rem; color:var(--nn-text-dim); line-height:1.45; }
.blog-preview-cta { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; background:transparent; border:2px solid var(--nn-green); color:var(--nn-green); border-radius:30px; font-weight:700; font-size:.92rem; text-decoration:none; transition:all .25s; }
.blog-preview-cta:hover { background:rgba(94,199,34,.1); transform:translateY(-2px); }
@media(max-width:600px) { .blog-preview-grid { grid-template-columns:1fr; } }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    padding-bottom: var(--section-pad);
}
.blog-card {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s, border-color 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
}
.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(94,199,34,.3);
    text-decoration: none;
}
.blog-card-img {
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.blog-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    color: var(--nn-text-muted);
    margin-bottom: 5px;
}
.blog-card-cat {
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.6rem;
    background: rgba(94,199,34,.1);
    color: var(--nn-green);
}
.blog-card h2 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.blog-card p {
    font-size: 0.78rem;
    color: var(--nn-text-dim);
    line-height: 1.45;
    flex: 1;
}
.blog-card-read {
    display: none;
}
@media(max-width:600px) { .blog-grid { grid-template-columns:1fr; } }

/* Article Page */
.article-header {
    padding-top: 100px;
    padding-bottom: 24px;
    max-width: 720px;
    margin: 0 auto;
}
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--nn-text-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
    padding-top: 100px;
    max-width: 720px;
}
.article-breadcrumb + .article-header,
.article-breadcrumb + article {
    padding-top: 0;
}
.article-breadcrumb a { color: var(--nn-text-dim); }
.article-breadcrumb span { color: var(--nn-text-muted); }
.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--nn-text-dim);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.article-meta .cat-badge {
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.65rem;
    background: rgba(94,199,34,.1);
    color: var(--nn-green);
}
.article-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
}
.article-header .article-subtitle {
    font-size: 1.05rem;
    color: var(--nn-text-dim);
    line-height: 1.6;
}

/* Article Body */
.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: var(--section-pad);
}
.article-body h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--nn-border);
}
.article-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
}
.article-body p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--nn-text-dim);
    margin-bottom: 16px;
}
.article-body p strong { color: var(--nn-text); }
.article-body ul, .article-body ol {
    margin: 0 0 16px 20px;
    color: var(--nn-text-dim);
}
.article-body li {
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 6px;
}
.article-body li strong { color: var(--nn-text); }
.article-body a { color: var(--nn-green-light); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }

/* Table of Contents */
.article-toc {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 32px;
}
.article-toc-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--nn-text-muted);
    margin-bottom: 10px;
}
.article-toc ol {
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}
.article-toc li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 4px;
}
.article-toc a {
    color: var(--nn-text);
    text-decoration: none;
    transition: color 0.2s;
}
.article-toc a:hover { color: var(--nn-green-light); }

/* Callout boxes */
.article-callout {
    border-radius: 12px;
    padding: 16px 18px;
    margin: 20px 0;
    font-size: 0.88rem;
    line-height: 1.6;
}
.article-callout p { margin-bottom: 0; color: inherit; }
.article-callout strong { color: inherit; }
.callout-tip {
    background: rgba(94,199,34,.06);
    border: 1px solid rgba(94,199,34,.15);
    color: var(--nn-text);
}
.callout-warning {
    background: rgba(251,191,36,.06);
    border: 1px solid rgba(251,191,36,.15);
    color: var(--nn-text);
}
.callout-danger {
    background: rgba(248,113,113,.06);
    border: 1px solid rgba(248,113,113,.15);
    color: var(--nn-text);
}

/* ── Article Tables ───────────────────────────────── */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--nn-border);
    margin: 20px 0 28px;
    -webkit-overflow-scrolling: touch;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 540px;
}
.article-body thead th {
    background: rgba(94, 199, 34, 0.10);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nn-green-light);
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid rgba(94, 199, 34, 0.2);
    position: sticky;
    top: 0;
}
.article-body tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--nn-border);
    color: var(--nn-text-dim);
    line-height: 1.55;
    vertical-align: top;
}
.article-body tbody td strong {
    color: var(--nn-text);
}
.article-body tbody tr:hover {
    background: rgba(94, 199, 34, 0.03);
}
.article-body tbody tr:last-child td {
    border-bottom: none;
}
/* First column emphasis */
.article-body tbody td:first-child {
    font-weight: 600;
    color: var(--nn-text);
    white-space: nowrap;
}
@media (max-width: 600px) {
    .table-responsive {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .article-body table {
        font-size: 0.82rem;
    }
    .article-body thead th {
        padding: 10px 12px;
        font-size: 0.72rem;
    }
    .article-body tbody td {
        padding: 10px 12px;
    }
}

/* CTA Tool box inside articles */
.article-tool-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(94,199,34,.10) 0%, rgba(56,189,248,.06) 100%);
    border: 2px solid rgba(94,199,34,.25);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 28px 0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(94,199,34,.08);
}
.article-tool-cta:hover {
    border-color: var(--nn-green);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(94,199,34,.18);
}
.article-tool-cta .cta-icon {
    font-size: 2rem;
    min-width: 48px;
    text-align: center;
    background: rgba(94,199,34,.1);
    border-radius: 12px;
    padding: 8px;
    line-height: 1;
}
.article-tool-cta .cta-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nn-green-light);
    margin-bottom: 2px;
}
.article-tool-cta .cta-text p {
    font-size: 0.82rem;
    color: var(--nn-text-dim);
    margin: 0;
}
.article-tool-cta .cta-arrow {
    margin-left: auto;
    color: var(--nn-green);
    font-weight: 700;
    font-size: 1.4rem;
    transition: transform 0.2s;
}
.article-tool-cta:hover .cta-arrow {
    transform: translateX(4px);
}
@media (max-width: 480px) {
    .article-tool-cta {
        padding: 16px 18px;
        gap: 12px;
    }
    .article-tool-cta .cta-icon {
        font-size: 1.6rem;
        min-width: 40px;
        padding: 6px;
    }
    .article-tool-cta .cta-text h4 {
        font-size: 0.85rem;
    }
}

/* Related articles */
.article-related {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: var(--section-pad);
}
.article-related h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.article-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.article-related-card {
    background: var(--nn-bg-card);
    border: 1px solid var(--nn-border);
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.2s;
}
.article-related-card:hover {
    border-color: rgba(255,255,255,.14);
    transform: translateY(-2px);
    text-decoration: none;
}
.article-related-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.article-related-card p {
    font-size: 0.75rem;
    color: var(--nn-text-dim);
}

/* Blog footer CTA */
.blog-cta-section {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(170deg, rgba(94,199,34,.05) 0%, rgba(167,139,250,.03) 100%);
    border: 1px solid rgba(94,199,34,.1);
    border-radius: 20px;
    margin-bottom: var(--section-pad);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.blog-cta-section h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.blog-cta-section p {
    font-size: 0.88rem;
    color: var(--nn-text-dim);
    margin-bottom: 16px;
}
