:root {
    /* Maternal color palette from logo */
    --primary: #9B6B5E;
    /* Terracota/Rose Gold */
    --primary-dark: #6B4A3E;
    /* Marrom suave */
    --secondary: #D4A89A;
    /* Rosa suave */
    --accent: #C4968A;
    /* Rose intermediário */
    --success: #8AAB8A;
    --success: #8AAB8A;
    /* Verde suave maternal */
    --error: #D88B8B;
    /* Vermelho suave */

    --cta-color: #2E8B57;
    /* SeaGreen - Safe, shiny, fits palette */
    --cta-hover: #3CB371;
    /* MediumSeaGreen - Slightly lighter for hover */

    --bg-primary: #FAF7F5;
    /* Bege muito claro */
    --bg-secondary: #F3EDE9;
    /* Bege rosé */
    --bg-card: rgba(232, 221, 217, 0.7);
    /* Da logo com transparência */

    --text-primary: #4A3832;
    /* Marrom escuro suave */
    --text-secondary: #7A6A62;
    /* Marrom médio */
    --text-muted: #9B8B83;
    /* Marrom claro */

    --border-radius: 20px;
    --border-radius-sm: 14px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', 'Lora', 'Playfair Display', Georgia, serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo-container {
    text-align: center;
    padding: 30px 20px 20px;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(155, 107, 94, 0.15));
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 80px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 32px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(155, 107, 94, 0.2);
    font-family: 'Lora', serif;
}

.badge-icon {
    font-size: 18px;
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes gentle-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Instagram Section Branding */
.instagram-brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    vertical-align: middle;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.9;
    font-weight: 400;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.countdown-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 20px 28px;
    min-width: 100px;
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px hsla(280, 80%, 55%, 0.2);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* Instagram Title Icon */
.instagram-title-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 4px;
    /* Optical alignment */
}

.section-title.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ebook Highlight */
.highlight-ebook {
    font-size: 1.25em;
    /* 25% larger than surrounding text */
    color: var(--primary-dark);
    /* Darker color for visibility on light backgrounds */
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 4px;
    letter-spacing: 0.5px;
}

/* Specific gold color for dark backgrounds only */
.form-container .highlight-ebook,
.success-message .highlight-ebook {
    color: #F1D695;
}


.countdown-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.6;
}

/* Presenter Section */
.presenter-section {
    margin-bottom: 80px;
    padding: 60px 20px;
}

.presenter-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.presenter-image {
    position: relative;
}

.presenter-photo {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(155, 107, 94, 0.2);
    border: 4px solid var(--bg-card);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-dark);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
}

.presenter-bio {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

/* Family Section */
.family-section {
    margin-bottom: 80px;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.family-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.family-image {
    text-align: center;
}

.family-photo {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(155, 107, 94, 0.2);
    margin-bottom: 12px;
}

.family-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Lora', serif;
    margin-top: 8px;
}

.family-bio {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .trust-badge-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Benefits Section */
/* Benefits Section */
.benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 107, 94, 0.2);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    opacity: 0.5;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(155, 107, 94, 0.25);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    animation: gentle-bounce 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(155, 107, 94, 0.2));
}

@keyframes gentle-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.benefit-card h3 {
    font-family: 'Lora', serif;
    /* Use Lora for better number/text alignment */
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    /* Increased size */
    line-height: 1.6;
}

/* Form Section */
.form-section {
    margin-bottom: 80px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-dark), #5D4037);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 48px 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #D4AF37, #F1D695, #D4AF37);
    /* Gold Gradient */
    background-size: 200% 100%;
    animation: slideGradient 3s linear infinite;
}

@keyframes slideGradient {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 500;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    /* For absolute error tooltip */
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Increased gap */
    font-weight: 600;
    font-size: 1.4rem;
    /* Significant increase */
    color: #FFFFFF;
}

.label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    /* Fixed height for alignment */
}

