/* ============================================
   ATELIER KATJA — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --cream: #FDF6EC;
    --warm-brown: #3E2723;
    --chocolate: #5D4037;
    --gold: #C8956C;
    --gold-light: #E8C9A0;
    --text: #2C1810;
    --text-light: #6D4C41;
    --white: #FFFFFF;
    --border: rgba(62, 39, 35, 0.1);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-btn: 60px;
    --shadow-soft: 0 4px 24px rgba(62, 39, 35, 0.08);
    --shadow-card: 0 8px 40px rgba(62, 39, 35, 0.12);
    --transition: 0.3s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--warm-brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p {
    color: var(--text-light);
    line-height: 1.75;
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section--sm {
    padding: 56px 0;
}

/* ============================================
   Topbar
   ============================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    text-align: center;
}

.topbar__brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--warm-brown);
    letter-spacing: 0.04em;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(62, 39, 35, 0.25);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--warm-brown);
    color: var(--gold-light);
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--warm-brown);
    border: 2px solid var(--warm-brown);
}

/* Shimmer effect */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 140%;
}

/* Override Hotmart widget button styles */
.btn.hotmart-fb {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: var(--radius-btn) !important;
    padding: 16px 40px !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    border: none !important;
    box-shadow: none !important;
}
.btn--gold.hotmart-fb    { background-color: var(--gold) !important;       color: var(--white) !important; }
.btn--primary.hotmart-fb { background-color: var(--warm-brown) !important; color: var(--gold-light) !important; }
.btn--white.hotmart-fb   { background-color: var(--white) !important;      color: var(--warm-brown) !important; }

/* ============================================
   Divider
   ============================================ */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px auto;
    max-width: 300px;
}

.divider__line {
    flex: 1;
    height: 1px;
    background: var(--gold-light);
}

.divider__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.divider--wide {
    max-width: 600px;
}

/* ============================================
   About Me Section
   ============================================ */
.about {
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
}

.about__photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}

.about__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.about__name {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--warm-brown);
    margin-bottom: 16px;
}

.about__text {
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.8;
}

/* ============================================
   Price Card
   ============================================ */
.pricing {
    background: var(--cream);
    text-align: center;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
    position: relative;
}

.price-card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--warm-brown);
    margin-bottom: 8px;
}

.price-card__subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.price-card__amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--warm-brown);
    line-height: 1;
    margin-bottom: 4px;
}

.price-card__amount span {
    font-size: 1.5rem;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
}

.price-card__label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.price-card__cta {
    width: 100%;
    margin: 24px 0 12px;
    text-align: center;
    display: block;
}

.price-card__secure {
    font-size: 0.8rem;
    color: var(--text-light);
}

.price-card__guarantee {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-card__guarantee strong {
    color: var(--warm-brown);
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 4px;
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    max-width: 120px;
}

.trust-badge__icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.trust-badge__text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--warm-brown);
    line-height: 1.3;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--white);
}

.faq__title {
    text-align: center;
    margin-bottom: 48px;
}

.faq__list {
    max-width: 680px;
    margin: 0 auto;
    list-style: none;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
    border-top: 1px solid var(--border);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--warm-brown);
    gap: 16px;
    user-select: none;
}

.faq__question:hover {
    color: var(--gold);
}

.faq__icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gold);
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__item.open .faq__answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq__answer p {
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--warm-brown);
    color: var(--gold-light);
    text-align: center;
    padding: 40px 20px;
}

.footer__socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    transition: opacity var(--transition);
    text-decoration: none;
}

.footer__social-link:hover {
    opacity: 1;
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer__divider {
    width: 40px;
    height: 1px;
    background: rgba(200,149,108,0.3);
    margin: 0 auto 20px;
}

.footer__text {
    font-size: 0.82rem;
    opacity: 0.5;
}

/* ============================================
   Shared Product Page Components
   ============================================ */

/* --- Hero (shared across all product pages) --- */
.product-hero {
    background: var(--warm-brown);
    padding: 80px 20px 70px;
}
.product-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}
.product-hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.product-hero h1 {
    color: var(--gold-light);
    margin-bottom: 16px;
}
.product-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(232,201,160,0.82);
    margin-bottom: 16px;
    line-height: 1.8;
}
.product-hero__price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 24px;
}
.product-hero__image {
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.35);
    width: 100%;
    object-fit: cover;
    max-height: 480px;
}
.product-hero__divider .divider__line {
    background: rgba(200,149,108,0.35);
}

/* --- Pricing dark (shared) --- */
.pricing-dark {
    background: var(--warm-brown);
    padding: 80px 20px;
}

/* --- Section label (shared) --- */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

/* --- Nav back link --- */
.topbar__nav {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--transition);
}
.topbar__nav:hover { color: var(--warm-brown); }
.topbar { position: relative; }

/* --- CTA Banner (shared) --- */
.cta-banner {
    background: var(--gold);
    text-align: center;
    padding: 52px 20px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.88); margin-bottom: 28px; font-size: 1.02rem; }
.cta-banner .btn--white { background: var(--white); color: var(--warm-brown); }
.cta-banner .btn--white:hover { background: var(--cream); }

@media (max-width: 700px) {
    .product-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .product-hero__image { max-height: 260px; }
    .topbar__nav { display: none; }
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 700px) {
    .section { padding: 56px 0; }
    .section--sm { padding: 40px 0; }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .price-card {
        padding: 36px 24px;
    }

    .trust-badges {
        gap: 20px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.88rem;
    }
}
