/*
Theme Name: Sozai
Theme URI: https://sozai.app
Author: Sozai Team
Author URI: https://sozai.app
Description: Minimal, high-performance theme for sozai.app - AI transcription platform. Optimized for speed, multilingual support via Polylang Pro, and ACF Pro content management. Zero bloat, 100/100 PageSpeed score.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sozai
Tags: translation-ready, custom-header, custom-menu, featured-images, threaded-comments

This theme is designed for:
- Speed: 100/100 PageSpeed score (mobile + desktop)
- Multilingual: 23 languages via Polylang Pro
- Content Management: All content via ACF Pro fields
- Performance: Full server-side rendering, no bloat
*/

/* Minimal base styles - full styles loaded from assets/css/custom.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===================================
   DARK PREMIUM LUXURY DESIGN SYSTEM
   Inspired by: Apple, Porsche Design, Bang & Olufsen
   Philosophy: Whisper, don't shout
   ================================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on body only */
body {
    overflow-x: hidden;
}

/* Dark Premium Base - Pure Black */
body {
    background: #0a0a0a;
    background-attachment: fixed;
    min-height: 100vh;
}

/* ===================================
   PAGE STRUCTURE - Visual Flow
   ================================== */

/* Main content area - proper spacing from sticky nav */
.page-feature {
    background: #0a0a0a;
    min-height: 100vh;
}

/* Ensure smooth transition from nav to content */
.page-feature > section:first-child {
    margin-top: 0;
}

/* ===================================
   PREMIUM CARD SYSTEM
   Dark glass with subtle borders
   ================================== */

