/* ========================================
   Pogether - Global Styles
   ======================================== */

/* Fonts */
@font-face {
    font-family: 'Urbanist';
    src: url('../fonts/Urbanist-Variable-wght.woff2') format('woff2'),
        url('../fonts/Urbanist-Variable-wght.woff') format('woff'),
        url('../fonts/Urbanist-Variable-wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Chelsy';
    src: url('../fonts/Chelsy.woff2') format('woff2'),
        url('../fonts/Chelsy.woff') format('woff');
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    background-color: #F8FAFC;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    color: #374151;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #F8FAFC;
    border-bottom: 1px solid #F0F4FF;
    z-index: 1000;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(80, 103, 235, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 38px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: #5067EB;
    font-size: 32px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 400;
}

.logo-link {
    text-decoration: none;
}

.menu-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

/* ========================================
   Container
   ======================================== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    margin-top: 80px;
    padding: 60px 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.hero-title {
    color: #5067EB;
    font-size: 36px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 400;
    margin: 24px 0;
}

.hero-text {
    color: #4E4E4E;
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    width: 100%;
    background: white;
    padding: 55px 30px;
    text-align: center;
}

.download-title {
    color: #5067EB;
    font-size: 32px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 200;
    margin-bottom: 24px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-button {
    padding: 16px 24px;
    background: #F8FAFC;
    border-radius: 12px;
    border: none;
    border-bottom: 3px solid #122594;
    color: #122594;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 37, 148, 0.15);
}

.store-icon {
    width: 20px;
    height: 20px;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works-section {
    width: 100%;
    padding: 60px 30px;
}

.section-heading {
    color: #5067EB;
    font-size: 32px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 200;
    text-align: center;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.step-number {
    color: #5067EB;
    font-family: 'Chelsy', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.step-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Feature Sections
   ======================================== */
.feature-section {
    padding: 50px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-title {
    color: #5067EB;
    font-size: 36px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 200;
    margin-bottom: 16px;
}

.feature-text {
    max-width: 500px;
    margin: 0 auto 24px;
    color: #4E4E4E;
    font-size: 16px;
    line-height: 26px;
}

.feature-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 20px 0;
}

/* ========================================
   Why Pogether Section
   ======================================== */
.why-section {
    width: 100%;
    background: white;
    padding: 60px 30px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.why-card {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 24px;
    text-align: left;
}

.why-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.why-card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    width: 100%;
    background: white;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.faq-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 600;
}

.faq-item {
    background: #F8FAFC;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 17px;
    font-weight: 600;
    padding: 24px 28px;
    line-height: 1.4;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-toggle {
    font-size: 22px;
    color: #5067EB;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    user-select: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    padding: 0 28px 24px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    width: 100%;
    background: #F8FAFC;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #F0F4FF;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.footer-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #5067EB;
    text-decoration: underline;
}

.copyright {
    color: #6B7280;
    font-size: 13px;
}

/* ========================================
   Content Pages (Privacy, Terms, etc.)
   ======================================== */
.page-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: left;
    padding: 20px;
}

.content-container {
    max-width: 800px;
    width: 100%;
    margin-top: 100px;
    padding: 20px;
}

.page-title {
    font-size: 28px;
    color: #5067EB;
    margin-bottom: 16px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 200;
}

.section-title {
    font-size: 22px;
    color: #5067EB;
    margin-bottom: 12px;
    margin-top: 16px;
    font-family: 'Chelsy', sans-serif;
    font-weight: 100;
}

.section-content {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.7;
}

.section-content li {
    margin-bottom: 6px;
}

.last-updated {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
}

/* ========================================
   404 Page
   ======================================== */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

.error-title {
    font-size: 72px;
    font-family: 'Chelsy', sans-serif;
    color: #5067EB;
    margin-bottom: 24px;
}

.error-image {
    width: 320px;
    margin-bottom: 40px;
}

.error-description {
    font-size: 18px;
    color: #4E4E4E;
    margin-bottom: 32px;
    padding: 0 36px;
    line-height: 1.5;
    max-width: 500px;
}

.back-button {
    padding: 12px 24px;
    background-color: #5067EB;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.back-button:hover {
    background-color: #122594;
}

/* ========================================
   Warning Box (Delete Account)
   ======================================== */
.warning {
    background-color: #FEF2F2;
    border: 1px solid #FEE2E2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    color: #991B1B;
}

.warning ul {
    margin-top: 8px;
    margin-left: 20px;
}

.warning li {
    margin-bottom: 4px;
}

/* ========================================
   Blog
   ======================================== */
.blog-list {
    margin-top: 100px;
    max-width: 800px;
    width: 100%;
    padding: 20px;
}

.blog-list-title {
    color: #5067EB;
    font-family: 'Chelsy', sans-serif;
    font-size: 36px;
    margin-bottom: 32px;
    text-align: center;
}

.blog-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(80, 103, 235, 0.1);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.blog-card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.blog-article {
    max-width: 750px;
    width: 100%;
    margin: 100px auto 0;
    padding: 20px;
}

.blog-article-title {
    color: #5067EB;
    font-family: 'Chelsy', sans-serif;
    font-size: 34px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-article-meta {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 32px;
}

.blog-article h2 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-article p {
    font-size: 16px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-article strong {
    color: #000;
}

.blog-back {
    display: inline-block;
    color: #5067EB;
    font-size: 15px;
    margin-bottom: 24px;
    text-decoration: none;
}

.blog-back:hover {
    text-decoration: underline;
}

.blog-cta {
    background: #F0F4FF;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

.blog-cta p {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
}

.blog-cta .store-buttons {
    justify-content: center;
}

/* ========================================
   Desktop Responsive (768px+)
   ======================================== */
@media (min-width: 768px) {
    .hero-section {
        padding: 80px 40px 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-text {
        font-size: 18px;
    }

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

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

    .feature-section {
        padding: 70px 40px;
    }

    .feature-title {
        font-size: 42px;
    }

    .faq-question {
        font-size: 19px;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
        justify-content: center;
        gap: 60px;
        text-align: left;
        padding: 100px 60px 80px;
    }

    .hero-section .hero-image {
        max-width: 420px;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-text {
        padding: 0;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .download-section {
        padding: 70px 40px;
    }

    .download-title {
        font-size: 38px;
    }

    .feature-section {
        max-width: 1000px;
        margin: 0 auto;
    }
}
