html, body {
    margin: 0;
    overflow-x: hidden;
}

footer {
    width: 100%;
}

footer section {
    margin: 0;
    overflow: hidden;
}

footer .container {
    max-width: 1000px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.row>* {
    width: 100%;
    max-width: 600px;
    padding: 0 15px;
    box-sizing: border-box;
}

.text-muted {
    color: #6c757d;
}

.text-center {
    text-align: center;
}

.preview-img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.preview-img.vertical {
    transform: rotate(90deg);
    max-width: 380px;
    margin-top: 50px !important;
    margin-bottom: 80px !important;
}

.cta-btn {
    background-color: #0286fb;
    color: white;
    padding: 12px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    box-shadow:
        6px 6px 14px rgba(2, 134, 251, 0.35),
        -3px -3px 10px rgba(255, 255, 255, 0.7),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background-color: #0270d4;
    color: white;
    box-shadow:
        4px 4px 10px rgba(2, 134, 251, 0.3),
        -2px -2px 8px rgba(255, 255, 255, 0.6),
        inset 1px 1px 2px rgba(255, 255, 255, 0.25),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

.hero-section {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 15px;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-text h1 {
    margin: 0 0 16px;
    font-size: 2.8rem;
    line-height: 1.15;
}

.hero-text p {
    margin: 0 0 16px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}

.hero-avatars {
    display: flex;
}

.hero-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero-avatars img:first-child {
    margin-left: 0;
}

.hero-social-text {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.hero-sub-price {
    display: block;
    margin: 14px 0 0;
    font-size: 12px;
    color: #999;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 0;
    transform: rotate(4deg);
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
}

.hero-card-bg {
    position: absolute;
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1.595 / 1;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
    background: #eee;
    overflow: hidden;
}

.hero-card-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-bg-1 {
    top: 7px;
    left: -1px;
    transform: rotate(-4deg);
    z-index: -2;
}

.hero-card-bg-2 {
    top: 4px;
    left: 0px;
    transform: rotate(-2deg);
    z-index: -1;
}

.hero-card-bg-1.vertical {
    top: 48px;
    left: 0px;
    transform: rotate(-4deg) rotate(90deg);
    max-width: 380px;
}

.hero-card-bg-2.vertical {
    top: 50px;
    left: 1px;
    transform: rotate(-2deg) rotate(90deg);
    max-width: 380px;
}

.hero-image img {
    border: 1px solid #ddd;
}

.hero-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anim-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    z-index: 0;
}

.anim-bg-fader-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    background-image: linear-gradient(to right,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0));
}

.anim-bg-fader-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    background-image: linear-gradient(to left,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0));
}

.anim-bg-fader-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 1;
    background-image: linear-gradient(to top,
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.85),
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0));
}

.anim-bg-rows {
    position: absolute;
    top: -60%;
    left: -40%;
    width: 200%;
    height: 200%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(45deg) translate(-8px, -12px) skew(-17deg, -9deg);
}

.anim-bg-row {
    display: flex;
    flex-wrap: nowrap;
    padding: 16px 16px 0 16px;
}

.anim-bg-row:nth-child(odd) {
    margin-left: -160px;
}

.anim-bg-item {
    width: 260px;
    flex-shrink: 0;
    margin-right: 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0.6px 0.8px 1.1px rgba(0, 0, 0, 0.115), 2px 3px 4px rgba(0, 0, 0, 0.23);
    background: #ddd;
}

.anim-bg-item img {
    width: 100%;
    display: block;
}

@keyframes anim-row-right {
    0% {
        transform: translate(200px, 0);
    }

    50% {
        transform: translate(0);
    }

    100% {
        transform: translate(200px, 0);
    }
}

@keyframes anim-row-left {
    0% {
        transform: translate(0);
    }

    50% {
        transform: translate(200px, 0);
    }

    100% {
        transform: translate(0);
    }
}

@media (max-width: 768px) {
    .anim-bg-rows {
        transform: rotate(45deg) translate(-8px, -12px) skew(-17deg, -9deg) scale(0.6);
    }

    .hero-wrapper {
        min-height: 500px;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding: 120px 15px 40px;
    }

    .hero-social-proof {
        justify-content: center;
    }
}

.lang-switcher {
    padding: 32px 0 48px;
    text-align: center;
}

.lang-switcher p {
    display: inline;
    margin-right: 8px;
    color: #6c757d;
    font-size: 14px;
}

