/* 
   Meu Amigurumi - Premium Design System 
   Theme: Handmade Premium
*/

:root {
    /* Color Palette */
    --color-primary: #C08B94;
    /* Rose Gold / Dusty Pink */
    --color-primary-dark: #A06B74;
    --color-secondary: #8FA692;
    /* Sage Green */
    --color-accent: #D4AF37;
    /* Gold */

    --color-text-main: #2C2C2C;
    /* Soft Black */
    --color-text-muted: #666666;
    --color-text-body: #4A4A4A;
    --color-bg-body: #FDFBF7;
    /* Cream / Warm White */
    --color-bg-alt: #F8F5F2;
    --color-white: #FFFFFF;

    --color-whatsapp: #25D366;

    --gradient-gold: linear-gradient(135deg, #DFBD69 0%, #926F34 100%);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-base: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Spacing Utilities */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

.section-padding {
    padding: 80px 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(192, 139, 148, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(192, 139, 148, 0.6);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.btn-block {
    display: block;
    width: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(192, 139, 148, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(192, 139, 148, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(192, 139, 148, 0);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(192, 139, 148, 0.1);
    color: var(--color-primary-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-text-main);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background: radial-gradient(circle at top right, #fff0f3 0%, #fff 40%, #fdfbf7 100%);
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}

.arrow {
    transition: transform 0.3s ease;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars {
    display: flex;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
    margin-left: -15px;
    border: 3px solid #fff;
    object-fit: cover;
    /* Ensure image fills the circle */
}

.avatar-circle:first-child {
    margin-left: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
}

.floating-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0 var(--color-primary);
    position: relative;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-main);
    z-index: 2;
    animation: floating 3s ease-in-out infinite;
}

.badge-1 {
    top: 30px;
    left: -30px;
}

.badge-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 1.5s;
}

/* =========================================
   Benefits Section
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 139, 148, 0.2);
    box-shadow: var(--shadow-md);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--color-bg-alt);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* =========================================
   Showcase / Gallery
   ========================================= */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.showcase-item {
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Square box */
    background-color: var(--color-white);
    /* Background for empty space */
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    cursor: pointer;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
    /* Slight zoom */
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem 1.5rem 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

/* =========================================
   Teacher Section
   ========================================= */
.teacher {
    background-color: var(--color-white);
    overflow: hidden;
}

.teacher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.teacher-image-wrapper {
    position: relative;
    border-radius: 2rem;
    margin-right: 20px;
    margin-bottom: 20px;
}

/* Custom shadow/decoration for teacher image */
.teacher-image-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 2rem;
    z-index: 0;
}

.teacher-img {
    position: relative;
    width: 100%;
    border-radius: 2rem;
    display: block;
    z-index: 1;
    transition: transform 0.3s ease;
}

.teacher-grid:hover .teacher-img {
    transform: translate(-5px, -5px);
}

.teacher-badge {
    position: absolute;
    bottom: 40px;
    right: -10px;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    z-index: 2;
    animation: floating 3s ease-in-out infinite;
}

.teacher-bio p {
    margin-bottom: 1rem;
    color: var(--color-text-body);
}

.teacher-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* =========================================
   Modules Section
   ========================================= */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.module-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--color-bg-alt);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.module-card.highlight-card {
    border: 2px solid var(--color-accent);
    background: linear-gradient(to bottom right, #fff, #fff9f9);
}

.module-card.highlight-card .module-icon {
    background: rgba(212, 175, 55, 0.1);
}

/* =========================================
   FAQ Section
   ========================================= */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-text-body);
}

/* =========================================
   Guarantee Section
   ========================================= */
.guarantee {
    background: var(--color-secondary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.guarantee .text-highlight {
    color: var(--color-accent) !important;
    /* Gold looks better on Sage Green */
}

.guarantee-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.guarantee-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.guarantee .section-title {
    color: var(--color-white);
}

.guarantee .lead-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.guarantee-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* =========================================
   Offer Section
   ========================================= */
.offer {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    position: relative;
}

.offer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Adjusted centering for offer header */
.offer-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.offer-tag {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card {
    background: var(--color-white);
    padding: 3.5rem 3rem;
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: 2rem 2rem 0 0;
}

.price-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.original-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--color-text-muted);
}

.discount-badge {
    background: #FF6B6B;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price-main {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-body);
}

.amount {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

.cash-price {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
}

.features-list {
    text-align: left;
    margin-bottom: 2.5rem;
}

.features-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: var(--color-text-body);
}

.check-icon {
    color: var(--color-whatsapp);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.secure-badges {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.8;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .teacher-grid {
        grid-template-columns: 1fr;
    }

    .teacher-image-wrapper {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {

    /* Global Mobile Adjustments */
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        /* Full width buttons on mobile */
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    /* Adjust Floating Badges for Mobile */
    .floating-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .badge-1 {
        top: 10px;
        left: 0;
    }

    .badge-2 {
        bottom: 20px;
        right: 0;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    /* Teacher Stats */
    .teacher-stats {
        flex-direction: column;
        /* Stack stats */
        align-items: center;
        gap: 2rem;
        text-align: center;
        border-top: none;
        /* Cleaner look */
        padding-top: 1rem;
    }

    .stat-item {
        width: 100%;
        background: var(--color-bg-alt);
        padding: 1.5rem;
        border-radius: 1rem;
    }

    /* Offer / Pricing */
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }

    .amount {
        font-size: 3.5rem;
    }

    .currency {
        font-size: 1.2rem;
    }

    .features-list li {
        font-size: 1rem;
    }

    .secure-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}