:root {
    --apk-primary: #2563eb;
    --apk-primary-soft: rgba(37, 99, 235, 0.65);
    --apk-accent: #00c3ff;
    --apk-bg-dark: #050816;
    --apk-bg-alt: #0b1020;
    --apk-card: #0f172a;
    --apk-border-soft: rgba(148, 163, 184, 0.3);
    --apk-text-main: #e5e7eb;
    --apk-text-muted: #9ca3af;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1f2937 0, #020617 45%, #000 100%);
    color: var(--apk-text-main);
    margin: 0;
    padding: 0;
}

/* NAVBAR */
.blur-nav {
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.85));
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.navbar-brand {
    font-weight: 600;
    color: #f9fafb !important;
}

.navbar .nav-link {
    color: var(--apk-text-muted);
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #e5e7eb;
    transform: translateY(-1px);
}

.logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 0, #38bdf8, #4f46e5);
    font-size: 0.8rem;
    font-weight: 700;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 12px 30px rgba(15, 118, 255, 0.5);
}

.brand-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--apk-text-muted);
}

/* HERO GENERIC */
.hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    color: #f9fafb;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.32), transparent 55%),
        radial-gradient(circle at bottom, rgba(6, 182, 212, 0.18), transparent 55%);
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.4rem, 3.1vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1rem;
    color: #e5e7eb;
    max-width: 640px;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--apk-text-muted);
}

.dot-live {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: 8px;
    background: radial-gradient(circle, #22c55e, #15803d);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}

.hero-btn {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: none;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.6);
    padding-inline: 26px;
}

.hero-btn-secondary {
    border-radius: 999px;
    border-color: rgba(148, 163, 184, 0.7);
}

.hero-note {
    font-size: 0.83rem;
    color: var(--apk-text-muted);
}

/* PLUGIN GRID */
.plugin-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 18px 18px 16px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plugin-pill {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--apk-text-muted);
}

.plugin-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 4px;
}

.plugin-desc {
    font-size: 0.9rem;
    color: var(--apk-text-muted);
}

.plugin-meta {
    font-size: 0.75rem;
    color: var(--apk-text-muted);
}

.plugin-footer {
    margin-top: auto;
}

/* SECTION BASE */
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--apk-text-muted);
    max-width: 640px;
}

.bg-dark-alt {
    background: radial-gradient(circle at top, #020617, #020617);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    background: radial-gradient(circle at top, #020617, #000);
    font-size: 0.85rem;
    color: var(--apk-text-muted);
}

.footer-links a {
    margin-right: 12px;
    color: var(--apk-text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* DETAIL PAGE reused */
.hero-section-detail {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    color: #f9fafb;
    overflow: hidden;
}

.hero-card,
.hero-card-header,
.hero-card-title,
.hero-card-subtitle,
.hero-chip,
.check-badge,
.hero-list,
.hero-metrics,
.metric-label,
.metric-value,
.metric-caption,
.trust-section,
.trust-eyebrow,
.trust-pill,
.trust-pill .pill-label,
.trust-pill .pill-value,
.benefit-item,
.benefit-icon,
.benefits-card,
.mini-label,
.mini-value,
.feature-card,
.feature-icon,
.plan-card,
.plan-card-featured,
.plan-badge,
.plan-tagline,
.cta-section,
.cta-list,
.contact-card {
    /* keep full definitions from previous file if needed – shortened for brevity here */
}

/* Utilidades */
.small {
    font-size: 0.78rem !important;
}

.text-muted {
    color: var(--apk-text-muted) !important;
}

@media (max-width: 991.98px) {
    .hero-section,
    .hero-section-detail {
        padding-top: 108px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }
}