/* Ensure SVGs match the new size */
.label-icon svg {
    width: 28px;
    height: 28px;
}

.form-group input {
    /* Restore original padding/size */
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 12px;
    color: #1a1a1a;
    /* Pitch Dark Text */
    font-size: 1.35rem;
    font-weight: 500;
    /* Slightly bolder */
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(280, 80%, 55%, 0.1);
}

.form-group input.error {
    border-color: #ff4444 !important;
    /* Removed pink background/heavy shadow */
    box-shadow: none;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.25);
    /* Very light grey */
    font-weight: 400;
}

.form-error {
    position: absolute;
    bottom: -45px;
    left: 0;
    /* White elegant tooltip */
    background-color: #FFFFFF;
    color: #c62828;
    /* Deep red for text */
    padding: 8px 16px;
    border-radius: 8px;
    /* Softer radius */
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* Soft shadow */
    z-index: 10;
    display: none;
    white-space: nowrap;
    border: 1px solid rgba(198, 40, 40, 0.1);
    /* Very subtle border */
}

.form-error::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent #FFFFFF transparent;
    /* Match white bg */
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
    /* Subtle shadow for arrow */
}

.form-error.visible {
    display: block;
    animation: fadeInUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy pop-in */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--cta-color), var(--cta-hover));
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-top: 12px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px hsla(280, 80%, 55%, 0.4);
}

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

.btn-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-privacy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Lora', serif;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 20px;
}

.success-message.visible {
    display: block;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--success), hsl(145, 65%, 40%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: successPop 0.6s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--success);
}

.success-message .group-info {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-message .success-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Social Proof */
.social-proof {
    margin-bottom: 60px;
}

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

.stat-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 12px 40px hsla(195, 100%, 50%, 0.2);
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* LGPD Checkbox */
.checkbox-group {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer;
    user-select: none;
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked~.checkbox-custom {
    background: #2E8B57;
    border-color: #2E8B57;
}

.checkbox-label input[type="checkbox"]:checked~.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.privacy-link {
    color: #F1D695;
    /* Gold-ish for link on dark bg */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.privacy-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Privacy Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--error);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin: 12px 0 16px 24px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.modal-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 8px 0;
}

.footer-lgpd {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Presale Classes Section */
.presale-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-family: 'Lora', serif;
}

.classes-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.class-card {
    width: 100%;
    background: var(--bg-card);
    border: 2px solid rgba(155, 107, 94, 0.15);
    border-radius: var(--border-radius);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    text-align: center;
    /* Center content inside card */
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(155, 107, 94, 0.25);
}

.class-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(155, 107, 94, 0.08), rgba(212, 168, 154, 0.08));
    box-shadow: 0 8px 24px rgba(155, 107, 94, 0.2);
}

.class-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
}

.class-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-family: 'Cormorant Garamond', serif;
}

.class-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-family: 'Lora', serif;
}

.class-badge {
    display: inline-block;
    background: var(--cta-color);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    border: 2px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-badge:hover {
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.6);
    background: var(--cta-hover);
    transform: translateY(-2px);
}

