/* ==========================================================================
   CONTENT & LEGAL PAGES STYLESHEET
   Matching The Ankit Goswami Dark Cinematic Aesthetic
   FULLY TRANSFORMED — Advanced 3D Animations, Parallax, Scroll FX
   ========================================================================== */

/* Enable normal text selection on content and legal pages for readability & AdSense compliance */
.article-body, .legal-container, .contact-container, .about-container, .blog-container {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Custom Cinematic Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030305;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
}

/* ====== ADVANCED 3D SCROLL REVEAL SYSTEM ====== */
.reveal {
    opacity: 0;
    transform: translateY(50px) rotateX(8deg) scale(0.96);
    transform-origin: center bottom;
    transition: 
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    perspective: 1200px;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
}

/* Slide-in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px) rotateY(12deg) scale(0.95);
    transition: 
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
}

/* Slide-in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(80px) rotateY(-12deg) scale(0.95);
    transition: 
        opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
}

/* Scale-up dramatic entrance */
.reveal-scale {
    opacity: 0;
    transform: scale(0.7) rotateZ(-2deg);
    transition: 
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
}

/* Flip-in from bottom */
.reveal-flip {
    opacity: 0;
    transform: perspective(1000px) rotateX(25deg) translateY(60px);
    transition: 
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-flip.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* ====== FLOATING 3D DECORATIVE ELEMENTS ====== */
.floating-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
    animation: orbFloat 12s ease-in-out infinite;
}
.floating-orb:nth-child(1) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
    top: 20%;
    right: -100px;
    animation-delay: 0s;
}
.floating-orb:nth-child(2) {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.1) 0%, transparent 70%);
    bottom: 15%;
    left: -60px;
    animation-delay: -4s;
}
.floating-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 136, 68, 0.08) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.05); }
}

/* ====== PAGE BANNER / HERO — CINEMATIC 3D ====== */
.page-banner {
    padding: 160px 5% 60px;
    text-align: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
    perspective: 1500px;
}

.page-banner .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 25px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    animation: badgePulse 3s infinite ease-in-out, badgeFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.page-banner .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.15), transparent);
    animation: badgeShimmer 4s infinite;
}

@keyframes badgePulse {
    0%, 100% { border-color: rgba(0, 242, 254, 0.3); box-shadow: 0 0 15px rgba(0, 242, 254, 0.15); }
    50% { border-color: rgba(0, 242, 254, 0.7); box-shadow: 0 0 25px rgba(0, 242, 254, 0.35); }
}

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

@keyframes badgeShimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.page-banner h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent) 70%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    animation: titleGlow 5s ease-in-out infinite alternate;
    position: relative;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.1)); }
    100% { filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.35)); }
}

.page-banner p.subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.8;
    animation: subtitleFade 1.5s ease-out 0.3s both;
}

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

