/* === TagPrint home — v4 «rich gradient» === */
:root {
    --tp-primary: #6366f1;
    --tp-primary-dark: #4f46e5;
    --tp-accent: #ec4899;
    --tp-text: #0f172a;
    --tp-text-soft: #475569;
    --tp-text-mute: #94a3b8;
    --tp-bg: #ffffff;
    --tp-bg-soft: #f8fafc;
    --tp-border: #e2e8f0;
    --tp-border-soft: #f1f5f9;
    --tp-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --tp-shadow-lg: 0 24px 60px rgba(99, 102, 241, 0.25);
    --tp-radius: 16px;
    --tp-radius-lg: 24px;
}

/* ====================== HERO ====================== */
.tp-hero {
    position: relative;
    padding: 4rem 1.5rem 4.5rem !important;
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(236, 72, 153, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 100% 20%, rgba(59, 130, 246, 0.50) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(168, 85, 247, 0.55) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 165, 233, 0.35) 0%, transparent 60%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%) !important;
    color: #fff !important;
    overflow: hidden;
}
.tp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 1.8px);
    background-size: 28px 28px;
    opacity: 0.9;
    pointer-events: none;
}
.tp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 960px) {
    .tp-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .tp-hero__visual { display: none; }
}
.tp-hero__left { text-align: left; }
.tp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #c7d2fe;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(10px);
}
.tp-hero__title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 1.4rem;
    color: #fff;
}
.tp-hero__title-accent {
    background: linear-gradient(135deg, #f0abfc 0%, #c4b5fd 50%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.tp-hero__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    margin: 0 0 2rem;
    max-width: 520px;
}
.tp-hero__cta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}
.tp-hero__stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Demo-pill */
.tp-hero__demo {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.3rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    line-height: 1.3;
}
.tp-hero__demo__icon {
    font-size: 1.7rem;
    margin-right: 0.85rem;
    line-height: 1;
}
.tp-hero__demo__text {
    display: flex;
    flex-direction: column;
}
.tp-hero__demo__title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.tp-hero__demo__sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.83rem;
    margin-top: 0.15rem;
}

/* Hero visual — live counter card */
.tp-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-hero__card {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.30);
    text-align: center;
}
.tp-hero__card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #f0abfc, #c4b5fd, #93c5fd);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.40;
    filter: blur(25px);
}
.tp-hero__counter-printer {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.06) 100%);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(10px);
    animation: tp-printer-float 4s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
@keyframes tp-printer-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.tp-hero__counter-eyebrow {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.tp-hero__counter {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3rem, 6.5vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.035em;
    background: linear-gradient(120deg, #ffffff 0%, #e0e7ff 30%, #f0abfc 60%, #c4b5fd 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.4rem;
    animation: tp-counter-shimmer 4s linear infinite;
    text-shadow: 0 0 40px rgba(196, 181, 253, 0.3);
}
@keyframes tp-counter-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.tp-hero__counter-suffix {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.tp-hero__counter-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    width: 100%;
    justify-content: center;
}
.tp-hero__counter-dot {
    width: 8px; height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: tp-pulse 2s ease-in-out infinite;
}
@keyframes tp-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    50% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
}

/* ====================== BUTTONS ====================== */
.tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.95rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.tp-btn--primary {
    background: #fff;
    color: var(--tp-primary-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.tp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.32); }
.tp-btn--ghost {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
}
.tp-btn--ghost:hover { background: rgba(255,255,255,0.18); }
.tp-btn--gradient {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.tp-btn--gradient:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45); }

/* ====================== SECTION ====================== */
.tp-section {
    padding: 5rem 0 !important;
    background: #fff !important;
}
.tp-section--soft { background: var(--tp-bg-soft) !important; }
.tp-section__head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.tp-section__eyebrow {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 100%);
    color: var(--tp-primary-dark);
    border: 1px solid #e0e7ff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.tp-section__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--tp-text);
    margin: 0 0 0.7rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.tp-section__subtitle {
    color: var(--tp-text-soft);
    font-size: 1.08rem;
    margin: 0;
    line-height: 1.55;
}

/* ====================== ROW: master + news ====================== */
.tp-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.6rem;
    align-items: stretch;
}
.tp-row--news-only { grid-template-columns: minmax(0, 1fr); max-width: 700px; margin: 0 auto; }
.tp-row > * { min-width: 0; }
@media (max-width: 960px) { .tp-row { grid-template-columns: 1fr; } }

