:root {
    --primary-color: #8E8D83;
    --secondary-color: #DED226;
    --text-color: #E0E0E0;
    --dark-bg: #1A1A1A;
    --darker-bg: #121212;
    --card-bg: #242424;
    --price-color: #DED226;
    --gradient-start: #1A1A1A;
    --gradient-end: #2C2C2C;
    --subtle-text: rgba(0, 0, 0, 0.75);
    --border: rgba(142, 141, 131, 0.15);
    --frost-bg: rgba(40, 40, 40, 0.7);
    --glass-bg: rgba(36, 36, 36, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg);
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f3f3f3;
}

body::-webkit-scrollbar {
    width: 8px;
    background: #f3f3f3;
}

body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(142, 141, 131, 0.1);
}

/* Scroll-hiding behavior for desktop only */
@media (min-width: 769px) {
    .navbar {
        transition: transform 0.4s cubic-bezier(.65,.05,.36,1);
    }
    .navbar.scroll-down {
        transform: translateY(-100%);
    }
    .navbar.scroll-up {
        transform: translateY(0);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(222, 210, 38, 0.3);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo span {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.39,.575,.56,1);
    transform-origin: left;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.nav-links a.active::after {
    transform: scaleX(1);
    background: var(--secondary-color);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001; /* Ensure it's on top */
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(227, 216, 70, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(142, 141, 131, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--darker-bg);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(235, 243, 21, 0.2),
        transparent
    );
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(222, 210, 38, 0.3);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(222, 210, 38, 0.2);
    transition: box-shadow 0.4s cubic-bezier(.39,.575,.56,1), transform 0.4s cubic-bezier(.39,.575,.56,1);
}

.hero-image img:hover {
    box-shadow: 0 16px 48px rgba(0,122,255,0.13);
    transform: scale(1.035);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(142, 141, 131, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(222, 210, 38, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

/* App Details Section */
.app-details {
    padding: 4rem 0;
    background: var(--dark-bg);
}

.app-details .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.detail-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(142, 141, 131, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-card p {
    color: var(--price-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.price-tag {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(222, 210, 38, 0.3);
}

.age-rating {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: var(--darker-bg);
    border-radius: 20px;
    font-weight: 600;
}

/* Download Section */
.download {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(222, 210, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(142, 141, 131, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.app-store-button img {
    height: 60px;
    transition: box-shadow 0.3s cubic-bezier(.39,.575,.56,1), transform 0.3s cubic-bezier(.39,.575,.56,1);
}

.app-store-button:hover img {
    box-shadow: 0 8px 32px rgba(0,122,255,0.13);
    transform: scale(1.06);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(142, 141, 131, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(142, 141, 131, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(222, 210, 38, 0.3); }
    50% { box-shadow: 0 0 20px rgba(222, 210, 38, 0.5); }
}

/* Apple-style Animations & Aesthetics */

/* Section fade-in on scroll */
.apple-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(.39,.575,.56,1), transform 0.9s cubic-bezier(.39,.575,.56,1);
    will-change: opacity, transform;
}
.apple-section.visible {
    opacity: 1;
    transform: none;
}

/* Hero fade-in and gentle scale */
.apple-hero {
    opacity: 0;
    transform: scale(0.98) translateY(40px);
    transition: opacity 1.1s cubic-bezier(.39,.575,.56,1), transform 1.1s cubic-bezier(.39,.575,.56,1);
    will-change: opacity, transform;
}
.apple-hero.visible {
    opacity: 1;
    transform: none;
}

/* Card and step reveal with stagger */
.apple-card, .step {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(.39,.575,.56,1), transform 0.7s cubic-bezier(.39,.575,.56,1);
    will-change: opacity, transform;
}
.apple-card.visible, .step.visible {
    opacity: 1;
    transform: none;
}

/* Staggered animation for grid items */
.features-grid .apple-card, .steps .step {
    transition-delay: 0.1s;
}
.features-grid .apple-card:nth-child(2), .steps .step:nth-child(2) {
    transition-delay: 0.25s;
}
.features-grid .apple-card:nth-child(3), .steps .step:nth-child(3) {
    transition-delay: 0.4s;
}

/* Button hover: soft scale and shadow */
.apple-cta, .cta-button {
    transition: background 0.2s, box-shadow 0.3s cubic-bezier(.39,.575,.56,1), transform 0.3s cubic-bezier(.39,.575,.56,1);
    will-change: box-shadow, transform;
}
.apple-cta:hover, .cta-button:hover {
    box-shadow: 0 8px 32px rgba(192, 248, 25, 0.13);
    transform: scale(1.045) translateY(-2px);
    background: #c4d907;
}

/* Card hover: gentle lift and shadow */
.apple-card:hover {
    box-shadow: 0 12px 40px rgba(0,122,255,0.10), 0 1.5px 8px rgba(0,0,0,0.04);
    transform: scale(1.025) translateY(-4px);
}

/* Section title fade-in */
.section-title {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.section-title.visible {
    opacity: 1;
    transform: none;
}

/* Download badge hover */
.app-store-button img {
    transition: box-shadow 0.3s cubic-bezier(.39,.575,.56,1), transform 0.3s cubic-bezier(.39,.575,.56,1);
}
.app-store-button:hover img {
    box-shadow: 0 8px 32px rgba(0,122,255,0.13);
    transform: scale(1.06);
}

/* Footer fade-in */
.apple-footer, .footer-bottom {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s cubic-bezier(.39,.575,.56,1), transform 1s cubic-bezier(.39,.575,.56,1);
}
.apple-footer.visible, .footer-bottom.visible {
    opacity: 1;
    transform: none;
}

/* Smooth link underline on hover */
.nav-links a {
    position: relative;
    overflow: hidden;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.39,.575,.56,1);
    transform-origin: left;
}
.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Subtle image zoom on hero */
.hero-image img {
    transition: box-shadow 0.4s cubic-bezier(.39,.575,.56,1), transform 0.4s cubic-bezier(.39,.575,.56,1);
}
.hero-image img:hover {
    box-shadow: 0 16px 48px rgba(0,122,255,0.13);
    transform: scale(1.035);
}

/* Cozy, soft transitions for all cards and sections */
.apple-section, .apple-card, .step, .footer, .footer-bottom {
    transition-property: opacity, transform, box-shadow, background, color;
    transition-timing-function: cubic-bezier(.39,.575,.56,1);
}

/* Remove outline on click but keep accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        transform: none !important;
    }

    /* --- Modern Mobile Nav --- */
    .mobile-menu-button {
        display: flex !important; /* Force display */
        position: relative;
        z-index: 1001; /* Ensure it's on top */
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Use vh for full viewport height */
        background: rgba(20, 20, 20, 0.9);
        backdrop-filter: blur(16px) saturate(1.5);
        -webkit-backdrop-filter: blur(16px) saturate(1.5);
        clip-path: circle(20px at calc(100% - 50px) 50px);
        transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        list-style: none;
        padding: 0;
        margin: 0;
        pointer-events: none;
    }

    .nav-links.active {
        clip-path: circle(150vh at calc(100% - 50px) 50px);
        pointer-events: all;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.30s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.35s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.40s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.45s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.50s; }

    .nav-links a {
        font-size: 2.2rem;
        font-weight: 600;
        color: var(--text-color);
        padding: 0.5rem 1rem;
    }
    
    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-menu-button .line {
        display: block;
        width: 2rem;
        height: 3px;
        background-color: var(--text-color);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    }

    .mobile-menu-button.active .line1 {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-button.active .line2 {
        opacity: 0;
    }

    .mobile-menu-button.active .line3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    /* --- End Modern Mobile Nav --- */

    .features-grid,
    .steps,
    .app-details .container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* --- STORYLINE TIMELINE SECTION (ENHANCED & INTERACTIVE) --- */
.storyline {
    background: var(--dark-bg);
    padding: 6rem 0 4rem;
    position: relative;
    overflow-x: hidden;
}
.storyline-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.storyline-subtitle {
    color: #fff !important;
    font-size: 1.18rem;
    margin-bottom: 2.7rem;
    margin-top: -1.2rem;
}
.timeline-wrapper {
    overflow-x: auto;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
}
.timeline {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2.5rem;
    min-width: 1100px;
    max-width: 100vw;
    position: relative;
    padding: 1.5rem 0;
}
.timeline-item {
    background: var(--card-bg);
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 2px solid var(--border);
    padding: 2.2rem 2.2rem 1.2rem 2.2rem;
    min-width: 180px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.35s cubic-bezier(.39,.575,.56,1), transform 0.35s cubic-bezier(.39,.575,.56,1), background 0.3s;
    will-change: box-shadow, transform, background;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.timeline-item.visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}
.timeline-item:focus-within, .timeline-item:hover {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18), 0 2px 16px rgba(0,0,0,0.13);
    background: rgba(222,210,38,0.07);
    transform: scale(1.055) translateY(-10px);
    z-index: 2;
}
.timeline-img-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 140px; height: 140px;
    background: radial-gradient(ellipse at center, rgba(222,210,38,0.18) 0%, transparent 10%);
    filter: blur(18px);
    z-index: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.timeline-item:hover .timeline-img-glow,
.timeline-item:focus-within .timeline-img-glow {
    opacity: 1;
}
.timeline-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    background: var(--frost-bg);
    border: 2px solid var(--border);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
    will-change: transform;
}
.timeline-item:hover .timeline-img,
.timeline-item:focus-within .timeline-img {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18);
    transform: scale(1.09) translateY(-6px) rotate(-2deg);
    animation: floatImg 2.2s ease-in-out infinite alternate;
}
@keyframes floatImg {
    0% { transform: scale(1.09) translateY(-6px) rotate(-2deg); }
    100% { transform: scale(1.13) translateY(-14px) rotate(2deg); }
}
.timeline-caption {
    margin-top: 1.3rem;
    font-size: 1.18rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    background: rgba(30,30,30,0.7);
    border-radius: 14px;
    padding: 0.5rem 1.3rem;
    margin-bottom: 0.2rem;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
    display: inline-block;
    transition: background 0.3s, color 0.3s, font-size 0.3s;
    font-family: inherit;
}
.timeline-item:hover .timeline-caption,
.timeline-item:focus-within .timeline-caption {
    background: var(--secondary-color);
    color: var(--dark-bg);
    font-size: 1.22rem;
}
.timeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 32px;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(.39,.575,.56,1), transform 0.7s cubic-bezier(.39,.575,.56,1);
    will-change: opacity, transform;
    user-select: none;
    z-index: 1;
}
.timeline-arrow.visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
}
.timeline-arrow-svg svg {
    width: 60px;
    height: 32px;
    display: block;
}
.arrow-path {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    animation: arrowDraw 1.2s cubic-bezier(.39,.575,.56,1) forwards;
}
.timeline-arrow.visible .arrow-path {
    animation: arrowDraw 1.2s cubic-bezier(.39,.575,.56,1) forwards;
}
@keyframes arrowDraw {
    to { stroke-dashoffset: 0; }
}
.timeline-item:hover + .timeline-arrow .arrow-path,
.timeline-item:focus-within + .timeline-arrow .arrow-path {
    filter: drop-shadow(0 0 8px #DED226);
    animation: arrowPulseColor 1.2s infinite alternate;
}
@keyframes arrowPulseColor {
    0% { stroke: #DED226; }
    100% { stroke: #fffbe6; }
}

/* Responsive: stack vertically on mobile */
@media (max-width: 1100px) {
    .timeline {
        min-width: 0;
    }
    .timeline-item {
        min-width: 140px;
        min-height: 140px;
        padding: 1.2rem 1.2rem 0.7rem 1.2rem;
    }
    .timeline-img {
        width: 90px;
        height: 90px;
        border-radius: 16px;
    }
    .timeline-img-glow {
        width: 100px; height: 100px;
    }
}
@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        gap: 2.2rem;
        min-width: 0;
        align-items: center;
    }
    .timeline-arrow {
        transform: rotate(90deg) translateY(40px) scale(0.97);
        min-width: 32px;
        min-height: 60px;
    }
    .timeline-arrow-svg svg {
        transform: rotate(90deg);
    }
}

.storyline .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.storyline .section-title.visible {
    opacity: 1;
    transform: none;
}

.timeline-wrapper::-webkit-scrollbar {
    height: 14px;
    background: #181818;
    border-radius: 10px;
}
.timeline-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 10px;
    border: 2px solid #232323;
    box-shadow: 0 0 10px 2px rgba(222,210,38,0.18);
    transition: background 0.3s, box-shadow 0.3s;
}
.timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #fffbe6 0%, var(--secondary-color) 100%);
    box-shadow: 0 0 18px 4px rgba(222,210,38,0.28);
}
.timeline-wrapper::-webkit-scrollbar-track {
    background: #232323;
    border-radius: 10px;
}

/* Firefox */
.timeline-wrapper {
    scrollbar-width: thick;
    scrollbar-color: var(--secondary-color) #232323;
}

/* --- TIMELINE MODAL --- */
.timeline-modal {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(.39,.575,.56,1);
}
.timeline-modal.active {
    opacity: 1;
    pointer-events: auto;
    background: rgba(24,24,24,0.65);
}
.timeline-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,24,24,0.65);
    z-index: 0;
    pointer-events: auto;
}
.timeline-modal-content {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--glass-bg);
    border-radius: 32px;
    box-shadow: 0 16px 64px 0 rgba(0,0,0,0.28), 0 2px 16px rgba(222,210,38,0.10);
    overflow: hidden;
    max-width: 720px;
    min-width: 320px;
    width: 90vw;
    min-height: 320px;
    animation: modalIn 0.45s cubic-bezier(.39,.575,.56,1);
    z-index: 2;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(40px); }
    to { opacity: 1; transform: none; }
}
.timeline-modal-img-wrap {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(222,210,38,0.10) 0%, transparent 100%);
    min-width: 220px;
    max-width: 320px;
    padding: 2.2rem 1.2rem 2.2rem 2.2rem;
}
.timeline-modal-img {
    width: 100%;
    max-width: 260px;
    max-height: 340px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    background: var(--frost-bg);
    border: 2px solid var(--border);
    object-fit: cover;
    transition: box-shadow 0.3s, transform 0.3s;
}
.timeline-modal-info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.2rem 2.2rem 2.2rem 1.2rem;
    min-width: 220px;
    max-width: 340px;
    background: transparent;
}
.timeline-modal-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.1rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
}
.timeline-modal-desc {
    font-size: 1.15rem;
    color: white;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.timeline-modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: rgba(222,210,38,0.13);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(222,210,38,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    z-index: 3;
}
.timeline-modal-close:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 16px rgba(222,210,38,0.18);
}

