/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFB800;
    margin: 0;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #3B82F6;
    font-weight: 500;
    margin-top: -0.25rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFB800;
}

.cta-button {
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #FFF8E1 0%, #E3F2FD 50%, #FFF3E0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-primary {
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 184, 0, 0.4);
}

.cta-secondary {
    background: transparent;
    color: #64748B;
    border: 2px solid #E2E8F0;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    border-color: #FFB800;
    color: #FFB800;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFB800;
    font-family: 'Fredoka', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1F2937;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.app-header h3 {
    font-size: 1.5rem;
    color: #FFB800;
    margin-bottom: 0.5rem;
}

.app-header p {
    color: #64748B;
    font-size: 1rem;
}

/* Updated Piggy Bank Container */
.piggy-bank-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.piggy-bank-main {
    position: relative;
    width: 160px;
    height: 120px;
}

.pig-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.pig-main-body {
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, #FFB3BA 0%, #FFB3D9 50%, #DDA0DD 100%);
    border-radius: 50%;
    position: relative;
    border: 3px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Pig Features */
.pig-ear {
    position: absolute;
    width: 25px;
    height: 30px;
    background: linear-gradient(135deg, #FFB3BA 0%, #FF91A4 100%);
    border: 2px solid #333;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.pig-ear.left {
    top: -5px;
    left: 25px;
    transform: rotate(-20deg);
}

.pig-ear.right {
    top: -5px;
    right: 25px;
    transform: rotate(20deg);
}

.pig-eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    top: 25px;
    left: 35px;
}

.pig-snout {
    position: absolute;
    width: 20px;
    height: 15px;
    background: #FF91A4;
    border: 2px solid #333;
    border-radius: 50%;
    top: 35px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nostril {
    width: 3px;
    height: 3px;
    background: #333;
    border-radius: 50%;
}

/* Interactive Star */
.interactive-star {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)); }
}

/* Saved Stars */
.saved-stars {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    align-items: center;
    justify-items: center;
}

.saved-star {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Add Star Circle */
.add-star-circle {
    position: absolute;
    top: 15px;
    right: -25px;
    width: 35px;
    height: 35px;
    background: #10B981;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-star-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Pig Legs */
.pig-legs {
    position: absolute;
    bottom: -15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.pig-leg {
    width: 15px;
    height: 20px;
    background: linear-gradient(135deg, #FFB3BA 0%, #FF91A4 100%);
    border: 2px solid #333;
    border-radius: 0 0 8px 8px;
}

/* Pig Tail */
.pig-tail {
    position: absolute;
    top: 30px;
    right: -15px;
    width: 20px;
    height: 20px;
    border: 3px solid #333;
    border-color: #333 transparent transparent #333;
    border-radius: 50%;
    transform: rotate(45deg);
}

/* Progress Circle */
.progress-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: 3px solid #333;
}

/* Main Add Star Button */
.add-star-btn-main {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.add-star-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.feature-card p {
    color: #64748B;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFF8E1 0%, #E3F2FD 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    font-family: 'Fredoka', sans-serif;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.step-content p {
    color: #64748B;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial {
    background: #F8FAFC;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #FFB800;
}

.testimonial-content p {
    font-style: italic;
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author strong {
    color: #1F2937;
    font-weight: 600;
}

.testimonial-author span {
    color: #64748B;
    font-size: 0.9rem;
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #FFF8E1 0%, #E3F2FD 100%);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 3px solid #FFB800;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.price {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #FFB800;
    font-family: 'Fredoka', sans-serif;
}

.period {
    font-size: 1rem;
    color: #64748B;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list i {
    color: #10B981;
    font-size: 0.9rem;
}

.pricing-cta {
    width: 100%;
    background: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 184, 0, 0.3);
}

/* Final CTA */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: #D1D5DB;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #FFB800;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #D1D5DB;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: #D1D5DB;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #FFB800;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .piggy-bank {
        font-size: 5rem;
    }
}