/*
 * Pagina /software - DOAR regulile specifice paginii.
 * Partea comuna (tokens, nav, hero, rame, carduri, securitate, FAQ, formular, footer)
 * e in landing.css, incarcat inaintea acestui fisier.
 */

/* ---------- buton secundar (carduri de pret) ---------- */
.co-btn--navy { background: var(--navy); color: #fff !important; }
.co-btn--navy:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgba(11, 27, 51, .25); }

/* ---------- eticheta pe capturile vechi (fallback pana la capturile noi) ---------- */
.device--legacy:not(.device--empty) .device__screen::after {
    content: "interfata 2023"; position: absolute; right: 10px; bottom: 10px; z-index: 3;
    font: 600 11px/1 var(--font); letter-spacing: .02em; color: #fff;
    background: rgba(11, 27, 51, .62); padding: 5px 8px; border-radius: 999px; pointer-events: none;
}

/* ---------- hero ---------- */
.sw-hero__visual { padding: 44px 0 56px; }
.device--sw-hero { position: relative; z-index: 2; max-width: 640px; }
/* sub 576px cardul de sus ar acoperi bara de adresa a laptopului: apare doar de la 576px */
.sw-hero .co-float--1 { display: none; top: 0; left: 0; }
.sw-hero .co-float--2 { display: none; }
.sw-hero .co-float--3 { bottom: 0; left: 0; right: auto; }

/* copiii de grid nu se lasa largiti de bara de adresa a ramelor (white-space: nowrap) */
.sw-hero .co-hero__inner > *, .sw-ai > *, .sw-gallery__grid > *, .sw-new__card > *, .sw-plans > * { min-width: 0; }

/* ---------- facilitati ---------- */
.sw-features { background: var(--bg); }
.sw-zone { margin-top: 36px; }
.sw-zone:first-of-type { margin-top: 0; }
.sw-zone__title { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 16px !important; color: var(--navy); }
.sw-zone__num { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 800; }
.sw-zone__grid { display: grid; gap: 14px; }
.sw-zone .co-card { height: 100%; }

.sw-ai { display: grid; gap: 28px; align-items: center; margin-top: 48px; padding: 28px 16px; border-radius: var(--r-lg); background: linear-gradient(160deg, #fff, #EAF1FF); border: 1px solid var(--line); }
.sw-ai h3 { font-size: 24px; }

/* ---------- galerie ---------- */
.sw-gallery { background: #fff; }
.sw-gallery__grid { display: grid; gap: 28px; }
.sw-shot { margin: 0; }
.sw-shot figcaption { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--text); text-align: center; }

/* ---------- nou: credite online ---------- */
.sw-new { background: var(--bg); }
.sw-new__card { position: relative; overflow: hidden; display: grid; gap: 24px; align-items: center; padding: 36px 20px 40px; border-radius: var(--r-lg); color: #fff;
    background: radial-gradient(600px 380px at 15% 40%, rgba(37, 99, 235, .45), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow-lg); }
.sw-new__card h2 { color: #fff; }
.sw-new__card .co-lead { color: #CBD5E1; }
.sw-new__card .co-btn { margin-top: 28px; }
.sw-new__media { position: relative; display: flex; justify-content: center; }
.sw-new__media .co-hero__glow { width: 300px; height: 300px; }
.device--sw-new { width: 230px; z-index: 2; transform: rotate(-3deg); }
.sw-new__badge { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1F1300; background: var(--amber); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(245, 158, 11, .35); }

/* ---------- preturi ---------- */
.sw-pricing { background: var(--bg); }
.sw-plans { display: grid; gap: 18px; align-items: start; }
.sw-plan { position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sw-plan--popular { border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .10), var(--shadow-lg); }
.sw-plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--blue), var(--blue-light)); padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(37, 99, 235, .35); }
.sw-plan__name { font-size: 15px !important; font-weight: 800; letter-spacing: .08em !important; text-transform: uppercase; color: var(--blue); }
.sw-plan__price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 10px; margin: 12px 0 20px; }
.sw-plan__price b { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--navy); }
.sw-plan__price span { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.3; padding-bottom: 6px; }
.sw-plan__old { flex: 0 0 100%; font-size: 15px; font-weight: 700; color: #94A3B8; }
.sw-plan__plus { margin-top: 22px !important; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sw-plan__list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.45; }
.sw-plan__list li { display: flex; gap: 8px; align-items: flex-start; }
.sw-plan__list .co-check { width: 18px; height: 18px; flex-basis: 18px; margin-top: 1px; }

.sw-notes { margin-top: 32px; padding: 22px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sw-notes ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.sw-notes__meta { margin-top: 14px !important; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; font-style: italic; }
.sw-notes__meta a { font-style: normal; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ===================== >= 576px ===================== */
@media (min-width: 576px) {
    .sw-zone__grid { grid-template-columns: 1fr 1fr; }
}

/* ===================== >= 768px ===================== */
@media (min-width: 768px) {
    .sw-ai { padding: 40px; }
    .sw-gallery__grid { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
    .sw-new__card { padding: 48px 40px; }
    .device--sw-new { width: 250px; }
    .sw-plans { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
    .sw-notes { padding: 26px 28px; }
}

/* ===================== >= 1024px ===================== */
@media (min-width: 1024px) {
    .sw-hero .co-hero__inner { grid-template-columns: 1fr 1fr; }
    .sw-hero h1 { font-size: 56px; }
    .sw-hero .co-proofs { grid-template-columns: auto auto; gap: 12px 28px; }
    .sw-hero__visual { padding: 40px 0 70px; }
    .device--sw-hero { transform: perspective(1800px) rotateY(-9deg) rotateX(2deg); }
    .sw-hero .co-float--1 { display: flex; top: 40%; left: -9%; }
    .sw-hero .co-float--2 { display: flex; top: 4px; bottom: auto; right: -3%; animation-delay: -2s; }
    .sw-hero .co-float--3 { bottom: 2%; left: 6%; right: auto; }
    .sw-new__card h2 { font-size: 40px; }
    .sw-zone__grid { grid-template-columns: repeat(4, 1fr); }
    .sw-ai { grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 48px; }
    .sw-new__card { grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 56px 64px; }
    .device--sw-new { width: 270px; }
}

/* ===================== >= 1180px ===================== */
@media (min-width: 1180px) {
    .sw-plans { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .sw-plan { padding: 30px 22px; }
    .sw-plan--popular { transform: translateY(-8px); }
}
