/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --soft-lavender: #F3E8FF;
    --white: #FFFFFF;
    --pale-pink-shadow: #EADCF8;
    --soft-pink: #FFB6C1;
    --light-coral: #FF7F7F;
    --deep-lavender: #7B5EA3;
    --muted-purple: #9C7CB8;
    --card-bg: #FFFFFF;
    --text-primary: #4A4A4A;
    --text-secondary: #6B6B6B;
    --glow-color: rgba(123, 94, 163, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--soft-lavender);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* ==================== ANIMATED BACKGROUND ==================== */
.lavender-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(234, 220, 248, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 182, 193, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(243, 232, 255, 0.5) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
    animation: gentleFloat 12s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.shimmer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: 
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shimmerMove 8s ease-in-out infinite;
}

@keyframes shimmerMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    display: inline-block;
    color: var(--deep-lavender);
}

.lavender-glow {
    text-shadow: 
        0 2px 8px rgba(123, 94, 163, 0.2),
        0 4px 16px rgba(156, 124, 184, 0.15);
    animation: softGlow 4s ease-in-out infinite alternate;
}

.lavender-glow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--muted-purple), transparent);
    box-shadow: 0 2px 10px rgba(156, 124, 184, 0.4);
    animation: gentleUnderline 3s ease-in-out infinite;
}

@keyframes softGlow {
    from {
        text-shadow: 
            0 2px 8px rgba(123, 94, 163, 0.2),
            0 4px 16px rgba(156, 124, 184, 0.15);
    }
    to {
        text-shadow: 
            0 4px 12px rgba(123, 94, 163, 0.3),
            0 8px 24px rgba(156, 124, 184, 0.2);
    }
}

@keyframes gentleUnderline {
    0%, 100% {
        opacity: 0.5;
        width: 80%;
    }
    50% {
        opacity: 1;
        width: 90%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* ==================== BUTTONS ==================== */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--soft-pink), var(--light-coral));
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 15px rgba(255, 182, 193, 0.4),
        0 8px 25px rgba(255, 127, 127, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-coral), var(--soft-pink));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 25px rgba(255, 182, 193, 0.5),
        0 12px 40px rgba(255, 127, 127, 0.3),
        0 0 20px rgba(255, 182, 193, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 100px 20px;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--deep-lavender);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 2px 8px rgba(123, 94, 163, 0.15);
}

/* ==================== ARTICLES SECTION ==================== */
.articles {
    background: transparent;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 
        0 4px 20px rgba(234, 220, 248, 0.4),
        0 8px 40px rgba(234, 220, 248, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

/* Soft Card Animation */
.soft-card {
    animation: fadeInUp 0.8s ease forwards;
}

.soft-card:nth-child(1) {
    animation-delay: 0.2s;
}

.soft-card:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 8px 30px rgba(234, 220, 248, 0.5),
        0 12px 50px rgba(255, 182, 193, 0.3),
        0 0 0 1px rgba(156, 124, 184, 0.1);
}

.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.05), 
        rgba(234, 220, 248, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.card-icon svg {
    filter: drop-shadow(0 2px 8px rgba(156, 124, 184, 0.3));
    transition: filter 0.3s ease;
}

.article-card:hover .card-icon svg {
    filter: drop-shadow(0 4px 12px rgba(156, 124, 184, 0.4));
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--deep-lavender);
    font-family: 'Orbitron', sans-serif;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    color: var(--muted-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--soft-pink), var(--light-coral));
    transition: width 0.3s ease;
}

.card-link:hover {
    color: var(--soft-pink);
}

.card-link:hover::after {
    width: 100%;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: transparent;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 
        0 4px 20px rgba(234, 220, 248, 0.4),
        0 8px 40px rgba(234, 220, 248, 0.2);
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: var(--soft-lavender);
    border: 1px solid rgba(234, 220, 248, 0.6);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--pale-pink-shadow);
    border-color: var(--muted-purple);
    box-shadow: 0 4px 20px rgba(156, 124, 184, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    color: var(--muted-purple);
    font-size: 1.3rem;
    font-weight: bold;
}

