* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

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

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header h1 a {
    color: #2c3e50;
    text-decoration: none;
}

header p {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

.cta-button-large {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.cta-button-large:hover {
    background-color: #2980b9;
}

.secondary-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: white;
    color: #3498db;
    text-decoration: none;
    border: 2px solid #3498db;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #3498db;
    color: white;
}

.preference-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.preference-form h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #34495e;
    font-weight: 500;
}

select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #2c3e50;
    background-color: white;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    cursor: pointer;
}

.interest-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.generate-btn {
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.generate-btn:hover {
    background-color: #2980b9;
}

.results {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gift-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fff;
    transition: transform 0.3s ease;
}

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

.gift-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.gift-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.gift-card .price {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 1rem;
}

.gift-card .buy-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.gift-card .buy-link:hover {
    background-color: #2980b9;
}

.section-intro {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.intro-section,
.features-section,
.how-to-use-section,
.faq-section,
.blog-section,
.testimonials-section,
.tool-interface-section,
.why-choose-section,
.cta-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.how-to-use-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.how-to-use-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Intro Benefits Styling */
.intro-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.benefit-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Blog Preview Styling */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-preview-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-preview-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-preview-content {
    padding: 1.5rem;
}

.blog-preview-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-preview-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-preview-content h3 a:hover {
    color: #3498db;
}

.blog-preview-excerpt {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #2980b9;
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Testimonials Styling */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.testimonial-rating {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #34495e;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: #7f8c8d;
    font-weight: 500;
    text-align: right;
}

/* Why Choose Us Styling */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-choose-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.why-choose-cta {
    text-align: center;
    margin-top: 3rem;
}

.why-choose-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* CTA Section Styling */
.cta-section {
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 4rem 2rem;
}

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

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button-large {
    background-color: white;
    color: #3498db;
}

.cta-section .cta-button-large:hover {
    background-color: #f8f9fa;
}

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

.faq-item {
    padding: 1.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.contact-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1.5rem;
    }

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

    .intro-section,
    .features-section,
    .how-to-use-section,
    .faq-section,
    .blog-section,
    .testimonials-section,
    .tool-interface-section,
    .why-choose-section,
    .cta-section {
        padding: 2rem 1rem;
    }

    .intro-benefits,
    .features-grid,
    .blog-preview-grid,
    .testimonials-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .container {
        padding: 1rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .preference-form,
    .results {
        padding: 1.5rem;
    }

    .interests-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .results-container {
        grid-template-columns: 1fr;
    }
    
    .cta-button-large {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}