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

:root {
    --background-dark: #111111;
    --background-page: #ffffff;
    --primary-purple: #24132d;
    --primary-green: #14c85b;
    --primary-green-dark: #0ea94a;
    --alert-red: #ff1f1f;
    --text-dark: #171717;
    --text-muted: #666666;
    --border-light: #e8e8e8;
    --soft-purple: #f4ebf8;
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --font-primary: 'Poppins', sans-serif;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 4px 15px rgba(20, 200, 91, 0.3);
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #252525;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Base Wrapper for Mobile-First Central Column */
.main-wrapper {
    width: 100%;
    max-width: 480px;
    background: var(--background-page);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Sections */
section {
    padding: 40px 24px;
    position: relative;
}

/* Layout alternating backgrounds */
.bg-dark {
    background-color: var(--background-dark);
    color: #ffffff;
}

.bg-purple-dark {
    background-color: var(--primary-purple);
    color: #ffffff;
}

.bg-soft-purple {
    background-color: var(--soft-purple);
    color: var(--primary-purple);
}

.bg-white {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
}

h3 {
    font-size: 1.4rem;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: inherit;
    margin-bottom: 16px;
}

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

.text-muted {
    color: var(--text-muted);
}

.bg-dark .text-muted, 
.bg-purple-dark .text-muted {
    color: #a0a0a0;
}

.alert-text {
    color: var(--alert-red);
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    background: var(--primary-green);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 200, 91, 0.45);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(20, 200, 91, 0.25);
}

.btn-premium-style {
    background: linear-gradient(
        45deg,
        rgb(0, 148, 68),
        rgb(0, 148, 68),
        rgb(0, 224, 105),
        rgb(0, 148, 68)
    );
    background-size: 200% 200%;
    background-position: 30% 50%;

    border: unset;
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(97, 206, 112, 1);

    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-position 0.4s ease,
        filter 0.25s ease;
}

.btn-premium-style:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 0 3px rgba(97, 206, 112, 1),
        0 10px 25px rgba(0, 148, 68, 0.35);
    filter: brightness(1.08);
}

.btn-premium-style:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 0 0 3px rgba(97, 206, 112, 1),
        0 4px 12px rgba(0, 148, 68, 0.25);
}

.btn-subtext {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    display: block;
}

/* Badge/Tag */
.badge-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-tag.purple-light {
    background-color: var(--soft-purple);
    color: var(--primary-purple);
}

.badge-tag.alert {
    background-color: var(--alert-red);
    color: #ffffff;
}

.badge-tag.green-light {
    background: rgba(20, 200, 91, 0.15);
    color: var(--primary-green-dark);
}

/* Images styles */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-medium);
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: var(--radius-medium);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

.card.premium-style {
    border: 2px solid var(--primary-purple);
    background: linear-gradient(180deg, #ffffff 0%, var(--soft-purple) 100%);
    position: relative;
    overflow: hidden;
}

.card.premium-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-green));
}

.community-card {
    padding: 20px;
}

.community-media {
    margin: -4px -4px 20px -4px;
}

.community-media img {
    width: 100%;
    border-radius: var(--radius-medium);
}

.community-list {
    margin-bottom: 0;
}

.community-list li {
    align-items: flex-start;
    font-size: 0.95rem;
}

.founder-section {
    text-align: center;
}

.founder-card {
    margin-top: 24px;
    padding: 28px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #faf5fd 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.founder-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px auto;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-medium);
}

.founder-content {
    text-align: left;
}

.founder-content h3 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 16px;
}

.founder-content p:last-of-type {
    margin-bottom: 0;
}

.founder-cta {
    margin-top: 20px;
    padding: 18px;
    border-radius: var(--radius-medium);
    background: var(--primary-purple);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Hero Section */
.hero-section {
    padding-top: 50px;
    padding-bottom: 40px;
    text-align: center;
}

.hero-image-wrapper {
    margin: 24px 0;
    position: relative;
}

.hero-image-wrapper img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

/* Discovery Section */
.discovery-section {
    text-align: center;
}

.discovery-image-wrapper {
    margin-top: 24px;
}

/* Economy Section */
.economy-section {
    background: #fafafa;
}

.economy-grid {
    margin-top: 24px;
}

.economy-image-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.economy-stack-image {
    width: 100%;
    height: auto;
    display: block;
    background: #ffffff;
}

.economy-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: var(--radius-medium);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.economy-card-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
    background: #eaeaea;
}

