/* ═══════════════════════════════════════════════════════════
   POSTZY — Premium Design System
   Inspired by webzy.co.in • Modern Blog & Social Publishing
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Core Palette */
    --pz-indigo: #6366f1;
    --pz-indigo-dark: #4f46e5;
    --pz-indigo-light: #818cf8;
    --pz-coral: #ff6b6b;
    --pz-coral-dark: #ee5a5a;
    --pz-teal: #2dd4bf;
    --pz-amber: #fbbf24;
    --pz-sky: #38bdf8;

    /* Neutrals */
    --pz-slate-950: #020617;
    --pz-slate-900: #0f172a;
    --pz-slate-800: #1e293b;
    --pz-slate-700: #334155;
    --pz-slate-600: #475569;
    --pz-slate-500: #64748b;
    --pz-slate-400: #94a3b8;
    --pz-slate-300: #cbd5e1;
    --pz-slate-200: #e2e8f0;
    --pz-slate-100: #f1f5f9;
    --pz-slate-50: #f8fafc;
    --pz-white: #ffffff;

    /* Gradients */
    --pz-gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --pz-gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --pz-gradient-warm: linear-gradient(135deg, #f97316 0%, #ef4444 50%, #ec4899 100%);
    --pz-gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --pz-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --pz-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    --pz-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));

    /* Shadows */
    --pz-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --pz-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --pz-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --pz-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --pz-shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --pz-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 5px rgba(0, 0, 0, 0.04);

    /* Radius */
    --pz-radius-sm: 8px;
    --pz-radius-md: 12px;
    --pz-radius-lg: 16px;
    --pz-radius-xl: 24px;
    --pz-radius-2xl: 32px;
    --pz-radius-full: 9999px;

    /* Transitions */
    --pz-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --pz-ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --pz-duration: 0.3s;
    --pz-duration-slow: 0.5s;
}

/* ─── Global Reset & Base ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--pz-slate-50);
    color: var(--pz-slate-800);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

::selection {
    background: var(--pz-indigo);
    color: var(--pz-white);
}

a {
    transition: color var(--pz-duration) var(--pz-ease);
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Navbar ─── */
.navbar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.03);
    transition: all var(--pz-duration) var(--pz-ease);
    padding: 0.75rem 0;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--pz-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    height: 28px !important;
    width: auto;
    border-radius: 6px;
}

.navbar-toggler {
    border: 1.5px solid var(--pz-slate-200);
    border-radius: var(--pz-radius-sm);
    padding: 0.4rem 0.6rem;
    transition: all var(--pz-duration) var(--pz-ease);
}

.navbar-toggler:hover {
    border-color: var(--pz-indigo);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.nav-link {
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--pz-slate-600) !important;
    position: relative;
    transition: all var(--pz-duration) var(--pz-ease);
    padding: 0.5rem 0.85rem !important;
    border-radius: var(--pz-radius-sm);
    margin: 0 0.15rem;
}

.nav-link:hover {
    color: var(--pz-indigo) !important;
    background: rgba(99, 102, 241, 0.06);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--pz-gradient-primary);
    transition: all var(--pz-duration) var(--pz-ease);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
}

/* ─── Header Search ─── */
.header-search-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.header-search-wrapper .form-control {
    background: var(--pz-slate-100);
    border: 1.5px solid transparent;
    border-radius: var(--pz-radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all var(--pz-duration) var(--pz-ease);
    color: var(--pz-slate-800);
}

.header-search-wrapper .form-control:focus {
    background: var(--pz-white);
    border-color: var(--pz-indigo-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.header-search-wrapper .form-control::placeholder {
    color: var(--pz-slate-400);
}

.header-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--pz-white);
    border: 1px solid var(--pz-slate-200);
    border-radius: var(--pz-radius-lg);
    box-shadow: var(--pz-shadow-lg);
    z-index: 1051;
    max-height: 360px;
    overflow-y: auto;
    animation: slideDown 0.2s var(--pz-ease);
}

.header-search-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--pz-slate-400);
    padding: 0.75rem 1rem 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header-search-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--pz-slate-700);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.header-search-item:hover {
    background: var(--pz-slate-50);
    color: var(--pz-indigo);
}