/* ====== STANDARD CONTENT LAYOUT ====== */
.content-wrapper {
    max-width: 1050px;
    margin: 0 auto 90px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

/* ====== 3D GLASSMORPHIC CARDS — ELEVATED ====== */
.legal-card, .contact-info-card, .contact-form-card, .article-body, .article-author-card {
    background: rgba(14, 14, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 48px;
    margin-bottom: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transition: 
        transform 0.4s cubic-bezier(0.2, 0, 0, 1), 
        box-shadow 0.4s ease, 
        border-color 0.4s ease,
        background 0.4s ease;
    will-change: transform;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Animated gradient border glow on hover */
.legal-card::before, .contact-info-card::before, .contact-form-card::before, .article-body::before, .article-author-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(0, 242, 254, 0), 
        rgba(0, 242, 254, 0.15), 
        rgba(79, 172, 254, 0.15),
        rgba(0, 242, 254, 0));
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderRotate 8s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderRotate {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.legal-card:hover::before, .contact-info-card:hover::before, .contact-form-card:hover::before, .article-author-card:hover::before {
    opacity: 1;
}

.legal-card:hover, .contact-info-card:hover, .contact-form-card:hover, .article-author-card:hover {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5), 
        0 0 40px rgba(0, 242, 254, 0.15),
        inset 0 0 30px rgba(0, 242, 254, 0.03);
    background: rgba(14, 14, 20, 0.75);
}

/* ====== LEGAL SECTIONS ====== */
.legal-section {
    margin-bottom: 38px;
    position: relative;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.55rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
    position: relative;
    transition: text-shadow 0.4s ease;
}

.legal-section h2:hover {
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.legal-section h2 i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.legal-section h2:hover i {
    transform: scale(1.2) rotate(5deg);
}

.legal-section h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin: 20px 0 12px;
}

.legal-section p {
    color: #c9c9c9;
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: 1rem;
}

.legal-section ul, .legal-section ol {
    margin: 12px 0 18px 26px;
    color: #c9c9c9;
    line-height: 1.85;
}

.legal-section li {
    margin-bottom: 9px;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

.legal-section li:hover {
    transform: translateX(6px);
    color: #ffffff;
}

.compliance-box {
    background: rgba(0, 242, 254, 0.06);
    border-left: 3px solid var(--accent);
    padding: 18px 24px;
    border-radius: 0 14px 14px 0;
    margin: 24px 0;
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compliance-box:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.15);
}

.compliance-box p {
    margin: 0;
    color: #e0f7ff;
    font-size: 0.95rem;
}

/* ====== BLOG GRID & CARDS — 3D TRANSFORMATIONS ====== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 32px;
    perspective: 1500px;
}

.blog-card {
    background: rgba(14, 14, 20, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 
        transform 0.5s cubic-bezier(0.2, 0, 0, 1), 
        box-shadow 0.5s ease, 
        border-color 0.4s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    will-change: transform;
    transform-style: preserve-3d;
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.blog-card:hover::after {
    opacity: 1;
}

.blog-card:hover {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5), 
        0 0 40px rgba(0, 242, 254, 0.2),
        0 0 80px rgba(0, 242, 254, 0.05);
    transform: translateY(-10px) scale(1.02);
}

.blog-card-thumb {
    height: 190px;
    width: 100%;
    background: linear-gradient(135deg, rgba(8, 6, 18, 0.95), rgba(0, 242, 254, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.blog-card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(14, 14, 20, 0.8) 100%);
    z-index: 1;
}

.blog-card-thumb::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
    animation: thumbPulse 4s ease-in-out infinite;
}

@keyframes thumbPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.blog-card-thumb i {
    font-size: 3.2rem;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.4s ease;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.blog-card:hover .blog-card-thumb i {
    transform: scale(1.3) translateY(-6px) rotateY(15deg);
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.6);
}

.blog-card-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.blog-meta span.date {
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--accent);
    transform: translateX(3px);
}

.blog-card p {
    color: #b0b0b0;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
}

.blog-card-footer i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-card-footer i {
    transform: translateX(10px);
}

/* ====== SINGLE ARTICLE STYLING — CINEMATIC ====== */
.article-header {
    margin-bottom: 45px;
    text-align: center;
}

.article-header h1 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 18px 0 22px;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
}

.article-header-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-wrap: wrap;
}

.article-header-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.3s ease;
}

.article-header-meta span:hover {
    color: #ffffff;
}

.article-header-meta i {
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-header-meta span:hover i {
    transform: scale(1.25);
}

.article-body {
    padding: 55px;
    margin-bottom: 45px;
    color: #d8d8d8;
    line-height: 1.95;
    font-size: 1.08rem;
}

.article-body h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 45px 0 20px;
    border-bottom: 1px solid rgba(0, 242, 254, 0.25);
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-body h2:hover::after {
    width: 100%;
}

.article-body h2:hover {
    color: var(--accent);
}

.article-body h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 30px 0 14px;
    transition: text-shadow 0.3s ease;
}

