/* Modern CSS for LoyalBean */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #8B4513;
    --primary-dark: #6B3410;
    --primary-light: #A0522D;
    --secondary: #D2691E;
    --accent: #F4A460;
    --bg-dark: #2C1810;
    --bg-light: #FDFBF7;
    --text-main: #2C1810;
    --text-light: #F4E4D4;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-dark: rgba(44, 24, 16, 0.85);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* Header & Hero */
header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 8rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #F4E4D4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--primary-dark);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: var(--text-light);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.intro-card {
    max-width: 900px;
    margin: -120px auto 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    text-align: center;
}

.intro-card h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-card p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

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

.feature {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 69, 19, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(139, 69, 19, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.feature h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.feature p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.audience-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 4rem 0 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.audience-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Apps Section */
.apps-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../background.jpg') center/cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.apps-section .container {
    position: relative;
    z-index: 2;
}

.apps-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.apps-section>.container>p {
    text-align: center;
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.app-card p {
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.6;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.store-button:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.store-button small {
    display: block;
    opacity: 0.7;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.store-button strong {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: #1a0f0a;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 4rem 0;
    font-size: 0.95rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 10px;
}

footer a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 4rem 0 6rem;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .intro-card {
        margin-top: -80px;
        padding: 2rem;
    }

    .intro-card h3 {
        font-size: 1.5rem;
    }

    .apps-section h2 {
        font-size: 2.25rem;
    }

    .app-card {
        width: 100%;
        padding: 2rem;
    }
}

/* FAQ Page Styles */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.05);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 69, 19, 0.15);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question::before {
    content: "Q:";
    font-weight: 700;
    flex-shrink: 0;
    color: var(--primary-dark);
}

.faq-answer {
    color: #555;
    line-height: 1.8;
    padding-left: 2.5rem;
    font-size: 1.05rem;
}

.faq-answer strong {
    color: var(--primary);
}

.faq-answer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.faq-answer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-top: 2rem;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--text-light);
}

/* Legal Pages (Terms, Privacy) */
.legal-header {
    padding: 4rem 0;
    clip-path: none;
}

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.date-info {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.header-back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-top: 1rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.header-back-link:hover {
    color: var(--white);
}

main {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.content h2 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(139, 69, 19, 0.1);
    padding-bottom: 0.75rem;
    font-weight: 700;
}

.content h2:first-child {
    margin-top: 0;
}

.content h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #555;
}

.content li strong {
    color: var(--primary-dark);
}

.warning-box {
    background-color: #FFF3E0;
    border: 2px solid #FF9800;
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    margin: 2rem 0;
    color: #E65100;
    font-weight: 600;
    line-height: 1.6;
}

.warning-box h3 {
    color: #E65100;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.acknowledgment {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(139, 69, 19, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 2rem;
    margin: 2.5rem 0;
    color: var(--primary-dark);
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
}

/* Delete Account Page */
.delete-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.delete-container {
    max-width: 700px;
    margin: 0 auto;
}

.delete-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.delete-card h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.delete-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.delete-card ul {
    text-align: left;
    margin: 2rem 0;
    padding-left: 2rem;
}

.delete-card li {
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.7;
}

.warning-banner {
    background: #FFF3E0;
    border: 2px solid #FF9800;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin: 2rem 0;
    color: #E65100;
    font-weight: 600;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive for additional pages */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding-left: 1.5rem;
    }

    .header-content h1 {
        font-size: 2.25rem;
    }

    .content {
        padding: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content h3 {
        font-size: 1.15rem;
    }

    .delete-card {
        padding: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}