/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

/* Background Image - Hidden, using Aurora instead */
.page-bg-image {
    display: none;
}

.page-overlay {
    display: none;
}

/* Particles */
.particles-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(124, 58, 237, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 20s; }
.particle:nth-child(2) { left: 30%; top: 70%; animation-delay: -3s; animation-duration: 18s; }
.particle:nth-child(3) { left: 50%; top: 40%; animation-delay: -6s; animation-duration: 22s; }
.particle:nth-child(4) { left: 70%; top: 60%; animation-delay: -9s; animation-duration: 16s; }
.particle:nth-child(5) { left: 85%; top: 25%; animation-delay: -12s; animation-duration: 24s; }
.particle:nth-child(6) { left: 20%; top: 85%; animation-delay: -15s; animation-duration: 19s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-80px) translateX(30px); opacity: 1; }
}

/* ==========================================================================
   Blog Hero
   ========================================================================== */
.blog-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.glow-badge {
    position: relative;
    animation: badge-glow 2s infinite alternate;
}

@keyframes badge-glow {
    from { box-shadow: 0 0 10px rgba(124, 58, 237, 0.3); }
    to { box-shadow: 0 0 20px rgba(124, 58, 237, 0.6); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--color-success);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.blog-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-line {
    display: block;
}

.gradient-text-animated {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #a78bfa 25%, #7c3aed 50%, #a78bfa 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   Blog Articles Section - Modern Tiles
   ========================================================================== */
.blog-articles {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* Blog Tile */
.blog-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.blog-tile:hover {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124, 58, 237, 0.1);
}

.blog-tile.expanded {
    grid-column: 1 / -1;
    cursor: default;
}

/* Tile Header */
.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.tile-category {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tile-reading {
    color: var(--color-gray-500);
    font-size: 0.75rem;
}

/* Tile Icon */
.tile-icon {
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.blog-tile:hover .tile-icon {
    background: rgba(124, 58, 237, 0.25);
    transform: scale(1.05);
}

.tile-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

/* Tile Title */
.tile-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tile.expanded .tile-title {
    -webkit-line-clamp: unset;
    font-size: 1.5rem;
}

/* Tile Preview */
.tile-preview {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tile.expanded .tile-preview {
    display: none;
}

/* Tile Expand Button */
.tile-expand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tile-expand:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

.tile-expand svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-tile.expanded .tile-expand svg {
    transform: rotate(180deg);
}

.blog-tile.expanded .tile-expand span {
    display: none;
}

.blog-tile.expanded .tile-expand::before {
    content: 'Schließen';
}

/* Tile Content (Hidden by default) */
.tile-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.blog-tile.expanded .tile-content {
    max-height: 1000px;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.content-inner p {
    color: var(--color-gray-300);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content-inner strong {
    color: var(--color-white);
}

/* Content Highlight */
.content-highlight {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.content-highlight h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.content-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-highlight li {
    color: var(--color-gray-200);
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.content-highlight li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
}

/* Content Tags */
.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.tag-problem {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-md);
}

/* Content Result */
.content-result {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.content-result .result-label {
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: var(--space-xs);
}

.content-result p {
    color: var(--color-white) !important;
    font-size: 1.125rem !important;
    font-weight: 600;
    margin: 0 !important;
}

/* Content Pillars */
.content-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pillar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.pillar strong {
    display: block;
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.pillar span {
    color: var(--color-gray-400);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Content Benefits */
.content-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.benefit {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 100px;
}

/* Content Conclusion */
.content-conclusion {
    font-size: 1.0625rem !important;
    color: var(--color-white) !important;
    font-weight: 600;
    margin-top: var(--space-lg) !important;
}

/* Content CTA */
.content-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    margin-top: var(--space-lg);
    transition: all 0.3s ease;
}

.content-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.content-cta svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-tile.expanded {
        grid-column: 1;
    }
}

/* ==========================================================================
   ASIRA Showcase Section
   ========================================================================== */
.asira-showcase {
    padding: var(--space-4xl) 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Transparent frame so page background video shows through */
.asira-frame {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.asira-frame .preview-content {
    padding: var(--space-xl);
}

.asira-frame .preview-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.asira-showcase .section-intro {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.asira-showcase .section-intro h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.asira-preview {
    max-width: 1000px;
    margin: 0 auto;
}

.preview-frame {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.4s ease;
}

.preview-frame:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 58, 237, 0.15);
    transform: translateY(-8px);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-dots .dot.red { background: #FF5F56; }
.preview-dots .dot.yellow { background: #FFBD2E; }
.preview-dots .dot.green { background: #27CA3F; }

.preview-title {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    font-weight: 500;
}

.preview-content {
    position: relative;
    overflow: hidden;
}

.preview-content img {
    width: 100%;
    height: auto;
    display: block;
}

/* ASIRA Features */
.asira-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.asira-feature {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.asira-feature:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
}

.asira-feature .feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.asira-feature .feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

.asira-feature h4 {
    color: var(--color-white);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.asira-feature p {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .asira-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.blog-cta-section {
    padding: var(--space-4xl) 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.blog-cta-section .cta-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta-section .cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.blog-cta-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.blog-cta-section p {
    font-size: 1.125rem;
    color: var(--color-gray-300);
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

.cta-tagline {
    display: block;
    font-size: 1rem;
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.blog-cta-section .cta-actions {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   AOS Animations
   ========================================================================== */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .blog-pillars {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .blog-expertise {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 140px 0 60px;
    }

    .blog-card-inner {
        padding: var(--space-xl);
    }

    .blog-expertise {
        grid-template-columns: 1fr 1fr;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .particles-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .blog-expertise {
        grid-template-columns: 1fr;
    }

    .benefit-tags {
        flex-direction: column;
    }

    .benefit-tag {
        text-align: center;
    }
}
