:root {
    --bg-base: #1a1a1d;
    --surface: rgba(25, 25, 28, 0.7);
    --aura-green: #3ebd5e;
    --aura-green-glow: rgba(62, 189, 94, 0.4);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
    background-color: var(--bg-base);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg-base);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px 150px;
    background-blend-mode: soft-light;
    color: var(--text-main);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 29, 0.85);
    backdrop-filter: blur(16px);
    padding: 1.2rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 5%;
    background: rgba(26, 26, 29, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 101;
    grid-column: 1;
    justify-self: start;
    color: var(--text-main);
    text-decoration: none;
}
.logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-back {
    grid-column: unset;
    justify-self: unset;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.3s;
}
.header-back:hover { color: var(--aura-green); }

.product-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
    grid-column: 2;
    justify-self: center;
}

.product-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: color 0.3s;
}

.product-nav-links a:hover {
    color: var(--aura-green);
}

.product-hero {
    padding: 8rem 5% 2rem;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.product-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.product-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.product-hero .btn {
    display: inline-flex;
    margin-top: 1.5rem;
}

.btn {
    background: var(--surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--aura-green);
    color: #000;
    border-color: var(--aura-green);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--aura-green-glow);
}

.triggerbot {
    padding: 1rem 5% 5rem;
    width: 100%;
}

.triggerbot-header {
    text-align: center;
    margin-bottom: 2rem;
}

.triggerbot-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.triggerbot-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1100px) {
    .triggerbot-layout {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 3rem;
    }
}

.triggerbot-features {
    width: 100%;
    max-width: 960px;
    flex-shrink: 0;
}

.triggerbot-preview {
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid rgba(62, 189, 94, 0.35);
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 0 40px rgba(62, 189, 94, 0.12);
    line-height: 0;
}

.triggerbot-preview img {
    width: auto;
    height: auto;
    display: block;
}

@media (max-width: 1099px) {
    .triggerbot-preview img {
        max-width: 100%;
    }
}

.triggerbot-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 720px) {
    .triggerbot-list {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .triggerbot-list li.wide {
        grid-column: 1 / -1;
    }
}

.triggerbot-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.25s, transform 0.25s;
}

.triggerbot-list li:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.triggerbot-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(62, 189, 94, 0.12);
    border: 1px solid rgba(62, 189, 94, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(62, 189, 94, 0.2);
}

.triggerbot-icon::after {
    content: "";
    width: 7px;
    height: 12px;
    border: solid var(--aura-green);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) translateY(-1px);
    filter: drop-shadow(0 0 4px var(--aura-green-glow));
}

.triggerbot-text {
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
}

.triggerbot-text small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 5%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover { color: var(--aura-green); }

/* SEO-блоки на страницах товаров */
.product-intro,
.product-benefits,
.product-period,
.product-why,
.product-faq {
    padding: 0 5% 3rem;
    max-width: 820px;
    margin: 0 auto;
}

.product-period {
    max-width: 920px;
}

.product-period-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: -0.35rem auto 1.5rem;
    max-width: 520px;
}

.period-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 520px) {
    .period-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .period-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

.period-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 118px;
    padding: 1.15rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
    font: inherit;
    text-align: center;
}

.period-tile:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.period-tile:focus-visible {
    outline: 2px solid var(--aura-green);
    outline-offset: 2px;
}

.period-tile.is-selected {
    border-color: rgba(62, 189, 94, 0.65);
    background: rgba(62, 189, 94, 0.08);
    box-shadow: 0 0 24px rgba(62, 189, 94, 0.18), inset 0 0 0 1px rgba(62, 189, 94, 0.25);
    transform: translateY(-2px);
}

.period-tile.is-selected .period-days-num,
.period-tile.is-selected .period-price-value {
    color: var(--aura-green);
}

.period-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(62, 189, 94, 0.2);
    color: var(--aura-green);
    border: 1px solid rgba(62, 189, 94, 0.35);
}

.period-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.1;
}

.period-days-num {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color 0.25s;
}

.period-days-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

