/* ==========================================
   NudeImg â Main Stylesheet
   ========================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0D0D0D;
    --bg-card: #141210;
    --bg-card-hover: #1C1916;
    --border-color: #242018;
    --border-color-light: #302A20;
    
    --accent: #FFA31A;
    --accent-light: #FFB340;
    --accent-lighter: #FFC966;
    --accent-glow: rgba(255, 163, 26, 0.28);
    --accent-gradient: linear-gradient(135deg, #FF8500, #FFA31A);
    
    --text-primary: #F5F0E8;
    --text-secondary: #9A9080;
    --text-muted: #5A5248;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px var(--accent-glow);
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --container-width: 1200px;
    --navbar-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--accent-lighter);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utility Classes --- */
.text-accent {
    color: var(--accent-lighter);
}

.ni-text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ni-section__title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.ni-section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
    color: #fff;
}

/* Spin animation for loading buttons */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.spin {
    animation: spin 0.9s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

.btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent-lighter);
    background: rgba(255, 163, 26, 0.1);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn--ghost:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.btn--lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* ÐÐ½Ð¾Ð¿ÐºÐ° Ð¢Ð°ÑÐ¸ÑÑ */
.btn--pricing {
    background: rgba(255, 163, 26, 0.12);
    color: var(--accent-lighter);
    border: 1px solid rgba(255, 163, 26, 0.45);
    box-shadow: 0 0 12px rgba(255, 163, 26, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn--pricing:hover {
    background: rgba(255, 163, 26, 0.22);
    border-color: rgba(255, 179, 64, 0.7);
    color: var(--accent-lighter);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(255, 163, 26, 0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ÐÐ½Ð¾Ð¿ÐºÐ° ÐÐ¾Ð´Ð´ÐµÑÐ¶ÐºÐ° */
.btn--support {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn--support:hover {
    color: var(--text-primary);
    border-color: var(--border-color-light);
    background: rgba(255,255,255,0.04);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background 0.3s;
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.navbar__logo-text {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-nude {
    color: #ffffff;
    font-weight: 900;
}

.logo-img {
    color: #000000;
    background: var(--accent);
    padding: 1px 5px 2px;
    border-radius: 4px;
    line-height: 1.2;
    margin-left: 4px;
    font-weight: 900;
}

.navbar__nav {
    display: flex;
}

.navbar__list {
    display: flex;
    gap: 32px;
}

.navbar__link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.navbar__link:hover {
    color: var(--text-primary);
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s;
    border-radius: 2px;
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__tg-btn {
    font-size: 0.82rem;
    padding: 7px 14px;
    gap: 6px;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ÐÐºÑÐ¸Ð²Ð½Ð°Ñ ÑÑÑÐ»ÐºÐ° Ð² Ð´ÐµÑÐºÑÐ¾Ð¿Ð½Ð¾Ð¼ navbar */
.navbar__link--active {
    color: var(--accent-lighter) !important;
}
.navbar__link--active::after {
    width: 100% !important;
}

/* btn--ghost Ð°ÐºÑÐ¸Ð²Ð½Ð¾Ðµ ÑÐ¾ÑÑÐ¾ÑÐ½Ð¸Ðµ (ÐÐ»Ð¾Ð³) */
.btn--ghost--active {
    color: var(--accent-lighter) !important;
    background: rgba(255, 163, 26, 0.1) !important;
}

/* Telegram-ÐºÐ½Ð¾Ð¿ÐºÐ° Ð² Ð¼Ð¾Ð±Ð¸Ð»ÑÐ½Ð¾Ð¼ Ð¼ÐµÐ½Ñ â ÑÐºÑÑÑÐ° Ð½Ð° Ð´ÐµÑÐºÑÐ¾Ð¿Ðµ */
.navbar__tg-mobile {
    display: none;
}

/* ÐÐ¾Ð±Ð¸Ð»ÑÐ½ÑÐµ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð¢Ð°ÑÐ¸ÑÑ/ÐÐ¾Ð´Ð´ÐµÑÐ¶ÐºÐ° â ÑÐºÑÑÑÑ Ð½Ð° Ð´ÐµÑÐºÑÐ¾Ð¿Ðµ */
.navbar__mobile-btn {
    display: none;
}

/* Ð ÐµÐ·ÐµÑÐ²Ð¸ÑÑÐµÐ¼ Ð²ÑÑÐ¾ÑÑ Ð¿Ð¾Ð´ navbar Ð´Ð¾ ÐµÐ³Ð¾ Ð¸Ð½Ð¶ÐµÐºÑÐ¸Ð¸ â Ð¿ÑÐµÐ´Ð¾ÑÐ²ÑÐ°ÑÐ°ÐµÑ flash layout shift */
#navbar-placeholder {
    display: block;
    height: var(--navbar-height);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
    animation: glow-drift 8s ease-in-out infinite;
}

@keyframes glow-drift {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(30px); opacity: 0.35; }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 163, 26, 0.1);
    border: 1px solid rgba(255, 163, 26, 0.25);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--accent-lighter);
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.ni-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.ni-hero__title .ni-text-gradient {
    filter: drop-shadow(0 0 24px rgba(255, 163, 26, 0.35));
}

.ni-hero__subtitle-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 600;
}

.ni-hero__subtitle-lead .logo-nude,
.ni-hero__subtitle-lead .logo-img {
    font-size: 1.25rem;
    font-weight: 900;
}

.ni-hero__subtitle-lead strong {
    color: var(--accent);
}

.ni-hero__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.ni-hero__subtitle strong {
    color: var(--accent-lighter);
}

.ni-hero__tg-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: rgba(255, 163, 26, 0.06);
    border: 1px solid rgba(255, 163, 26, 0.18);
    border-radius: 12px;
    text-align: center;
}

.ni-hero__tg-cta-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.ni-hero__tg-btn {
    width: fit-content;
    min-width: 180px;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 700;
}

/* CTA под блоком примеров */
.section-tg-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding: 28px;
    background: rgba(255, 163, 26, 0.07);
    border: 1px solid rgba(255, 163, 26, 0.2);
    border-radius: 14px;
    text-align: center;
}

.section-tg-cta__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.section-tg-cta__btn {
    white-space: nowrap;
}

.ni-hero__checklist-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ni-hero__checklist-label::before,
.ni-hero__checklist-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.ni-hero__checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.ni-hero__check-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
    cursor: default;
}

.ni-hero__check-item:hover {
    background: rgba(255, 163, 26, 0.06);
    border-left-color: var(--accent);
    color: var(--text-primary);
}

.ni-hero__check-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

.ni-hero__check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 163, 26, 0.15);
    border-radius: 50%;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 1px;
    transition: background 0.2s, transform 0.2s;
}