.header-search-empty {
    padding: 0.5rem 1rem 0.75rem;
    color: var(--pz-slate-400);
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .header-search-wrapper {
        margin-top: 0.75rem;
        max-width: none;
    }
}

/* ─── Hero Section ─── */
.hero-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pz-gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: auroraShift 12s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
    100% { opacity: 0.7; transform: scale(1.02); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Buttons ─── */
.btn-primary {
    background: var(--pz-gradient-primary);
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: var(--pz-radius-full);
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--pz-white);
    transition: all var(--pz-duration) var(--pz-ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
    background: var(--pz-gradient-primary);
    color: var(--pz-white);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-lg {
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
}

.btn-primary.btn-sm {
    padding: 0.4rem 1.15rem;
    font-size: 0.825rem;
}

.btn-light {
    background: var(--pz-white);
    color: var(--pz-indigo);
    border: none;
    padding: 0.7rem 1.75rem;
    border-radius: var(--pz-radius-full);
    font-weight: 600;
    transition: all var(--pz-duration) var(--pz-ease);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--pz-shadow-md);
}

/* ─── Section Titles ─── */
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    color: var(--pz-slate-900);
    letter-spacing: -0.02em;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--pz-gradient-primary);
    border-radius: 2px;
}

/* ─── Animated Cards (Blog Cards) ─── */
.animated-card {
    background: var(--pz-white);
    border-radius: var(--pz-radius-xl);
    overflow: hidden;
    box-shadow: var(--pz-shadow-card);
    transition: all var(--pz-duration-slow) var(--pz-ease-bounce);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.animated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pz-gradient-primary);
    opacity: 0;
    transition: opacity var(--pz-duration) var(--pz-ease);
    z-index: 2;
}

.animated-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--pz-shadow-xl), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

.animated-card:hover::before {
    opacity: 1;
}

.animated-card .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--pz-ease);
}

.animated-card:hover .card-img-top {
    transform: scale(1.06);
}

.animated-card .card-img-top {
    overflow: hidden;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--pz-slate-900);
    line-height: 1.4;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--pz-duration) var(--pz-ease);
}

.card-title a:hover {
    color: var(--pz-indigo);
}

.card-text {
    color: var(--pz-slate-500);
    font-size: 0.9rem;
    line-height: 1.65;
    flex-grow: 1;
}

/* ─── Category Cards ─── */
.category-card {
    background: var(--pz-white);
    border-radius: var(--pz-radius-xl);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--pz-shadow-card);
    transition: all var(--pz-duration-slow) var(--pz-ease);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pz-gradient-primary);
    transform: scaleX(0);
    transition: transform var(--pz-duration) var(--pz-ease);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pz-shadow-lg);
}

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

.category-card .img-fluid {
    border-radius: var(--pz-radius-md);
    height: 160px;
    object-fit: cover;
    width: 100%;
    transition: transform var(--pz-duration-slow) var(--pz-ease);
}

.category-card:hover .img-fluid {
    transform: scale(1.04);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ─── Blog Detail Page ─── */
.blog-header-section {
    padding: 5rem 0 3rem;
    background: var(--pz-gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
}

.blog-header-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--pz-slate-50));
}

.blog-title-main {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.blog-cover-image {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: var(--pz-radius-xl);
    box-shadow: var(--pz-shadow-xl);
    margin: 2rem 0;
}

.blog-content-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.blog-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.blog-section h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--pz-slate-900);
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.blog-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--pz-gradient-primary);
    border-radius: 2px;
}

.blog-section p,
.blog-section div {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--pz-slate-700);
    margin-bottom: 1.25rem;
}

/* ─── Hashtags ─── */
.hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
}