.lang-btn {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 13px;
    color: #495057;
    text-decoration: none;
    margin: 3px 2px;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

.lang-btn:hover {
    border-color: #0286fb;
    color: #0286fb;
    background: #f0f8ff;
}

.pricing-section {
    padding: 48px 0 40px;
    text-align: center;
}

.species-available-title {
    font-size: 1.8rem;
    margin: 0 0 36px;
    font-weight: 600;
    color: #222;
}

.pricing-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.pricing-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.pricing-preview-card {
    width: 520px;
    height: 334px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-preview-card.vertical {
    transform: rotate(90deg);
    margin-top: 120px;
    margin-bottom: 120px;
}

.pricing-preview-card img {
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
}

.species-selector-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
}

.species-selector-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.species-selector-fade-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.species-selector-fade-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.species-selector-fade.hidden {
    opacity: 0;
}

.species-selector {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 4px;
}

.species-selector::-webkit-scrollbar {
    display: none;
}

.species-btn:last-child {
    margin-right: 0px;
}

.species-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    padding: 4px 14px 4px 4px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.species-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .pricing-preview {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-preview-card {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        height: auto;
        aspect-ratio: 520 / 334;
    }

    .pricing-preview-card.vertical {
        width: 70vw;
        max-width: 334px;
        margin: 0 auto;
        height: auto;
        aspect-ratio: 334 / 520;
    }

    .pricing-preview-card img {
        object-fit: cover;
    }

    .species-selector-wrapper {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .species-btn {
        padding: 3px 10px 3px 3px;
        font-size: 12px;
    }

    .species-btn img {
        width: 20px;
        height: 20px;
    }
}

.species-btn:hover {
    border-color: #0286fb;
    color: #0286fb;
}

.species-btn.active {
    background: #0286fb;
    border-color: #0286fb;
    color: #fff;
}

.pricing-card {
    display: inline-block;
    position: relative;
    background: #fff;
    border: 2px solid #0286fb;
    border-radius: 16px;
    padding: 32px 10px 28px;
    box-shadow: 0 4px 24px rgba(2, 134, 251, 0.12);
    min-width: 260px;
    margin-top: -20px;
}

.pricing-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0286fb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    margin-top: 8px;
    margin-bottom: 4px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: #0286fb;
    line-height: 1.1;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.pricing-check {
    color: #0286fb;
    font-size: 16px;
    flex-shrink: 0;
}

.cmp-cta-section {
    padding: 48px 15px;
    text-align: center;
}

.cmp-cta-box {
    background: #fff;
    border: 2px solid #0286fb;
    border-radius: 16px;
    padding: 36px 24px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(2, 134, 251, 0.12);
}

.cmp-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
}

.cmp-cta-desc {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 24px;
    line-height: 1.5;
}

.demo-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    transform: rotate(2deg);
    max-width: 1000px;
    margin: 0 auto 24px;
    padding: 0 24px 0 15px;
}

.demo-label img {
    width: 28px;
    height: auto;
}

.demo-label span {
    color: #777;
    font-size: 14px;
    font-family: 'Fuzzy Bubbles', cursive;
    font-weight: 400;
}

.theme-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.marquee-gradient-left,
.marquee-gradient-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 15%;
    z-index: 10;
    pointer-events: none;
}

.marquee-gradient-left {
    left: 0;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.marquee-gradient-right {
    right: 0;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

.theme-marquee-track {
    display: flex;
    width: max-content;
    padding: 1.5rem 0;
    animation: theme-scroll 18s linear infinite;
}

.theme-marquee-wrapper:hover .theme-marquee-track {
    animation-play-state: paused;
}

@keyframes theme-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

.theme-slide {
    display: block;
    margin-right: 1rem;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s;
    background: #f8f9fa;
}

.theme-slide:hover {
    border-color: #0286fb;
}

.theme-slide-img {
    display: block;
    height: 140px;
    width: auto;
    aspect-ratio: 1.595 / 1;
    object-fit: cover;
}

.theme-slide-label {
    font-size: 12px;
    color: #495057;
    padding: 4px 8px 6px;
    text-align: center;
    white-space: nowrap;
}

.as-seen-section {
    padding: 16px 0;
    text-align: center;
    overflow: hidden;
    margin-top: -90px;
}

.as-seen-section .container {
    max-width: 1200px;
}

.as-seen-logos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    transform: scale(0.55);
    transform-origin: center center;
}

.as-seen-label {
    color: #777;
    font-size: 1.2rem;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    height: 70px;
    line-height: 70px;
}

.as-seen-logo {
    background-image: url('/p/card-theme/assets/images/as_seen_logo.png');
    display: inline-block;
    margin-right: 10px;
    opacity: 0.4;
    transition: opacity 0.2s;
    background-repeat: no-repeat;
}

.as-seen-logo:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .as-seen-logos {
        transform: scale(0.5);
    }
}
