/* Responsive Design */
@media (max-width: 1200px) {
    .premium-plans {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .features-grid,
    .plan-card.popular {
        transform: none;
    }
}

@media (max-width: 992px) {
    .about-grid,
    .testimonials-grid,
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .step-item {
        padding: 2rem 1.5rem;
    }

    .step-icon {
        width: 56px;
        height: 56px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.3rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .step-features li {
        font-size: 0.9rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-square {
        width: 64px;
        height: 64px;
        margin-bottom: 1.2rem;
    }

    .about-square i {
        font-size: 1.6rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .about-card p {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item {
        min-width: 160px;
        padding: 1.5rem;
        margin: 0 4.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }
}

@media (max-width: 768px) {
    .rewards-container {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }

    .rewards-list {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .reward-item {
        margin: 0;
        padding: 1.5rem 1rem;
    }

    .rewards-header {
        padding: 0 1rem;
    }
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .about-grid,
    .features-grid,
    .testimonials-grid,
    .footer-content,
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .step-item {
        padding: 2rem 1rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        margin: 0 1rem;
        box-sizing: border-box;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .step-icon-wrapper {
        margin: 0;
        flex-shrink: 0;
    }

    .step-number {
        top: -10px;
        left: -10px;
    }

    .step-content {
        flex: 1;
        min-width: 0;
    }
    
    .step-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .step-features {
        columns: 1;
        margin-top: 1rem;
    }

    .about-card {
        padding: 1.5rem;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin: 0 1rem;
        width: calc(100% - 2rem);
    }
    
    .about-card-content {
        min-width: 0;
    }
    
    .about-card-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-square {
        margin: 0;
    }

    .about-card-content {
        flex: 1;
    }

    .app-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        padding: 0 1rem;
    }

    section {
        margin: 3rem 0;
        padding: var(--section-padding) 1rem;
    }

    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
    }

    .hero-content {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .hero-title,
    .hero-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        padding: 0;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem;
        font-size: 1rem;
        justify-content: center;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
        box-sizing: border-box;
        margin: 0;
    }

    .hero-cta {
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .feature-card i {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-list li {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }
    .step-number {
        top: -15px;
        left: -15px;
    }
    .steps-container {
        padding: 0;
    }

    .step-item {
        margin: 0 1rem;
        padding: 1.5rem 1rem;
        gap: 1rem;
        width: calc(100% - 2rem);
        box-sizing: border-box;
    }

    .step-icon {
        width: 48px;
        height: 48px;
    }

    .step-icon i {
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .step-features {
        columns: 1;
    }

    .step-features li {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }
    .about-grid {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .about-card {
        margin: 0;
        padding: 1.5rem 1rem;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .feature-card {
        margin: 0;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        text-align: left;
    }

    .feature-card i {
        font-size: 2rem;
        margin: 0;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .feature-card.highlight i {
        color: var(--secondary-color);
    }

    .feature-content {
        flex: 1;
        min-width: 0;
    }

    .feature-content h3 {
        margin-bottom: 0.75rem;
    }

    .about-square {
        width: 48px;
        height: 48px;
    }

    .about-square i {
        font-size: 1.2rem;
    }

    .about-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .about-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .hero-section {
        padding-top: 100px;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0;
        br {
            display: none;
        }
    }

    .hero-cta {
        flex-direction: column;
        padding: 0;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .hero-badge i {
        font-size: 1rem;
    }

    .stat-item {
        padding: 1.2rem;
        min-width: auto;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .stat-icon i {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    section {
        margin: 2rem 0;
        padding: 2rem 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .section-content,
    .features-grid {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section-title,
    .section-subtitle,
    .section-description {
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