.premium-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.premium-card-light {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

/* ===================================
   NAVIGATION - Dark Premium
   ================================== */

.premium-nav {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================
   GRADIENT BACKGROUNDS - Minimal
   ================================== */

.bg-gradient-hero {
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-section {
    background: #0a0a0a;
}

/* ===================================
   BUTTON STYLES - Premium CTA
   ================================== */

.btn-premium {
    background: #1a1a1a;
    color: #f5f5f5;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-premium:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.btn-premium-accent {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #ffffff;
    border: 1px solid #3a3a3a;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-premium-accent:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.btn-glass {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(42, 42, 42, 0.8);
    transform: translateY(-1px);
}

/* ===================================
   CARD HOVER EFFECTS - Subtle
   ================================== */

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
}

.card-glass {
    background: #111111;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.card-glass:hover {
    background: #1a1a1a;
    border-color: #3a3a3a;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* ===================================
   FADE IN ANIMATIONS - Minimal
   ================================== */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.4s backwards;
}

/* ===================================
   MOBILE MENU - Dark
   ================================== */

.mobile-menu {
    display: none;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   DROPDOWN STYLES - Premium Dark
   ================================== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Language Switcher - Single Column */
.dropdown.language-switcher .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    min-width: 140px;
    left: 0;
    right: auto;
}

[dir="rtl"] .dropdown.language-switcher .dropdown-menu {
    left: auto;
    right: 0;
}

/* Features Dropdown - Single Column */
.dropdown:not(.language-switcher) .dropdown-menu {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 220px;
    left: 0;
    right: auto;
}

.dropdown:not(.language-switcher) .dropdown-menu a {
    white-space: nowrap;
}

/* RTL Support for Features Dropdown */
[dir="rtl"] .dropdown:not(.language-switcher) .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

/* Mega Menu - 3 Column Layout */
.dropdown-menu.mega-menu {
    width: 800px;
    max-width: 90vw;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.dropdown:hover .dropdown-menu.mega-menu,
.dropdown-menu.mega-menu:hover {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-menu-column {
    min-width: 0; /* Prevent grid blowout */
}

.mega-menu-column-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    padding: 0 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-items a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #a3a3a3;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.mega-menu-items a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f5;
}

.mega-menu-items a i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Responsive: Stack columns on mobile */
@media (max-width: 768px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dropdown-menu.mega-menu {
        width: 95vw;
    }

    /* Breadcrumbs: single line with ellipsis on mobile */
    nav[aria-label="Breadcrumb"] ol {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    nav[aria-label="Breadcrumb"] li:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    nav[aria-label="Breadcrumb"] li:last-child span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
}

/* ===================================
   TEXT STYLES - Monochrome
   ================================== */

.text-gradient {
    background: linear-gradient(135deg, #f5f5f5 0%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: #e5e7eb;
}

/* ===================================
   SUBTLE PATTERNS - Premium Texture
   ================================== */

.pattern-dots {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

.pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Film grain texture for premium feel */
.pattern-grain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
}

/* ===================================
   ICON CONTAINERS - Premium Style
   ================================== */

.icon-premium {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #3a3a3a;
}

.icon-premium-subtle {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================
   PRICING CARDS - Luxury
   ================================== */

.pricing-premium {
    border: 1px solid #3a3a3a;
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
}

.pricing-premium:hover {
    border-color: #4a4a4a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.pricing-featured {
    border: 1px solid #4a4a4a;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* ===================================
   UTILITY CLASSES
   ================================== */

.glass {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-light {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-strong {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   REMOVE ALL GLOW EFFECTS
   ================================== */

.glow-cyan,
.glow-indigo,
.glow-purple {
    box-shadow: none;
}

.btn-primary::before {
    display: none;
}

/* ===================================
   RESPONSIVE UTILITIES
   ================================== */

@media (max-width: 768px) {
    .card-glass:hover {
        transform: translateY(-2px);
    }

    .btn-premium:hover,
    .btn-premium-accent:hover {
        transform: translateY(-1px);
    }
}

/* ===================================
   ACCESSIBILITY - Maintain Contrast
   ================================== */

a:focus,
button:focus {
    outline: 2px solid #4a4a4a;
    outline-offset: 2px;
}

/* ===================================
   PREMIUM SHADOWS - Soft & Subtle
   ================================== */

.shadow-premium {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.shadow-premium-lg {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* ===================================
   SMOOTH TRANSITIONS
   ================================== */

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   PREMIUM BORDERS
   ================================== */

.border-premium {
    border: 1px solid #2a2a2a;
}

.border-premium-light {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================
   APP STORE BUTTONS - DARK LUXURY
   Inspired by premium app marketing
   ================================== */

/* Hero Section Store Buttons */
.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.store-button:hover {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.store-button-disabled:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: none;
}

/* CTA Section Store Buttons (Smaller) */
.store-button-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.store-button-cta:hover {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Footer Store Buttons */
.store-button-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.store-button-footer:hover {
    background: rgba(42, 42, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ===================================
   PREMIUM GLASS CARD - CTA SECTION
   ================================== */

.card-glass-premium {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===================================
   LUXURY FOOTER LINK STYLES
   Subtle hover, no jumps
   ================================== */

.footer-link {
    display: inline-block;
    font-size: 0.875rem;
    color: #737373;
    font-weight: 300;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #a3a3a3;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   ================================== */

@media (max-width: 768px) {
    .store-button {
        padding: 10px 18px;
        gap: 10px;
    }

    .store-button i {
        font-size: 1.5rem;
    }

    .card-glass-premium {
        padding: 1.5rem !important;
    }
}

/* ===================================
   ULTRA-SUBTLE COOKIE CONSENT BANNER
   Dark Luxury - Almost Invisible
   ================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 100%;
    padding: 16px 24px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
}

.cookie-text {
    font-size: 0.75rem;
    color: #525252;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin: 0;
}

.cookie-link {
    color: #737373;
    text-decoration: underline;
    text-decoration-color: rgba(115, 115, 115, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.cookie-link:hover {
    color: #a3a3a3;
    text-decoration-color: rgba(163, 163, 163, 0.5);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 400;
    color: #d4d4d4;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cookie-btn-accept:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.cookie-btn-settings {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 300;
    color: #737373;
    background: transparent;
    border: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.cookie-btn-settings:hover {
    color: #a3a3a3;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 20px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-text {
        font-size: 0.7rem;
    }

    .cookie-btn-accept,
    .cookie-btn-settings {
        font-size: 0.7rem;
    }
}

/* Animation keyframes */
@keyframes slideUpFade {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================================
   FEATURE TABS - Interactive Showcase
   ================================== */

.feature-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.feature-tab-pane.active {
    display: block;
}

.feature-tab-btn.active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================
   INDUSTRY TABS - Same as Feature Tabs
   ================================== */

.industry-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.industry-tab-pane.active {
    display: block;
}

.industry-tab-btn.active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ===================================
   FAQ ACCORDION - Remove hover and focus on open
   ================================== */

/* Completely disable background when FAQ is open */
.faq-item.active .faq-question {
    background: transparent !important;
}

.faq-item.active .faq-question:hover,
.faq-item.active .faq-question:focus,
.faq-item.active .faq-question:focus-visible,
.faq-item.active .faq-question:active {
    background: transparent !important;
}

/* Remove visible border between question and answer */
.faq-item.active .faq-answer > div {
    padding-top: 0;
    margin-top: -1px;
}

/* ===================================
   TABS HORIZONTAL SCROLL - Mobile
   ================================== */

/* Hide scrollbar but keep functionality */
.overflow-x-auto::-webkit-scrollbar {
    display: none;
}

.overflow-x-auto {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

/* Smooth scroll snap on mobile */
@media (max-width: 768px) {
    .overflow-x-auto {
        scroll-snap-type: x proximity;
    }

    .feature-tab-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* ===================================
   CASE STUDY CONTENT STYLES
   Unified styles for all case studies
   ================================== */

/* Quote blocks with left border */
.case-quote {
    border-left: 4px solid #6366f1;
    padding-left: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0.75rem 0.75rem 0;
}

.case-quote p {
    font-size: 1.25rem;
    color: #d1d5db;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-quote footer {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

/* Workflow/Process boxes */
.workflow-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.workflow-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.workflow-box ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.workflow-box ol li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #9ca3af;
}

.workflow-box ol li:last-child {
    margin-bottom: 0;
}

.workflow-step-number {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

/* Result cards grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-card {
    background: #111111;
    border: 1px solid #2a2a2a;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.result-card-header i {
    font-size: 1.5rem;
    color: #34d399;
}

.result-card-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.result-card p {
    color: #9ca3af;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

/* Prose formatting for case studies */
.prose p {
    color: #9ca3af;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

/* ===================================
   LANGUAGE MARQUEE TICKER
   Smooth scrolling, moderate speed
   ================================== */

.language-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.language-marquee {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
}

.language-marquee:hover {
    animation-play-state: paused;
}

.language-marquee-content {
    display: flex;
    gap: 48px;
    padding: 0 24px;
    white-space: nowrap;
}

.language-item {
    font-size: 1.125rem;
    font-weight: 300;
    color: #737373;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    user-select: none;
}

.language-marquee:hover .language-item {
    color: #a3a3a3;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-marquee-content {
        gap: 32px;
        padding: 0 16px;
    }

    .language-item {
        font-size: 1rem;
    }

    .language-marquee {
        animation: marquee-scroll 40s linear infinite;
    }
}

/* ===================================
   FEATURE PAGE LAYOUT FIXES
   Comparison grids, horizontal steps, icon-text cards
   ================================== */

/* Comparison Grid - Side by Side (Manual vs AI) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Process Steps - Horizontal Flow */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Feature Page Section Spacing - TIGHT, NO HUGE GAPS */
.feature-page section {
    padding: 3rem 0 !important;
    margin-bottom: 0 !important;
}

.feature-page section:first-child {
    padding-top: 4rem !important;
}

.feature-page section:last-child {
    padding-bottom: 4rem !important;
}

/* Remove all excessive spacing from containers */
.feature-page .max-w-7xl,
.feature-page .max-w-4xl {
    margin-bottom: 0 !important;
}

/* Tighten internal spacing */
.feature-page .mb-16 {
    margin-bottom: 2rem !important;
}

.feature-page .py-12,
.feature-page .py-16,
.feature-page .py-24 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Space-y overrides */
.feature-page .space-y-8 > * + * {
    margin-top: 1.5rem !important;
}

/* Feature Cards - Icon Left, Text Right */
.feature-cards {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-card .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card .content {
    flex: 1;
}

.feature-card .content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-card .content p {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

/* Normal Section Spacing - Reduce Excessive Indentation */
.section-normal {
    padding: 3rem 0;
    margin: 0;
}

.section-reduced-indent {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Readable Text - Fix Visibility Issues */
.text-readable {
    color: #e5e7eb !important;
    text-align: left !important;
}

.text-readable p,
.text-readable li,
.text-readable h3,
.text-readable h4 {
    color: #e5e7eb !important;
    text-align: left !important;
}

/* Remove Excessive Spacing */
.no-large-gaps section {
    margin-bottom: 3rem;
}

.no-large-gaps section:last-child {
    margin-bottom: 0;
}

/* Fix Comparison Column Styles */
.comparison-column {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 2rem;
}

.comparison-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-column li {
    padding: 0.75rem 0;
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comparison-column li::before {
    content: "•";
    color: #6366f1;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Step Card for Horizontal Process */
.step-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   BLOG / JOURNAL STYLES
   Article typography, category badges, pagination
   ================================== */

/* Article Content Typography */
.article-content h1 {
    font-size: 2.25rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .article-content h1 {
        font-size: 3rem;
    }
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .article-content h2 {
        font-size: 2.25rem;
    }
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .article-content h3 {
        font-size: 1.875rem;
    }
}

.article-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .article-content h4 {
        font-size: 1.5rem;
    }
}

.article-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .article-content h5 {
        font-size: 1.25rem;
    }
}

.article-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .article-content h6 {
        font-size: 1.125rem;
    }
}

.article-content p {
    color: #d1d5db;
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.article-content a {
    color: #60a5fa;
    text-decoration: underline;
    text-decoration-color: rgba(96, 165, 250, 0.3);
    transition: color 0.2s;
}

.article-content a:hover {
    color: #93c5fd;
    text-decoration-color: #93c5fd;
}

.article-content strong,
.article-content b {
    font-weight: 600;
    color: white;
}

.article-content em {
    font-style: italic;
    color: #d1d5db;
}

.article-content i {
    color: #d1d5db;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.5rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    color: #d1d5db;
    font-weight: 300;
    line-height: 1.75;
    font-size: 1.125rem;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.article-content blockquote p {
    color: #e5e7eb;
    font-style: italic;
    margin-bottom: 0;
}

.article-content code {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    color: #93c5fd;
    font-family: monospace;
    font-size: 0.875rem;
}

.article-content pre {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
    color: #d1d5db;
}

.article-content img {
    width: 100%;
    height: auto;
    max-width: 1200px;
    border-radius: 0.75rem;
    margin: 2rem auto;
    display: block;
}

.article-content hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-content th {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content td {
    color: #d1d5db;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Callout Boxes */
.article-content .callout {
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-left-width: 4px;
}

.article-content .callout-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.article-content .callout-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.article-content .callout-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
}

.article-content .callout-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

/* Remove underline from social links in articles */
.article-content .no-underline {
    text-decoration: none !important;
}

/* Line clamp utilities for article excerpts */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Pagination Styles */
.blog-pagination {
    margin-top: 3rem;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.blog-pagination a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-pagination .page-numbers.current {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Hide scrollbar for horizontal category scroll */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===================================
   SOCIAL SHARE BUTTONS
   Dark luxury style
   ================================== */

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label {
    font-size: 0.875rem;
    color: #737373;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-button svg {
    width: 18px;
    height: 18px;
}

/* Brand colors on hover */
.share-button--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.share-button--x:hover {
    background: #000000;
    border-color: #333333;
    color: #ffffff;
}

.share-button--linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

.share-button--pinterest:hover {
    background: #bd081c;
    border-color: #bd081c;
    color: #ffffff;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .share-buttons {
        gap: 8px;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .share-label {
        display: none;
    }

    .share-button {
        width: 36px;
        height: 36px;
    }

    .share-button svg {
        width: 16px;
        height: 16px;
    }
}

/* ===================================
   FEATURE TAB VIDEOS
   ================================== */

.feature-tab-pane video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    display: block;
}

/* Video container with subtle loading background */
.feature-tab-pane .aspect-video {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

/* Ensure video container parent doesn't overflow */
.feature-tab-pane .lg\:pl-8 {
    max-width: 100%;
    overflow: hidden;
}

/* ===================================
   MOBILE RESPONSIVE TABLES
   Horizontal scroll with sticky first column
   ================================== */

@media (max-width: 768px) {
    /* Tables - horizontal scroll with scroll indicator */
    .article-content table,
    .prose table,
    .entry-content table,
    article table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        margin: 1.5rem -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .article-content th,
    .article-content td {
        padding: 0.75rem;
        font-size: 0.8125rem;
        min-width: 100px;
    }

    .article-content th:first-child,
    .article-content td:first-child {
        position: sticky;
        left: 0;
        background: #111111;
        z-index: 1;
    }

    .article-content thead th:first-child {
        background: rgba(255, 255, 255, 0.05);
    }

    /* Article content spacing */
    .article-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .article-content p {
        margin-bottom: 1.25rem;
    }

    .article-content h2 {
        font-size: 1.375rem;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }

    .article-content h4 {
        font-size: 1rem;
    }

    .article-content blockquote {
        margin: 1.5rem -0.5rem;
        padding: 0.75rem 1rem;
    }

    .article-content pre {
        margin: 1.5rem -1rem;
        border-radius: 0;
        padding: 1rem;
        font-size: 0.8125rem;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 1.25rem;
    }

    /* Author box mobile */
    article .p-6.bg-white\/5 {
        padding: 1rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    article .p-6.bg-white\/5 .flex.items-start {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    article .p-6.bg-white\/5 .w-16 {
        margin-bottom: 1rem;
    }

    article .p-6.bg-white\/5 .flex.items-center.gap-3 {
        justify-content: center;
    }

    /* Related articles mobile */
    .space-y-6.p-6 {
        padding: 1rem;
    }

    /* Meta info mobile */
    .flex.flex-wrap.items-center.gap-3.text-sm {
        gap: 0.5rem;
        font-size: 0.8125rem;
    }

    /* Featured image mobile */
    .mb-12.rounded-2xl {
        margin-bottom: 2rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }

    /* Category badge mobile */
    .mb-6 .inline-block {
        font-size: 0.75rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .article-content {
        font-size: 0.9375rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content h3 {
        font-size: 1.0625rem;
    }

    /* Hide some meta items on very small screens */
    .flex.flex-wrap.items-center.gap-3.text-sm span:nth-child(n+7) {
        display: none;
    }
}

/* ===================================
   CONTACT FORM SHORTCODE
   Dark luxury style
   ================================== */

.sozai-contact-form {
    max-width: 600px;
    margin: 2rem 0;
}

.sozai-contact-form__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sozai-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sozai-contact-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
}

.sozai-contact-field label span {
    color: #ef4444;
}

.sozai-contact-field input,
.sozai-contact-field textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #f3f4f6;
    transition: all 0.2s ease;
}

.sozai-contact-field input:focus,
.sozai-contact-field textarea:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sozai-contact-field input::placeholder,
.sozai-contact-field textarea::placeholder {
    color: #6b7280;
}

.sozai-contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.sozai-contact-submit {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sozai-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.sozai-contact-success {
    padding: 1.25rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #86efac;
    font-weight: 500;
}

.sozai-contact-errors {
    padding: 1rem 1rem 1rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
    list-style: disc;
}

.sozai-contact-errors li {
    color: #fca5a5;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.sozai-contact-errors li:last-child {
    margin-bottom: 0;
}

/* ===================================
   SPOILER SHORTCODE
   Collapsible content block
   ================================== */

.sozai-spoiler {
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.sozai-spoiler__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.sozai-spoiler__title:hover {
    background: rgba(255, 255, 255, 0.06);
}

.sozai-spoiler__icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: #9ca3af;
}

.sozai-spoiler--open .sozai-spoiler__icon {
    transform: rotate(180deg);
}

.sozai-spoiler__content {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sozai-spoiler--open .sozai-spoiler__content {
    display: block;
}

.sozai-spoiler__inner {
    padding: 1.25rem;
    color: #9ca3af;
    line-height: 1.7;
}

.sozai-spoiler__inner p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .sozai-contact-form {
        max-width: 100%;
    }

    .sozai-contact-submit {
        width: 100%;
        text-align: center;
    }

    .sozai-spoiler__title {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .sozai-spoiler__inner {
        padding: 1rem;
    }
}