.ni-hero__check-item:hover .ni-hero__check-icon {
    background: rgba(255, 163, 26, 0.3);
    transform: scale(1.1);
}

/* Upload Area */
.hero__upload-area {
    position: relative;
}

.hero__free-badge {
    position: absolute;
    top: -14px;
    right: 16px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.ni-upload-box {
    background: var(--bg-card);
    border: 2px dashed var(--border-color-light);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: box-glow 4s ease-in-out infinite;
}

@keyframes box-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 163, 26, 0.07); }
    50%       { box-shadow: 0 0 55px rgba(255, 163, 26, 0.18); }
}

.ni-upload-box:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.ni-upload-box.dragging {
    border-color: var(--accent-light);
    background: rgba(255, 163, 26, 0.1);
}

.upload-box__icon {
    color: var(--accent-lighter);
    margin-bottom: 16px;
}

.ni-upload-box__text {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ni-upload-box__subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.ni-upload-box__formats {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    display: inline-block;
}

.upload-box__preview {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.upload-box__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 380px;
}

.hero__buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.hero__buttons .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.hero__buttons .btn--outline:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ni-hero__trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ni-hero__trust-line svg {
    color: var(--accent-lighter);
}

.ni-hero__trust-dot {
    width: 3px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}



/* ==========================================
   EXAMPLES
   ========================================== */
.examples {
    padding: 100px 0;
}

.examples__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.example-card {
    text-align: center;
}

.example-card__caption {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.example-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: default;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    touch-action: pan-y;
}

.example-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.example-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.example-slider__img--before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.example-slider__img--after {
    z-index: 0;
}

.example-slider__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.example-slider__placeholder--before {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
}

.example-slider__placeholder--after {
    background: linear-gradient(135deg, #1e0a3e 0%, #2a1a4e 100%);
}

.example-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.example-slider__line {
    width: 2px;
    flex: 1;
    background: rgba(255,255,255,0.6);
}

.example-slider__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
    cursor: col-resize;
    pointer-events: auto;
    touch-action: none;
}

/* ==========================================
   SEO BLOCKS
   ========================================== */
.seo-block {
    padding: 100px 0;
}

.seo-block--alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}