@media (max-width: 700px) {
    .timeline-modal-content {
        flex-direction: column;
        min-width: 0;
        max-width: 98vw;
        min-height: 0;
        width: 98vw;
        padding: 0;
    }
    .timeline-modal-img-wrap, .timeline-modal-info {
        max-width: 100vw;
        min-width: 0;
        padding: 1.2rem 1.2rem;
    }
    .timeline-modal-title {
        font-size: 1.3rem;
    }
    .timeline-modal-img {
        max-width: 90vw;
        max-height: 220px;
    }
}

/* --- BLOG PAGE --- */
.blog-hero {
    background: var(--dark-bg);
    padding: 6rem 0 3.5rem;
    text-align: center;
    position: relative;
}
.blog-hero-title {
    font-size: 2.7rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.blog-hero-title.visible {
    opacity: 1;
    transform: none;
}
.blog-hero-desc {
    color: var(--subtle-text);
    font-size: 1.18rem;
    max-width: 600px;
    margin: 0 auto 2.2rem auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.blog-hero-desc.visible {
    opacity: 1;
    transform: none;
}

.blog-list {
    background: var(--background);
    padding: 4rem 0 3rem;
}
.blog-list-container {
    max-width: 1200px;
    margin: 0 auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.blog-card {
    background: var(--card-bg);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s cubic-bezier(.39,.575,.56,1), transform 0.4s cubic-bezier(.39,.575,.56,1), background 0.4s;
    will-change: box-shadow, transform, background;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
}
.blog-card.visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}
.blog-card:hover {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18), 0 2px 16px rgba(0,0,0,0.13);
    background: rgba(222,210,38,0.07);
    transform: scale(1.025) translateY(-8px);
    z-index: 2;
}
.blog-card-img-wrap {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(222,210,38,0.10) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.blog-card-img {
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
    background: var(--frost-bg);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.4s, transform 0.4s;
}
.blog-card-content {
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    flex-grow: 1;
}
.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
}
.blog-card-summary {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.blog-readmore {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.08rem;
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    background: rgba(222,210,38,0.07);
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.blog-readmore:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 5rem 0 3rem;
    }

    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-hero-desc {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .blog-list {
        padding: 2.5rem 0 2rem;
    }

    .blog-grid {
        gap: 2rem;
    }

    .blog-card-content {
        padding: 1.2rem 1.5rem 1.5rem 1.5rem;
    }

    .blog-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* --- BLOG MODAL (reuse timeline modal, but allow for blog-specific tweaks) --- */
.blog-modal-content {
    max-width: 800px;
    min-width: 320px;
    width: 95vw;
    min-height: 340px;
    background: rgba(36,36,36,0.92);
    backdrop-filter: blur(18px) saturate(1.2);
    border-radius: 32px;
    box-shadow: 0 16px 64px 0 rgba(0,0,0,0.32), 0 2px 16px rgba(222,210,38,0.13);
    animation: modalIn 0.45s cubic-bezier(.39,.575,.56,1);
}
.blog-modal-img-wrap {
    background: linear-gradient(135deg, rgba(222,210,38,0.13) 0%, transparent 100%);
    padding: 2.2rem 1.2rem 2.2rem 2.2rem;
    min-width: 220px;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-modal-img {
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    border: 2px solid var(--border);
    background: var(--frost-bg);
    transition: box-shadow 0.3s, transform 0.3s;
}
.blog-modal-info {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.2rem 2.2rem 2.2rem 1.2rem;
    min-width: 220px;
    max-width: 420px;
    background: transparent;
}
.blog-modal-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.1rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
}
.blog-modal-desc {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.75;
    font-weight: 500;
    margin-bottom: 0.5rem;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 1rem;
}
.blog-modal-desc::-webkit-scrollbar {
    width: 8px;
}
.blog-modal-desc::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.blog-modal-desc::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
.blog-modal-desc::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
.blog-modal-desc ul, .blog-modal-desc ol {
    margin-left: 1.2rem;
}
@media (max-width: 700px) {
    .blog-modal-content {
        flex-direction: column;
        min-width: 0;
        max-width: 98vw;
        min-height: 0;
        width: 98vw;
        padding: 0;
    }
    .blog-modal-img-wrap, .blog-modal-info {
        max-width: 100vw;
        min-width: 0;
        padding: 1.2rem 1.2rem;
    }
    .blog-modal-title {
        font-size: 1.3rem;
    }
    .blog-modal-img {
        max-width: 90vw;
        max-height: 220px;
    }
    .blog-modal-desc {
        max-height: 180px;
    }
}

.blog-list .section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 3rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
}

.mobile-menu-button {
    display: none;
    background: none;
}

/* --- BLOG POST PAGE ENHANCEMENTS --- */
.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    color: var(--subtle-text);
    margin-bottom: 1.2rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.blog-post-meta.visible {
    opacity: 1;
    transform: none;
}
.blog-meta-author i,
.blog-meta-date i,
.blog-meta-read i {
    margin-right: 0.4em;
    color: var(--secondary-color);
}

.blog-post-content-section {
    background: var(--darker-bg);
    padding: 0 0 5rem 0;
}
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.blog-post-card {
    background: var(--glass-bg);
    border-radius: 32px;
    box-shadow: 0 16px 64px 0 rgba(0,0,0,0.22), 0 2px 16px rgba(222,210,38,0.10);
    padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    margin-top: -4rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(.39,.575,.56,1);
}
.blog-post-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.blog-post-img-wrap img,
.blog-inline-img {
    max-width: 520px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    border: 2px solid var(--border);
    background: var(--frost-bg);
    margin: 0 auto 1.5rem auto;
    display: block;
}
.blog-post-content {
    width: 100%;
    color: var(--text-color);
    font-size: 1.18rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}
.blog-post-content h2, .blog-post-content h3 {
    color: var(--secondary-color);
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
}
.blog-post-content h2 {
    font-size: 2rem;
}
.blog-post-content h3 {
    font-size: 1.3rem;
}
.blog-post-content ul, .blog-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}
.blog-post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    background: rgba(222,210,38,0.07);
    color: var(--primary-color);
    font-style: italic;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
}
.callout {
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
    background: rgba(222,210,38,0.07);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.callout-warning {
    border-left: 4px solid #FFD600;
    background: rgba(222,210,38,0.13);
}
.callout-info {
    border-left: 4px solid #8E8D83;
    background: rgba(142,141,131,0.13);
    color: var(--primary-color);
}
.callout-success {
    border-left: 4px solid #B6D700;
    background: rgba(182,215,0,0.13);
    color: #B6D700;
}

.blog-post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0 1.5rem 0;
    gap: 2rem;
    flex-wrap: wrap;
}
.back-to-blog {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.08rem;
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    background: rgba(222,210,38,0.07);
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
}
.back-to-blog:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.1rem;
}
.share-btn, .blog-share a {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
}
.share-btn:hover, .blog-share a:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.related-posts-section {
    margin-top: 2.5rem;
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.related-posts-section h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}
.related-posts {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.related-post-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}
.related-post-card a, .related-post-title a, .related-post-summary a, .related-post-meta a {
    text-decoration: none !important;
    box-shadow: none !important;
}
.related-post-img {
    width: 100% !important;
    height: auto !important;
    max-width: 140px !important;
    max-height: 100px !important;
    object-fit: cover !important;
    border-radius: 16px 16px 0 0;
    display: block;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .related-post-img {
        max-width: 160px !important;
        max-height: 120px !important;
        border-radius: 12px 12px 0 0;
    }
    .related-post-card {
        border-radius: 12px;
    }
}
@media (max-width: 700px) {
    .related-post-img {
        border-radius: 10px 10px 0 0;
        max-width: 98vw !important;
        max-height: none !important;
        height: auto !important;
    }
    .related-post-card {
        border-radius: 10px;
    }
}
@media (max-width: 400px) {
    .related-post-img {
        border-radius: 6px 6px 0 0;
        max-width: 96vw !important;
    }
    .related-post-card {
        border-radius: 6px;
    }
}
.related-post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(222,210,38,0.18) 0%, rgba(142,141,131,0.13) 100%);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(.39,.575,.56,1);
    z-index: 0;
}
.related-post-card:hover, .related-post-card:focus {
    background: linear-gradient(120deg, rgba(222,210,38,0.13) 0%, rgba(142,141,131,0.10) 100%);
    box-shadow: 0 16px 40px 0 rgba(222,210,38,0.22), 0 2px 16px rgba(0,0,0,0.13);
    color: var(--secondary-color);
    transform: scale(1.055) translateY(-8px) rotate(-1.5deg);
    border: 2.5px solid var(--secondary-color);
    outline: none;
}
.related-post-card:hover::before, .related-post-card:focus::before {
    opacity: 1;
}
.related-post-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    line-height: 1.25;
    text-shadow: 0 0 8px rgba(222,210,38,0.18), 0 2px 8px rgba(222,210,38,0.10);
    transition: text-shadow 0.45s cubic-bezier(.39,.575,.56,1), color 0.45s cubic-bezier(.39,.575,.56,1);
}
.related-post-card:hover .related-post-title, .related-post-card:focus .related-post-title {
    text-shadow: 0 0 18px #DED226, 0 2px 12px rgba(222,210,38,0.18);
    color: #DED226;
}

