/* --- Root Variables from Your Provided Scheme --- */
:root {
    /* Palette */
    --palette-deep-maroon: #d24a68;
    --palette-maroon: #d1728d;
    --palette-crimson: #d1728d;
    --palette-bright-crimson: #E33D6D;
    --palette-blush: #F9A0B0;

    /* UI Colors */
    --accent-color: var(--palette-crimson);
    --accent-color-darker: #b85f7a;
    --accent-color-hover: var(--palette-bright-crimson);
    --accent-color-focus-ring: rgba(232, 243, 183, 0.3);
    --accent-text-on-light-bg: #a5526a;

    /* Backgrounds */
    --bg-color-main: #f7faf4 ;
    --bg-color-surface: #F8F7F0;
    --bg-color-subtle: #ffffff;

    /* Text */
    --text-color-primary: #38232A;
    --text-color-secondary: #654F56;
    --text-color-on-accent: #ffffff;

    /* Borders */
    --border-color: #e6dde0;
    --border-color-strong: #c8b8bd;

    /* Typography & Sizing */
    --font-family-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --border-radius-card: 12px;
    --border-radius-button: 8px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    line-height: 1.7;
    color: var(--text-color-secondary);
    background-color: var(--bg-color-main);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout --- */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.inner-container {
    max-width: 85%;
    margin: 0 auto;
}

section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}
section:last-of-type {
    border-bottom: none;
}



/* --- Typography --- */
h1, h2, h3 {
    color: var(--text-color-primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 900; 
    background: linear-gradient(135deg, var(--text-color-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2.section-title { 
    font-size: 2.5rem; 
    text-align: center; 
    margin-bottom: 4rem; 
}

h3 { 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
    color: var(--accent-color);
}

p { margin-top: 0; }

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: var(--bg-color-main);
    position: relative;
    overflow: hidden;
    top: -20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(246, 249, 160, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 1.5rem auto 2.5rem;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: var(--border-radius-card);
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    animation: slideInUp 0.8s ease-out;
}

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

.stat-item p {
    margin: 0;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 247, 240, 0.9));
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    color: var(--text-color-secondary);
    border-radius: var(--border-radius-card);
    margin-top: 4rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}



@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color-hover), var(--palette-deep-maroon));
    color: var(--text-color-on-accent);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-button);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0.4;
}


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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 74, 104, 0.3);
}

.cta-button.secondary {
    background: linear-gradient(135deg, var(--text-color-secondary), var(--text-color-primary));
}

.cta-button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 34, 42, 0.3);
}

/* --- Features Section --- */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    animation: fadeInUp 0.8s ease-out;
}

.feature-item.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-item.reverse .feature-text {
    order: 2;
}

.feature-item.reverse .feature-image {
    order: 1;
}

.feature-text ul {
    list-style: none;
    padding-left: 0;
}

.feature-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.reality-check{
    margin-left: 10%;
    margin-right: 10%;
}


.image-placeholder {
    background: linear-gradient(135deg, var(--bg-color-subtle), var(--bg-color-surface));
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-color-secondary);
    border-radius: var(--border-radius-card);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}



/* --- Problem/Pain Points Section --- */

.masonry-container {
    margin: 3rem auto;
    column-gap: 1rem;
    column-width: 200px;
    max-width: 100%;
    position: relative;
    left:random(0px, 20px); /* Slight random offset for playful effect */
    top: random(0px, 20px);
}
   
.pain-point {
    background:white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px dashed rgba(210, 74, 104, 0.2);
    margin-bottom: 2rem;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
}

.pain-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(199, 166, 173, 0.2);
    border-color: rgba(210, 74, 104, 0.4);
}

.pain-point h4 {
    color: #d24a68;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pain-point p {
    color: var(--text-color-primary);
    line-height: 1.6;
    margin: 0;
}

.pain-point.short {
    padding: 1.2rem 1.5rem;
}

.pain-point.short h4 {
    font-size: 1rem;
}

.pain-point.short p {
    font-size: 0.9rem;
}


/* --- Testimonials Section --- */
.testimonial-card {
    position: relative;
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, white, rgba(248, 247, 240, 0.8));
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
    z-index: 1;
}

/* --- How It Works Section --- */
.how-it-works-item {
    background: linear-gradient(135deg, white, rgba(249, 160, 176, 0.05));
    padding: 3rem 2rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.how-it-works-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--palette-blush));
}

.how-it-works-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-card);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 160, 176, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover, .pricing-card.highlight:hover {
    transform: translateY(-5%);
}

.pricing-card.highlight {

    border: 2px dashed var(--accent-color);
    transform: scale(1.05);
    background: white;
    position: relative;
}

.pricing-card h3 {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.pricing-card.highlight h3 {
     color: var(--palette-deep-maroon);
}

.pricing-card .price-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-duration {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
}

.trial-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    
    border-radius: var(--border-radius-card);
   
    
}

/* --- Legal & FAQ Section --- */
.legal-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, var(--bg-color-subtle), rgba(249, 160, 176, 0.05));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-button);
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--palette-blush));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    outline: none;
    color: var(--text-color-primary);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.faq-item[open] > summary {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.faq-item p {
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-card {
    background: linear-gradient(135deg, var(--bg-color-main), white);
    padding: 2rem;
    padding-left: 3.5rem;
    border-radius: var(--border-radius-card);
    transition: all 0.3s ease-in-out;
    position: relative;
    margin: 10px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}



.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--palette-blush), var(--accent-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.benefit-card:hover::after {
    transform: translateX(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color-primary);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-color-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Footer --- */
footer {
    background: linear-gradient(135deg, var(--accent-color), var(--palette-deep-maroon));
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

footer::before {
    content: '💗';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

footer p {
    margin: 0.5rem 0;
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .feature-item, .feature-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .feature-item.reverse .feature-text,
    .feature-item.reverse .feature-image {
        order: 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2.section-title { font-size: 2rem; }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.highlight {
        transform: scale(1);
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .hero::before {
        animation: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2.section-title { font-size: 1.5rem; }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding-left: 2.5rem;
    }
    
    .benefit-card::before {
        left: 1rem;
    }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* --- Enhanced Animations for Elements --- */
.feature-item,
.benefit-card,
.pricing-card,
.testimonial-card {
    animation: fadeInUp 0.8s ease-out;
}

.pain-point,
.how-it-works-item {
    animation: slideInUp 0.6s ease-out;
}

/* --- Focus States for Accessibility --- */
.cta-button:focus,
.faq-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- Special Effects for Playful Touch --- */
.hero h1 {
    background: linear-gradient(135deg, var(--text-color-primary), var(--accent-color), var(--palette-blush));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 2s ease-in-out infinite;
}

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

/* --- Loading and Interactive States --- */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Fun Hover Effects --- */
.stat-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
}

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

/* --- Pro Tip Boxes --- */
.feature-text p[style*="background"] {
    position: relative;
    overflow: hidden;
}

@keyframes float {
    0% {
      /* Start at the original position */
      transform: translateY(0px);
    }
    50% {
      /* Move up by 10 pixels */
      transform: translateY(-10px);
    }
    100% {
      /* Return to the original position */
      transform: translateY(0px);
    }
  }
  
  /* * 2. Apply the animation to a class
   * We'll create a class called '.floating-logo'
   */
  .floating-logo {
    animation-name: float;
    animation-duration: 3s;           /* How long one full bob takes */
    animation-iteration-count: infinite; /* Loop the animation forever */
    animation-timing-function: ease-in-out; /* Makes the bob smooth */
  }