/* ========================================
   ChugLi Website Styles
   ======================================== */

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

:root {
    --primary-brown: #8B4513;
    --primary-beige: #F5E6D3;
    --accent-blue: #4A90E2;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --success: #4CAF50;
    --error: #F44336;
    --border: #E0E0E0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #F5E6D3 0%, #FAFAFA 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ========================================
   Header
   ======================================== */
.header {
    text-align: center;
    padding: 40px 20px 20px;
    animation: fadeInDown 0.6s ease-out;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.app-name {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 18px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: var(--surface);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn-primary {
    background: var(--primary-brown);
    color: white;
}

.btn-primary:hover {
    background: #6F3710;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--text-primary);
    color: white;
}

.btn-secondary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 60px 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

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

.feature-card {
    background: var(--surface);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: var(--surface);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-description {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   Delete Account Page
   ======================================== */
.delete-account {
    max-width: 700px;
    margin: 40px auto;
    animation: fadeInUp 0.8s ease-out;
}

.info-box {
    background: #FFF3CD;
    border-left: 4px solid #FFC107;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.info-box h3 {
    margin-bottom: 12px;
    color: #856404;
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary-brown);
    font-weight: bold;
}

.delete-form-container {
    background: var(--surface);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.delete-form-container h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.form-instruction {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.steps-list {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.steps-list li {
    margin: 8px 0;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider span {
    padding: 0 16px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.delete-btn {
    width: 100%;
    justify-content: center;
    margin: 24px 0;
}

.note {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 16px;
}

.help-section {
    background: var(--primary-beige);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.help-section h3 {
    margin-bottom: 12px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

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

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-brown);
}

.footer-text {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .app-name {
        font-size: 36px;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .hero {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .delete-form-container {
        padding: 24px;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .app-name {
        font-size: 32px;
    }
}
