/* =====================================================
   PRIVACY-POLICY.CSS — Wonder Digimech
   Matches index page dark/light alternating theme
   ===================================================== */



/* ---- HERO ---- */
.privacy-hero {
    padding: 130px 0 100px;
    background: radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.08), transparent 25%),
                radial-gradient(circle at 88% 12%, rgba(139, 92, 246, 0.07), transparent 20%),
                linear-gradient(180deg, #020617 0%, #0b1528 50%, #020617 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.privacy-hero::after {
    content: '';
    position: absolute;
    bottom: -20%; right: -8%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}

.privacy-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

/* Kicker badge */
.terms-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 22px;
}

.privacy-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.privacy-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 620px;
}

.privacy-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

.privacy-hero .breadcrumb a { color: var(--text-secondary); }
.privacy-hero .breadcrumb a:hover { color: var(--secondary-color); }
.privacy-hero .breadcrumb span { color: var(--text-muted); }
.privacy-hero .breadcrumb .current { color: var(--primary-color); font-weight: 700; }

/* ---- PRIVACY CONTENT (Light Section) ---- */
.privacy-section.bg-light-section,
.privacy-section {
    padding: 90px 0 110px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

/* Privacy card — light style */
.privacy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 44px 38px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.privacy-card:hover::before { transform: scaleX(1); }

.privacy-card:hover {
    transform: translateY(-6px);
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.1);
}

.privacy-card > i {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.08);
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(13, 148, 136, 0.15);
    transition: all var(--transition-md);
}

.privacy-card:hover > i {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
}

.privacy-card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.privacy-card p { font-size: 0.97rem; color: #475569; line-height: 1.75; margin: 0; }

/* Staggered delays */
.privacy-card:nth-child(1) { transition-delay: 0.00s; }
.privacy-card:nth-child(2) { transition-delay: 0.07s; }
.privacy-card:nth-child(3) { transition-delay: 0.14s; }
.privacy-card:nth-child(4) { transition-delay: 0.21s; }
.privacy-card:nth-child(5) { transition-delay: 0.28s; }
.privacy-card:nth-child(6) { transition-delay: 0.35s; }
.privacy-card:nth-child(7) { transition-delay: 0.42s; }

/* ---- CONTACT SECTION (Dark Section) ---- */
.privacy-contact-section {
    padding: 80px 0;
    background: #050914;
    position: relative;
    overflow: hidden;
}

.privacy-contact-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}

.privacy-contact-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    text-align: center;
}

.privacy-contact-heading { margin-bottom: 40px; }

.privacy-contact-heading .section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.privacy-contact-heading h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.privacy-contact-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.privacy-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    flex: 1;
    min-width: 140px;
    transition: all var(--transition-md);
    text-decoration: none;
    color: inherit;
}

.privacy-contact-item:hover {
    background: rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.1);
}

.privacy-contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    background: rgba(13, 148, 136, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 148, 136, 0.15);
    flex-shrink: 0;
    order: 2;
}

.privacy-contact-item span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    order: 1;
    text-align: left;
}

.privacy-contact-item strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    order: 1;
    text-align: left;
}

/* Responsive */
@media (max-width: 1200px) {
    .privacy-section { padding: 70px 0 90px; }
    .privacy-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
    .privacy-card { padding: 36px 30px; }
    .privacy-contact-box { padding: 40px 32px; }
}

@media (max-width: 900px) {
    .privacy-section { padding: 60px 0 80px; }
    .privacy-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .privacy-card { padding: 32px 26px; }
    .privacy-card h2 { font-size: 1.1rem; }
    .privacy-card p { font-size: 0.9rem; }
    .privacy-card > i { width: 48px; height: 48px; font-size: 1.6rem; margin-bottom: 18px; }
    .privacy-contact-box { padding: 40px 30px; }
    .privacy-contact-heading h2 { font-size: 1.7rem; }
}

@media (max-width: 768px) {
    /* Hero Section */
    .privacy-hero { 
        padding: 100px 0 70px; 
    }
    
    .privacy-hero-content {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .privacy-hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
        margin-bottom: 16px;
    }
    
    .privacy-hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .privacy-hero .breadcrumb {
        font-size: 0.85rem;
        padding: 6px 16px;
        gap: 8px;
    }
    
    .terms-kicker {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 16px;
    }

    /* Privacy Grid & Cards */
    .privacy-section { 
        padding: 50px 0 70px; 
    }
    
    .privacy-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .privacy-card { 
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .privacy-card > i {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        margin-bottom: 14px;
        border-radius: 10px;
    }
    
    .privacy-card h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .privacy-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Contact Section */
    .privacy-contact-section {
        padding: 60px 0;
    }
    
    .privacy-contact-box { 
        padding: 32px 20px;
        border-radius: 12px;
    }
    
    .privacy-contact-heading {
        margin-bottom: 28px;
    }
    
    .privacy-contact-heading .section-subtitle {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }
    
    .privacy-contact-heading h2 { 
        font-size: 1.4rem;
        letter-spacing: -0.2px;
    }
    
    .privacy-contact-grid { 
        flex-direction: column;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .privacy-contact-item { 
        width: 100%;
        max-width: 100%;
        padding: 16px 14px;
        flex-direction: row;
        border-radius: 10px;
    }
    
    .privacy-contact-item i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .privacy-contact-item span {
        font-size: 0.65rem;
    }
    
    .privacy-contact-item strong {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    /* Hero Section */
    .privacy-hero {
        padding: 80px 0 60px;
    }
    
    .privacy-hero-content {
        padding: 0 12px;
    }
    
    .privacy-hero h1 {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
        margin-bottom: 12px;
    }
    
    .privacy-hero p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .privacy-hero .breadcrumb {
        font-size: 0.8rem;
        padding: 5px 12px;
        flex-wrap: wrap;
    }
    
    .terms-kicker {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    /* Privacy Cards */
    .privacy-section {
        padding: 40px 0 60px;
    }
    
    .privacy-grid {
        gap: 14px;
    }
    
    .privacy-card {
        padding: 18px 16px;
        border-radius: 10px;
    }
    
    .privacy-card > i {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .privacy-card h2 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .privacy-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Contact Section */
    .privacy-contact-section {
        padding: 50px 0;
    }
    
    .privacy-contact-box {
        padding: 24px 16px;
        border-radius: 10px;
    }
    
    .privacy-contact-heading {
        margin-bottom: 20px;
    }
    
    .privacy-contact-heading h2 {
        font-size: 1.2rem;
    }
    
    .privacy-contact-grid {
        gap: 10px;
    }
    
    .privacy-contact-item {
        padding: 12px 12px;
        border-radius: 8px;
        gap: 10px;
    }
    
    .privacy-contact-item i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .privacy-contact-item span {
        font-size: 0.6rem;
    }
    
    .privacy-contact-item strong {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 70px 0 50px;
    }
    
    .privacy-hero h1 {
        font-size: clamp(1.4rem, 3vw, 2rem);
    }
    
    .privacy-section {
        padding: 35px 0 50px;
    }
    
    .privacy-grid {
        gap: 12px;
    }
    
    .privacy-card {
        padding: 16px 14px;
    }
    
    .privacy-contact-section {
        padding: 40px 0;
    }
    
    .privacy-contact-box {
        padding: 20px 14px;
    }
    
    .privacy-contact-heading h2 {
        font-size: 1.1rem;
    }
}