.period-tile--lifetime .period-duration--lifetime {
    min-height: 2.5rem;
    justify-content: center;
}

.period-lifetime-label {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    transition: color 0.25s;
}

.period-tile--lifetime.is-selected .period-lifetime-label,
.period-tile--lifetime.is-selected .period-price-value {
    color: var(--aura-green);
}

@media (min-width: 640px) {
    .period-tile--lifetime {
        grid-column: span 1;
    }
}

.period-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.period-price-value {
    transition: color 0.25s;
}

.period-currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.period-checkout {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.period-summary {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--aura-green);
}

.period-email {
    width: 100%;
    max-width: 400px;
    display: grid;
    gap: 6px;
    text-align: left;
}

.period-email-label {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.period-email-input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.period-email-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.period-email-input:focus {
    outline: none;
    border-color: rgba(62, 189, 94, 0.55);
    box-shadow: 0 0 0 3px rgba(62, 189, 94, 0.14);
}

.period-pay-methods {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    animation: period-methods-in 0.35s ease-out;
}

@keyframes period-methods-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.period-pay-methods-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
}

.period-pay-methods-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.period-pay-method {
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
    border-radius: 12px;
}

.period-pay-method--funpay {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    color: var(--text-main);
}

.period-pay-method--funpay:hover {
    border-color: rgba(62, 189, 94, 0.45);
    color: var(--aura-green);
    box-shadow: 0 0 16px rgba(62, 189, 94, 0.12);
}

.period-pay-method--sitepay {
    background: var(--aura-green);
    border-color: var(--aura-green);
    color: #000;
}

.period-pay-method--sitepay:hover {
    box-shadow: 0 0 20px var(--aura-green-glow);
}

.product-intro p,
.product-why p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.product-intro p:last-child,
.product-why p:last-child {
    margin-bottom: 0;
}

.product-why--plain {
    padding-top: 0;
    text-align: center;
}

.product-why--plain p {
    font-size: 0.98rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.product-intro a,
.product-why a {
    color: var(--aura-green);
    text-decoration: none;
}

.product-intro a:hover,
.product-why a:hover {
    text-decoration: underline;
}

.product-section-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin-bottom: 1.25rem;
    text-align: center;
}

.product-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .product-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-benefit-card--center {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 12px) / 2);
        max-width: calc((100% - 12px) / 2);
    }
}

.product-benefit-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    transition: border-color 0.25s, transform 0.25s;
}

.product-benefit-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.product-benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
    color: var(--aura-green);
}

.product-benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    hyphens: none;
}

.product-benefit-card .nobreak {
    white-space: nowrap;
}

.product-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-faq-list details {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
}

.product-faq-list summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
}

.product-faq-list summary::-webkit-details-marker {
    display: none;
}

.product-faq-list details[open] summary {
    color: var(--aura-green);
    margin-bottom: 0.65rem;
}

.product-faq-list details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-internal-links {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.92rem;
}

.product-internal-links a {
    color: var(--aura-green);
    text-decoration: none;
    font-weight: 500;
}

.product-internal-links a:hover {
    text-decoration: underline;
}

#product-features,
#product-benefits,
#product-period,
#product-faq,
#product-why {
    scroll-margin-top: 6rem;
}

@media (max-width: 900px) {
    .product-nav-links {
        gap: 12px;
    }

    .product-nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-bottom: 0.85rem;
    }

    .logo {
        grid-column: unset;
    }

    .header-actions {
        margin-left: auto;
    }

    .product-nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 10px;
        padding-top: 0.65rem;
        margin-top: 0.15rem;
        border-top: 1px solid var(--border-color);
        grid-column: unset;
    }

    .header-back { font-size: 0.85rem; }

    #product-features,
    #product-benefits,
    #product-period,
    #product-faq,
    #product-why {
        scroll-margin-top: 7.5rem;
    }

    .period-tile {
        min-height: 108px;
        padding: 1rem 0.75rem;
    }

    .period-days-num {
        font-size: 1.65rem;
    }
}