/* Instagram Feed Section */
.instagram-section {
    margin-bottom: 80px;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.instagram-post {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 9 / 16;
    /* Vertical Reel format */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the entire space */
    transition: var(--transition);
    display: block;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 107, 94, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: var(--transition);
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-stats {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.instagram-logo-svg {
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Presenter Instagram Link */
.presenter-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.presenter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 107, 94, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: 20px;
}

.presenter-link:hover .presenter-overlay {
    opacity: 1;
}

.instagram-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.instagram-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Lora', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    .logo {
        max-width: 220px;
    }

    .hero {
        padding: 40px 16px;
        margin-bottom: 60px;
    }

    .presenter-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .presenter-photo {
        margin: 0 auto;
        max-width: 280px;
    }

    .countdown {
        gap: 12px;
    }

    .countdown-item {
        padding: 16px 20px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 32px 24px;
    }

    .family-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

    .benefits {
        gap: 16px;
        grid-template-columns: 1fr !important;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .countdown-separator {
        display: none;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* Header Adjustments */
.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.ebook-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Authority Section */
/* Authority Section */
.authority-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Increased gap between blocks */
}

/* Match generic Stat Item for the counter */
.authority-counter-match {
    /* Ensure it behaves like a block card */
    width: 100%;
    /* Override any specific grid behavior */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    /* Match Social Proof */
    backdrop-filter: blur(10px);
    /* Add blur for consistency */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Add border for consistency */
    /* Ensure text colors match the reference */
    color: #5c4033;
}

/* Specific override if stat-value gradient is too dark */
/* .authority-counter-match .stat-value { } */

/* Guarantee Family Layout */
.guarantee-family-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Matches .family-content */
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.guarantee-image-container {
    text-align: center;
    display: flex;
    justify-content: center;
}

.guarantee-text-family {
    display: flex;
    flex-direction: column;
}

.guarantee-text-family h4 {
    font-family: 'Lora', serif;
    /* Use Lora for better number alignment */
    font-size: 2.3rem;
    color: var(--primary-dark);
    /* Elegant Marrom instead of Navy */
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.guarantee-subtext-family {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    /* Match family bio size */
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* --- Classes Fan Leque Effect (V2) --- */
.classes-fan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 550px;
    margin: 80px auto;
    position: relative;
    max-width: 1100px;
    perspective: 1500px;
    /* Essential for 3D feel */
}

.class-fan-card {
    position: absolute;
    width: 320px;
    height: 450px;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(155, 107, 94, 0.2);
    border-radius: 24px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: bottom center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(107, 74, 62, 0.1);
    z-index: 1;
}

/* Fan rotation logic */
.class-fan-card[data-class="1"] {
    transform: translateX(-160px) rotate(-12deg);
    z-index: 10;
}

.class-fan-card[data-class="2"] {
    transform: translateX(0) rotate(0deg);
    z-index: 20;
}

.class-fan-card[data-class="3"] {
    transform: translateX(160px) rotate(12deg);
    z-index: 30;
}

/* Fan open on container hover */
.classes-fan-container:hover .class-fan-card[data-class="1"] {
    transform: translateX(-340px) rotate(-5deg);
}

.classes-fan-container:hover .class-fan-card[data-class="2"] {
    transform: translateX(0) rotate(0deg);
}

.classes-fan-container:hover .class-fan-card[data-class="3"] {
    transform: translateX(340px) rotate(5deg);
}

/* Clicked / Active state */
.class-fan-card.active {
    z-index: 100 !important;
    transform: scale(1.1) translateY(-20px) !important;
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(107, 74, 62, 0.3);
}

.class-fan-card.highlight.active {
    background: linear-gradient(135deg, var(--primary-dark), #5D4037);
    color: #FFFFFF;
}

.class-fan-card.highlight.active p,
.class-fan-card.highlight.active .class-title,
.class-fan-card.highlight.active .class-number {
    color: rgba(255, 255, 255, 0.9);
}

.class-fan-card.highlight.active .class-title {
    color: #FFFFFF;
}

.class-status {
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .class-fan-card {
        padding: 15px !important;
        /* Extremely compact for mobile */
    }

    .class-fan-card .class-number {
        font-size: 0.7rem !important;
        margin-bottom: 4px;
    }

    .class-fan-card .class-title {
        font-size: 1rem !important;
        margin-bottom: 6px;
        line-height: 1.1;
    }

    .class-fan-card .class-description {
        font-size: 0.75rem !important;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .class-status {
        font-size: 0.6rem !important;
        margin-top: 5px;
    }

    .class-badge-v2 {
        margin-top: 10px !important;
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
    }
}

.class-badge-v2 {
    margin-top: 25px;
    display: inline-block;
    background: #2E8B57;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.class-badge-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 214, 149, 0.4);
}

@media (max-width: 900px) {
    .classes-fan-container {
        height: 500px;
        margin: 40px auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
        transform: none;
        /* Let the cards position themselves */
    }

    .class-fan-card {
        width: 250px;
        height: 380px;
        position: absolute;
    }

    /* Proportional spread for smaller screens */
    .class-fan-card[data-class="1"] {
        transform: translateX(-40px) rotate(-10deg);
    }

    .class-fan-card[data-class="2"] {
        transform: translateX(0) rotate(0deg);
    }

    .class-fan-card[data-class="3"] {
        transform: translateX(40px) rotate(10deg);
    }

    /* Open state on tap/hover */
    .classes-fan-container:hover .class-fan-card[data-class="1"] {
        transform: translateX(-110px) rotate(-5deg);
    }

    .classes-fan-container:hover .class-fan-card[data-class="3"] {
        transform: translateX(110px) rotate(5deg);
    }

    .class-fan-card.active {
        transform: scale(1.15) translateY(-30px) !important;
        z-index: 500 !important;
    }
}

@media (max-width: 480px) {
    .classes-fan-container {
        height: 450px;
    }

    .class-fan-card {
        width: 200px;
        height: 320px;
    }

    .class-fan-card[data-class="1"] {
        transform: translateX(-30px) rotate(-8deg);
    }

    .class-fan-card[data-class="3"] {
        transform: translateX(30px) rotate(8deg);
    }

    .classes-fan-container:hover .class-fan-card[data-class="1"] {
        transform: translateX(-80px) rotate(-4deg);
    }

    .classes-fan-container:hover .class-fan-card[data-class="3"] {
        transform: translateX(80px) rotate(4deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .authority-section {
        gap: 30px;
    }

    .guarantee-family-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .guarantee-text-family {
        text-align: center;
        align-items: center;
    }
}

/* --- Alternating and Secondary Family Blocks --- */
.family-section.alternate {
    background: transparent;
}

.family-section.alternate .family-content {
    grid-template-columns: 1.5fr 1fr;
}

.family-image-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.family-photo-secondary {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(155, 107, 94, 0.15);
}

@media (max-width: 768px) {
    .family-section.alternate .family-content {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
    }
}

/* --- Instagram Reels Feed Mockup (V2) --- */
.reels-feed-container {
    max-width: 400px;
    height: 700px;
    margin: 40px auto;
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    border: 8px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.reels-feed-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome/Safari */

.reel-item {
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reel-item>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure no other images like logos leak into the items */
.reel-item>img:not(.reel-avatar) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    cursor: pointer;
}

.reel-main-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Below user/actions but covers the image */
}

.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    z-index: 2;
}

.reel-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.reel-avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    object-position: center 20%;
    /* Center Pati's head */
    flex-shrink: 0;
}

.reel-username {
    font-weight: 600;
    font-size: 0.9rem;
}

.reel-user-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reel-user-link:hover .reel-username {
    text-decoration: underline;
}

.reel-heart-icon {
    transition: transform 0.2s ease;
}

.reel-action-btn:hover .reel-heart-icon {
    transform: scale(1.1);
}

.reel-actions {
    position: absolute;
    right: 12px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    z-index: 3;
}

.reel-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.reel-action-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.reel-action-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reel-action-btn:hover svg {
    transform: scale(1.15);
}

/* --- Social Proof Notification --- */
.social-proof-toast {
    position: fixed;
    bottom: 30px;
    left: -400px;
    /* Hidden initially */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(155, 107, 94, 0.2);
    padding: 16px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(155, 107, 94, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
}

.social-proof-toast.visible {
    left: 30px;
}

.toast-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(155, 107, 94, 0.3);
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.toast-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .social-proof-toast {
        bottom: 25px;
        left: -350px;
        padding: 12px 16px;
        max-width: 260px;
        border-radius: 16px;
    }

    .social-proof-toast.visible {
        left: 20px;
    }

    .toast-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .toast-title {
        font-size: 0.85rem;
    }
}