.seo-block__text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-block__text strong {
    color: var(--accent-lighter);
}

.seo-block__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seo-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s;
}

.seo-feature:hover {
    border-color: var(--accent);
}

.seo-feature__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.seo-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.seo-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.seo-block__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 40px;
}

.seo-block__col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.seo-block__col p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step__icon {
    color: var(--accent-lighter);
    margin-bottom: 16px;
}

.step__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step__connector {
    display: flex;
    align-items: center;
    padding-top: 50px;
    color: var(--border-color-light);
}

.how-it-works__cta {
    text-align: center;
}

/* ==========================================
   BLOG PREVIEW
   ========================================== */
.ni-blog-preview {
    padding: 100px 0;
}

.ni-blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #2a1a4e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.blog-card__placeholder {
    font-size: 3rem;
}

.blog-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-card__content {
    padding: 20px;
}

.blog-card__date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.blog-card__title a {
    color: var(--text-primary);
}

.blog-card__title a:hover {
    color: var(--accent-lighter);
}

.blog-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-lighter);
}

.blog-preview__cta {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
    padding: 100px 0;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq__item[open] {
    border-color: var(--accent);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    list-style: none;
    transition: color 0.2s;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question:hover {
    color: var(--accent-lighter);
}

.faq__arrow {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq__item[open] .faq__arrow {
    transform: rotate(180deg);
    color: var(--accent-lighter);
}

.faq__answer {
    padding: 0 24px 20px;
}

.faq__answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer__desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent-lighter);
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__disclaimer {
    font-size: 0.8rem !important;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero {
        min-height: auto;
        padding: calc(var(--navbar-height) + 40px) 0 60px;
    }
    .ni-hero__title {
        font-size: 2.4rem;
    }
    .examples__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .seo-block__grid {
        grid-template-columns: 1fr;
    }
    .seo-block__columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .steps {
        flex-wrap: wrap;
        gap: 24px;
    }
    .step__connector {
        display: none;
    }
    .step {
        max-width: 100%;
        flex: 1 1 calc(33% - 24px);
    }
    .ni-blog-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ni-section__title {
        font-size: 1.75rem;
    }
    .ni-section__subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    /* Navbar mobile */
    .navbar__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - var(--navbar-height));
        background: var(--bg-primary);
        padding: 24px 20px 40px;
        z-index: 9999;
        flex-direction: column;
        gap: 16px;
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
    }
    .navbar__nav.active {
        display: flex;
    }
    .navbar__list {
        flex-direction: column;
        gap: 4px;
    }
    .navbar__link {
        font-size: 1.05rem;
        display: block;
        padding: 13px 16px;
        border-radius: var(--radius-sm);
        transition: all 0.2s;
        color: var(--text-secondary);
    }
    .navbar__link:hover,
    .navbar__link:active {
        background: rgba(255, 163, 26, 0.1);
        color: var(--accent-lighter);
    }
    .navbar__link--active {
        color: var(--accent-lighter) !important;
        background: rgba(255, 163, 26, 0.1);
    }
    .navbar__link::after {
        display: none;
    }
    /* Telegram ÐºÐ½Ð¾Ð¿ÐºÐ° Ð²Ð½ÑÑÑÐ¸ Ð¼Ð¾Ð±Ð¸Ð»ÑÐ½Ð¾Ð³Ð¾ Ð¼ÐµÐ½Ñ */
    .navbar__tg-mobile {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
        border-radius: var(--radius-sm);
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        text-decoration: none;
        margin-top: 8px;
    }
    .navbar__tg-mobile:hover {
        color: #fff;
        filter: brightness(1.1);
    }
    /* Ð¡ÐºÑÑÐ²Ð°ÐµÐ¼ Ð´ÐµÑÐºÑÐ¾Ð¿Ð½ÑÐµ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð² navbar__actions Ð½Ð° Ð¼Ð¾Ð±Ð¸Ð»ÐºÐµ */
    .navbar__actions .btn--ghost,
    .navbar__actions .btn--primary,
    .navbar__actions .btn--pricing,
    .navbar__actions .btn--support,
    .navbar__tg-btn {
        display: none;
    }

    /* ÐÐ¾ÐºÐ°Ð·ÑÐ²Ð°ÐµÐ¼ Ð¼Ð¾Ð±Ð¸Ð»ÑÐ½ÑÐµ ÐºÐ½Ð¾Ð¿ÐºÐ¸ Ð¢Ð°ÑÐ¸ÑÑ/ÐÐ¾Ð´Ð´ÐµÑÐ¶ÐºÐ° Ð² Ð±ÑÑÐ³ÐµÑ-Ð¼ÐµÐ½Ñ */
    .navbar__mobile-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
        margin-top: 4px;
    }

    .navbar__mobile-btn--pricing {
        background: rgba(255, 163, 26, 0.12);
        color: var(--accent-lighter);
        border: 1px solid rgba(255, 163, 26, 0.4);
    }

    .navbar__mobile-btn--pricing:hover,
    .navbar__mobile-btn--pricing:active {
        background: rgba(255, 163, 26, 0.22);
        color: var(--accent-lighter);
        border-color: rgba(255, 179, 64, 0.6);
    }

    .navbar__mobile-btn--support {
        background: transparent;
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
    }

    .navbar__mobile-btn--support:hover,
    .navbar__mobile-btn--support:active {
        background: rgba(255,255,255,0.04);
        color: var(--text-primary);
        border-color: var(--border-color-light);
    }

    .navbar__mobile-btn--tg {
        background: var(--accent-gradient);
        color: #fff;
        border: none;
        box-shadow: 0 4px 15px var(--accent-glow);
        margin-top: 8px;
    }

    .navbar__mobile-btn--tg:hover,
    .navbar__mobile-btn--tg:active {
        color: #fff;
        filter: brightness(1.1);
    }

    .navbar__burger {
        display: flex;
    }
    .navbar__burger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .navbar__burger.active span:nth-child(2) {
        opacity: 0;
    }
    .navbar__burger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero mobile */
    .ni-hero__title {
        font-size: 2rem;
    }
    .hero__buttons {
        flex-wrap: wrap;
    }
    .ni-upload-box {
        min-height: 250px;
        padding: 24px;
    }

    /* Checklist mobile */
    .ni-hero__checklist {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ni-hero__subtitle-lead {
        font-size: 1.05rem;
    }

    /* Examples mobile */
    .examples {
        padding: 60px 0;
    }
    .examples__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Steps mobile */
    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step {
        max-width: 400px;
    }

    /* Blog mobile */
    .ni-blog-preview {
        padding: 60px 0;
    }
    .ni-blog-preview__grid {
        grid-template-columns: 1fr;
    }

    /* SEO mobile */
    .seo-block {
        padding: 60px 0;
    }

    /* FAQ mobile */
    .faq {
        padding: 60px 0;
    }
    .faq__question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    /* Footer mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

}

/* ==========================================
   PROCESSING OVERLAY
   ========================================== */

/* upload-box needs relative positioning for overlay */
.ni-upload-box {
    position: relative;
}

.ni-processing-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 6, 18, 0.84);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.ni-processing-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