/* --- DIMO VIDEO SECTION --- */
.dimo-video-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.dimo-video-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dimo-video-card {
    background: var(--glass-bg);
    border-radius: 32px;
    box-shadow: 0 12px 48px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.13);
    border: 2px solid var(--border);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.35s cubic-bezier(.39,.575,.56,1), transform 0.35s cubic-bezier(.39,.575,.56,1), background 0.3s;
    will-change: box-shadow, transform, background;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: fadeInUp 1.1s cubic-bezier(.39,.575,.56,1) 0.1s forwards;
}
.dimo-video-section.visible .dimo-video-card {
    opacity: 1;
    transform: none;
}
.dimo-video-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    text-align: center;
}
.dimo-video-desc {
    color: #fff !important;
    font-size: 1.18rem;
    margin-bottom: 2.2rem;
    text-align: center;
    max-width: 600px;
}
.dimo-video-player-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(222,210,38,0.10) 0%, transparent 100%);
    border-radius: 24px;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
}
.dimo-video-player {
    width: 100%;
    max-width: 700px;
    min-height: 320px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    border: 2px solid var(--border);
    background: var(--frost-bg);
    transition: box-shadow 0.3s, transform 0.3s;
    outline: none;
}
.dimo-video-player:focus,
.dimo-video-player:hover {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18);
    transform: scale(1.02) translateY(-4px);
}
@media (max-width: 900px) {
    .dimo-video-card {
        padding: 2rem 0.7rem 1.5rem 0.7rem;
    }
    .dimo-video-title {
        font-size: 2rem;
    }
    .dimo-video-player {
        min-height: 180px;
        max-width: 98vw;
    }
}
@media (max-width: 600px) {
    .dimo-video-player {
        min-height: 120px;
        border-radius: 12px;
    }
    .dimo-video-title {
        font-size: 1.3rem;
    }
    .dimo-video-desc {
        font-size: 1rem;
    }
}

