/* =========================================================
   SANAULLAH ELECTRONICS — Privacy Policy
   Color palette derived from logo:
   - Deep Navy:   #1B2A5B
   - Royal Blue:  #2A3F8F
   - Vibrant Orange: #F37021
   - Soft Orange: #FFA45C
   - Off-white background: #F7F9FC
   ========================================================= */

:root {
    --c-navy: #1B2A5B;
    --c-navy-2: #2A3F8F;
    --c-orange: #F37021;
    --c-orange-soft: #FFA45C;
    --c-bg: #F7F9FC;
    --c-surface: #FFFFFF;
    --c-text: #1F2536;
    --c-muted: #5C6478;
    --c-border: #E4E8F1;
    --c-section-alt: #FBFCFE;
    --shadow-sm: 0 2px 8px rgba(27, 42, 91, 0.06);
    --shadow-md: 0 8px 24px rgba(27, 42, 91, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

.container {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 100%);
    color: #fff;
    padding: 22px 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.site-header::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(243,112,33,0.30) 0%, rgba(243,112,33,0) 70%);
    pointer-events: none;
}
.header-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    object-fit: contain;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
}
.brand-tag {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--c-orange-soft);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ===== Hero ===== */
.hero {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 56px 0 48px;
}
.hero-title {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--c-navy);
    line-height: 1.25;
    margin-bottom: 14px;
}
.hero-effective {
    display: inline-block;
    background: linear-gradient(135deg, rgba(243,112,33,0.10), rgba(243,112,33,0.04));
    color: var(--c-navy);
    border-left: 4px solid var(--c-orange);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 22px;
}
.hero-intro {
    color: var(--c-muted);
    font-size: 1.02rem;
    margin-bottom: 12px;
}
.hero-intro:last-child { margin-bottom: 0; }

/* ===== Policy Content ===== */
.policy-content {
    padding: 48px 24px 64px;
}

.policy-section {
    padding: 8px 0 4px;
    scroll-margin-top: 24px;
}
.section-heading {
    font-family: var(--font-head);
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 14px;
    line-height: 1.35;
    position: relative;
    padding-left: 16px;
}
.section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--c-orange) 0%, var(--c-orange-soft) 100%);
}
.section-body p {
    color: var(--c-text);
    margin-bottom: 12px;
    font-size: 1rem;
}
.section-body p:last-child { margin-bottom: 0; }
.section-body ul {
    list-style: none;
    margin: 8px 0 14px;
    padding: 0;
}
.section-body ul li {
    position: relative;
    padding: 6px 0 6px 26px;
    color: var(--c-text);
    font-size: 0.98rem;
}
.section-body ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-orange);
    box-shadow: 0 0 0 3px rgba(243,112,33,0.15);
}

.contact-line a {
    color: var(--c-orange);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(243,112,33,0.5);
    transition: all .2s ease;
}
.contact-line a:hover { color: var(--c-navy); border-bottom-color: var(--c-navy); }

/* ===== Dividers ===== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--c-border) 25%, var(--c-border) 75%, transparent 100%);
    margin: 32px 0;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, var(--c-navy) 0%, #14204A 100%);
    color: #D6DBEC;
    padding: 40px 0 28px;
    margin-top: 24px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
    object-fit: contain;
}
.footer-name {
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}
.footer-info p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-info a {
    color: var(--c-orange-soft);
    text-decoration: none;
    font-weight: 500;
}
.footer-info a:hover { color: #fff; }
.footer-updated { color: #A9B0C8; }
.footer-copy {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    color: #8A92AE;
    font-size: 0.85rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-soft) 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(243,112,33,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--c-navy); box-shadow: 0 8px 22px rgba(27,42,91,0.4); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
    .brand-logo { width: 54px; height: 54px; }
    .brand-name { font-size: 1.05rem; }
    .brand-tag { font-size: 0.72rem; }
    .hero { padding: 40px 0 36px; }
    .hero-title { font-size: 1.55rem; }
    .hero-intro { font-size: 0.97rem; }
    .section-heading { font-size: 1.15rem; }
    .policy-content { padding: 36px 20px 48px; }
    .divider { margin: 26px 0; }
    .container { padding: 0 18px; }
    .header-inner { padding: 0 18px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

@media (max-width: 420px) {
    .brand { gap: 12px; }
    .brand-name { font-size: 0.95rem; letter-spacing: 0.3px; }
    .hero-title { font-size: 1.35rem; }
    .section-heading { font-size: 1.08rem; padding-left: 14px; }
    .section-body ul li { font-size: 0.94rem; }
}