.processing-overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 24px;
    text-align: center;
}

/* ---- Circular progress ring ---- */
/* r=56 â circumference = 2 * Ï * 56 â 351.86 */
.ni-progress-ring-wrap {
    position: relative;
    width: 128px;
    height: 128px;
    flex-shrink: 0;
}

.ni-progress-ring {
    transform: rotate(-90deg);
    display: block;
}

.progress-ring__bg {
    fill: none;
    stroke: rgba(255, 163, 26, 0.18);
    stroke-width: 7;
}

.progress-ring__fill {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 351.86;
    stroke-dashoffset: 351.86;
    transition: stroke-dashoffset 0.25s linear;
    filter: drop-shadow(0 0 6px rgba(255, 163, 26, 0.6));
}

.progress-ring__center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ni-progress-ring__percent {
    font-size: 26px;
    font-weight: 800;
    color: #f8f8ff;
    letter-spacing: -1px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Status text ---- */
.ni-processing-overlay__text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 163, 26, 0.9);
    text-align: center;
    min-height: 22px;
    max-width: 220px;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.ni-processing-overlay__text.fading {
    opacity: 0;
}

/* ---- Error overlay ---- */
.ni-processing-overlay--error .processing-overlay__content {
    gap: 12px;
}

.processing-overlay__error-icon {
    color: #fca5a5;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 8px rgba(252, 165, 165, 0.4));
}