/* --- WHY PAGE --- */
.why-hero {
    background: var(--dark-bg);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.why-hero-content {
    text-align: left;
}
.why-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.why-hero-title.visible {
    opacity: 1;
    transform: none;
}
.why-hero-desc {
    color: var(--subtle-text);
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.why-hero-desc.visible {
    opacity: 1;
    transform: none;
}
.why-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(222, 210, 38, 0.2);
    transition: box-shadow 0.4s, transform 0.4s;
}
.why-hero-image img:hover {
    box-shadow: 0 16px 48px rgba(0,122,255,0.13);
    transform: scale(1.035);
}
@media (max-width: 900px) {
    .why-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .why-hero-content {
        text-align: center;
    }
    .why-hero-title {
        font-size: 2.2rem;
    }
}

.why-stats {
    background: linear-gradient(135deg, var(--gradient-start) 60%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
}
.why-stats::before {
    content: '';
    position: absolute;
    top: -80px; left: -80px; right: -80px; bottom: -80px;
    background: radial-gradient(circle at 30% 40%, rgba(222,210,38,0.10) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(142,141,131,0.10) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: whyStatsPulse 8s ease-in-out infinite;
}
@keyframes whyStatsPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.stats-grid {
    position: relative;
    z-index: 1;
}
.stat-card {
    background: rgba(36,36,36,0.92);
    box-shadow: 0 8px 32px rgba(222,210,38,0.18), 0 2px 16px rgba(0,0,0,0.13);
    border: 2px solid var(--secondary-color);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.stat-number {
    font-size: 3.6rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 0.7rem;
    letter-spacing: -2px;
    text-shadow: 0 0 18px rgba(222,210,38,0.45), 0 2px 12px rgba(222,210,38,0.10);
    filter: drop-shadow(0 0 8px #DED226);
    animation: statGlow 2.5s infinite alternate;
}
@keyframes statGlow {
    0% { text-shadow: 0 0 18px rgba(222,210,38,0.45), 0 2px 12px rgba(222,210,38,0.10); }
    100% { text-shadow: 0 0 32px rgba(222,210,38,0.75), 0 2px 12px rgba(222,210,38,0.18); }
}
.stat-label {
    font-size: 1.18rem;
    color: var(--text-color);
    opacity: 0.92;
}
@media (max-width: 900px) {
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-label {
        font-size: 1.05rem;
    }
}

.why-benefits {
    background: var(--darker-bg);
    padding: 6rem 0 4rem;
    position: relative;
}
.why-benefits-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 2rem 0;
}
.benefit-card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 1px solid var(--border);
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.35s, transform 0.35s, background 0.3s;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    will-change: box-shadow, transform, background;
}
.benefit-card.visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}
.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}
.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.benefit-card p {
    color: var(--text-color);
    font-size: 1.08rem;
    opacity: 0.9;
}

.why-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.why-cta-container {
    max-width: 700px;
    margin: 0 auto;
}
.why-cta .cta-button {
    margin-top: 2rem;
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
}

@media (max-width: 900px) {
    .why-stats, .why-benefits, .why-cta {
        padding: 3rem 0 2rem;
    }
    .benefits-grid {
        gap: 1.2rem;
    }
    .stat-card, .benefit-card {
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    }
}

/* WHY PAGE BADGE, TAGLINE, HERO CTA */
.why-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(222,210,38,0.13);
    animation: badgePulse 2.5s infinite alternate;
    text-shadow: none;
}
@keyframes badgePulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.15) drop-shadow(0 0 8px #DED226); }
}
.why-hero-tagline {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.2rem 0 2.2rem 0;
    opacity: 0.92;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
}
.why-hero-cta {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.18rem;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--dark-bg);
    font-weight: 700;
    border-radius: 30px;
    transition: background 0.2s, box-shadow 0.3s, transform 0.3s;
    will-change: box-shadow, transform;
    position: relative;
    z-index: 2;
}
.why-hero-cta:hover {
    background: #fffbe6;
    color: var(--primary-color);
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 12px 40px rgba(222,210,38,0.18);
}

/* WHY TESTIMONIALS */
.why-testimonials {
    background: var(--dark-bg);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.why-testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-carousel {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    position: relative;
}
.testimonial-card {
    background: var(--glass-bg);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 1.5px solid var(--border);
    padding: 2.2rem 1.5rem 1.2rem 1.5rem;
    min-width: 260px;
    max-width: 340px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.7s, transform 0.7s;
    will-change: opacity, transform;
    position: relative;
}
.testimonial-card.active {
    display: flex;
    opacity: 1;
    transform: none;
    z-index: 2;
}
.testimonial-quote {
    font-size: 1.18rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    font-style: italic;
}
.testimonial-user {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.85;
}
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.testimonial-controls button {
    background: rgba(222,210,38,0.13);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(222,210,38,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.testimonial-controls button:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 16px rgba(222,210,38,0.18);
}

@media (max-width: 900px) {
    .testimonial-carousel {
        flex-direction: column;
        gap: 0;
    }
    .testimonial-card {
        min-width: 0;
        max-width: 98vw;
        margin: 0 auto;
    }
}

/* WHY CTA SECTION ENHANCEMENTS */
.why-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--dark-bg);
    box-shadow: 0 8px 32px rgba(222,210,38,0.13);
    position: relative;
    overflow: hidden;
}
.why-cta-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.why-cta-desc {
    font-size: 1.25rem;
    color: var(--dark-bg);
    font-weight: 600;
    margin-bottom: 2.2rem;
    opacity: 0.92;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
}
.why-cta-button {
    font-size: 1.25rem;
    padding: 1.2rem 2.8rem;
    background: #fffbe6;
    color: var(--primary-color);
    font-weight: 800;
    border-radius: 30px;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.3s, transform 0.3s;
    will-change: box-shadow, transform;
}
.why-cta-button:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 12px 40px rgba(222,210,38,0.18);
}
.why-cta-badge {
    display: inline-block;
    background: rgba(36,36,36,0.92);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    margin-top: 1.2rem;
    box-shadow: 0 2px 12px rgba(222,210,38,0.13);
    animation: badgePulse 2.5s infinite alternate;
    text-shadow: none;
}

@keyframes badgePulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.15) drop-shadow(0 0 8px #DED226); }
}

