/* ---------- Style category page (static port of Website StyleLandingPage.tsx) ---------- */

/* --- hero --- */
.category-hero {
    position: relative;
    overflow: hidden;
    padding: 112px 24px 40px;
}
@media (min-width: 768px) {
    .category-hero { padding: 128px 48px 56px; }
}
@media (min-width: 1024px) {
    .category-hero { padding-left: 96px; padding-right: 96px; }
}

.category-hero-glow {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 0;
    height: 380px;
    width: 700px;
    transform: translateX(-50%);
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(122, 76, 165, 0.2) 0%, rgba(243, 232, 255, 0.1) 55%, transparent 80%);
    filter: blur(64px);
}

.category-hero-inner {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
}

.category-eyebrow {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #7a4ca5;
}
@media (min-width: 768px) {
    .category-eyebrow { margin-bottom: 20px; font-size: 16px; }
}

.category-eyebrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: color var(--dur-snap) var(--ease-out-quart);
}
.category-eyebrow-link:hover { color: #5e3a80; }
.category-eyebrow-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--dur-base) var(--ease-out-expo);
}
.category-eyebrow-link:hover svg { transform: translateX(-2px); }

.category-h1 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.15;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-h1 { font-size: 48px; }
}
@media (min-width: 1024px) {
    .category-h1 { font-size: 60px; }
}
.category-h1-accent {
    display: block;
    color: #7a4ca5;
}

.category-intro {
    max-width: 48rem;
    font-size: 18px;
    line-height: 1.6;
    color: #545454;
}

/* --- feed --- */
.category-feed {
    padding: 0 24px 56px;
}
@media (min-width: 768px) {
    .category-feed { padding-left: 48px; padding-right: 48px; padding-bottom: 70px; }
}
@media (min-width: 1024px) {
    .category-feed { padding-left: 96px; padding-right: 96px; }
}

.category-section-inner {
    max-width: 72rem;
    margin: 0 auto;
}

.category-feed-heading {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 500;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-feed-heading { margin-bottom: 32px; font-size: 30px; }
}

.category-empty-feed {
    color: #545454;
}

/* --- about --- */
.category-about {
    background-color: #f9f9f9;
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-about { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-about { padding-left: 96px; padding-right: 96px; }
}

.category-about-grid {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .category-about-grid { grid-template-columns: 0.8fr 1.4fr; gap: 48px; }
}
@media (min-width: 1024px) {
    .category-about-grid { gap: 80px; }
}

.category-about-heading {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-about-heading { align-self: center; font-size: 30px; }
}

.category-about-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #545454;
}
@media (min-width: 768px) {
    .category-about-body { font-size: 18px; }
}

/* --- how-to --- */
.category-howto {
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-howto { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-howto { padding-left: 96px; padding-right: 96px; }
}

.category-howto-heading {
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 500;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-howto-heading { margin-bottom: 40px; font-size: 30px; }
}

.howto-tip-grid {
    list-style: none;
    display: grid;
    gap: 32px;
}
@media (min-width: 768px) {
    .howto-tip-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; row-gap: 40px; }
}

.howto-tip-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 24px;
    border: 1px solid #ece8f1;
    background-color: #fdfcff;
    padding: 20px;
    box-shadow: var(--elevate-1);
}
@media (min-width: 768px) {
    .howto-tip-card { gap: 20px; padding: 24px; }
}

.howto-tip-badge {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    border-radius: 16px;
    background: linear-gradient(to bottom right, #7a4ca5, #8b65ae);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(122, 76, 165, 0.24);
}

.howto-tip-body { padding-top: 4px; }

.howto-tip-title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    color: #0c0c0c;
}

.howto-tip-text {
    font-size: 16px;
    line-height: 1.6;
    color: #545454;
}
@media (min-width: 768px) {
    .howto-tip-text { font-size: 18px; }
}

.howto-tip-pieces {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding: 0;
}

.howto-tip-pieces li {
    border-radius: 999px;
    border: 1px solid #ece8f1;
    background-color: #ffffff;
    padding: 6px 12px;
    font-size: 14px;
    color: #545454;
}

