:root {
    --primary: #7c3aed;
    /* Фиолетовый акцент */
    --primary-light: #a855f7;
    --bg: #fbfaf7;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #7c3aed;
    --accent-2: #b45309;
    --success: #10b981;
    --radius: 8px;
    --shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    --container: 1100px;

    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

html,
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #0f172a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    z-index: 40;
    font-size: 14px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo {
    width: 42px;
    height: 44px;
    border-radius: 8px;
    /*background: linear-gradient(135deg, var(--accent), #ff7ab6);*/
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    /*box-shadow: var(--shadow)*/
}

.brand h1 {
    font-size: 16px;
    margin: 0
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-links a {
    color: var(--muted);
    font-weight: 600
}

.cta {
    background: var(--accent);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}

.cta:hover {
    /*background: var(--primary-light);*/
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.cta:active {
    background: var(--primary);
    transform: translateY(2px);
}

.cta2 {
    background: white;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 16px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;    
}

.cta2:hover {
    background: var(--primary-light);
    color: white;
    border: 1px solid white;
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.cta2:active {
    /*background: white;*/
    /*color: var(--accent);*/
    /*border: 1px solid var(--accent);*/
    transform: translateY(2px);
}

.cta.ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(76, 63, 174, 0.12)
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 36px;
    align-items: center;
    padding: 64px 20px 20px 20px;
}

.kicker {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(180 83 9 / 21%);
    color: var(--accent-2);
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 13px
}

.title {
    font-size: 40px;
    line-height: 1.04;
    margin-bottom: 12px;
    color: #111827;
    margin-top: 32px;
}

.subtitle {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 22px;
    margin-top: 22px;
    max-width: 56ch
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center
}

.hero-cta .primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s;
}

.primary:hover {
    /*background: var(--primary-light);*/
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.primary:active {
    background: var(--primary);
    transform: translateY(2px);
}

.badges {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px
}

/* device */
.device {
    background: linear-gradient(180deg, #fff, #fbfbff);
    border-radius: 8px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow);
}

.device img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    border: 1px solid var(--accent);
}

/* Features */
.section {
    padding: 110px 20px 0px 20px;
}

.section h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #111827
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: var(--card);
    border-radius: 8px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: transform .18s, box-shadow .18s;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    /*transform: translateY(-6px);*/
    /*box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06)*/
    /*border: 1px solid var(--accent);*/
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f3ecff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px
}

.card h3 {
    font-size: 16px;
    margin-bottom: 8px
}

.muted {
    color: var(--muted)
}

.highlight {
    color: var(--accent);
    font-weight: 700
}

/* Screenshots */
.screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.shot {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent);
    background: var(--card)
}

.shot img {
    width: 100%;
    height: 525px;
    object-fit: contain;
    display: block
}

.shot .cap {
    padding: 12px;
    font-size: 14px;
    color: var(--muted)
}

/* Who */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 12px
}

.who-card {
    text-align: center;
    padding: 18px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.04)
}

.who-card .icon {
    margin: 10px auto 16px;
}

.who-card>h4 {
    margin-bottom: 8px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 33px
}

.price {
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfbff);
    border: 1px solid rgba(15, 23, 42, 0.04)
}

.price .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px
}

.price .value {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px
}

.price ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px
}

.price li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.03);
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px
}

.price .btn {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700
}

.price .btn.primary {
    background: var(--accent);
    color: #fff
}

.price .btn.ghost {
    background: transparent;
    border: 1px solid var(--accent);
}

.popular {
    border-color: rgba(76, 63, 174, 0.14);
    box-shadow: 0 8px 24px rgba(76, 63, 174, 0.04)
}

.popular-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 12px
}

/* Testimonials */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px
}

.testimonial {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.testimonial p {
    color: var(--muted);
    margin-bottom: 10px;
    width: 100%;
}

.test-meta {
    display: flex;
    gap: 10px;
    align-items: center
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd6a5, #ff7ab6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700
}

/* FAQ */
.faq {
    margin-top: 18px
}

.faq-item {
    margin-bottom: 16px
}

.faq-item h4 {
    font-size: 15px;
    margin-bottom: 6px
}

.faq-item p {
    color: var(--muted)
}

/* Footer */
footer {
    padding: 30px 0px 20px 0px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: auto;
    /*border-top: 1px solid rgba(15, 23, 42, 0.04)*/
}

/* Responsive */
@media (max-width:1000px) {
    .hero {
        grid-template-columns: 1fr
    }

    .screens {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .who-grid {
        grid-template-columns: repeat(1, 1fr)
    }

    .pricing-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:1000px) {
    .test-grid {
        grid-template-columns: repeat(1, 1fr)
    }

    .section {
        padding: 70px 20px 0px 20px;
    }
}

@media (max-width:600px) {
    .grid {
        grid-template-columns: 1fr
    }

    .nav-links>a {
        display: none;
    }
}


/* PRICE */

/* Цены */
.pricing {
    padding: 80px 0;
    background: white;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.pricing-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.pricing-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-size: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.price-card {
    background: white;
    border: 2px solid white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow);
}

.price-card:hover {
    /*transform: translateY(-5px);*/
    border-color: var(--primary);
}

.price-card.popular {
    border-color: var(--primary);
    position: relative;
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px 7px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
}

.price-header {
    margin-bottom: 20px;
}

.price-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.price-period {
    color: var(--gray-600);
    font-size: 14px;
}

.price-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: var(--success);
    font-size: 12px;
}

.price-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    width: 100%;
    transition: background 0.2s;
    max-width: 300px;
    margin: 0px auto;
}

.price-button:hover {
    /*background: var(--primary-light);*/
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.price-button:active {
    /*background: var(--primary);*/
    transform: translateY(2px);
}

.price-button.secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.price-button.secondary:hover {
    /*background: var(--primary-light);*/
    /*color: white;*/
    box-shadow: 0px 0px 10px 0px #955cf4;
}

.price-button.secondary:active {
    /*
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    */
    transform: translateY(2px);
}

/* Floating toast errors */
.toast-container {
  position: fixed; top: 15px; right: 15px; z-index: 1000;
  display: flex; flex-direction: column; align-items: flex-end;
}
.toast {
  background: #ff4949; color: white; padding: 12px 16px; margin-top: 8px;
  border-radius: 8px; min-width: 220px; font-size: 14px;
  opacity: 0; transform: translateX(100%);
  transition: opacity .3s, transform .3s;
  display: flex; justify-content: space-between; align-items: center;
}
.toast.show {
  opacity: 1; transform: translateX(0);
}
.toast button {
  background: transparent; color: white; border: none; cursor: pointer;
  font-size: 16px; margin-left: 8px;
}