﻿/* ===== Marketing Home – bright + impact ===== */
:root {
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0b1220;
    --muted: #6b7280;
    --ring: #2563eb;
    --border: rgba(203,213,225,.6);
    --shadow: 0 12px 28px rgba(15,23,42,.06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1220;
        --card: #0f172a;
        --text: #e5e7eb;
        --muted: #9ca3af;
        --ring: #60a5fa;
        --border: rgba(148,163,184,.22);
        --shadow: 0 16px 36px rgba(0,0,0,.45);
    }
}

html, body {
    height: 100%;
}

body {
    background: radial-gradient(600px 320px at 10% -5%, rgba(59,130,246,.08), transparent 60%), radial-gradient(700px 360px at 90% -10%, rgba(16,185,129,.08), transparent 60%), var(--bg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
    color: var(--text);
}

/* shell */
.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px 80px;
}

.shell--home {
    padding-top: 40px;
}

/* HERO */
.hero {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

    .hero:before {
        content: "";
        position: absolute;
        inset: -40px -80px auto -80px;
        height: 220px;
        background: radial-gradient(60% 60% at 50% 0%, rgba(37,99,235,.15), transparent 60%);
        filter: blur(30px);
        pointer-events: none;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(180deg,#fff, #f2f5ff);
    border: 1px solid var(--border);
    color: #1f2937;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .85rem;
    box-shadow: var(--shadow);
}

.hero-title {
    margin: .7rem 0 .5rem 0;
    font-weight: 800;
    letter-spacing: -.4px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

    .hero-title .grad {
        background: linear-gradient(90deg, #2563eb, #10b981 80%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 auto;
}

.hero-cta {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    border-radius: 14px;
    padding: .7rem 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

    .btn-cta.primary {
        background: linear-gradient(180deg,#2563eb,#1d4ed8);
        color: #fff;
        box-shadow: 0 10px 22px rgba(37,99,235,.22);
    }

        .btn-cta.primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(37,99,235,.28);
        }

    .btn-cta.ghost {
        background: #fff;
        color: #1f2937;
        border: 1px solid var(--border);
    }

        .btn-cta.ghost:hover {
            transform: translateY(-1px);
            border-color: rgba(37,99,235,.45);
        }

/* GRID */
.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* TILE */
.tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px 22px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    will-change: transform;
}

    .tile:hover {
        transform: translateY(-4px);
        border-color: rgba(37,99,235,.32);
        box-shadow: 0 16px 34px rgba(2,6,23,.10);
        background: linear-gradient(180deg, rgba(255,255,255,.96), var(--card));
    }

    .tile:focus-visible {
        outline: 3px solid var(--ring);
        outline-offset: 2px;
    }

.tile-ico {
    flex: 0 0 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 22px;
    background: linear-gradient(180deg,#eef2ff,#e0e7ff);
    color: #1d4ed8;
}

.tile-content h3 {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.2px;
}

.tile-content p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.tile-chevron {
    margin-left: auto;
    color: #94a3b8;
    transition: transform .18s ease;
}

.tile:hover .tile-chevron {
    transform: translateX(6px);
}

/* accent pills */
.ico-blue {
    color: #2563eb;
    background: linear-gradient(180deg,#e7f1ff,#dbeafe);
}

.ico-green {
    color: #059669;
    background: linear-gradient(180deg,#eafff5,#dcfce7);
}

.ico-indigo {
    color: #4f46e5;
    background: linear-gradient(180deg,#eeecff,#e0e7ff);
}

.ico-yellow {
    color: #ca8a04;
    background: linear-gradient(180deg,#fff8e1,#fef3c7);
}

.ico-pink {
    color: #db2777;
    background: linear-gradient(180deg,#ffe9f3,#fce7f3);
}

/* Staggered appear */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tile {
    opacity: 0;
    animation: fadeUp .5s ease forwards;
}

.a-1 {
    animation-delay: .05s
}

.a-2 {
    animation-delay: .1s
}

.a-3 {
    animation-delay: .15s
}

.a-4 {
    animation-delay: .2s
}

.a-5 {
    animation-delay: .25s
}

.a-6 {
    animation-delay: .3s
}

.a-7 {
    animation-delay: .35s
}

.a-8 {
    animation-delay: .4s
}

.a-9 {
    animation-delay: .45s
}

.a-10 {
    animation-delay: .5s
}

/* A11y: reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tile, .tile-chevron, .btn-cta {
        transition: none;
    }

    .tile {
        animation: none;
        opacity: 1;
    }
}

/* optional: force light regardless of OS (dacă pui class="force-light" pe body) */
.force-light {
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0b1220;
    --muted: #6b7280;
    --ring: #2563eb;
    --border: rgba(203,213,225,.6);
    --shadow: 0 12px 28px rgba(15,23,42,.06);
}