.ni-processing-overlay__error-title {
    font-size: 17px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.ni-processing-overlay__error-text {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 240px;
    margin: 0;
}

.processing-overlay__error-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    margin-top: 4px;
}

.processing-overlay__error-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 9px 16px;
}

/* ==========================================
   AI ANIMATE BUTTON
   ========================================== */
.ni-animate-btn-wrap,
.animate-btn-wrap {
    width: 100%;
    margin-top: 28px;
    text-align: center;
}

.ni-animate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    box-shadow: 0 2px 16px rgba(6, 182, 212, 0.25);
}

.ni-animate-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.ni-animate-btn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(6, 182, 212, 0.45);
    color: #fff;
}

.ni-animate-btn:not(:disabled):hover::before {
    opacity: 1;
}

.ni-animate-btn__icon,
.ni-animate-btn__text {
    position: relative;
    z-index: 1;
}

.ni-animate-btn__icon {
    font-size: 1.15rem;
    line-height: 1;
}

/* Disabled state */
.ni-animate-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hint text below button */
.ni-animate-btn__hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    transition: opacity 0.3s ease;
}

.ni-animate-btn__hint.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* Active state (after undressing) */
.ni-animate-btn-wrap--active .ni-animate-btn {
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(6, 182, 212, 0.25),
                0 0 20px rgba(139, 92, 246, 0.15);
    animation: animateBtnPulse 2.5s ease-in-out infinite;
}

@keyframes animateBtnPulse {
    0%, 100% { box-shadow: 0 2px 16px rgba(6, 182, 212, 0.25), 0 0 20px rgba(139, 92, 246, 0.15); }
    50% { box-shadow: 0 4px 24px rgba(6, 182, 212, 0.4), 0 0 30px rgba(139, 92, 246, 0.25); }
}

/* Mobile */
@media (max-width: 480px) {
    .ni-animate-btn {
        padding: 12px 18px;
        font-size: 0.88rem;
        gap: 8px;
    }
}

/* ==========================================
   ANIMATE SPINNER OVERLAY
   ========================================== */
.ni-processing-overlay--animate {
    background: rgba(8, 6, 18, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Spinner container */
.animate-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating ring */
.animate-spinner__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(6, 182, 212, 0.15);
    border-top-color: #06b6d4;
    border-right-color: #8b5cf6;
    animation: animateSpinnerRotate 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}

@keyframes animateSpinnerRotate {
    to { transform: rotate(360deg); }
}

/* Center icon */
.animate-spinner__icon {
    font-size: 2rem;
    line-height: 1;
    z-index: 1;
    animation: animateSpinnerPulse 2s ease-in-out infinite;
}

@keyframes animateSpinnerPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

/* ==========================================
   VIDEO PREVIEW
   ========================================== */
#previewVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 380px;
    border-radius: var(--radius-md);
}

/* ==========================================
   PRICING CTA BUTTON (below action buttons)
   ========================================== */
.ni-tg-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.2);
}

.ni-tg-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.ni-tg-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 22px rgba(245, 158, 11, 0.45);
    color: #fff;
}

.ni-tg-cta-btn:hover::before {
    opacity: 1;
}

.ni-tg-cta-btn svg,
.ni-tg-cta-btn span:not(.tg-cta-btn__badge) {
    position: relative;
    z-index: 1;
}

.tg-cta-btn__badge {
    position: relative;
    z-index: 1;
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-left: auto;
}

/* ==========================================
PRICING MODAL
   ========================================== */

/* Backdrop */
.pricing-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pricing-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Modal box */
.pricing-modal {
    background: var(--bg-card);
    border: 1px solid rgba(255, 163, 26, 0.3);
    border-radius: var(--radius-xl);
    padding: 28px 24px 20px;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 163, 26, 0.12), 0 0 60px rgba(255, 163, 26, 0.08);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 163, 26, 0.3) transparent;
}

