﻿/* ==============================================
   PiyumLanka Family Offer Page Styles
   Attractive-First Design with Soft Pastels
   ============================================== */

/* Color Palette - PiyumLanka Attractive-First */
:root {
    /* Brand Colors */
    --brand-primary: #D4A574;
    --brand-secondary: #E8B5A5;
    --brand-accent: #F5E6D3;
    --brand-text: #8B5A3C;
    /* Soft Pastels */
    --soft-lavender: #E6D5E8;
    --powder-pink: #F7D5E0;
    --mint-cream: #E8F5E9;
    --peach-blossom: #FFDAB9;
    --baby-blue: #E3F2FD;
    /* Cultural Colors */
    --saffron-gold: #FFB347;
    --lotus-pink: #F4C2C2;
    --peacock-teal: #A5D6D6;
    /* Gradients */
    --gradient-pink: linear-gradient(135deg, #F7D5E0 0%, #E6D5E8 100%);
    --gradient-blue: linear-gradient(135deg, #E3F2FD 0%, #A5D6D6 100%);
    --gradient-green: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    --gradient-purple: linear-gradient(135deg, #E6D5E8 0%, #D4A574 100%);
    --gradient-orange: linear-gradient(135deg, #FFB347 0%, #FFDAB9 100%);
    --gradient-red: linear-gradient(135deg, #F4C2C2 0%, #F7D5E0 100%);
    --gradient-hero: linear-gradient(135deg, #F7D5E0 0%, #E6D5E8 50%, #A5D6D6 100%);
    /* Neutral */
    --white: #FFFFFF;
    --soft-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* ==============================================
   Base Styles
   ============================================== */
body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 16px;
    }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ==============================================
   Hero Section
   ============================================== */
.family-hero {
    background: var(--gradient-hero);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 15s infinite;
}

.heart-1 {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.heart-2 {
    left: 80%;
    top: 30%;
    animation-delay: 3s;
}

.heart-3 {
    left: 50%;
    top: 60%;
    animation-delay: 6s;
}

.heart-4 {
    left: 20%;
    top: 70%;
    animation-delay: 9s;
}

.heart-5 {
    left: 90%;
    top: 80%;
    animation-delay: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) rotate(5deg);
    }

    50% {
        transform: translateY(-60px) rotate(-5deg);
    }

    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-growing {
    display: inline-block;
    background: var(--white);
    color: var(--brand-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

    .badge-growing i {
        color: #FF6B9D;
        margin-right: 6px;
    }

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.highlight-text {
    background: linear-gradient(135deg, #FF6B9D 0%, #C147E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emoji-celebrate {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.savings-highlight {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.savings-badge {
    background: var(--gradient-pink);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    min-width: 140px;
}

.savings-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

    .savings-amount .currency {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-medium);
        margin-right: 4px;
    }

    .savings-amount .value {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--text-dark);
    }

.savings-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.savings-detail {
    flex: 1;
}

    .savings-detail p {
        margin-bottom: 8px;
        font-size: 1.125rem;
        color: var(--text-dark);
    }

    .savings-detail strong {
        color: #FF6B9D;
        font-weight: 700;
    }

    .savings-detail small {
        color: var(--text-medium);
        display: block;
    }

.hero-illustration {
    position: relative;
}

.illustration-card {
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==============================================
   How It Works Section
   ============================================== */
.how-it-works {
    background: var(--soft-white);
}

.step-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

    .step-card.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .step-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.step-1 .step-icon {
    background: var(--gradient-pink);
}

.step-2 .step-icon {
    background: var(--gradient-blue);
}

.step-3 .step-icon {
    background: var(--gradient-green);
}

.step-4 .step-icon {
    background: var(--gradient-purple);
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.step-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.discount-price {
    color: #4CAF50;
}

.step-badge {
    display: inline-block;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

    .step-badge.forever {
        background: var(--gradient-orange);
        color: var(--text-dark);
    }

    .step-badge i {
        margin-right: 4px;
    }

/* ==============================================
   Pricing Comparison Section
   ============================================== */
.pricing-comparison {
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
}

    .pricing-card.animate-in {
        opacity: 1;
        transform: scale(1);
    }

    .pricing-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: var(--shadow-xl);
    }

    .pricing-card.featured {
        border: 3px solid var(--saffron-gold);
    }

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.pricing-card .card-header {
    background: var(--gradient-pink);
    padding: 40px 30px;
    text-align: center;
}

.first-baby .card-header {
    background: var(--gradient-blue);
}

.family-savings .card-header {
    background: var(--gradient-purple);
}

.baby-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.pricing-card .card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.pricing-card .card-body {
    padding: 40px 30px;
}

.price-tag {
    text-align: center;
    margin-bottom: 24px;
}

.old-price {
    display: block;
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 8px;
}

.price-tag .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-medium);
}

.price-tag .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.savings-banner {
    background: var(--gradient-green);
    padding: 12px 20px;
    border-radius: 50px;
    text-align: center;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .features-list li {
        padding: 12px 0;
        color: var(--text-medium);
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .features-list i {
        color: #4CAF50;
        font-size: 1.125rem;
    }

.total-breakdown {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.breakdown-divider {
    height: 2px;
    background: var(--gray);
    margin: 16px 0;
}

.breakdown-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.savings-summary {
    background: var(--gradient-green);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.summary-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.summary-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2E7D32;
    margin-bottom: 8px;
}

.summary-note {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ==============================================
   Special Benefits Section
   ============================================== */
.special-benefits {
    background: var(--soft-white);
}

.benefit-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    height: 100%;
    opacity: 0;
    transform: translateX(-30px);
}

    .benefit-card.animate-in {
        opacity: 1;
        transform: translateX(0);
    }

    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

    .benefit-icon.gradient-pink {
        background: var(--gradient-pink);
    }

    .benefit-icon.gradient-blue {
        background: var(--gradient-blue);
    }

    .benefit-icon.gradient-green {
        background: var(--gradient-green);
    }

    .benefit-icon.gradient-purple {
        background: var(--gradient-purple);
    }

    .benefit-icon.gradient-orange {
        background: var(--gradient-orange);
    }

    .benefit-icon.gradient-red {
        background: var(--gradient-red);
    }

.benefit-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 16px;
}

.benefit-badge {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8125rem;
}

/* ==============================================
   Testimonials Section
   ============================================== */
.testimonials {
    background: var(--white);
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    opacity: 0;
    transform: scale(0.9);
}

    .testimonial-card.animate-in {
        opacity: 1;
        transform: scale(1);
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--powder-pink);
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.stars {
    color: #FFB347;
    font-size: 0.875rem;
}

.testimonial-body p {
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--light-gray);
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.family-count {
    background: var(--gradient-pink);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8125rem;
}

/* ==============================================
   FAQ Section
   ============================================== */
.faq-section {
    background: var(--soft-white);
}

.accordion-item {
    background: var(--white);
    border: none;
    border-radius: 16px !important;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 24px 28px;
    border: none;
    box-shadow: none !important;
}

    .accordion-button:not(.collapsed) {
        background: var(--gradient-pink);
        color: var(--text-dark);
    }

    .accordion-button i {
        margin-right: 12px;
        color: var(--brand-primary);
    }

.accordion-body {
    padding: 24px 28px;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1rem;
}

/* ==============================================
   CTA Section
   ============================================== */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
}

.cta-card {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-xl);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    color: var(--text-dark);
}

    .cta-benefit i {
        color: #4CAF50;
        font-size: 1.375rem;
    }

.btn-cta {
    background: linear-gradient(135deg, #FF6B9D 0%, #C147E9 100%);
    color: var(--white);
    border: none;
    padding: 18px 48px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-cta:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
        color: var(--white);
    }

.cta-note {
    margin-top: 16px;
    color: var(--text-medium);
}

/* ==============================================
   Responsive Design
   ============================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .savings-highlight {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .step-card,
    .benefit-card,
    .testimonial-card,
    .pricing-card {
        margin-bottom: 20px;
    }

    .savings-amount .value {
        font-size: 2rem;
    }

    .price-tag .amount {
        font-size: 2.5rem;
    }
}

/* ==============================================
   Animations & Transitions
   ============================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
