:root {
    --primary-color: #FF6B6B;
    --primary-light: #FFD1D1;
    --primary-dark: #E55757;
    --secondary-color: #3498DB;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #FFF8EE;
    --background-alt: #F5F5F5;
    --border-color: #F0F0F0;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --section-spacing: 80px;
    --pain-red: #FF2D2D;
    --pain-dark: #1A1A2E;
    --pain-accent: #FFD700;
    --success-green: #00C853;
}

/* ========================================
   PAIN-FIRST HERO SECTION
   ======================================== */

.pain-hero {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.pain-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 45, 45, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.pain-hero .container {
    position: relative;
    z-index: 1;
}

.pain-hero .hero-content {
    text-align: left;
}

.pain-badge {
    display: inline-block;
    background: rgba(255, 45, 45, 0.2);
    border: 1px solid var(--pain-red);
    color: var(--pain-red);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pain-text {
    display: block;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.pain-highlight {
    display: block;
    color: var(--pain-red);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(255, 45, 45, 0.3);
}

.pain-list {
    margin: 32px 0;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.5;
}

.pain-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--pain-red);
    color: white;
    font-weight: 900;
    font-size: 0.85rem;
    border-radius: 6px;
    margin-top: 2px;
}

.hero-solution {
    color: white;
    font-size: 1.3rem;
    margin: 32px 0;
    line-height: 1.6;
}

.hero-solution strong {
    color: var(--pain-accent);
}

.pain-hero .cta-buttons {
    margin-bottom: 0;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.pain-hero .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--pain-red) 100%);
    border: none;
    box-shadow: 0 8px 30px rgba(255, 45, 45, 0.4);
}

.pain-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 45, 45, 0.5);
}

.pain-hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.pain-hero .btn-secondary:hover {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Phone mockup with ad overlays */
.phone-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.phone-mockup img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    filter: brightness(0.7) blur(1px);
}

.ad-overlay {
    position: absolute;
    background: rgba(255, 235, 59, 0.95);
    color: #333;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    animation: ad-shake 2s ease-in-out infinite;
    border: 2px solid #F57F17;
}

.ad-overlay .ad-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.ad-1 {
    top: 15%;
    left: -10%;
    transform: rotate(-5deg);
    animation-delay: 0s;
}

.ad-2 {
    top: 45%;
    right: -15%;
    transform: rotate(3deg);
    animation-delay: 0.5s;
    background: rgba(255, 82, 82, 0.95);
    color: white;
    border-color: #D32F2F;
}

.ad-3 {
    bottom: 15%;
    left: 5%;
    transform: rotate(-2deg);
    animation-delay: 1s;
    background: rgba(33, 150, 243, 0.95);
    color: white;
    border-color: #1565C0;
}

@keyframes ad-shake {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    25% { transform: rotate(-3deg) translateY(-5px); }
    50% { transform: rotate(-7deg) translateY(3px); }
    75% { transform: rotate(-4deg) translateY(-3px); }
}

/* ========================================
   THE PROBLEM SECTION
   ======================================== */

.the-problem {
    padding: 80px 0;
    background: #f8f8f8;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--pain-red), var(--primary-color));
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--pain-red);
    line-height: 1;
    display: inline;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pain-red);
    display: inline;
    margin-left: 4px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.4;
}

/* Comparison Section */
.problem-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.comparison-bad h3,
.comparison-good h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.comparison-vs {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
}

.comparison-mockup {
    padding: 24px;
    border-radius: 16px;
    min-height: 320px;
    font-size: 0.9rem;
}

.bad-mockup {
    background: #fff;
    border: 2px solid #ffcdd2;
    position: relative;
    overflow: hidden;
}

.mock-ad {
    background: #ffeb3b;
    color: #333;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    animation: ad-flash 3s ease-in-out infinite;
}

.mock-story {
    color: #999;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 8px;
}

.mock-popup {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.mock-recipe-hidden {
    color: #ccc;
    font-size: 0.75rem;
    text-align: center;
    font-style: italic;
    padding: 12px;
    border-top: 1px dashed #eee;
}

.good-mockup {
    background: #fff;
    border: 2px solid var(--success-green);
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.15);
}