/* WHY PAGE MINIMAL MODERN STYLES */
.why-hero-container.minimal {
    padding: 8rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
}
.why-hero-content.minimal {
    max-width: 600px;
    text-align: center;
    background: none;
}
@media (max-width: 900px) {
    .why-hero-container.minimal {
        flex-direction: column;
        gap: 1.5rem;
        padding: 5rem 0 2rem 0;
    }
    .why-hero-content.minimal {
        text-align: center;
        align-items: center;
        max-width: 98vw;
    }
    .why-hero-image-secure {
        justify-content: center;
        margin-bottom: 1.2rem;
        width: 100%;
    }
    .secure-hero-img {
        max-width: 98vw;
        border-radius: 14px;
        height: auto;
    }
    .why-hero-title.minimal {
        font-size: 2.1rem;
        letter-spacing: -1px;
    }
    .why-hero-subtitle {
        font-size: 1.1rem !important;
        max-width: 98vw;
    }
    .why-hero-desc.minimal {
        font-size: 1rem;
        max-width: 98vw;
    }
    .stats-grid.minimal {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .stat-card.minimal {
        min-width: 110px;
        max-width: 160px;
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    .stat-number.minimal {
        font-size: 1.3rem;
    }
    .stat-label.minimal {
        font-size: 0.9rem;
    }
    .why-graph-container.minimal {
        padding: 0 0.5rem;
    }
    .why-graph-desc.minimal {
        margin-top: 1.2rem;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        max-width: 98vw;
    }
    .benefits-grid.minimal {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .benefit-card.minimal {
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    }
    .why-cta-container.minimal {
        padding: 0 0.5rem;
    }
    .cta-button, .why-cta-button {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        min-width: 60vw;
        margin: 0.7rem 0;
    }
}
@media (max-width: 600px) {
    .stats-grid.minimal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-card.minimal {
        min-width: 90px;
        max-width: 98vw;
        padding: 0.8rem 0.3rem 0.3rem 0.3rem;
    }
    .why-hero-title.minimal {
        font-size: 1.3rem;
    }
    .why-hero-subtitle {
        font-size: 0.95rem !important;
    }
    .why-hero-desc.minimal {
        font-size: 0.92rem;
    }
    .cta-button, .why-cta-button {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        min-width: 90vw;
    }
}

/* Restore stat-card.minimal to original, non-interactive style */
.stat-card.minimal {
    background: rgba(36,36,36,0.92);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 1.5px solid var(--border);
    padding: 2.2rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.35s, transform 0.35s, background 0.3s;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    will-change: box-shadow, transform, background, opacity;
    animation: fadeInUp 1.1s cubic-bezier(.39,.575,.56,1) 0.1s forwards;
    cursor: unset;
    position: unset;
    z-index: unset;
}
.stat-card.minimal.visible {
    opacity: 1;
    transform: none;
}
.stat-card.minimal:hover, .stat-card.minimal:focus, .stat-card.minimal:active {
    box-shadow: unset;
    background: unset;
    border-color: unset;
    transform: unset;
}

/* --- INTERACTIVE STAT CARDS --- */
.stat-card.minimal {
    cursor: pointer;
    transition: box-shadow 0.35s, transform 0.35s, background 0.3s, border-color 0.3s;
    will-change: box-shadow, transform, background, border-color;
    position: relative;
    z-index: 1;
}
.stat-card.minimal:hover, .stat-card.minimal:focus {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18), 0 2px 16px rgba(0,0,0,0.13);
    background: rgba(222,210,38,0.07);
    border-color: var(--secondary-color);
    transform: scale(1.045) translateY(-6px);
}
.stat-card.minimal:active {
    transform: scale(0.98) translateY(2px);
}

/* --- WHY PAGE HERO SECURITY IMAGE --- */
.why-hero-image-secure {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    width: 100%;
    animation: fadeInUp 1.2s cubic-bezier(.39,.575,.56,1) 0.1s both;
}
.secure-hero-img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    border: 2px solid var(--border);
    background: var(--frost-bg);
    object-fit: cover;
    transition: box-shadow 0.4s, transform 0.4s;
    will-change: box-shadow, transform;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: fadeInUp 1.2s cubic-bezier(.39,.575,.56,1) 0.1s forwards;
}
.secure-hero-img.visible {
    opacity: 1;
    transform: none;
}

/* --- FADE-IN-UP ANIMATION FOR ALL MAJOR ELEMENTS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: fadeInUp 1.1s cubic-bezier(.39,.575,.56,1) both;
}
.fade-in-up.visible {
    opacity: 1;
    transform: none;
}
/* Staggered delays for fade-in-up in stats and benefits */
.stats-grid.minimal .stat-card.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.stats-grid.minimal .stat-card.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.stats-grid.minimal .stat-card.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.stats-grid.minimal .stat-card.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.stats-grid.minimal .stat-card.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.stats-grid.minimal .stat-card.fade-in-up:nth-child(6) { animation-delay: 0.6s; }
.benefits-grid.minimal .benefit-card.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.benefits-grid.minimal .benefit-card.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.benefits-grid.minimal .benefit-card.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.why-hero-content.fade-in-up { animation-delay: 0.2s; }
.why-cta-container.fade-in-up { animation-delay: 0.3s; }
.why-graph-container.fade-in-up { animation-delay: 0.2s; }
.why-benefits-container.fade-in-up { animation-delay: 0.2s; }

@media (max-width: 900px) {
    .secure-hero-img {
        max-width: 98vw;
        border-radius: 14px;
    }
    .why-hero-image-secure {
        margin-bottom: 1.2rem;
    }
}

/* --- WHY PAGE MODERN TEXT DESIGN --- */
.why-hero-title.minimal {
    font-size: 4.2rem;
    font-weight: 900;
    color: #F5F5F5;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    letter-spacing: -2px;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
    filter: none;
    transition: color 0.3s, background 0.3s, filter 0.4s, transform 0.4s;
    animation: whyHeroFloat 5s ease-in-out infinite alternate;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.why-hero-title-animated span {
    color: #F5F5F5 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
}
.why-cta-container .section-title.minimal {
    color: #F5F5F5;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
}

.why-hero-desc.minimal {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.3rem;
    opacity: 0.95;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.07);
    transition: color 0.3s;
}
.section-title.minimal {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 2.2rem;
    letter-spacing: -0.7px;
    line-height: 1.13;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    transition: color 0.3s, background 0.3s;
}
.stat-label.minimal {
    color: var(--text-color);
    font-size: 1.13rem;
    font-weight: 500;
    opacity: 0.88;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(222,210,38,0.07);
    transition: color 0.3s;
}
.benefit-card.minimal h3 {
    color: var(--primary-color);
    font-size: 1.22rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: -0.2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    transition: color 0.3s, background 0.3s;
}
.benefit-card.minimal p {
    color: var(--text-color);
    font-size: 1.08rem;
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.07);
    transition: color 0.3s;
}

.know-more-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 12px rgba(222,210,38,0.15);
}

.know-more-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(222,210,38,0.3);
}

.know-more-link:hover {
    color: #fffbe6;
    transform: translateY(-1px);
    text-shadow: 0 4px 16px rgba(222,210,38,0.25);
}

.know-more-link:hover::after {
    width: 100%;
}
.why-cta-badge.minimal {
    color: var(--primary-color);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.07);
}
@media (max-width: 900px) {
    .why-hero-title.minimal {
        font-size: 1.5rem;
    }
    .section-title.minimal {
        font-size: 1.2rem;
    }
    .stat-label.minimal {
        font-size: 1rem;
    }
    .benefit-card.minimal h3 {
        font-size: 1rem;
    }
    .benefit-card.minimal p {
        font-size: 0.98rem;
    }
}

/* --- WHY PAGE MODERN TEXT HIGHLIGHTS --- */
.why-graph-desc.minimal p {
    color: var(--primary-color);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    margin-bottom: 0.7rem;
    transition: color 0.3s, background 0.3s;
}
.why-hero-desc.minimal {
    color: var(--text-color);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2.3rem;
    opacity: 0.97;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    transition: color 0.3s;
}
.why-hero-desc.minimal .emphasis {
    color: var(--secondary-color);
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.13);
}
.why-cta-container .section-title.minimal {
    font-size: 2.3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.7px;
    line-height: 1.13;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    transition: color 0.3s, background 0.3s;
}
@media (max-width: 900px) {
    .why-graph-desc.minimal p {
        font-size: 1.05rem;
    }
    .why-cta-container .section-title.minimal {
        font-size: 1.3rem;
    }
    .why-hero-desc.minimal {
        font-size: 1.05rem;
    }
}

.why-hero-title.minimal {
    font-size: 4.2rem;
    font-weight: 900;
    color: #F5F5F5;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    letter-spacing: -2px;
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
    filter: none;
    transition: color 0.3s, background 0.3s, filter 0.4s, transform 0.4s;
    animation: whyHeroFloat 5s ease-in-out infinite alternate;
    cursor: pointer;
    position: relative;
    z-index: 2;
}
.why-hero-title-animated span {
    color: #F5F5F5 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
}
.why-cta-container .section-title.minimal {
    color: #F5F5F5;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-fill-color: unset !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 0 32px rgba(0,0,0,0.13);
}