/* MASTER CALL */
.tp-master {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    border-radius: var(--tp-radius-lg);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.30);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tp-master::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.18) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(236, 72, 153, 0.20) 0%, transparent 45%);
    pointer-events: none;
}
.tp-master__body { padding: 2rem 2.2rem; position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.tp-master__head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tp-master__icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.18);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}
.tp-master__title { margin: 0; font-size: 1.45rem; font-weight: 800; color: #fff !important; line-height: 1.2; letter-spacing: -0.01em; flex: 1; min-width: 0; }
.tp-master__badge {
    background: rgba(255,255,255,0.22);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}
.tp-master__desc { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.55; opacity: 0.92; }
.tp-master__bullets { list-style: none; padding: 0; margin: 0 0 1.6rem; font-size: 0.95rem; line-height: 1.75; }
.tp-master__bullets li { padding: 0.2rem 0; opacity: 0.95; }
.tp-master__cta {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.9rem 1.8rem;
    background: #fff;
    color: var(--tp-primary-dark);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tp-master__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.32); }

/* NEWS */
.tp-news {
    background: #fff;
    border-radius: var(--tp-radius-lg);
    padding: 1.8rem 2rem;
    box-shadow: var(--tp-shadow-md);
    border: 1px solid var(--tp-border);
    display: flex;
    flex-direction: column;
}
.tp-news__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--tp-border-soft); }
.tp-news__title { margin: 0; color: var(--tp-text); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.tp-news__all { color: var(--tp-primary); font-size: 0.85rem; text-decoration: none; font-weight: 500; }
.tp-news__all:hover { text-decoration: underline; }
.tp-news__item { display: block; padding: 0.95rem 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--tp-border-soft); transition: padding-left 0.2s ease; }
.tp-news__item:hover { padding-left: 4px; }
.tp-news__item:last-child { border-bottom: none; padding-bottom: 0; }
.tp-news__date { color: var(--tp-text-mute); font-size: 0.72rem; margin-bottom: 0.35rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.tp-news__name { color: var(--tp-text); font-weight: 600; font-size: 0.97rem; line-height: 1.4; letter-spacing: -0.005em; }
.tp-news__summary { color: var(--tp-text-soft); font-size: 0.87rem; margin-top: 0.4rem; line-height: 1.55; }

/* ====================== FEATURES ====================== */
.tp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 920px) { .tp-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tp-features { grid-template-columns: 1fr; } }
.tp-feature {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 1.8rem 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tp-feature:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow-lg); border-color: transparent; }
.tp-feature__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1;
}
.tp-feature__icon svg { display: block; }
.tp-feature__icon--blue { background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%); }
.tp-feature__icon--purple { background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); }
.tp-feature__icon--pink { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.tp-feature__icon--green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.tp-feature__icon--orange { background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%); }
.tp-feature__icon--cyan { background: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%); }
.tp-feature__title { color: var(--tp-text); font-size: 1.12rem; margin: 0 0 0.6rem; font-weight: 700; letter-spacing: -0.01em; }
.tp-feature__text { color: var(--tp-text-soft); line-height: 1.6; font-size: 0.95rem; margin: 0; }

/* ====================== COMPARE ====================== */
.tp-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .tp-compare { grid-template-columns: 1fr; } }
.tp-compare__col {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    padding: 1.9rem;
    position: relative;
}
.tp-compare__col--bad { background: #fffbfb; border-color: #fee2e2; }
.tp-compare__col--win {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    border: 2px solid var(--tp-primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18);
    transform: scale(1.02);
}
.tp-compare__badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tp-compare__icon { font-size: 1.9rem; margin-bottom: 0.9rem; display: block; }
.tp-compare__title { font-size: 1.12rem; margin: 0 0 0.7rem; font-weight: 700; color: var(--tp-text); letter-spacing: -0.01em; }
.tp-compare__col--bad .tp-compare__title { color: #b91c1c; }
.tp-compare__col--win .tp-compare__title { color: var(--tp-primary-dark); }
.tp-compare__text { color: var(--tp-text-soft); line-height: 1.65; font-size: 0.96rem; margin: 0; }

/* ====================== ABOUT ====================== */
.tp-about__body { max-width: 760px; margin: 0 auto; color: var(--tp-text-soft); font-size: 1.05rem; line-height: 1.75; }
.tp-about__body p { margin: 0 0 1.2rem; }
.tp-about__body p:last-child { margin: 0; }
.tp-about__body strong { color: var(--tp-text); font-weight: 700; }

/* ====================== CTA FINAL ====================== */
.tp-cta {
    background:
        radial-gradient(ellipse 60% 80% at 0% 100%, rgba(236, 72, 153, 0.50) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(59, 130, 246, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(168, 85, 247, 0.30) 0%, transparent 70%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%) !important;
    color: #fff !important;
    padding: 5rem 1.5rem !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tp-cta::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1.5px, transparent 1.8px);
    background-size: 28px 28px;
    opacity: 0.9;
    pointer-events: none;
}
.tp-cta > * { position: relative; z-index: 1; }
.tp-cta h2 { color: #fff !important; font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 0.9rem; font-weight: 800; letter-spacing: -0.025em; }
.tp-cta p { font-size: 1.1rem; opacity: 0.85; margin: 0 auto 2.2rem; max-width: 600px; text-align: center; }
.tp-cta__hint { font-size: 0.85rem; opacity: 0.7; margin-top: 1.2rem; }