.economy-card-info {
    flex-grow: 1;
}

.economy-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
    line-height: 1.3;
}

.economy-card-price-old {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.economy-card-included {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary-green-dark);
    font-size: 0.85rem;
    margin-top: 2px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: var(--primary-green);
    border-radius: 50%;
    color: white;
    font-size: 0.6rem;
    font-weight: bold;
}

/* Genres Chips */
.genres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.genre-chip {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.genre-chip:hover {
    background: var(--soft-purple);
    border-color: var(--primary-purple);
    transform: translateY(-1px);
}

/* Benefits Section */
.benefits-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: var(--radius-small);
}

.bg-white .benefit-item {
    background: var(--soft-purple);
}

.benefit-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.benefit-content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.benefit-content p {
    margin-bottom: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Bonus Cards */
.bonus-header {
    text-align: center;
    margin-bottom: 24px;
}

.bonus-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #3d234a 100%);
    color: #ffffff;
    border-radius: var(--radius-large);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-medium);
}

.bonus-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: rgba(20, 200, 91, 0.1);
    border-radius: 50%;
}

.bonus-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-green);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.bonus-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Steps - How it Works */
.steps-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.step-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-info p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Testimonials Carousel */
.testimonials-section {
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

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

.testimonial-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 10px;
}

.testimonial-bubble {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-left: 10px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--soft-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 0.85rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.testimonial-stars {
    color: #ffb800;
    font-size: 0.85rem;
}

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

.carousel-btn {
    background: var(--primary-purple);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s, background-color 0.2s;
}

.carousel-btn:hover {
    background: #3c1f4b;
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.testimonial-disclaimer {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 14px;
    opacity: 0.7;
}

/* Guarantee Section */
.guarantee-container {
    text-align: center;
}

.guarantee-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px auto;
    object-fit: contain;
}

/* Offers Section */
.price-tag {
    margin: 16px 0;
    text-align: center;
}

.price-old {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-new {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1.1;
    margin: 4px 0;
}

.bg-dark .price-new,
.bg-purple-dark .price-new {
    color: #ffffff;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.offer-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* FAQ Accordion */
.faq-list {
    margin-top: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 16px 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-green-dark);
}

.faq-icon {
    font-size: 1.1rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-green-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 8px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(0.95, 0.05, 0.795, 0.035);
}

.faq-answer p {
    padding-bottom: 16px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 24px;
    background: #0a0a0a;
    color: #888888;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.6;
    border-top: 1px solid #1a1a1a;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-nav a {
    color: #bbbbbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    margin-top: 20px;
    border-top: 1px solid #1a1a1a;
    padding-top: 16px;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow-y: auto;
    max-height: calc(100vh - 32px);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px 24px 24px 24px;
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.modal-content {
    text-align: center;
}

.modal-badge-seal {
    width: 65px;
    height: 65px;
    margin: 10px auto 16px auto;
    background: radial-gradient(circle, var(--soft-purple) 0%, #eadaf5 100%);
    border: 2px dashed var(--primary-purple);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary-purple);
    line-height: 1.1;
}

.modal-decline-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-decline-link:hover {
    color: var(--text-dark);
}

/* Sold Out Page Specific Styles */
.soldout-header {
    text-align: center;
    padding-top: 24px;
}

.soldout-info-box {
    background: #1e1e1e;
    border-radius: var(--radius-medium);
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid #333333;
}

.soldout-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 31, 31, 0.15);
    color: var(--alert-red);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--alert-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.soldout-explanation {
    font-size: 0.8rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-top: 24px;
    text-align: justify;
}

.bounce-animation {
  animation: bounceAnimation 1.2s ease-in-out infinite;
}

@keyframes bounceAnimation {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.01);
  }
}

/* Breakpoints for extra styling microadjustments */
@media (max-width: 360px) {
    section {
        padding: 30px 16px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn-primary {
        font-size: 0.95rem;
        min-height: 54px;
    }
}

@media (min-width: 391px) {
    /* Subtle enhancements for larger mobiles */
}

@media (min-width: 430px) {
    /* Adjust container shadow and scale */
}

@media (min-width: 768px) {
    /* Desktop optimization (since columns are constrained to 480px) */
    body {
        padding: 20px 0;
    }
    .main-wrapper {
        border-radius: var(--radius-large);
        min-height: calc(100vh - 40px);
        margin: 20px 0;
        overflow: hidden;
    }
}