.mock-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.mock-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.mock-ingredient {
    padding: 6px 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.mock-qty {
    color: var(--primary-color);
    font-weight: 700;
}

.mock-step {
    padding: 6px 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.mock-num {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========================================
   SOLUTION REVEAL SECTION
   ======================================== */

.solution-reveal {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
    text-align: center;
}

.solution-reveal h2 {
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 20px;
}

.strikethrough {
    text-decoration: line-through;
    color: var(--pain-red);
    text-decoration-color: var(--pain-red);
    text-decoration-thickness: 3px;
}

.solution-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Dancing Mascot */
.dancing-mascot-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.dancing-mascot {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pain-accent, #FFD700);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), 0 0 60px rgba(255, 107, 107, 0.15);
    animation: mascot-bounce 3s ease-in-out infinite;
}

@keyframes mascot-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(3deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-3deg); }
}

/* ========================================
   NEW FEATURE GRID
   ======================================== */

.feature-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.feature-card-new {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-new.featured-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.feature-icon-new {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card-new h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card-new p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */

.social-proof-section {
    padding: 60px 0;
    background: white;
}

.proof-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.proof-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 50px;
    background: #e0e0e0;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, #1A1A2E 0%, var(--pain-red) 100%);
}

.final-cta h2 {
    font-size: 3rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badges span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.trust-badges span::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.price-note {
    color: var(--success-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* ========================================
   RESPONSIVE - PAIN SECTIONS
   ======================================== */

@media (max-width: 768px) {
    .pain-text {
        font-size: 2.2rem;
    }

    .pain-highlight {
        font-size: 2.8rem;
    }

    .problem-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-vs {
        font-size: 1.5rem;
    }

    .feature-grid-new {
        grid-template-columns: 1fr;
    }

    .solution-reveal h2 {
        font-size: 2rem;
    }

    .dancing-mascot {
        width: 100px;
        height: 100px;
    }

    .final-cta h2 {
        font-size: 2rem;
    }

    .proof-banner {
        gap: 20px;
    }

    .proof-divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .pain-text {
        font-size: 1.8rem;
    }

    .pain-highlight {
        font-size: 2.2rem;
    }

    .pain-item {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background-color: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-color);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
header {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 12px;
    filter: brightness(0) saturate(100%) invert(55%) sepia(82%) saturate(2140%) hue-rotate(324deg) brightness(100%) contrast(96%);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

nav .btn-primary {
    padding: 8px 20px;
    box-shadow: none;
}

nav .btn-primary:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(230, 126, 34, 0.1) 100%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-color);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    max-width: 75%; /* Reduced to 75% of original size */
    margin: 0 auto;
    display: block;
}

.hero-image {
    position: relative;
}

.hero-image .blob {
    display: none;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(-15deg);
    }
    25% {
        transform: translate(5px, -5px) rotate(-10deg);
    }
    50% {
        transform: translate(0, -10px) rotate(-5deg);
    }
    75% {
        transform: translate(-5px, -5px) rotate(-10deg);
    }
    100% {
        transform: translate(0, 0) rotate(-15deg);
    }
}

@keyframes popup-shake {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-5px, -5px);
    }
    20% {
        transform: translate(5px, 5px);
    }
    30% {
        transform: translate(-5px, 5px);
    }
    40% {
        transform: translate(5px, -5px);
    }
    50% {
        transform: translate(0, 0);
    }
    60% {
        transform: translate(-2px, -2px);
    }
    70% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(-2px, 2px);
    }
    90% {
        transform: translate(2px, -2px);
    }
}

@keyframes popup-float {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, -10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes ad-flash {
    0%, 100% {
        background-color: #f0f0f0;
    }
    50% {
        background-color: #ffeb3b;
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes exclamation-run {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    12.5% {
        transform: translate(50%, -30%) rotate(15deg);
    }
    25% {
        transform: translate(100%, 0) rotate(0deg);
    }
    37.5% {
        transform: translate(50%, 30%) rotate(-15deg);
    }
    50% {
        transform: translate(0, 50%) rotate(-30deg);
    }
    62.5% {
        transform: translate(-50%, 30%) rotate(-15deg);
    }
    75% {
        transform: translate(-100%, 0) rotate(0deg);
    }
    87.5% {
        transform: translate(-50%, -30%) rotate(15deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes exclamation-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

@keyframes exclamation-circle {
    0% {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
    }
}

@keyframes exclamation-zigzag {
    0% {
        transform: translate(0, 0) rotate(-10deg);
    }
    25% {
        transform: translate(20px, 15px) rotate(10deg);
    }
    50% {
        transform: translate(0, 30px) rotate(-10deg);
    }
    75% {
        transform: translate(-20px, 15px) rotate(10deg);
    }
    100% {
        transform: translate(0, 0) rotate(-10deg);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Brands Section */
.brands {
    padding: 40px 0;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brands .container {
    text-align: center;
}

.brands p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.brand-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.brand-logos span {
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Features Section */
.features {
    padding: var(--section-spacing) 0;
    background-color: var(--background-color);
}

.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.feature-highlight:last-child {
    margin-bottom: 0;
}

.feature-highlight.reverse {
    direction: rtl;
}

.feature-highlight.reverse .feature-content {
    direction: ltr;
}

.feature-content {
    max-width: 500px;
}

.measure-box {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.feature-icon {
    margin-bottom: 24px;
    display: inline-block;
}

.feature-icon img {
    height: 64px;
    width: 64px;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.feature-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.5;
}

.feature-list {
    margin-top: 15px;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 75%; /* Reduced to 75% of original size */
    margin: 0 auto;
    display: block;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-spacing) 0;
    background-color: var(--background-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.feature-icon i {
    color: var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.step p {
    color: var(--text-light);
}

/* About Section */
.about {
    padding: var(--section-spacing) 0;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-content {
    max-width: 500px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-light);
    line-height: 1.6;
}

.about-content .btn-primary {
    margin-top: 16px;
}

.about-image {
    position: relative;
    overflow: visible;
}

.about-image img {
    position: relative;
    z-index: 1;
}

/* Exclamation marks running around the edge of the ads.png image */
.about-image::before,
.about-image::after,
.about-image .exclamation-top,
.about-image .exclamation-right,
.about-image .exclamation-bottom {
    position: absolute;
    color: #ff0000;
    font-size: 36px;
    font-weight: 900;
    text-shadow: 2px 2px 0 #000;
    z-index: 2;
}

.about-image::before {
    content: '!!!';
    top: -5%;
    left: 20%;
    animation: exclamation-run 8s linear infinite;
}

.about-image::after {
    content: '!!!';
    bottom: 10%;
    right: -5%;
    animation: exclamation-run 6s linear infinite reverse;
}

.about-image .exclamation-top {
    top: -15%;
    left: 50%;
    font-size: 48px;
    transform-origin: bottom center;
    animation: exclamation-bounce 3s ease-in-out infinite;
}

.about-image .exclamation-right {
    top: 40%;
    right: -10%;
    font-size: 42px;
    transform: rotate(15deg);
    animation: exclamation-circle 7s linear infinite;
}

.about-image .exclamation-bottom {
    bottom: -10%;
    left: 30%;
    font-size: 36px;
    transform: rotate(-10deg);
    animation: exclamation-zigzag 5s ease-in-out infinite alternate;
}

.about-image .blob::before {
    content: '!!!';
    position: absolute;
    top: 50%;
    left: -10%;
    color: #ff0000;
    font-size: 42px;
    font-weight: 900;
    text-shadow: 2px 2px 0 #000;
    animation: exclamation-run 7s linear infinite;
    z-index: 2;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.about-image .blob {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    background-color: rgba(230, 126, 34, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    animation: blob-animation 8s ease-in-out infinite alternate;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-spacing) 0;
    background-color: var(--background-alt);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card.featured {
    background-color: var(--primary-color);
    color: white;
}

.testimonial-card.featured .testimonial-rating,
.testimonial-card.featured strong {
    color: white;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: block;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author p {
    margin-bottom: 0;
    font-style: normal;
}

.testimonial-author strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Sample Recipe Section */
.sample-recipe {
    padding: var(--section-spacing) 0;
    background-color: var(--background-alt);
}

.recipe-container {
    max-width: 800px;
    margin: 0 auto;
}

.recipe-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 30px;
}

/* App Style Recipe Card */
.recipe-card.app-style {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

.recipe-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.recipe-favorite {
    display: flex;
}

.favorite-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.favorite-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.recipe-header {
    margin-bottom: 30px;
}

.recipe-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--text-color);
}

.recipe-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.recipe-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.serving-container {
    display: flex;
    align-items: center;
}

.serving-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: 20px;
}

.serving-selector .fa-users {
    color: var(--primary-color);
    margin-right: 8px;
}

.serving-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0 8px;
}

.serving-info:hover {
    color: var(--primary-color);
}

.serving-btn {
    background-color: var(--background-alt);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.serving-btn:disabled,
.serving-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.serving-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.serving-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.recipe-tag {
    background-color: var(--primary-light);
    color: black;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Recipe Toggle Wrapper */
.recipe-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 30px;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-all-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-all-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Ingredients Section */
.recipe-ingredients-section {
    margin-bottom: 30px;
}

.section-header-with-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

#toggle-ingredients-text {
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
}

.ingredients-header {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.toggle-ingredients-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: transform 0.3s ease;
}

.toggle-ingredients-btn.collapsed {
    transform: rotate(180deg);
}

.recipe-ingredients {
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 1000px;
}
.recipe-ingredients.collapsed {
    max-height: 0;
}

.recipe-ingredients.collapsed {
    max-height: 0;
}

#ingredients-header-clickable {
    cursor: pointer;
}

.ingredient-row {
    display: flex;
    margin-bottom: 10px;
    padding-left: 24px;
    align-items: flex-start;
}

.quantity-text {
    font-weight: bold;
    min-width: 80px;
    margin-right: 12px;
    color: var(--primary-color);
}

.ingredient-text {
    flex: 1;
}

/* Instructions Section */
.recipe-instructions-section {
    margin-bottom: 30px;
}

.instructions-header {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: var(--text-color);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.instruction-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.instruction-number-container {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.instruction-number {
    font-weight: bold;
    color: var(--primary-color);
}

.instruction-text-container {
    flex: 1;
}

.instruction-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.quantity-highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.ingredient-highlight {
    font-weight: bold;
    color: var(--text-color);
}

.prep-highlight {
    font-style: italic;
    color: var(--text-light);
}

/* Animation for updated quantities */
.updated {
    animation: highlight-update 0.5s ease-in-out;
}

@keyframes highlight-update {
    0% { background-color: transparent; }
    50% { background-color: var(--primary-light); }
    100% { background-color: transparent; }
}

/* Recipe Feedback */
.recipe-feedback {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.feedback-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feedback-buttons {
    display: flex;
    gap: 15px;
}

.feedback-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feedback-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.recipe-ingredients {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.recipe-ingredients.collapsed {
    max-height: 0;
}

.simple-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 20px;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-group span {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.toggle-buttons {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    background-color: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.toggle-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.mode-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode-switch span {
    font-size: 0.8rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.recipe-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 12px 0 20px;
    line-height: 1.5;
}

.recipe-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.serving-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.serving-selector {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.serving-selector button {
    background-color: var(--primary-light);
    border: none;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    opacity: 1;
    visibility: visible;
}

.serving-selector button:hover {
    background-color: var(--primary-color);
    color: white;
}

.serving-selector button:disabled {
    background-color: var(--border-color);
    color: #aaa;
    cursor: not-allowed;
}

.serving-display {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.hidden {
    display: none;
}

.recipe-meta span {
    display: flex;
    align-items: center;
}

.recipe-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.recipe-ingredients, .recipe-instructions ol {
    padding-left: 20px;
    margin-top: 15px;
}

.recipe-ingredients h4, .recipe-instructions h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.recipe-ingredients ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.recipe-ingredients-section,
.recipe-instructions-section {
    margin-bottom: 30px;
}

.recipe-ingredients li {
    margin-bottom: 8px;
    line-height: 1.5;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    align-items: baseline;
    color: var(--text-color);
}

.measurement {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 100%;
}

.ingredient-name {
    font-weight: bold;
}

.quantity-style {
    color: var(--primary-color);
    font-weight: bold;
}

.ingredient-style {
    font-weight: bold;
}

.prep-style {
    font-style: italic;
}

.ingredient-name-style {
    font-weight: bold;
}

.recipe-ingredients ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.recipe-ingredients li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.recipe-ingredients .measurement {
    display: inline-block;
    min-width: 60px;
    font-weight: bold;
    margin-right: 10px;
}

/* Pricing Section */
.pricing {
    padding: var(--section-spacing) 0;
    background-color: var(--background-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.selling-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.selling-point-card {
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selling-point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.selling-point-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin: 0 auto;
}

.selling-point-content {
    flex: 1;
}

.selling-point-content h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.selling-point-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: visible;
    position: relative;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 1px solid var(--border-color);
}

.pricing-card.featured:hover {
    transform: translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 3;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    padding: 30px;
    list-style: none;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    display: block;
    margin: 0 30px 30px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NzciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjRkZGIiBvcGFjaXR5PSIuMDUiIGQ9Ik0wIDBoMTQ0MHY3NzdIMHoiLz48cGF0aCBkPSJNMTQ0MCA3NzcuNXYtNzc1TDAgNzcwLjVsMTQ0MCA3eiIgZmlsbD0iI0ZGRiIgb3BhY2l0eT0iLjA1Ii8+PC9nPjwvc3ZnPg==');
    background-size: cover;
    opacity: 0.1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    margin-bottom: 24px;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .cta-buttons {
    justify-content: center;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
}

.cta .btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 80px 0 20px;
    background-color: #222;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-logo .tagline {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: normal;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.newsletter-form {
    position: relative;
}

.form-input-group {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    margin: 0;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.newsletter-form button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.newsletter-form {
    position: relative;
}

#subscription-message {
    font-size: 14px;
    font-weight: 500;
    min-height: 0;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    text-align: center;
    margin: 0;
}

#subscription-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #2e7d32;
}

#subscription-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #c62828;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #aaa;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Pricing Section */
.pricing {
    padding: var(--section-spacing) 0;
    background-color: var(--background-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch; /* Ensure both cards stretch to the same height */
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px; /* Increased minimum height */
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    margin-top: 15px; /* Add space at the top for the badge */
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2; /* Ensure badge appears above other elements */
    white-space: nowrap; /* Prevent text wrapping */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features {
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin-bottom: 30px;
    flex-grow: 1; /* Allow the features list to grow and push the button to the bottom */
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.pricing-features li:before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-cta {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.pricing-cta .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Design */
/* Added improved mobile responsiveness */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 80px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .feature-highlight {
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .recipe-ingredients li {
        grid-template-columns: 80px 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero .container, 
    .about .container,
    .feature-highlight {
        grid-template-columns: 1fr;
    }
    
    .hero-content,
    .feature-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .feature-list {
        text-align: left;
    }
    
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image,
    .about-image {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
    }
    
    .mobile-order {
        order: -1;
    }
    
    .feature-highlight.reverse {
        direction: ltr;
    }
    
    .feature-image {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
    }
    
    nav ul.nav-menu {
        gap: 15px;
        flex-direction: row;
        justify-content: center;
    }
    
    .brand-logos {
        gap: 30px;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .selling-points-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .selling-point-card {
        flex-direction: column;
        text-align: center;
    }
    
    .selling-point-content h3 {
        margin-top: 15px;
    }
    
    .recipe-container {
        padding: 0 15px;
    }
    
    .recipe-card.app-style {
        padding: 20px;
    }
    
    .measure-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 50px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul.nav-menu {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .cta-buttons .btn-outline {
        width: 100%;
    }
    
    .steps,
    .pricing-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .selling-points-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }
    
    .recipe-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .recipe-tags {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .measure-box {
        padding: 15px;
    }
}

/* ========================================
   LIFETIME CARD + GIFT CARD SECTION
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card .pricing-features {
    flex-grow: 1;
}

.lifetime-card {
    border: 2px solid #2E7D32;
    background: linear-gradient(180deg, #F0FFF0 0%, #fff 30%);
}

.lifetime-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.15);
}

.lifetime-badge {
    background-color: #2E7D32 !important;
}

/* Gift Card Section */
.gift-card-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #FFF8EE 0%, #FFF3E0 100%);
}

.gift-card-form-container {
    max-width: 500px;
    margin: 40px auto 0;
}

.gift-card-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.gift-form-group {
    margin-bottom: 20px;
}

.gift-form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.gift-form-group select,
.gift-form-group input,
.gift-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gift-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.gift-form-group select:focus,
.gift-form-group input:focus,
.gift-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.gift-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.gift-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.gift-form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* Gift This Button on Pricing Cards */
.gift-this-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    margin: auto 20px 20px;
    border: 1px dashed var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.gift-this-btn:hover {
    background: var(--primary-light);
    border-style: solid;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.gift-this-btn i {
    font-size: 0.85rem;
}

/* Delivery Toggle */
.delivery-toggle {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    background: var(--background-alt);
}

.delivery-option {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.delivery-option.active {
    background: var(--primary-color);
    color: #fff;
    border-radius: 28px;
}

/* Schedule Picker */
.schedule-picker {
    margin-top: 16px;
    padding: 16px;
    background: var(--background-alt);
    border-radius: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; transform: translateY(-8px); }
    to { opacity: 1; max-height: 200px; transform: translateY(0); }
}

.schedule-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.schedule-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.schedule-field input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.schedule-field input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.schedule-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* Gift Tier Display */
.gift-tier-display {
    text-align: center;
    padding: 10px 16px;
    margin-bottom: 12px;
    background: var(--background-alt);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.gift-tier-display i {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .gift-card-form {
        padding: 24px;
    }

    .gift-this-btn {
        margin: 0 20px 20px;
    }

    .schedule-inputs {
        grid-template-columns: 1fr;
    }
}
