:root {
    --color-primary: #baeb01;
    --color-secondary: #1377eb;
    --color-background: #000a16;
    --color-surface-1: #061f3d;
    --color-surface-2: rgba(47, 134, 235, 0.32);
    --color-text-primary: #ffffff;
    --color-text-secondary: #92b2d6;
    --color-text-placeholder: #5c7899;
    --border-color-1: #d8e1eb;
    --border-color-2: rgba(47, 134, 235, 0.32);
    --bg-color: #000a16;
    --card-bg-color: #061f3d;
    --accent-bg-color: rgba(47, 134, 235, 0.32);
    --text-primary: #ffffff;
    --text-secondary: #92b2d6;
    --font-main: 'Inter', sans-serif;
    --bg-color: #000a16;
    --card-bg: #061f3d;
    --item-bg: #134074;
    --text-color: #ffffff;
    --accent-border: #baeb01;
    --bg-dark: #000a16;
    --card-bg-dark: #061f3d;
    --card-bg-form: #001329;
    --text-primary: #ffffff;
    --text-secondary: #92b2d6;
    --text-placeholder: #5c7899;
    --accent-orange: #eb4b13;
    --accent-blue-light: #14b1ff;
    --accent-blue-dark: #1377eb;
    --button-blue-transparent: rgba(47, 134, 235, 0.32);
    --font-main: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
}















*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-container {
    max-width: 1490px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 20px;
    border-radius: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-tag {
    border: 1px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-text-primary);
    width: 170px;
    height: 40px;
    padding: 13px 20px;
    border-radius: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-tag:hover {
    background-color: rgba(186, 235, 1, 0.1);
}


/*нач заднее свечение Radial */

.hero-section {
    position: relative;
    padding-top: 20px;
    padding-bottom: 50px;
    overflow: hidden;
    background: radial-gradient( 30% 40% at 50% 10%, #ffffff 0%, #66d0ff 12%, #1377eb 32%, #000a16 100%);
}


/*конец заднее свечение Radial */

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}


/* лого скроллер */

.logo-scroller {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.logo-scroller-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: scroll-logos 70s linear infinite;
    width: max-content;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-scroller-fade-left,
.logo-scroller-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.logo-scroller-fade-left {
    left: 0;
    background: linear-gradient(270deg, rgba(0, 10, 22, 0) 0%, var(--color-background) 100%);
}

.logo-scroller-fade-right {
    right: 0;
    background: linear-gradient(90deg, rgba(0, 10, 22, 0) 0%, var(--color-background) 100%);
}


/* конец лого скроллера  */

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 1;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.hero-title-highlight {
    color: #9ee1fc;
}


/* поиск */

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001329;
    border: 1px solid var(--border-color-2);
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    max-width: 392px;
    margin: 0;
}

.search-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.search-input {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-placeholder);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    width: 138px;
}

.search-input::placeholder {
    color: var(--color-text-placeholder);
}


/*  конец поиск */

.hero-subtitle {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-secondary);
    max-width: 600px;
}


/* меню */

.tag-scroller {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.tag-list {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    animation: scroll-tags 45s linear infinite;
    width: max-content;
}

@keyframes scroll-tags {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tag-scroller-fade-left,
.tag-scroller-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tag-scroller-fade-left {
    left: 0;
    background: linear-gradient(270deg, rgba(0, 10, 22, 0) 0%, var(--color-background) 100%);
}

.tag-scroller-fade-right {
    right: 0;
    background: linear-gradient(90deg, rgba(0, 10, 22, 0) 0%, var(--color-background) 100%);
}


/* конец меню */

.collections-section .main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.collections-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.collections-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.collections-title .title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    vertical-align: middle;
    margin-bottom: 4px;
}

.collections-subtitle {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-secondary);
    max-width: 686px;
}

.collections-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}


/*  */

.collection-card {
    background-color: var(--color-surface-1);
    border-radius: 20px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-surface-1);
    padding: 8px 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin: 0 20px;
    position: relative;
    top: -18px;
    margin-bottom: -18px;
}

.card-emoji {
    font-size: 28px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-primary);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-description {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-secondary);
    min-height: 36px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags .btn-tag {
    padding: 6.5px 20px;
}

.card-tools {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--color-surface-1);
    border-radius: 12px;
    overflow: hidden;
}

.tool-item {
    background-color: var(--color-surface-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 4px;
    text-align: center;
    height: 100px;
}

.tool-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.tool-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-primary);
}


/* нач обзора   */

.reviews-section {
    padding: 50px 0;
}

.reviews-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 50px;
}

.reviews-header {
    margin-bottom: 20px;
}

.reviews-header .title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px 0;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: var(--text-primary);
}

.reviews-header .emoji {
    font-size: 26px;
    line-height: 1;
}

.reviews-header .subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.review-card {
    display: flex;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    transition: background-color 0.2s ease-in-out;
}

.review-card:hover {
    background-color: #1b355a;
}

.card-image {
    width: 101px;
    height: 101px;
    flex-shrink: 0;
    object-fit: cover;
}

.card-content-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-text {
    padding: 15px 12px;
}

.card-text h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.21;
    color: var(--text-primary);
}

.card-text p {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    opacity: 0.9;
}

