/* Kraken Landing Page */
.kr-body {
    background: #f5f5f7;
    color: #1a1a1a;
}

.kr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header: Get Kraken */
.kr-header {
    text-align: center;
    padding: 60px 24px 48px;
}

.kr-title {
    font-weight: 700;
    color: #5741d9;
    margin-bottom: 12px;
}

.kr-subtitle {
    font-size: 1.125rem;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.kr-btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.kr-btn-solid {
    background: #5741d9;
    color: #fff;
}

.kr-btn-solid:hover {
    background: #4630b8;
    transform: translateY(-1px);
}

.kr-btn-light {
    background: #e8e4f8;
    color: #5741d9;
}

.kr-btn-light:hover {
    background: #ddd8f5;
    transform: translateY(-1px);
}

.kr-btn-outline {
    background: transparent;
    color: #5741d9;
    border: 2px solid #5741d9;
}

.kr-btn-outline:hover {
    background: #e8e4f8;
    transform: translateY(-1px);
}

/* Section base */
.kr-section {
    padding: 48px 24px;
}

.kr-card {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.kr-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.kr-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 24px;
}

.kr-desc:last-of-type {
    margin-bottom: 0;
}

/* Hero: Grab life by the Bitcoins */
.kr-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.kr-hero-content .kr-btn {
    margin-top: 8px;
}

.kr-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kr-hero-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Power up your trades: Carousel */
.kr-trades {
    padding-top: 32px;
    background: #f5f5f7;
}

.kr-trades-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.kr-trades-title {
    margin-bottom: 0;
}

.kr-trades-desc {
    margin-bottom: 32px;
    max-width: 640px;
}

.kr-carousel-wrap {
    width: 100%;
    margin-top: 0;
    overflow: hidden;
}

.kr-carousel {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.kr-carousel::-webkit-scrollbar {
    display: none;
}

.kr-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    padding: 8px 24px 24px;
}

.kr-carousel-card {
    flex: 0 0 360px;
    width: 360px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.kr-carousel-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #2d2a3a;
}

.kr-carousel-label {
    display: block;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
    background: #fff;
    text-align: left;
}

.kr-carousel-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.kr-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EBE0F7;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #7A4FDF;
}

.kr-carousel-btn:hover {
    background: #ddd0f0;
    color: #5741d9;
}

.kr-arrow-svg {
    width: 20px;
    height: 20px;
    display: block;
}


/* Over the top crypto protection */
.kr-protection-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.kr-protection-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.kr-protection-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Chat section */
.kr-chat-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.kr-chat-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kr-chat-bubble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 90%;
}

.kr-chat-support {
    align-self: flex-start;
}

.kr-chat-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.kr-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kr-avatar-purple {
    background: #5741d9;
}

.kr-avatar-user {
    background: #e0e0e0;
}

.kr-chat-bubble p {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.kr-chat-support p {
    background: #e8e4f8;
    color: #1a1a1a;
}

.kr-chat-user p {
    background: #f0f0f0;
    color: #1a1a1a;
}

/* Bottom: We've been around the block(chain) */
.kr-bottom {
    padding: 64px 24px;
}

.kr-bottom-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.kr-bottom-badge {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.kr-bottom-year {
    font-size: 4rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px #5741d9;
    text-stroke: 2px #5741d9;
    line-height: 1;
}

.kr-bottom-chain {
    display: inline-block;
    background: #5741d9;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    margin-left: 4px;
    vertical-align: bottom;
}

.kr-bottom-title {
    margin-bottom: 16px;
}

.kr-bottom-desc {
    margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
    .kr-hero-card,
    .kr-protection-card,
    .kr-chat-card {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .kr-hero-visual,
    .kr-protection-visual {
        order: -1;
    }

    .kr-chat-demo {
        order: -1;
    }

}

@media (max-width: 768px) {
    .kr-title {
        font-size: 2.25rem;
    }

    .kr-heading {
        font-size: 1.5rem;
    }

    .kr-card {
        padding: 32px 24px;
    }

    .kr-carousel-card {
        flex: 0 0 360px;
        width: 360px;
    }

    .kr-bottom-year {
        font-size: 3rem;
    }
}