.article-body h3:hover {
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body ul, .article-body ol {
    margin: 16px 0 26px 30px;
}

.article-body li {
    margin-bottom: 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.article-body li:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 20px 28px;
    margin: 32px 0;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 5px 25px rgba(0, 242, 254, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 6rem;
    color: rgba(0, 242, 254, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.article-body blockquote:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.15);
}

.article-body pre {
    background: #06060a;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 14px;
    padding: 22px;
    margin: 26px 0;
    overflow-x: auto;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.94rem;
    color: #00f2fe;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.article-body pre:hover {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.1);
}

.article-author-card {
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 55px;
}

.author-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    animation: avatarPulse 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 242, 254, 0.35); }
    50% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.6); }
}

.article-author-card:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
}

.author-info h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ====== CONTACT PAGE SPECIFIC ====== */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(6px);
}

.contact-info-item i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
}

.contact-info-text h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-text a:hover {
    color: var(--accent);
}

.contact-form .form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.4s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.25), 0 0 50px rgba(0, 242, 254, 0.05);
    transform: scale(1.01);
}

/* Submit button cinematic styling */
.contact-form button, .contact-form .submit-btn {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(79, 172, 254, 0.15));
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: var(--accent);
    padding: 14px 40px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::before, .contact-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.15), transparent);
    transition: left 0.5s ease;
}

.contact-form button:hover::before, .contact-form .submit-btn:hover::before {
    left: 100%;
}

.contact-form button:hover, .contact-form .submit-btn:hover {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(79, 172, 254, 0.25));
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* ====== RICH UNIVERSAL FOOTER ====== */
.main-footer {
    background: #030305;
    border-top: 1px solid var(--glass-border);
    padding: 70px 5% 35px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
    max-width: 1200px;
    margin: 0 auto 55px;
}

.footer-col.brand h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-col.brand h3 span {
    color: var(--accent);
}

.footer-col.brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social-links a:hover {
    background: var(--accent);
    color: #000000;
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 0 25px var(--accent), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.footer-col:hover h4::after {
    width: 60px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 13px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom-bar a {
    color: var(--accent);
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

.footer-bottom-bar a:hover {
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ====== SCROLL-DRIVEN 3D PARALLAX SECTIONS ====== */
.parallax-section {
    transform-style: preserve-3d;
    perspective: 2000px;
}

/* Depth layer classes for JS to apply on scroll */
.depth-layer-1 {
    transform: translateZ(0px);
    transition: transform 0.1s linear;
}
.depth-layer-2 {
    transform: translateZ(-20px);
    transition: transform 0.1s linear;
}
.depth-layer-3 {
    transform: translateZ(-40px);
    transition: transform 0.1s linear;
}

/* ====== STAGGERED CARD ENTRANCE ANIMATION ====== */
.blog-card:nth-child(1) { animation-delay: 0s; }
.blog-card:nth-child(2) { animation-delay: 0.12s; }
.blog-card:nth-child(3) { animation-delay: 0.24s; }
.blog-card:nth-child(4) { animation-delay: 0.36s; }
.blog-card:nth-child(5) { animation-delay: 0.48s; }
.blog-card:nth-child(6) { animation-delay: 0.60s; }
.blog-card:nth-child(7) { animation-delay: 0.72s; }
.blog-card:nth-child(8) { animation-delay: 0.84s; }

/* ====== TEXT HIGHLIGHT ANIMATION ON SCROLL ====== */
.text-reveal-line {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 4s ease-in-out infinite;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ====== NEON LINE DIVIDERS ====== */
.neon-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.5), transparent);
    margin: 40px 0;
    position: relative;
}

.neon-divider::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 9px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.15), transparent);
    filter: blur(4px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .page-banner {
        padding: 130px 5% 40px;
    }
    .page-banner h1 {
        font-size: 2.2rem;
    }
    .article-header h1 {
        font-size: 2rem;
    }
    .article-body {
        padding: 28px 20px;
    }
    .legal-card {
        padding: 28px 20px;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        text-align: center;
        justify-content: center;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