.pricing-modal::-webkit-scrollbar { width: 4px; }
.pricing-modal::-webkit-scrollbar-track { background: transparent; }
.pricing-modal::-webkit-scrollbar-thumb { background: rgba(255, 163, 26, 0.3); border-radius: 4px; }

.pricing-modal-backdrop.is-open .pricing-modal {
    transform: translateY(0) scale(1);
}

/* Close button */
.pricing-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pricing-modal__close:hover {
    background: rgba(255, 255, 255, 0.13);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
.pricing-modal__header {
    text-align: center;
    margin-bottom: 20px;
    padding-right: 24px;
}

.pricing-modal__title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.pricing-modal__subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Plans list */
.pricing-modal__plans {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

/* Single plan card */
.ni-pricing-plan {
    border: 1px solid rgba(255, 163, 26, 0.15);
    border-radius: var(--radius-md);
    background: rgba(255, 163, 26, 0.04);
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
}

.ni-pricing-plan:hover {
    border-color: rgba(255, 163, 26, 0.35);
    background: rgba(255, 163, 26, 0.08);
    transform: translateY(-1px);
}

/* Featured (best value) plan */
.ni-pricing-plan--featured {
    border-color: rgba(255, 163, 26, 0.6);
    background: rgba(255, 163, 26, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 163, 26, 0.2) inset, 0 4px 20px rgba(255, 163, 26, 0.12);
}

.ni-pricing-plan--featured:hover {
    border-color: var(--accent);
    background: rgba(255, 163, 26, 0.14);
}

/* Badge */
.pricing-plan__badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    position: absolute;
    top: 0;
    right: 16px;
}

/* Plan body */
.pricing-plan__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.ni-pricing-plan--featured .pricing-plan__body {
    padding-top: 22px;
}

/* Info (left side) */
.pricing-plan__info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ni-pricing-plan__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-plan__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pricing-plan__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
}

.pricing-plan__desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: block;
}

.pricing-plan__tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 2px;
}

.pricing-plan__tag--purple {
    color: #FFA31A;
}

/* Features list inside plan card */
.pricing-plan__features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.pricing-plan__feature {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 2px 7px;
}

.pricing-plan__feature--token {
    color: #FFA31A;
    border-color: rgba(255,163,26,0.25);
    background: rgba(255,163,26,0.07);
}

/* Price block (right side) */
.pricing-plan__price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.pricing-plan__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
}

.ni-pricing-plan--featured .pricing-plan__price {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.pricing-plan__currency {
    font-size: 0.8em;
    font-weight: 700;
}

.pricing-plan__period {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Buy button */
.pricing-plan__btn {
    margin-top: 6px;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 163, 26, 0.4);
    background: rgba(255, 163, 26, 0.12);
    color: var(--accent-lighter);
    transition: all 0.2s;
    white-space: nowrap;
}

.pricing-plan__btn:hover {
    background: rgba(255, 163, 26, 0.25);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.pricing-plan__btn--featured {
    background: var(--accent-gradient);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 163, 26, 0.4);
    padding: 8px 18px;
    font-size: 0.85rem;
}

.pricing-plan__btn--featured:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(255, 163, 26, 0.55);
    color: #fff;
    transform: translateY(-2px);
}

/* Gold plan variant (ÐÐµÐ·Ð»Ð¸Ð¼Ð¸Ñ Ð½Ð° ÑÑÑÐºÐ¸) */
.ni-pricing-plan--gold {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.06);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.15) inset, 0 4px 20px rgba(251, 191, 36, 0.08);
}

.ni-pricing-plan--gold:hover {
    border-color: rgba(251, 191, 36, 0.8);
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-1px);
}

.pricing-plan__badge--gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.pricing-plan__tag--gold {
    color: #F59E0B;
}

.pricing-plan__price--gold {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.pricing-plan__btn--gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    padding: 8px 18px;
    font-size: 0.85rem;
}

.pricing-plan__btn--gold:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
    color: #fff;
    transform: translateY(-2px);
}

/* Featured plan body offset for gold badge */
.ni-pricing-plan--gold .pricing-plan__body {
    padding-top: 22px;
}

/* Footer */
.pricing-modal__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-modal__footer svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Support button (used in pricing modal) */
.modal-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #9ca3af;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-support-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #d1d5db;
}

