/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero section styles */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* App Ideas section styles */
.app-ideas {
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.app-ideas h2 {
    margin-bottom: 2rem;
    color: #2d3748;
}

.app-list {
    list-style: none;
    padding: 0 0 0 8rem;
    margin: 0 auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 0;
    justify-content: center;
    width: fit-content;
}

.app-list li {
    color: #4a5568;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
    width: 250px;
}

.app-list li::before {
    content: '✓';
    color: #48bb78;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact section styles */
.contact {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact a.email-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact a.email-link:hover {
    color: #2980b9;
}

.contact a.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #3498db;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact a.email-link:hover::after {
    transform: scaleX(1);
}

.contact-note {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 500;
}

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

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.benefit-card p {
    color: #666;
}

/* Pricing section styles */
.pricing {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.pricing-subtitle {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.price-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.original-price {
    font-size: 1.5rem;
    color: #95a5a6;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.discount-badge {
    background-color: #e74c3c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: -10px;
    right: -10px;
    transform: rotate(15deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: rotate(15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.05);
    }
    100% {
        transform: rotate(15deg) scale(1);
    }
}

.pricing-card.featured .price {
    color: #e74c3c;
}

.pricing-card.featured .original-price {
    color: #95a5a6;
}

.pricing-card.featured .discount-badge {
    background-color: #e74c3c;
}

.pricing-note {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    border-left: 4px solid #e74c3c;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    outline: 2px solid transparent;
}

.pricing-card:focus-within {
    outline: 2px solid #3498db;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-card .features li {
    padding: 0.5rem 0;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card .features li::before {
    content: "✓";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid #3498db;
}

.pricing-card.featured:focus-within {
    outline: 2px solid #2980b9;
}

.pricing-card .buy-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.pricing-card .buy-button:hover,
.pricing-card .buy-button:focus {
    background: #2980b9;
    transform: translateY(-2px);
}

.pricing-card .buy-button:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

/* Bottom CTA styles */
.bottom-cta {
    background-color: #2c3e50;
    color: white;
}

.bottom-cta h2 {
    color: white;
}

.bottom-cta a.email-link {
    color: #3498db;
}

.bottom-cta a.email-link:hover {
    color: #2980b9;
}

.bottom-cta .contact-note {
    color: white;
    font-weight: 500;
}

/* Buy button styles */
.buy-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.buy-button:hover,
.buy-button:focus {
    background-color: #2980b9;
    transform: translateY(-2px);
    color: white;
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}

.buy-button:active {
    transform: translateY(0);
}

.pricing-card.featured .buy-button {
    background-color: #2c3e50;
}

.pricing-card.featured .buy-button:hover {
    background-color: #1a252f;
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
        order: 0;
    }

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

    .app-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        width: 100%;
        max-width: 500px;
    }

    .app-list li {
        width: 100%;
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .app-list {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
} /* test */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.policy-section p {
    color: #4a5568;
    line-height: 1.6;
}

.back-link {
    margin-top: 3rem;
    text-align: center;
}

.back-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #2980b9;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

.policy-link {
    text-align: center;
    margin-top: 1rem;
}

.policy-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-link a:hover {
    color: #2980b9;
}