.why-hero-desc.minimal {
    color: var(--text-color);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2.3rem;
    opacity: 0.97;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    transition: color 0.3s;
}
.why-hero-desc.minimal .emphasis {
    color: var(--secondary-color);
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(222,210,38,0.13);
}
.why-cta-container .section-title.minimal {
    font-size: 2.3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1.5rem;
    letter-spacing: -0.7px;
    line-height: 1.13;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    transition: color 0.3s, background 0.3s;
}

@keyframes whyHeroFloat {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.025); }
    100% { transform: translateY(0) scale(1); }
}

/* Staggered letter animation for hero title */
.why-hero-title-animated span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: whyHeroLetterIn 0.85s cubic-bezier(.39,.575,.56,1) forwards;
}
.why-hero-title-animated.visible span {
    opacity: 1;
    transform: none;
}
@keyframes whyHeroLetterIn {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .why-hero-title.minimal {
        font-size: 2.3rem;
        letter-spacing: -1px;
    }
}

.stats-grid.minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    justify-items: center;
}
.stat-card.minimal {
    background: rgba(36,36,36,0.92);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
    border: 1.5px solid var(--border);
    padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    min-width: 120px;
    max-width: 180px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.35s, transform 0.35s, background 0.3s;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    will-change: box-shadow, transform, background, opacity;
    animation: fadeInUp 1.1s cubic-bezier(.39,.575,.56,1) 0.1s forwards;
    margin: 0 auto;
}
.stat-card.minimal.visible {
    opacity: 1;
    transform: none;
}
.stat-number.minimal {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(222,210,38,0.10);
    filter: drop-shadow(0 0 8px #DED226);
    animation: statGlow 2.5s infinite alternate;
}
.stat-label.minimal {
    color: var(--text-color);
    font-size: 0.98rem;
    opacity: 0.85;
    background: none;
    margin-bottom: 0.2rem;
    text-align: center;
}
@media (max-width: 900px) {
    .stats-grid.minimal {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .stat-card.minimal {
        min-width: 110px;
        max-width: 160px;
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
    .stat-number.minimal {
        font-size: 1.3rem;
    }
    .stat-label.minimal {
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
    .stats-grid.minimal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-card.minimal {
        min-width: 90px;
        max-width: 98vw;
        padding: 0.8rem 0.3rem 0.3rem 0.3rem;
    }
}

.why-stats-container.minimal {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
.section-title.minimal {
    text-align: center;
    margin-bottom: 2.2rem;
    margin-top: 0.5rem;
    font-size: 2.3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -0.7px;
    line-height: 1.13;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    transition: color 0.3s, background 0.3s;
}
@media (max-width: 900px) {
    .why-stats-container.minimal {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    .section-title.minimal {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
        margin-top: 0.2rem;
    }
}

.why-graph-desc.minimal {
    margin-top: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--subtle-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .why-graph-desc.minimal {
        margin-top: 1.2rem;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        max-width: 98vw;
    }
}

/* --- CONTACT PAGE --- */
.contact-hero {
    background: var(--dark-bg);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    text-shadow: 0 4px 24px rgba(222,210,38,0.13), 0 1px 2px rgba(0,0,0,0.10);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.contact-hero-title.visible {
    opacity: 1;
    transform: none;
}
.contact-hero-desc {
    color: #fff;
    font-size: 1.18rem;
    max-width: 600px;
    margin: 0 auto 2.2rem auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(.39,.575,.56,1), transform 0.8s cubic-bezier(.39,.575,.56,1);
}
.contact-hero-desc.visible {
    opacity: 1;
    transform: none;
}

.contact-section {
    background: var(--darker-bg);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.contact-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.contact-form-card, .contact-info-card {
    background: var(--glass-bg);
    border-radius: 32px;
    box-shadow: 0 12px 48px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.13);
    border: 2px solid var(--border);
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.35s cubic-bezier(.39,.575,.56,1), transform 0.35s cubic-bezier(.39,.575,.56,1), background 0.3s;
    will-change: box-shadow, transform, background;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    margin-bottom: 2rem;
}
.contact-form-card.visible, .contact-info-card.visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
}
.contact-form-card:hover, .contact-info-card:hover {
    box-shadow: 0 16px 48px rgba(222,210,38,0.18), 0 2px 16px rgba(0,0,0,0.13);
    background: rgba(222,210,38,0.07);
    transform: scale(1.025) translateY(-8px);
    z-index: 2;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.form-group label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    background: rgba(36,36,36,0.92);
    color: var(--text-color);
    font-size: 1.08rem;
    font-family: inherit;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
    margin-bottom: 0.2rem;
    resize: none;
}
.form-group input:focus, .form-group textarea:focus {
    border: 1.5px solid var(--secondary-color);
    outline: none;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
}
.contact-submit {
    margin-top: 0.5rem;
    font-size: 1.15rem;
    padding: 1rem 2.2rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.contact-success {
    margin-top: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(222,210,38,0.07);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s;
}
.contact-form.submitted .contact-success {
    opacity: 1;
}

.contact-info-card {
    align-items: center;
    text-align: center;
    justify-content: center;
}
.contact-info-card h2 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}
.contact-email {
    color: var(--secondary-color);
    font-size: 1.18rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(222,210,38,0.07);
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    transition: background 0.2s, color 0.2s;
}
.contact-email:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}
.contact-info-desc {
    color: var(--subtle-text);
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .contact-form-card, .contact-info-card {
        min-width: 0;
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .contact-hero-title {
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .contact-form-card, .contact-info-card {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }
    .contact-hero-title {
        font-size: 1.3rem;
    }
    .contact-hero-desc {
        font-size: 1rem;
    }
}

/* --- CONTACT PAGE ENHANCED --- */
.contact-hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.contact-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
    opacity: 0.18;
    animation: contactShapeFloat 12s ease-in-out infinite alternate;
}
.contact-bg-shape.shape1 {
    width: 340px; height: 340px;
    background: radial-gradient(circle, #DED226 0%, transparent 80%);
    top: 10%; left: 5%;
    animation-delay: 0s;
}
.contact-bg-shape.shape2 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, #8E8D83 0%, transparent 80%);
    bottom: 8%; right: 8%;
    animation-delay: 2s;
}
.contact-bg-shape.shape3 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, #fffbe6 0%, transparent 80%);
    top: 40%; right: 18%;
    animation-delay: 4s;
}
@keyframes contactShapeFloat {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.08); }
    100% { transform: translateY(0) scale(1); }
}

.glassy-float {
    background: var(--glass-bg);
    box-shadow: 0 16px 64px 0 rgba(0,0,0,0.22), 0 2px 16px rgba(222,210,38,0.10);
    border-radius: 32px;
    position: relative;
    z-index: 2;
    animation: float 7s ease-in-out infinite alternate;
}
.contact-hero-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: rgba(36,36,36,0.92);
    border: 2.5px solid rgba(222,210,38,0.10);
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    transition: box-shadow 0.4s, border 0.4s;
}
.contact-hero-icon-glow {
    width: 70px; height: 70px;
    background: radial-gradient(circle, #DED226 0%, #fffbe6 60%, transparent 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.7rem;
    box-shadow: 0 0 32px 8px #DED22644;
    animation: glow 2.5s infinite alternate;
}
.contact-hero-icon-glow i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 8px #DED226);
}
@keyframes glow {
    0% { box-shadow: 0 0 32px 8px #DED22644; }
    100% { box-shadow: 0 0 48px 16px #DED22699; }
}

/* Glassy border for form card */
.glassy-border {
    border: 2.5px solid;
    border-image: linear-gradient(120deg, #DED226 0%, #8E8D83 100%);
    border-image-slice: 1;
    box-shadow: 0 8px 32px rgba(222,210,38,0.13), 0 2px 16px rgba(0,0,0,0.10);
    background: rgba(36,36,36,0.96);
    position: relative;
    overflow: hidden;
}
.glassy-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    pointer-events: none;
    background: linear-gradient(120deg, #DED22633 0%, #8E8D8333 100%);
    opacity: 0.25;
    z-index: 0;
}

/* Floating label form with icons */
.floating-label {
    position: relative;
    margin-bottom: 1.7rem;
}
.floating-label input,
.floating-label textarea {
    background: rgba(36,36,36,0.92);
    border: 1.5px solid var(--border);
    color: var(--text-color);
    font-size: 1.13rem;
    padding: 1.2rem 1.2rem 1.2rem 2.7rem;
    border-radius: 16px;
    width: 100%;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    z-index: 1;
}
.floating-label label {
    position: absolute;
    top: 1.1rem; left: 1.1rem;
    color: var(--primary-color);
    font-size: 1.08rem;
    font-weight: 600;
    pointer-events: none;
    background: none;
    transition: 0.25s cubic-bezier(.39,.575,.56,1);
    display: flex; align-items: center; gap: 0.5rem;
    opacity: 0.85;
    z-index: 2;
}
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
    top: -1.1rem;
    left: 0.7rem;
    font-size: 0.98rem;
    color: var(--secondary-color);
    background: rgba(36,36,36,0.92);
    padding: 0 0.5rem;
    border-radius: 8px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(222,210,38,0.07);
}
.floating-label i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-right: 0.2rem;
}
.floating-label input:focus, .floating-label textarea:focus {
    border: 1.5px solid var(--secondary-color);
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
}

/* Ripple effect for send button */
.ripple-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.ripple-btn span {
    position: relative;
    z-index: 2;
}
.ripple-btn:active::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: rgba(222,210,38,0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.5s linear;
    z-index: 1;
}
@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.contact-qr {
    margin: 1.2rem 0 0.7rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-qr img {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(222,210,38,0.10);
    border: 1.5px solid var(--border);
    background: var(--frost-bg);
    transition: box-shadow 0.3s, transform 0.3s;
}
.contact-qr img:hover {
    box-shadow: 0 8px 32px rgba(222,210,38,0.18);
    transform: scale(1.06) rotate(-2deg);
}

/* Staggered fade-in-up for contact page */
.contact-hero-card.fade-in-up, .contact-form-card.fade-in-up, .contact-info-card.fade-in-up, .contact-hero-title.fade-in-up, .contact-hero-desc.fade-in-up, .contact-email.fade-in-up, .contact-qr.fade-in-up, .contact-info-desc.fade-in-up, .contact-hero-icon-glow.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: fadeInUp 1.1s cubic-bezier(.39,.575,.56,1) both;
}
.contact-hero-card.fade-in-up { animation-delay: 0.1s; }
.contact-hero-icon-glow.fade-in-up { animation-delay: 0.2s; }
.contact-hero-title.fade-in-up { animation-delay: 0.3s; }
.contact-hero-desc.fade-in-up { animation-delay: 0.4s; }
.contact-form-card.fade-in-up { animation-delay: 0.2s; }
.contact-info-card.fade-in-up { animation-delay: 0.3s; }
.contact-email.fade-in-up { animation-delay: 0.4s; }
.contact-qr.fade-in-up { animation-delay: 0.5s; }
.contact-info-desc.fade-in-up { animation-delay: 0.6s; }

@media (max-width: 900px) {
    .contact-hero-card {
        padding: 2rem 0.7rem 1.5rem 0.7rem;
    }
    .contact-form-card, .contact-info-card {
        min-width: 0;
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .contact-hero-title {
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .contact-hero-card {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
    }
    .contact-form-card, .contact-info-card {
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }
    .contact-hero-title {
        font-size: 1.3rem;
    }
    .contact-hero-desc {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 5rem 0 2rem;
    }
    .contact-hero-bg-shapes {
        display: none;
    }
    .contact-hero-card {
        padding: 1rem 0.2rem 1rem 0.2rem;
        max-width: 98vw;
        border-radius: 18px;
    }
    .contact-hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
    .contact-hero-desc {
        font-size: 0.98rem;
        margin-bottom: 1.2rem;
    }
    .contact-container {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
        padding: 0;
    }
    .contact-form-card, .contact-info-card {
        padding: 0.7rem 0.1rem 0.7rem 0.1rem;
        min-width: 0;
        max-width: 100vw;
        border-radius: 18px;
        margin-bottom: 0.7rem;
    }
    .glassy-border, .glassy-float {
        border-radius: 18px;
    }
    .floating-label input, .floating-label textarea {
        font-size: 1rem;
        padding: 1rem 1rem 1rem 2.2rem;
        border-radius: 12px;
    }
    .floating-label label {
        font-size: 0.98rem;
        left: 0.8rem;
    }
    .floating-label input:focus + label,
    .floating-label input:not(:placeholder-shown) + label,
    .floating-label textarea:focus + label,
    .floating-label textarea:not(:placeholder-shown) + label {
        top: -1.1rem;
        left: 0.5rem;
        font-size: 0.88rem;
        border-radius: 6px;
    }
    .contact-qr img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }
    .cta-button, .contact-submit {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        min-width: 60vw;
        border-radius: 18px;
    }
    .contact-info-card h2 {
        font-size: 1.05rem;
    }
    .contact-info-desc {
        font-size: 0.92rem;
    }
    .callout {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 700px) {
    .blog-post-card {
        padding: 1rem 0.5rem;
        border-radius: 14px;
    }
    .blog-post-img-wrap {
        margin-bottom: 1rem;
    }
    .blog-post-img-wrap img, .blog-inline-img {
        max-width: 98vw !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 10px !important;
        margin: 0.7rem 0 1rem 0 !important;
        display: block;
    }
    .blog-post-content {
        font-size: 1rem;
        padding: 0.2rem;
        word-break: break-word;
    }
    .blog-post-actions {
        flex-direction: column;
        gap: 0.7rem;
        margin: 1.2rem 0 0.7rem 0;
        align-items: stretch;
    }
    .back-to-blog, .share-btn, .related-post-card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .back-to-blog {
        font-size: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
    }
    .blog-share {
        font-size: 0.98rem;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    .share-btn {
        font-size: 1.1rem;
        padding: 0.4rem 0.7rem;
        border-radius: 10px;
        min-width: 44px;
        min-height: 44px;
    }
    .blog-post-meta {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }
    .related-posts-section {
        padding: 1rem 0.2rem 1rem 0.2rem;
        border-radius: 12px;
    }
    .related-posts {
        flex-direction: column;
        gap: 0.7rem;
    }
    .related-post-card {
        min-width: 0;
        max-width: 98vw;
        border-radius: 10px;
        padding: 0.7rem 0.5rem;
        min-height: 44px;
    }
    .related-post-img {
        width: 100% !important;
        max-width: 96px !important;
        max-height: 64px !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 16px;
        display: block;
        margin-bottom: 0.7rem;
        box-shadow: 0 2px 8px rgba(222,210,38,0.07);
        margin-left: auto;
        margin-right: auto;
    }
    @media (max-width: 900px) {
        .related-post-img {
            max-width: 120px !important;
            max-height: 80px !important;
            border-radius: 12px;
        }
    }
    @media (max-width: 700px) {
        .related-post-img {
            border-radius: 10px;
            max-width: 98vw !important;
            max-height: none !important;
            height: auto !important;
        }
    }
    @media (max-width: 400px) {
        .related-post-img {
            border-radius: 6px;
            max-width: 96vw !important;
        }
    }
    .blog-post-content h2, .blog-post-content h3 {
        font-size: 1.08rem;
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .blog-post-content ul, .blog-post-content ol {
        margin-left: 1.1rem;
        font-size: 0.98rem;
        margin-bottom: 1rem;
    }
    .blog-post-content blockquote {
        font-size: 0.98rem;
        padding: 0.7rem 1rem;
        border-radius: 8px;
        margin: 1.2rem 0;
    }
    .blog-post-content .callout {
        font-size: 0.98rem;
        padding: 0.7rem 1rem;
        border-radius: 8px;
        margin: 1rem 0;
    }
}
@media (max-width: 600px) {
    .blog-post-card {
        padding: 0.5rem 0.2rem;
        border-radius: 10px;
    }
    .blog-post-img-wrap img, .blog-inline-img {
        border-radius: 6px !important;
    }
    .blog-post-content {
        font-size: 0.95rem;
    }
    .back-to-blog {
        font-size: 0.95rem;
        padding: 0.3rem 0.7rem;
        border-radius: 8px;
    }
    .share-btn {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
        border-radius: 8px;
        min-width: 44px;
        min-height: 44px;
    }
    .related-post-card {
        border-radius: 6px;
        padding: 0.5rem 0.2rem;
        min-height: 44px;
    }
    .related-post-img {
        height: 40px;
        border-radius: 4px;
    }
    .blog-post-content h2, .blog-post-content h3 {
        font-size: 0.95rem;
    }
    .blog-post-content ul, .blog-post-content ol {
        font-size: 0.85rem;
    }
    .blog-post-content blockquote, .blog-post-content .callout {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        border-radius: 6px;
    }
}
@media (max-width: 400px) {
    .blog-post-content {
        font-size: 0.85rem;
    }
    .back-to-blog {
        font-size: 0.85rem;
    }
    .blog-post-meta {
        font-size: 0.85rem;
    }
}

.blog-post-meta, .blog-meta-author, .blog-meta-date, .blog-modal-meta, .blog-hero-desc {
    color: #fff !important;
}

@media (max-width: 700px) {
    /* Extra mobile styles for first 3 blog posts */
    .blog-post-content h2, .blog-post-content h3 {
        font-size: 1.08rem;
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
    }
    .blog-post-content ul, .blog-post-content ol {
        margin-left: 1.1rem;
        font-size: 0.98rem;
        margin-bottom: 1rem;
    }
    .blog-post-content blockquote {
        font-size: 0.98rem;
        padding: 0.7rem 1rem;
        border-radius: 8px;
        margin: 1.2rem 0;
    }
    .blog-post-content .callout {
        font-size: 0.98rem;
        padding: 0.7rem 1rem;
        border-radius: 8px;
        margin: 1rem 0;
    }
    .blog-inline-img {
        max-width: 98vw !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin: 0.7rem 0 1rem 0 !important;
        display: block;
    }
}
@media (max-width: 400px) {
    .blog-post-content h2, .blog-post-content h3 {
        font-size: 0.95rem;
    }
    .blog-post-content ul, .blog-post-content ol {
        font-size: 0.85rem;
    }
    .blog-post-content blockquote, .blog-post-content .callout {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        border-radius: 6px;
    }
    .blog-inline-img {
        border-radius: 5px !important;
    }
}

.related-post-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 1.2rem 1.5rem 1.2rem 1.5rem;
}
.related-post-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    line-height: 1.25;
}
.related-post-summary {
    color: #fff !important;
    font-size: 0.98rem;
    color: var(--subtle-text);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.related-post-meta {
    font-size: 0.92rem;
    color: #fff;
    margin-top: 0.2rem;
    opacity: 0.8;
    line-height: 1.3;
}
@media (max-width: 700px) {
    .related-post-card {
        padding: 0.9rem 0.7rem 0.9rem 0.7rem;
        gap: 0.4rem;
    }
    .related-post-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .related-post-summary {
        font-size: 0.92rem;
        margin-bottom: 0.3rem;
    }
    .related-post-meta {
        font-size: 0.85rem;
        margin-top: 0.1rem;
    }
}

@media (min-width: 701px) {
    .related-post-card {
        background: rgba(36,36,36,0.92);
        border-radius: 22px;
        box-shadow: 0 4px 24px rgba(222,210,38,0.10), 0 2px 16px rgba(0,0,0,0.10) inset;
        border: 2.5px solid;
        border-image: linear-gradient(120deg, #DED226 0%, #8E8D83 100%);
        border-image-slice: 1;
        backdrop-filter: blur(8px) saturate(1.2);
        -webkit-backdrop-filter: blur(8px) saturate(1.2);
        padding: 2rem 2.2rem 2rem 2.2rem;
        min-width: 220px;
        max-width: 320px;
        transition: box-shadow 0.5s cubic-bezier(.39,.575,.56,1), background 0.5s, transform 0.5s, border 0.5s;
    }
    .related-post-card::before {
        border-radius: 22px;
    }
    .related-post-card:hover, .related-post-card:focus {
        box-shadow: 0 24px 64px 0 rgba(222,210,38,0.22), 0 4px 32px rgba(0,0,0,0.18) inset;
        background: linear-gradient(120deg, rgba(222,210,38,0.16) 0%, rgba(142,141,131,0.13) 100%);
        border: 2.5px solid #DED226;
        transform: scale(1.07) translateY(-12px) rotate(-2deg);
    }
    .related-post-img {
        transition: transform 0.5s cubic-bezier(.39,.575,.56,1), box-shadow 0.5s;
    }
    .related-post-card:hover .related-post-img, .related-post-card:focus .related-post-img {
        transform: scale(1.06) rotate(-2deg) translateY(-4px);
        box-shadow: 0 8px 32px rgba(222,210,38,0.18);
    }
    .related-post-title {
        font-size: 1.18rem;
        margin-bottom: 0.6rem;
    }
    .related-post-summary {
        font-size: 1.05rem;
        margin-bottom: 0.7rem;
    }
    .related-post-meta {
        font-size: 1rem;
        margin-top: 0.3rem;
    }
}

.blog-card a, .blog-readmore, .blog-modal-content a, .blog-post-content a, .related-post-card a, .related-post-title a, .related-post-summary a, .related-post-meta a, .related-posts a, .blog-post-meta a, .blog-share a, .back-to-blog, .section-title a, .blog-hero-desc a, .blog-card-title a, .blog-card-summary a {
    text-decoration: none !important;
    box-shadow: none !important;
    color: #fff !important;
}

/* --- Privacy Page Modern Styles --- */
.privacy-hero {
    padding: 7rem 0 3rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(222,210,38,0.08) 0%, transparent 70%),
                radial-gradient(circle at 80% 80%, rgba(142,141,131,0.08) 0%, transparent 70%);
    z-index: 0;
}
.privacy-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.privacy-hero-content {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--glass-bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s;
}
.privacy-hero-content .section-title {
    font-size: 2.7rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.privacy-date {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.privacy-hero-desc {
    font-size: 1.25rem;
    color: var(--text-color);
    opacity: 0.92;
    margin-bottom: 0;
}

.privacy-section {
    padding: 3rem 0 4rem;
    background: var(--darker-bg);
}
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    animation: fadeInUp 1.2s;
}
.privacy-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.privacy-content p {
    color: var(--text-color);
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
    opacity: 0.93;
}
.privacy-content ul.privacy-contact-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.privacy-content ul.privacy-contact-list li {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}
.privacy-content a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s;
}
.privacy-content a:hover {
    color: var(--primary-color);
}

/* Responsive for Privacy Page */
@media (max-width: 700px) {
    .privacy-hero-content {
        padding: 1.5rem 0.7rem;
        max-width: 98vw;
    }
    .privacy-section {
        padding: 2rem 0 2.5rem;
    }
    .privacy-container {
        padding: 1.2rem 0.5rem;
    }
    .privacy-content h2 {
        font-size: 1.15rem;
    }
}

/* Subtle animation for icons */
.privacy-content h2 i, .privacy-hero-content .section-title i {
    animation: glow 2.5s infinite alternate;
}

/* --- Privacy Page Responsive Styles --- */
@media (max-width: 700px) {
  .privacy-hero {
    padding: 4rem 0 2rem 0;
  }
  .privacy-hero-container {
    padding: 0 0.5rem;
  }
  .privacy-hero-content {
    padding: 2rem 1rem;
    border-radius: 18px;
  }
  .privacy-hero-content h1.section-title {
    font-size: 2rem;
    text-align: center;
  }
  .privacy-date {
    font-size: 1rem;
    text-align: center;
  }
  .privacy-hero-desc {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }
  .privacy-section {
    padding: 2rem 0 1rem 0;
  }
  .privacy-container {
    padding: 1.5rem 0.5rem;
    border-radius: 16px;
  }
  .privacy-content h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .privacy-content p, .privacy-content ul {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .privacy-contact-list {
    padding-left: 1.2rem;
    font-size: 1rem;
  }
  .footer .footer-container, .apple-footer .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .footer-links, .social-links {
    gap: 1rem;
  }
  .footer-links a, .social-links a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .privacy-hero-content {
    padding: 1.2rem 0.3rem;
  }
  .privacy-container {
    padding: 1rem 0.2rem;
  }
  .privacy-content h2 {
    font-size: 1.05rem;
  }
  .privacy-content p, .privacy-content ul {
    font-size: 0.98rem;
  }
}