@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-bg: #fff8ed;
    --color-fg: #000000;
    --color-accent: #a7151c;
    --color-accent-hover: #7f1016;
    --color-highlight: #9d1d20;
    --color-border: #eadbca;
    --color-divider: #cfae85;
    --color-card: #fffaf2;
    --color-muted: #6b6058;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--color-fg);
    background-color: var(--color-bg);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--color-accent);
    color: #fff8ed;
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Header Styles */
.header {
    background-color: var(--color-bg);
    padding: 0;
}

.header-top {
    text-align: right;
    padding: 8px 24px;
    font-size: 12px;
    color: var(--color-accent);
}

.currency-selector {
    cursor: pointer;
    font-weight: 600;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-fg);
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--color-accent);
}







/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    padding: 40px 24px;
    max-width: 1320px;
    margin: 0 auto;
    background-color: var(--color-bg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
}

.hero-title {
    font-size: 40px;
    line-height: .98;
    font-weight: 700;
    color: var(--color-fg);
}

.hero-title em {
    font-style: normal;
    color: var(--color-highlight);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--color-fg);
    line-height: 1.65;
    margin-top: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 14px 26px;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid var(--color-accent);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    display: block;
}

/* Community Stats Section */
.community-stats {
    display: grid;
    grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
    gap: 48px;
    align-items: center;
    padding: 24px 24px 44px;
    background-color: var(--color-bg);
    max-width: 1320px;
    margin: 0 auto;
}

.community-stats-intro h2 {
    font-size: 28px;
    margin-bottom: 14px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--color-fg);
}

.community-stats-intro p {
    font-size: 15px;
    color: var(--color-fg);
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4px;
}

.stat-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.stat-number {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    font-weight: 700;
    color: var(--color-highlight);
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-fg);
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    padding: 60px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-label {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-title {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
    color: #2a201d;
}

.about-text {
    font-size: 16px;
    color: var(--color-fg);
    line-height: 1.6;
}

.about-credit {
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--color-divider);
    width: fit-content;
}

/* Beginner Edition Section */
.beginner-edition {
    padding: 24px 24px 60px;
    background-color: var(--color-bg);
    text-align: left;
}

.beginner-edition h2 {
    font-size: 40px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-fg);
}

.product-subtitle {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 32px;
}

.product-container {
    max-width: 1320px;
    margin: 0 auto;
}

.product-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.product-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-features {
    list-style: none;
    font-size: 15px;
    color: var(--color-fg);
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.product-features li:before {
    content: "✓ ";
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.current-price {
    font-size: 35px;
    font-weight: 700;
    color: var(--color-accent);
}

.original-price {
    font-size: 25px;
    color: var(--color-muted);
    text-decoration: line-through;
}

.add-to-cart-btn {
    padding: 16px 24px;
    background-color: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

/* Testimonials Section */
.testimonials {
    padding: 40px 24px;
    background-color: var(--color-bg);
    max-width: 1320px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--color-accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.stars {
    color: var(--color-accent);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: bold;
}

.testimonial-text {
    font-size: 14px;
    color: var(--color-fg);
    line-height: 1.6;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-author img {
    width: auto;
    max-height: 20rem;
    border-radius: 4px;
    object-fit: contain;
}

.testimonial-author--compare {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.compare-images {
    display: flex;
    gap: 8px;
    width: 100%;
    min-width: 0;
    height: 18rem;
}

.compare-image {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 18rem;
    border-radius: 4px;
    object-fit: contain;
}


/* FAQ Section */
.faq {
    padding: 80px 24px;
    background-color: var(--color-bg);
    max-width: 1100px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 56px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--color-fg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: transparent;
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    padding: 22px 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-fg);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.toggle {
    font-size: 20px;
    color: var(--color-accent);
}

.faq-answer {
    padding: 0 4px 22px;
    background-color: transparent;
    display: none;
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.6;
    border-top: none;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

/* Footer */
.footer {
    background-color: var(--color-accent);
    color: #fff8ed;
    padding: 32px 24px 20px;
}

.footer-logo {
    max-width: 220px;
    margin: 0 auto 24px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 248, 237, 0.25);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #fff8ed;
}

.footer-bottom > p {
    text-align: center;
}

.footer-terms {
    position: relative;
    justify-self: start;
}

.terms-toggle {
    background: none;
    border: none;
    padding: 0;
    color: #fff8ed;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 18px;
}

.social-links span {
    display: inline-flex;
    color: #fff8ed;
    opacity: 0.85;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 24px 18px;
        gap: 26px;
    }

    .hero-title {
        font-size: 29px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 32px 18px;
    }

    .about-title {
        font-size: 36px;
    }

    .community-stats {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns:  1fr;
    }

    .testimonials h2,
    .beginner-edition h2 {
        font-size: 30px;
    }

    .faq h2 {
        font-size: 36px;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .current-price {
        font-size: 30px;
    }

    .original-price {
        font-size: 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        margin-left: 0;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 15px;
        text-align: center;
    }

    .footer-terms {
        justify-self: center;
    }

    .social-links {
        justify-content: center;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Image Modal */
.testimonial-author img {
    cursor: zoom-in;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.image-modal.open {
    display: flex;
}

.image-modal img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff8ed;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
