/* ============================================
   OLORUN ECOSYSTEM — Shared Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --dark-950: #030712;
    --dark-900: #0a0e1a;
    --dark-800: #111827;
    --dark-700: #1f2937;
    --dark-600: #374151;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --accent-400: #c084fc;
    --accent-500: #a855f7;
    --accent-600: #9333ea;
    --cyber-400: #22d3ee;
    --cyber-500: #06b6d4;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --red-400: #f87171;
    --red-500: #ef4444;
    --orange-400: #fb923c;
    --yellow-400: #facc15;
    --olorun-blue: #2d8fcf;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--dark-900);
    color: #f1f5f9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- NAVBAR --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 2rem;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    transition: color .2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.active {
    color: #fff;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--green-600);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}

.btn-wa:hover {
    background: var(--green-500);
    transform: translateY(-1px);
}

.nav-mobile {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* --- GLASS CARDS --- */
.glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.glass:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(99, 102, 241, .3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* --- SECTION LAYOUT --- */
.section {
    padding: 80px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-400), var(--cyber-400), var(--accent-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-brand {
    color: var(--brand-400);
}

.text-accent {
    color: var(--accent-400);
}

.text-cyber {
    color: var(--cyber-400);
}

.text-green {
    color: var(--green-400);
}

.text-red {
    color: var(--red-400);
}

.text-orange {
    color: var(--orange-400);
}

.text-gray {
    color: var(--gray-400);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-6 {
    margin-bottom: 48px;
}

/* --- BADGE --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-400);
}

.badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-400);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

/* --- SCANNER INLINE --- */
.scanner-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.1);
}

.scanner-row {
    display: flex;
    gap: 12px;
}

.scanner-input {
    flex: 1;
    padding: 16px 16px 16px 48px;
    background: var(--dark-950);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
}

.scanner-input:focus {
    outline: none;
    border-color: var(--brand-500);
}

.scanner-input-wrap {
    position: relative;
    flex: 1;
}

.scanner-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.scanner-btn {
    padding: 16px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-600), var(--accent-600));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s;
}

.scanner-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(99, 102, 241, .4);
}

.scanner-hints {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 16px;
}

.scanner-hints span {
    font-size: 12px;
    color: var(--gray-500);
}

.scanner-hints i {
    color: var(--green-400);
    margin-right: 4px;
}

/* --- CARDS --- */
.card {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all .3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: #fff;
}

/* --- TRUST BAR --- */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-num {
    font-size: 2.2rem;
    font-weight: 900;
}

.trust-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* --- TESTIMONIAL --- */
.testimonial {
    padding: 28px;
    border-radius: 20px;
}

.stars {
    color: var(--yellow-400);
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
}

.author-role {
    font-size: 12px;
    color: var(--gray-500);
}

/* --- PRICING --- */
.pricing-card {
    padding: 32px;
    border-radius: 20px;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--brand-500);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--brand-600);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    margin: 16px 0;
}

.price-period {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: var(--green-400);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.btn-pricing.filled {
    background: var(--brand-600);
    color: #fff;
}

.btn-pricing.filled:hover {
    background: var(--brand-500);
}

.btn-pricing.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-pricing.outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- FOOTER --- */
.footer {
    padding: 60px 2rem 30px;
    background: var(--dark-950);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color .2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--gray-500);
    font-size: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .scanner-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 48px 1rem;
    }
}

/* --- GLOW EFFECTS --- */
.glow {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.glow-accent {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

/* --- ANIMATIONS --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}

.slide-up {
    animation: slideUp .6s ease-out both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LIGHT THEME (ciberseguridad) --- */
.theme-light {
    background: #f0f5ff;
    color: #1e293b;
}

.theme-light .nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light .nav-links a {
    color: #64748b;
}

.theme-light .nav-links a:hover,
.theme-light .nav-links a.active {
    color: #1e293b;
}

.theme-light .btn-wa,
.theme-light .btn-wa:hover {
    color: #fff !important;
}

.theme-light .glass {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-light .card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.theme-light .card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.theme-light .subtitle {
    color: #64748b;
}

.theme-light .footer {
    background: #1e293b;
    color: #f1f5f9;
}