:root {
    --bg-color: #ffffff; /* White */
    --text-primary: #000000; /* Black */
    --text-secondary: #333333; /* Dark grey */
    --cta-green: #4cb050; /* Green from image */
    --cta-green-shadow: #1b7a20; /* Dark green for 3D effect */
    --highlight-red: #ff0000; /* Bright red */
    --card-bg: #ffffff;
    --border-radius: 20px;
    --shadow: none;
    --transition-speed: 0.4s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Top Nav */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 10px 24px;
    width: 100%;
    z-index: 10;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.logo-container img {
    height: 40px;
    object-fit: contain;
}

/* Progress Bar (Pill style) */
.progress-wrapper {
    width: 100%;
    padding: 0 24px 20px 24px;
    z-index: 10;
}

.progress-track {
    width: 100%;
    height: 12px;
    background-color: #f0f4f8;
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--cta-green);
    width: 0%;
    border-radius: 20px;
    transition: width var(--transition-speed) ease-in-out;
}



.hidden {
    display: none !important;
}

/* Steps */
.step {
    display: flex;
    flex-direction: column;
    padding: 10px 24px 40px 24px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-y: auto;
}

.step.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 5;
    position: relative; /* Allows content to expand */
}

/* Typography & Colors */
.header {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.highlight-red {
    color: var(--highlight-red);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-red-text {
    color: var(--highlight-red);
}

.main-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight-green-text {
    color: #00a82d; /* Specific bright green for text */
}

.question-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

/* Images */
.hero-image-container, .testimonial-image {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: scale(0.95);
    animation: scaleIn 0.8s forwards;
}

.hero-image, #whatsapp-placeholder {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Buttons and Options */
.cta-button {
    background-color: var(--cta-green);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 6px 0 var(--cta-green-shadow);
    transition: all 0.1s ease;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.cta-button:active {
    transform: translateY(6px);
    box-shadow: 0 0px 0 var(--cta-green-shadow);
}

.pulse {
    animation: pulseAnim 2s infinite;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.options-grid.list-view {
    gap: 12px;
}

.option-btn {
    background-color: #f8f9fa; /* Very light grey */
    border: 1px solid #e0e4e8;
    color: var(--text-primary); /* Dark text for options */
    border-radius: 12px;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.option-btn:hover {
    border-color: var(--cta-green);
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.option-btn.selected {
    border-color: var(--cta-green);
    background-color: rgba(76, 176, 80, 0.05);
    color: var(--cta-green);
}

/* Image Options Layout */
.option-btn.with-image {
    display: flex;
    align-items: center;
    padding: 16px;
    text-align: left;
}

.option-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    background-color: transparent;
    mix-blend-mode: multiply;
}

.option-text {
    flex-grow: 1;
    text-align: center;
    padding-right: 40px; /* Offset to keep text somewhat centered visually */
}

/* Circle Options Layout */
.option-btn.with-circle {
    display: flex;
    align-items: center;
    padding: 20px 24px;
}

.option-text-center {
    flex-grow: 1;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    padding-left: 28px; /* Balance the circle width for true centering */
    line-height: 1.4;
}

.circle-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--cta-green);
    background-color: #ffffff;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
}

.option-btn.selected .circle-check {
    background-color: var(--cta-green);
}

.option-btn.selected .circle-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
}

/* Emoji Options Layout */
.option-btn.with-emoji {
    display: flex;
    align-items: center;
    padding: 20px 24px;
}

.emoji-icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-left: auto;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
    text-align: center;
}
.secondary-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background-color: transparent;
}

.flex-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mt-4 { margin-top: 24px; }

/* Interstitial Pages */
.interstitial {
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--cta-green);
    color: white;
}

.interstitial h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.interstitial p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.interstitial .cta-button {
    background-color: white;
    color: var(--cta-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.interstitial .cta-button:hover {
    background-color: #f0f0f0;
}

.interstitial .secondary-btn {
    border-color: white;
    color: white;
}
.interstitial .secondary-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Interstitial Alert (White BG) */
.interstitial-alert-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 20px;
}

.yellow-badge {
    background-color: #fce205; /* Bright yellow */
    color: #000000;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 8px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: inline-block;
    text-align: center;
}

.alert-main-text {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.alert-image-container {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.article-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Snippet (Replaces Image) */
.article-snippet {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
    padding: 0 5px;
}

.highlight-blue {
    background-color: #e6f0fa; /* Light blue highlight */
    padding: 2px 0;
}

.instagram-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f0f2f5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #65676b;
    margin-top: 10px;
    font-weight: 600;
}

.ig-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #E1306C;
}

/* Carousel Styles */
.carousel-wrapper {
    margin: 0 auto;
}

.carousel-container {
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* Sombras suaves para parecer um card moderno */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.carousel-btn:active {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-btn.prev-btn {
    left: 12px;
}

.carousel-btn.next-btn {
    right: 12px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: #b0b0b0;
}

/* VSL Container */
.vsl-container {
    text-align: center;
}

.alert-box {
    background-color: rgba(255, 59, 48, 0.1);
    border: 2px solid var(--highlight-red);
    color: var(--highlight-red);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.vsl-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Specific Layout Elements */
.sub-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.alert-footer {
    text-align: center;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-top: 10px;
    padding: 0 10px;
}

.alert-badge {
    background-color: var(--highlight-red);
    color: white;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 4px;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseAnim {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Analyzing Screen */
.analyzing-progress-wrapper {
    width: 100%;
    max-width: 400px;
    height: 32px;
    background-color: transparent;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.analyzing-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #1b7a20, #4cb050); /* Dark green to lighter green */
    width: 0%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.1s linear;
}

#analyzing-text {
    color: white;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Sales Notification */
.sales-notification {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    background-color: #10c950;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    z-index: 100;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    display: flex;
    align-items: center;
    border-bottom: 4px solid #0e9a3d;
}

.sales-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.sales-notification.hidden {
    display: none !important;
}

.sn-content {
    display: flex;
    flex-direction: column;
}

.sn-title {
    color: white;
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.sn-name {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

/* ========================================================
   TRUSTPILOT CONTINUOUS INFINITE MARQUEE (ETAPA 18)
   ======================================================== */
.tp-marquee-wrapper {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px;
}

.tp-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: tpContinuousScroll 36s linear infinite;
    will-change: transform;
    padding-left: 14px;
}

.tp-marquee-track:hover,
.tp-marquee-track:active,
.tp-marquee-track.is-paused {
    animation-play-state: paused;
}

@keyframes tpContinuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 7px));
    }
}

.trustpilot-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 18px;
    width: 275px;
    min-width: 275px;
    max-width: 275px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    text-align: left;
    flex-shrink: 0;
    user-select: none;
}
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    text-align: left;
    flex-shrink: 0;
    user-select: none;
}

.tp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tp-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
}

.tp-star-logo {
    background: #00b67a;
    color: #ffffff;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.tp-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #00b67a;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0, 182, 122, 0.08);
    padding: 3px 8px;
    border-radius: 12px;
}

.tp-stars-row {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tp-star-box {
    background: #00b67a;
    color: #ffffff;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 2px;
}

.tp-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 8px;
}

.tp-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    text-align: left;
}

.tp-review-body {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.48;
    margin: 0;
    text-align: left;
}

.tp-photo-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 4px;
}

.tp-dog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.tp-photo-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.tp-user-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 2px;
}

.tp-user-initial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.tp-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tp-user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.tp-user-country {
    font-size: 0.75rem;
    color: #64748b;
}

.tp-touch-hint {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: -6px;
    margin-bottom: 24px;
}