.hashtag {
    background: var(--pz-slate-100);
    color: var(--pz-indigo);
    padding: 0.4rem 1rem;
    border-radius: var(--pz-radius-full);
    font-size: 0.825rem;
    font-weight: 600;
    transition: all var(--pz-duration) var(--pz-ease);
    border: 1px solid transparent;
}

.hashtag:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--pz-indigo-light);
    transform: translateY(-2px);
}

/* ─── Social Share ─── */
.social-share {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 1.75rem;
    background: var(--pz-white);
    border-radius: var(--pz-radius-xl);
    box-shadow: var(--pz-shadow-sm);
    border: 1px solid var(--pz-slate-100);
}

.social-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--pz-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--pz-duration) var(--pz-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.social-btn.twitter { background: #1da1f2; color: white; }
.social-btn.facebook { background: #1877f2; color: white; }
.social-btn.linkedin { background: #0077b5; color: white; }

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--pz-shadow-md);
    color: white;
    filter: brightness(1.1);
}

/* ─── Related Blogs ─── */
.related-blogs-section {
    margin: 3rem 0;
    padding: 3rem 0;
    background: var(--pz-slate-50);
    border-radius: var(--pz-radius-2xl);
}

.related-blog-card {
    background: var(--pz-white);
    border-radius: var(--pz-radius-xl);
    overflow: hidden;
    box-shadow: var(--pz-shadow-card);
    transition: all var(--pz-duration-slow) var(--pz-ease);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.related-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pz-shadow-lg);
}

/* ─── Footer ─── */
.site-footer {
    background: var(--pz-slate-900);
    color: var(--pz-slate-300);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pz-gradient-primary);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    border-radius: 6px;
}

.footer-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    background: var(--pz-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-title {
    color: var(--pz-white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--pz-slate-400) !important;
    font-size: 0.9rem;
    transition: all var(--pz-duration) var(--pz-ease);
    text-decoration: none !important;
}

.footer-links a:hover {
    color: var(--pz-white) !important;
    padding-left: 4px;
}

.footer-muted {
    color: var(--pz-slate-500);
    font-size: 0.85rem;
}

.footer-copy {
    color: var(--pz-slate-500);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ─── Animations ─── */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.fade-in {
    animation: fadeInUp 0.6s var(--pz-ease) forwards;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ─── Loading State ─── */
.loading-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(99, 102, 241, 0.15);
    border-top-color: var(--pz-indigo);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.category-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.category-scroll-trigger {
    width: 100%;
    height: 1px;
}

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--pz-slate-400);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

/* ─── Image Placeholder ─── */
.image-placeholder {
    background: var(--pz-gradient-cool);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.06) 10px,
        rgba(255, 255, 255, 0.06) 20px
    );
    animation: slide 25s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ─── Newsletter Section ─── */
.newsletter-section {
    background: var(--pz-gradient-primary);
    border-radius: var(--pz-radius-2xl);
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

/* ─── Form Controls ─── */
.form-control {
    border: 1.5px solid var(--pz-slate-200);
    border-radius: var(--pz-radius-md);
    padding: 0.65rem 1rem;
    transition: all var(--pz-duration) var(--pz-ease);
    font-size: 0.925rem;
}

.form-control:focus {
    border-color: var(--pz-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-select {
    border: 1.5px solid var(--pz-slate-200);
    border-radius: var(--pz-radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all var(--pz-duration) var(--pz-ease);
}

.form-select:focus {
    border-color: var(--pz-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .blog-title-main {
        font-size: 1.75rem;
    }

    .animated-card {
        margin-bottom: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .social-share {
        flex-direction: column;
    }

    .blog-content-section {
        padding: 2rem 1rem;
    }

    .newsletter-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .blog-header-section {
        padding: 3.5rem 0 2rem;
    }
}

/* ─── Utility: Glass Card ─── */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--pz-radius-xl);
    box-shadow: var(--pz-shadow-md);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pz-slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--pz-slate-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pz-slate-400);
}

/* ─── Print Styles ─── */
@media print {
    .navbar, .site-footer, .social-share, .newsletter-section {
        display: none !important;
    }

    .blog-content-section {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
}
