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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 100px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #c0c0c0;
    line-height: 1.8;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Meanings Section */
.meanings-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.meanings-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.meaning-category {
    margin-bottom: 80px;
}

.category-header {
    margin-bottom: 40px;
    text-align: center;
}

.category-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.meaning-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meaning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.meaning-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #e9ecef;
}

.meaning-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meaning-card:hover .meaning-image img {
    transform: scale(1.05);
}

.meaning-content {
    padding: 25px;
}

.meaning-content h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.meaning-symbolism,
.meaning-emotional,
.meaning-styles,
.meaning-best-for {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #333;
}

.meaning-symbolism strong,
.meaning-emotional strong,
.meaning-styles strong,
.meaning-best-for strong {
    color: #1a1a2e;
    font-weight: 700;
}

.meaning-link {
    display: inline-block;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.meaning-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Related Pages Section */
.related-pages-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-pages-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.related-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.related-link-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.related-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-link-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.related-link-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.faq-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #6366f1;
}

.faq-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #1a1a2e;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-section p {
    color: #c0c0c0;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-section span {
    color: #c0c0c0;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #c0c0c0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding: 60px 20px 40px;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

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

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

    .hero-image {
        max-width: 100%;
        margin-top: 30px;
    }

    .meanings-section h2,
    .faq-section h2,
    .related-pages-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

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

    .related-links-grid {
        grid-template-columns: 1fr;
    }

    .category-header h3 {
        font-size: 1.8rem;
    }

    .cta-links {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

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

    .meaning-card,
    .faq-item,
    .related-link-card {
        padding: 20px;
    }

    .meaning-content h4 {
        font-size: 1.3rem;
    }
}