.category-section-alt { background-color: #f9f9f9; }

.category-section-heading {
    font-size: 24px;
    font-weight: 500;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .category-section-heading { font-size: 30px; }
}

/* --- products --- */
.category-products {
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-products { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-products { padding-left: 96px; padding-right: 96px; }
}

.category-products .category-section-heading { margin-bottom: 12px; }

.category-products-note {
    margin-bottom: 24px;
    font-size: 16px;
    color: #545454;
}
@media (min-width: 768px) {
    .category-products-note { font-size: 18px; }
}

.product-grid {
    list-style: none;
    display: grid;
    gap: 16px;
}
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid #e6dff0;
    background-color: #ffffff;
    padding: 16px;
}

.product-card-image {
    flex-shrink: 0;
    height: 80px;
    width: 64px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f0f5;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-info { min-width: 0; }

.product-card-brand {
    font-size: 14px;
    font-weight: 500;
    color: #7a4ca5;
}

.product-card-name {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #0c0c0c;
}
@media (min-width: 768px) {
    .product-card-name { font-size: 16px; }
}

/* --- creators --- */
.category-creators {
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-creators { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-creators { padding-left: 96px; padding-right: 96px; }
}

.category-creators .category-section-heading { margin-bottom: 12px; }

.category-creators-intro {
    margin-bottom: 32px;
    font-size: 16px;
    color: #545454;
}

.creator-grid {
    list-style: none;
    display: grid;
    gap: 20px;
}
@media (min-width: 640px) {
    .creator-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .creator-grid { grid-template-columns: repeat(3, 1fr); }
}

.creator-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    border-radius: 28px;
    border: 1px solid #ece8f1;
    background-color: #fdfcff;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--elevate-1);
    transition: transform var(--dur-base) var(--ease-out-expo), border-color var(--dur-snap) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-expo);
}
@media (min-width: 768px) {
    .creator-card { padding: 28px; }
}
.creator-card:hover {
    transform: translate3d(0, -4px, 0);
    border-color: #dccdea;
    box-shadow: var(--elevate-2);
}

.creator-card-avatar {
    height: 80px;
    width: 80px;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 0 0 4px #f1ebf7;
}
.creator-card-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #7a4ca5, #8b65ae);
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
}

.creator-card-username {
    margin-top: 20px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
    color: #0c0c0c;
}

.creator-card-count {
    margin-top: 4px;
    font-size: 14px;
    color: #777777;
}

.creator-card-view {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #7a4ca5;
}
.creator-card-view svg {
    width: 16px;
    height: 16px;
    transition: transform var(--dur-base) var(--ease-out-expo);
}
.creator-card:hover .creator-card-view svg { transform: translateX(4px); }

/* Guides section wrapper + grid CSS lives in header.css now - shared with the
   stylizacje hub's own guides section. */

/* --- faq --- */
.category-faq {
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-faq { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-faq { padding-left: 96px; padding-right: 96px; }
}

.category-faq-heading { margin-bottom: 32px; }

.faq-card {
    max-width: 72rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: var(--elevate-3);
}

.faq-item {
    border-bottom: 1px solid #f3f4f6;
    background-color: #ffffff;
    transition: background-color var(--dur-base) var(--ease-out-quart);
}
.faq-item:hover { background-color: #faf8fc; }
.faq-item:last-child { border-bottom: none; }

.faq-button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--dur-base) var(--ease-out-quart);
}
@media (min-width: 768px) {
    .faq-button { padding: 24px 32px; }
}

.faq-question {
    font-size: 18px;
    color: #0c0c0c;
    transition: color var(--dur-base) var(--ease-out-quart);
}
@media (min-width: 768px) {
    .faq-question { font-size: 20px; }
}

.faq-chevron-wrap {
    margin-left: 16px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    border-radius: 9999px;
    background-color: transparent;
    transition: background-color var(--dur-base) var(--ease-out-quart);
}
.faq-chevron-wrap svg {
    width: 20px;
    height: 20px;
    color: #7a4ca5;
    transition: transform 400ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.faq-answer {
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #545454;
}
@media (min-width: 768px) {
    .faq-answer { padding: 0 32px 24px; font-size: 18px; }
}

/* --- other styles --- */
.category-other-styles {
    padding: 48px 24px;
}
@media (min-width: 768px) {
    .category-other-styles { padding: 70px 48px; }
}
@media (min-width: 1024px) {
    .category-other-styles { padding-left: 96px; padding-right: 96px; }
}

.category-other-styles-heading { margin-bottom: 32px; }

.style-card-grid {
    list-style: none;
    display: grid;
    gap: 16px;
}
@media (min-width: 768px) {
    .style-card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.style-card {
    display: flex;
    height: 100%;
    min-height: 208px;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid #e6dff0;
    background-color: #ffffff;
    padding: 24px;
    text-decoration: none;
    box-shadow: var(--elevate-1);
    transition: transform var(--dur-base) var(--ease-out-expo), border-color var(--dur-snap) var(--ease-out-quart), box-shadow var(--dur-base) var(--ease-out-expo);
}
.style-card:hover {
    transform: translate3d(0, -4px, 0);
    border-color: #cdb8df;
    box-shadow: var(--elevate-2);
}

.style-card-eyebrow {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #7a4ca5;
}

.style-card-title {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 500;
    color: #0c0c0c;
}

.style-card-desc {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #545454;
}

.style-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #7a4ca5;
}

.style-card-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    border-radius: 9999px;
    background-color: #f1ebf7;
    color: #7a4ca5;
    transition: background-color var(--dur-snap) var(--ease-out-quart), color var(--dur-snap) var(--ease-out-quart);
}
.style-card-arrow-circle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--dur-base) var(--ease-out-expo);
}
.style-card:hover .style-card-arrow-circle {
    background-color: #7a4ca5;
    color: #ffffff;
}
.style-card:hover .style-card-arrow-circle svg { transform: translateX(2px); }