/* ==================== FULL ARTICLE SECTION ==================== */
.full-article {
    background: transparent;
    padding: 100px 20px;
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 
        0 10px 50px rgba(234, 220, 248, 0.4),
        0 20px 100px rgba(234, 220, 248, 0.2);
    overflow: hidden;
}

.article-header-section {
    padding: 60px 50px 40px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.5), rgba(255, 182, 193, 0.2));
    text-align: center;
}

.article-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--soft-pink), var(--light-coral));
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.article-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--deep-lavender);
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(123, 94, 163, 0.1);
}

.article-meta-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item {
    font-weight: 500;
}

.article-body {
    padding: 50px;
}

.article-intro-box {
    padding: 30px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.4), rgba(255, 182, 193, 0.2));
    border-radius: 15px;
    border-left: 4px solid var(--soft-pink);
    margin-bottom: 40px;
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
}

.article-content-section {
    margin-bottom: 40px;
}

.article-content-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-lavender);
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.3;
}

.article-content-section h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--muted-purple);
    margin-bottom: 12px;
    margin-top: 25px;
}

.article-content-section p {
    margin-bottom: 18px;
    color: var(--text-primary);
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-content-section ul {
    margin: 15px 0 25px 25px;
    line-height: 2;
}

.article-content-section li {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.article-content-section strong {
    color: var(--deep-lavender);
    font-weight: 700;
}

.info-highlight-box {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15), rgba(234, 220, 248, 0.15));
    padding: 25px 30px;
    border-radius: 15px;
    margin: 35px 0;
    border: 2px solid var(--pale-pink-shadow);
    box-shadow: 0 4px 20px rgba(234, 220, 248, 0.3);
}

.info-highlight-box h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: var(--deep-lavender);
    margin-bottom: 12px;
    font-weight: 700;
}

.info-highlight-box p {
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.tips-callout-box {
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.5), rgba(255, 255, 255, 0.9));
    padding: 30px;
    border-radius: 15px;
    margin: 35px 0;
    border-left: 5px solid var(--soft-pink);
    box-shadow: 0 4px 20px rgba(234, 220, 248, 0.3);
}

.tips-callout-box h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    color: var(--deep-lavender);
    margin-bottom: 18px;
    font-weight: 700;
}

.tips-callout-box ul {
    margin: 0;
    padding-left: 25px;
}

.tips-callout-box li {
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.inline-link-style {
    color: var(--soft-pink);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--soft-pink);
}

.inline-link-style:hover {
    color: var(--light-coral);
    border-bottom-color: var(--light-coral);
}

.article-cta-box {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.4), rgba(255, 182, 193, 0.2));
    border-radius: 20px;
    margin-top: 50px;
}

.article-cta-box h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--deep-lavender);
    margin-bottom: 12px;
    font-weight: 700;
}

.article-cta-box p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Responsive Article Styles */
@media (max-width: 768px) {
    .article-header-section {
        padding: 40px 30px 30px;
    }

    .article-body {
        padding: 30px 25px;
    }

    .article-main-title {
        font-size: 1.6rem;
    }

    .article-meta-info {
        flex-direction: column;
        gap: 10px;
    }

    .article-content-section h3 {
        font-size: 1.5rem;
    }

    .article-content-section h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .article-header-section {
        padding: 30px 20px 20px;
    }

    .article-body {
        padding: 25px 20px;
    }

    .article-intro-box,
    .info-highlight-box,
    .tips-callout-box {
        padding: 20px;
    }
}

/* ==================== FAQ SECTION ==================== */
.faq {
    background: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 20px rgba(234, 220, 248, 0.4),
        0 8px 40px rgba(234, 220, 248, 0.2);
}

.faq-item:hover {
    box-shadow: 
        0 6px 25px rgba(234, 220, 248, 0.5),
        0 10px 45px rgba(255, 182, 193, 0.3);
    transform: translateY(-5px);
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--deep-lavender);
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    text-align: center;
    background: transparent;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.email-button {
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(234, 220, 248, 0.4);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-tagline {
    color: var(--muted-purple);
    font-weight: 600;
    font-style: italic;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    .hero {
        min-height: 90vh;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .article-card {
        padding: 30px 20px;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--muted-purple);
    outline-offset: 4px;
    box-shadow: 0 0 10px rgba(156, 124, 184, 0.3);
}
