/* ==========================================================
   LALA FABRIC STORE – Privacy Policy
   Color palette extracted from logo:
   - Deep purple:   #2E1A6B / #3B1E8C
   - Royal violet:  #6A2DC9
   - Vivid orange:  #F5821F / #FF8A1E
   - Soft cream:    #FFF7EE
   - Light lilac:   #F4F0FF
   ========================================================== */

:root {
    --color-primary: #3B1E8C;
    --color-primary-dark: #2A1466;
    --color-primary-light: #6A2DC9;
    --color-accent: #F5821F;
    --color-accent-soft: #FFD9B5;
    --color-bg: #F8F6FC;
    --color-bg-alt: #FFFFFF;
    --color-text: #1F1B33;
    --color-text-soft: #5A5470;
    --color-border: #ECE6F7;
    --color-divider: #EFE9F8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(59, 30, 140, 0.06);
    --shadow-md: 0 8px 28px rgba(59, 30, 140, 0.10);
    --shadow-lg: 0 18px 48px rgba(59, 30, 140, 0.14);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== HEADER ========== */
.site-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, var(--color-primary-light) 100%);
    color: #fff;
    padding: 22px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(245, 130, 31, 0.35), transparent 70%);
    pointer-events: none;
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-tag {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-accent-soft);
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.header-badge {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    backdrop-filter: blur(8px);
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
    padding: 64px 24px 48px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    max-width: 560px;
    margin: 0 auto 26px;
}

.effective-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.92rem;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.effective-date .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(245, 130, 31, 0.18);
}

.effective-date strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ========== CONTENT ========== */
.content {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.intro {
    font-size: 1.04rem;
    color: var(--color-text-soft);
    margin-bottom: 18px;
    line-height: 1.8;
}

.policy-block {
    padding: 28px 0 8px;
}

.section-heading {
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
    position: relative;
    padding-left: 18px;
}

.section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 5px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.policy-block p {
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.8;
    font-size: 1rem;
}

.policy-list {
    list-style: none;
    margin: 14px 0 18px;
    padding: 0;
}

.policy-list li {
    position: relative;
    padding: 8px 12px 8px 32px;
    color: var(--color-text);
    font-size: 0.98rem;
    line-height: 1.6;
}

.policy-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.15);
}

.contact-line {
    margin-top: 8px;
}

.contact-email {
    display: inline-block;
    color: var(--color-primary);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-email:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-divider) 20%, var(--color-divider) 80%, transparent);
    margin: 8px 0;
}

/* ========== FOOTER ========== */
.site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: #fff;
    padding: 48px 24px 24px;
    margin-top: 24px;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    object-fit: contain;
}

.footer-company {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.footer-sub {
    font-size: 0.82rem;
    color: var(--color-accent-soft);
    margin-top: 2px;
}

.footer-meta {
    text-align: right;
    font-size: 0.92rem;
    line-height: 1.8;
}

.footer-meta a {
    color: var(--color-accent-soft);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-meta a:hover {
    color: #fff;
}

.footer-updated {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding-top: 22px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 50;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #FF8A1E 100%);
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 720px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .brand {
        flex-direction: column;
        text-align: center;
    }

    .brand-text {
        align-items: center;
    }

    .header-badge {
        order: 3;
    }

    .hero {
        padding: 44px 20px 36px;
    }

    .content {
        padding: 40px 20px 56px;
    }

    .section-heading {
        font-size: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }

    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 420px) {
    .brand-name {
        font-size: 1.15rem;
    }
    .brand-logo {
        width: 56px;
        height: 56px;
    }
    .hero-title {
        font-size: 2rem;
    }
}