.card-arrow-container {
    width: 28px;
    height: 101px;
    flex-shrink: 0;
    background-color: var(--accent-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-arrow-container img {
    width: 20px;
    height: 20px;
}

.more-reviews-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 40px;
    background-color: var(--accent-bg-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    transition: background-color 0.2s ease;
}

.more-reviews-link:hover {
    background-color: rgba(47, 134, 235, 0.5);
}

.more-reviews-link img {
    width: 17px;
    height: 17px;
}

@media (max-width: 1280px) {
    .reviews-container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .reviews-header {
        text-align: center;
    }
    .reviews-header .title {
        justify-content: center;
    }
    .reviews-header .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 40px 0;
    }
    .reviews-header {
        margin-bottom: 30px;
    }
    .reviews-header .title {
        font-size: 24px;
        gap: 8px;
    }
    .reviews-header .emoji {
        font-size: 22px;
    }
    .card-text {
        padding: 12px;
    }
    .card-text h3 {
        font-size: 15px;
    }
    .card-text p {
        font-size: 11px;
    }
}


/* конец обзора */


/* блок подписки */

.feature-description-wrapper {
    overflow: hidden;
    max-height: 53px;
    transition: max-height 0.3s ease;
}

.feature-description-wrapper.expanded {
    max-height: 500px;
}

.read-more-button {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}

.read-more-button:hover {
    opacity: 0.8;
}

.newsletter-form {
    margin: 0;
}

.ai-features-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-subcribe {
    max-width: 1232px;
    width: 100%;
    padding: 0 20px;
}

.card-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.newsletter-card {
    position: relative;
    flex: 1 1 460px;
    min-width: 320px;
    background: linear-gradient(180deg, var(--accent-blue-light) 0%, var(--accent-blue-dark) 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    padding-top: 37px;
    overflow: visible;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: calc(100% - 210px);
}

.newsletter-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 12px 0;
}

.newsletter-description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.newsletter-form .form-group {
    background-color: var(--card-bg-form);
    border-radius: 12px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 368px;
}

.newsletter-form .mail-icon {
    width: 20px;
    height: 20px;
}

.newsletter-form .email-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-placeholder);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.newsletter-form .email-input::placeholder {
    color: var(--text-placeholder);
    opacity: 1;
}

.newsletter-form .submit-button {
    width: 100%;
    background-color: var(--accent-orange);
    border: none;
    border-radius: 12px;
    padding: 13px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    width: 368px;
}

.dog-illustration {
    position: absolute;
    top: 0px;
    right: 26px;
    width: 182px;
    height: 229px;
    z-index: 1;
}

.feature-card {
    flex: 2 1 803px;
    min-width: 320px;
    background-color: var(--card-bg-dark);
    border-radius: 20px;
    padding: 20px;
}

.feature-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 14px 0;
}

.feature-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.feature-description {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.read-more-button {
    display: inline-block;
    width: 100%;
    background-color: var(--button-blue-transparent);
    border-radius: 12px;
    padding: 11px;
    text-align: center;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1250px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-card,
    .feature-card {
        width: 100%;
        max-width: 803px;
        flex-basis: auto;
    }
    .newsletter-card {
        padding-bottom: 20px;
    }
    .dog-illustration {
        top: 20px;
        right: 20px;
        width: 150px;
        height: auto;
    }
}

@media (max-width: 600px) {
    .newsletter-content {
        max-width: 100%;
    }

    .feature-title {
        font-size: 24px;
    }
}


/* конец блока подписки  */


/* футер */

.footer-bottom {
    background-color: var(--color-surface-1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo-wrapper {
    width: 52px;
    height: 52px;
    position: relative;
}

.footer-logo-wrapper img {
    object-fit: contain;
}

.footer-logo-name {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--color-text-primary);
}

.footer-description {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.footer-copyright {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-placeholder);
}

@media (max-width: 992px) {
    .footer-cta-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-card {
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .newsletter-form .form-group {
        width: 100%;
    }
    .newsletter-form .submit-button {
        width: 100%;
    }
}


/* Блок соцсетей в футере */

.footer-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.social-btn {
    width: 400px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(47, 134, 235, 0.32);
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    height: 40px;
    justify-content: center;
}

.social-btn:hover {
    background-color: rgba(47, 134, 235, 0.5);
}

.social-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);

}



@media (max-width: 768px) {
    .footer-socials {
        gap: 12px;
        flex-wrap: wrap;
    }
    .social-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    .social-btn img {
        width: 18px;
        height: 18px;
    }
}


/* конец футера */


/*  карточки */

.container {
    width: 100%;
    max-width: 1213px;
    padding: 0 20px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0 50px;
}

.card {
    position: relative;
    margin-top: 36px;
}

.card-header {
    position: absolute;
    top: -36px;
    left: 20px;

    height: 36px;
    background-color: var(--card-bg);
    border-radius: 10px 10px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    box-sizing: border-box;
}

.card-header-icon {
    font-size: 21px;
    line-height: 1;
}

.card-header-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.card-body {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    box-sizing: border-box;
}

.card-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    max-width: 346px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    border: 1px solid var(--accent-border);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
}

.card-items {
    display: flex;
    justify-content: space-between;
    gap: 1px;
}

.card-item {
    width: 87px;
    height: 100px;
    background-color: var(--item-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 5px;
    box-sizing: border-box;
}

.item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 32px;
    object-fit: cover;
}

.item-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1280px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 840px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}


/*  конец карточки */