.modal-support-btn svg {
    color: #38bdf8;
    flex-shrink: 0;
    transition: color 0.2s;
}

.modal-support-btn:hover svg {
    color: #7dd3fc;
}

/* Mobile pricing */
@media (max-width: 480px) {
    .pricing-modal {
        padding: 22px 14px 14px;
        border-radius: var(--radius-lg);
    }

    .pricing-modal__title {
        font-size: 1.2rem;
    }

    .pricing-modal__subtitle {
        font-size: 0.8rem;
    }

    /* ÐÐµÑÑÐ¸ÐºÐ°Ð»ÑÐ½Ð°Ñ ÑÐ°ÑÐºÐ»Ð°Ð´ÐºÐ° ÐºÐ°ÑÑÐ¾ÑÐºÐ¸ */
    .pricing-plan__body {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 14px;
    }

    .ni-pricing-plan--featured .pricing-plan__body,
    .ni-pricing-plan--gold .pricing-plan__body {
        padding-top: 24px;
    }

    /* Info â Ð³Ð¾ÑÐ¸Ð·Ð¾Ð½ÑÐ°Ð»ÑÐ½Ð¾: Ð¸ÐºÐ¾Ð½ÐºÐ° + ÑÐµÐºÑÑ */
    .pricing-plan__info {
        gap: 10px;
        align-items: center;
    }

    .ni-pricing-plan__icon {
        font-size: 1.4rem;
    }

    .pricing-plan__name {
        font-size: 0.92rem;
        white-space: normal;
        line-height: 1.3;
    }

    .pricing-plan__desc {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .pricing-plan__tag {
        font-size: 0.7rem;
    }

    /* Price block â Ð³Ð¾ÑÐ¸Ð·Ð¾Ð½ÑÐ°Ð»ÑÐ½Ð°Ñ ÑÑÑÐ¾ÐºÐ° ÑÐ½Ð¸Ð·Ñ */
    .pricing-plan__price-block {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .pricing-plan__price {
        font-size: 1.3rem;
    }

    .ni-pricing-plan--featured .pricing-plan__price,
    .pricing-plan__price--gold {
        font-size: 1.4rem;
    }

    .pricing-plan__period {
        font-size: 0.65rem;
        white-space: normal;
        text-align: left;
        flex: 1;
        min-width: 0;
    }

    .pricing-plan__btn {
        padding: 8px 18px;
        font-size: 0.82rem;
        flex-shrink: 0;
    }

    .pricing-plan__btn--featured,
    .pricing-plan__btn--gold {
        padding: 9px 20px;
        font-size: 0.85rem;
    }
}

/* ==========================================
   USAGE COUNTER
   ========================================== */
.ni-usage-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-top: 12px;
    background: rgba(255, 163, 26, 0.07);
    border: 1px solid rgba(255, 163, 26, 0.18);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.ni-usage-counter--exhausted {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

/* 5 dot indicators */
.usage-counter__dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.usage-counter__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 163, 26, 0.5);
}

.usage-counter__dot.used {
    background: rgba(100, 100, 120, 0.35);
    box-shadow: none;
}

.ni-usage-counter--exhausted .usage-counter__dot {
    background: rgba(239, 68, 68, 0.4);
    box-shadow: none;
}

.ni-usage-counter__text {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.ni-usage-counter__text a {
    color: var(--accent-lighter);
    font-weight: 600;
}

.ni-usage-counter--exhausted .ni-usage-counter__text {
    color: #fca5a5;
}

/* Paid counter variant */
.ni-usage-counter--paid {
    background: rgba(16, 185, 129, 0.07);
    border-color: rgba(16, 185, 129, 0.25);
}

.ni-usage-counter--paid .usage-counter__dot {
    background: #10b981;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

.ni-usage-counter--paid .usage-counter__dot.used {
    background: rgba(100, 120, 100, 0.3);
    box-shadow: none;
}

.ni-usage-counter--paid .ni-usage-counter__text {
    color: #6ee7b7;
}

.ni-usage-counter--paid .ni-usage-counter__text strong {
    color: #a7f3d0;
}

/* Small mobile */
@media (max-width: 480px) {
    .ni-hero__title {
        font-size: 1.65rem;
    }
    .ni-hero__stat {
        padding: 4px 8px;
    }
    .ni-hero__stat-value {
        font-size: 1.3rem;
    }
    .ni-hero__stat-label {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
    .ni-hero__trust-line {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Telegram CTA button â small screens */
    .ni-tg-cta-btn {
        padding: 11px 14px;
        gap: 8px;
        font-size: 0.85rem;
    }
    .tg-cta-btn__badge {
        font-size: 0.7rem;
        padding: 2px 6px;
        flex-shrink: 0;
    }
}

/* ==========================================
   AGE VERIFICATION GATE (18+)
   ========================================== */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 5, 10, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: ageGateFadeIn 0.3s ease both;
}

.age-gate--closing {
    animation: ageGateFadeOut 0.4s ease both;
}

@keyframes ageGateFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ageGateFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.age-gate__card {
    background: linear-gradient(145deg, #13131f, #0e0e1a);
    border: 1px solid rgba(255, 163, 26, 0.28);
    border-radius: 20px;
    padding: 44px 36px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 163, 26, 0.1),
        0 24px 60px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(255, 163, 26, 0.07);
    animation: ageGateSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ageGateSlideUp {
    from { transform: translateY(28px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.age-gate--closing .age-gate__card {
    animation: ageGateSlideDown 0.35s ease both;
}

@keyframes ageGateSlideDown {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to   { transform: translateY(16px) scale(0.96); opacity: 0; }
}

.age-gate__badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 32px rgba(255, 163, 26, 0.5);
    letter-spacing: 0.5px;
}

.age-gate__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.age-gate__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.age-gate__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.age-gate__btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background 0.2s ease;
    letter-spacing: 0.2px;
    font-family: var(--font-main);
}

.age-gate__btn:active {
    transform: scale(0.98);
}

.age-gate__btn--yes {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 163, 26, 0.4);
}

.age-gate__btn--yes:hover {
    opacity: 0.9;
    box-shadow: 0 6px 28px rgba(255, 163, 26, 0.58);
    transform: translateY(-1px);
}

.age-gate__btn--no {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-gate__btn--no:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.age-gate__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 480px) {
    .age-gate__card {
        padding: 36px 22px 28px;
        border-radius: 16px;
    }
    .age-gate__badge {
        width: 60px;
        height: 60px;
        font-size: 1.15rem;
        margin-bottom: 18px;
    }
    .age-gate__title {
        font-size: 1.25rem;
    }
    .age-gate__desc {
        font-size: 0.88rem;
    }
    .age-gate__btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* ==========================================
   PAYWALL BLUR OVERLAY (3rd free photo)
   ========================================== */
.paywall-overlay {
    position: absolute;
    inset: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 15, 0.45);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.paywall-overlay.is-active {
    opacity: 1;
    pointer-events: all;
}

.paywall-overlay__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 24px;
    text-align: center;
    max-width: 320px;
}

.paywall-overlay__icon {
    font-size: 2.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.5));
    margin-bottom: 2px;
}

.paywall-overlay__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.paywall-overlay__subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.paywall-overlay__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    margin-top: 6px;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 163, 26, 0.5), 0 0 40px rgba(255, 163, 26, 0.2);
    font-family: var(--font-main);
    animation: paywallBtnPulse 2s ease-in-out infinite;
}

.paywall-overlay__btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 28px rgba(255, 163, 26, 0.65), 0 0 50px rgba(255, 163, 26, 0.3);
}

@keyframes paywallBtnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 163, 26, 0.5), 0 0 40px rgba(255, 163, 26, 0.2); }
    50% { box-shadow: 0 6px 28px rgba(255, 163, 26, 0.7), 0 0 60px rgba(255, 163, 26, 0.35); }
}

.paywall-overlay__hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Blurred preview image transition */
.upload-box__preview img {
    transition: filter 0.5s ease, transform 0.5s ease;
}

@media (max-width: 480px) {
    .paywall-overlay__content {
        padding: 20px 16px;
        gap: 8px;
    }
    .paywall-overlay__icon {
        font-size: 2.2rem;
    }
    .paywall-overlay__title {
        font-size: 1.05rem;
    }
    .paywall-overlay__subtitle {
        font-size: 0.82rem;
    }
    .paywall-overlay__btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .paywall-overlay__hint {
        font-size: 0.72rem;
    }
}

