/*
 * Quark 2 — Modern User Customizations for OmniaHub
 * Minimalist Bento Grid, Scroll Overlays, and Immersive Mesh backgrounds
 */

:root {
    --bg-page: #f8fafc; /* light slate base */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: rgba(15, 23, 42, 0.05);
    --border-hover: rgba(209, 0, 0, 0.22);
    --shadow-color: rgba(15, 23, 42, 0.02);
    
    --accent-red: #D10000;
    --accent-red-hover: #b00000;
    --accent-blue: #2563eb;
    --accent-cyan: #0891b2;
    --accent-green: #059669;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-blur: 24px;
    
    --btn-primary-bg: #D10000;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #ffffff;
    --btn-secondary-text: #0f172a;
    
    --glow-red: rgba(209, 0, 0, 0.08);
    --glow-cyan: rgba(8, 145, 178, 0.06);
    
    --header-bg: rgba(248, 250, 252, 0.85);
    --input-bg: #ffffff;
}

[data-theme='dark'] {
    --bg-page: #03060f; /* ultra deep obsidian space */
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(230, 0, 0, 0.25);
    --shadow-color: rgba(0, 0, 0, 0.6);
    
    --accent-red: #E60000;
    --accent-red-hover: #cc0000;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --card-bg: rgba(10, 15, 28, 0.65);
    --card-blur: 32px;
    
    --btn-primary-bg: #E60000;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: rgba(255, 255, 255, 0.02);
    --btn-secondary-text: #f9fafb;
    
    --glow-red: rgba(230, 0, 0, 0.16);
    --glow-cyan: rgba(6, 182, 212, 0.12);
    
    --header-bg: rgba(3, 5, 12, 0.88);
    --input-bg: rgba(255, 255, 255, 0.01);
}

/* Base Body Override with Dynamic Mesh Gradient Backdrops (Light Theme) */
body.title-h1h2 {
    background-color: var(--bg-page) !important;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(209, 0, 0, 0.08), transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.07), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.05), transparent 50%),
        linear-gradient(rgba(15, 23, 42, 0.006) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(15, 23, 42, 0.006) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 45px 45px, 45px 45px !important;
    background-attachment: fixed !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* Base Body Override for Dark Theme (Vibrant Neon Mesh) */
html[data-theme='dark'] body.title-h1h2 {
    background-color: var(--bg-page) !important;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(230, 0, 0, 0.18), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.18), transparent 45%),
        radial-gradient(circle at 50% 75%, rgba(139, 92, 246, 0.12), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 45px 45px, 45px 45px !important;
    background-attachment: fixed !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

body.title-h1h2 #body-wrapper {
    padding: 0 !important;
    background: transparent !important;
}

body.title-h1h2 #body-wrapper .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Sticky Premium Navbar */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
    padding: 0.8rem 0;
}

#header .navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Responsive Original Shape Logo */
.logo-brand-img {
    height: 90px !important;
    max-height: none !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(209, 0, 0, 0.15));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-brand-img:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 10px rgba(209, 0, 0, 0.25));
}
@media (max-width: 840px) {
    .logo-brand-img {
        height: 60px !important;
    }
}

/* Header & Mobile Action Buttons */
.header-action-btn {
    margin-right: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}
.header-action-btn.btn-provami {
    background: transparent;
    border: 1.5px solid var(--accent-red);
    color: var(--accent-red) !important;
}
.header-action-btn.btn-provami:hover {
    background: rgba(209, 0, 0, 0.08);
    transform: translateY(-1px);
}
.header-action-btn.btn-contattaci {
    background: var(--accent-red);
    border: 1.5px solid var(--accent-red);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(209, 0, 0, 0.2);
}
.header-action-btn.btn-contattaci:hover {
    background: var(--accent-red-hover);
    border-color: var(--accent-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(209, 0, 0, 0.3);
}

.mobile-action-btn {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    text-align: center;
}
.mobile-action-btn.btn-primary {
    background: var(--accent-red);
    color: #fff !important;
}
.mobile-action-btn.btn-outline-primary {
    border: 1.5px solid var(--accent-red);
    color: var(--accent-red) !important;
    background: transparent;
}

/* Theme Toggle Button styling */
button.theme-toggle {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow-color) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
button.theme-toggle:hover {
    border-color: var(--border-hover) !important;
    transform: scale(1.03);
    box-shadow: 0 6px 12px var(--shadow-color) !important;
}

/* Landing Page Wrapper */
.custom-landing {
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Adaptive Fullscreen Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(85vh - 80px);
    padding: 3.5rem 0;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Floating Launch Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(209, 0, 0, 0.05);
    border: 1px solid rgba(209, 0, 0, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-red);
}
.badge-icon {
    display: inline-flex;
    color: #f59e0b;
    animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Wider, Bolder, Readable Headings (No overlap) */
.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 4.4rem) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.05em !important;
    color: var(--text-primary) !important;
    margin-bottom: 1.5rem !important;
    font-weight: 900 !important;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 2.4rem;
    max-width: 88%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Premium Buttons */
body.title-h1h2 .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.75rem 1.6rem !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

body.title-h1h2 .btn-primary {
    background: var(--btn-primary-bg) !important;
    color: var(--btn-primary-text) !important;
    box-shadow: 0 4px 12px var(--shadow-color) !important;
}
body.title-h1h2 .btn-primary:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.06) !important;
    box-shadow: 0 8px 18px var(--glow-red) !important;
}

body.title-h1h2 .btn-secondary {
    background: var(--btn-secondary-bg) !important;
    color: var(--btn-secondary-text) !important;
    border-color: var(--border-color) !important;
}
body.title-h1h2 .btn-secondary:hover {
    transform: translateY(-1px) !important;
    border-color: var(--border-hover) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Hero Media Box */
.hero-image-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px var(--shadow-color);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    height: auto;
    opacity: 0.08;
    pointer-events: none;
    animation: floating-logo 6s ease-in-out infinite;
}

/* Glassmorphic Bento Card */
.brut-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    box-shadow: 0 10px 30px -10px var(--shadow-color);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    margin-bottom: 5rem;
}
.bento-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-item.span-2-col {
    grid-column: span 2;
}
.bento-item.span-2-row {
    grid-row: span 2;
}
.bento-item.span-3-col {
    grid-column: span 3;
}

/* Bento Details Styling */
.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.bento-icon-box {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.01);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.bento-item:nth-child(1) .bento-icon-box i { color: var(--accent-red); }
.bento-item:nth-child(2) .bento-icon-box i { color: var(--accent-cyan); }
.bento-item:nth-child(3) .bento-icon-box i { color: var(--accent-green); }
.bento-item:nth-child(4) .bento-icon-box i { color: var(--accent-blue); }
.bento-item:nth-child(5) .bento-icon-box i { color: #f59e0b; }

.bento-item h3 {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.015em;
}
.bento-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Bento hover colors */
.bento-item:nth-child(1):hover { border-color: rgba(209,0,0,0.25); box-shadow: 0 15px 30px var(--shadow-color), 0 0 20px var(--glow-red); }
.bento-item:nth-child(2):hover { border-color: rgba(6,182,212,0.25); box-shadow: 0 15px 30px var(--shadow-color), 0 0 20px var(--glow-cyan); }
.bento-item:nth-child(3):hover { border-color: rgba(16,185,129,0.25); box-shadow: 0 15px 30px var(--shadow-color), 0 0 20px rgba(16,185,129,0.12); }
.bento-item:nth-child(4):hover { border-color: rgba(37,99,235,0.25); box-shadow: 0 15px 30px var(--shadow-color), 0 0 20px rgba(37,99,235,0.12); }
.bento-item:nth-child(5):hover { border-color: rgba(245,158,11,0.25); box-shadow: 0 15px 30px var(--shadow-color), 0 0 20px rgba(245,158,11,0.12); }

.bento-badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.bento-badge-container img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px var(--glow-cyan));
}

/* Split-Scroll Feature Layout */
.split-scroll-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    padding: 5rem 0;
}
.split-left-sticky {
    position: sticky;
    top: 110px;
    height: fit-content;
}
.split-left-sticky .section-title {
    text-align: left;
    margin-bottom: 1rem;
}
.split-left-sticky .section-desc {
    text-align: left;
    margin: 0;
}
.split-right-scroll {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Capabilities Styling */
.capability-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    border-radius: 12px;
}
.capability-card:hover {
    transform: translateY(-2px);
    border-color: rgba(209, 0, 0, 0.2);
}

.cap-icon {
    font-size: 1.2rem;
    color: var(--accent-red);
    border: 1px solid var(--border-color);
    background: rgba(209, 0, 0, 0.02);
    padding: 0.65rem;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.capability-card:hover .cap-icon {
    background: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
}

.cap-content h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.cap-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

/* AI Chatbox Widget */
.ai-chat-widget {
    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-color);
    overflow: hidden;
    margin: 4rem auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    height: 480px;
    transition: all 0.3s ease;
}
.ai-chat-widget:hover {
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px var(--shadow-color), 0 0 30px var(--glow-cyan);
}
.chat-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-title-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.chat-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: status-pulse 1.8s infinite;
}
@keyframes status-pulse {
    0% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px 3px rgba(16, 185, 129, 0.4); }
    100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.chat-model-select {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0,0,0,0.01);
}
.chat-bubble {
    max-width: 80%;
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    position: relative;
    animation: bubble-fade-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes bubble-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-bubble.user {
    align-self: flex-end;
    background: var(--accent-red);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(209,0,0,0.15);
}
.chat-bubble.assistant {
    align-self: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}
[data-theme='light'] .chat-bubble.assistant {
    background: #ffffff;
}
.chat-bubble.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.8rem 1.2rem;
    align-items: center;
}
.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
.chat-input-container {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.02);
    display: flex;
    gap: 0.8rem;
}
.chat-input-field {
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.25s ease;
}
.chat-input-field:focus {
    border-color: var(--accent-cyan);
}
.chat-send-btn {
    background: var(--text-primary);
    color: var(--bg-page);
    border: none;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.chat-send-btn:hover {
    background: var(--accent-cyan);
    color: #03060f;
    transform: translateY(-1px);
}

/* Quote Section */
.mission-section {
    padding: 3rem 0;
}
.mission-card {
    text-align: center;
    border-radius: 16px;
    padding: 3rem;
    max-width: 850px;
    margin: 0 auto;
}
.quote-icon {
    font-size: 2rem;
    color: var(--accent-red);
    opacity: 0.12;
    margin-bottom: 1rem;
}
.mission-card blockquote {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-primary);
    margin: 0;
    border: none;
    padding: 0;
    letter-spacing: -0.02em;
}

/* Bolder, Wider Section Titles (No overlap) */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
    font-weight: 900 !important;
    color: var(--text-primary) !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    letter-spacing: 0.04em !important;
    line-height: 1.4 !important;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

/* Training Section */
.training-section {
    padding: 5rem 0;
}
.training-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}
.steps-list::after {
    content: '';
    position: absolute;
    left: 1.4rem;
    top: 1rem;
    bottom: 1rem;
    width: 1px;
    background: var(--border-color);
    z-index: 1;
}
.step-item {
    display: flex;
    gap: 1.4rem;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    flex-shrink: 0;
}
.step-item:nth-child(1) .step-number { color: var(--accent-red); border-color: rgba(209, 0, 0, 0.15); }
.step-item:nth-child(2) .step-number { color: var(--accent-green); border-color: rgba(16, 185, 129, 0.15); }
.step-item:nth-child(3) .step-number { color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.15); }

.step-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}
.step-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

.training-visual .image-box {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    aspect-ratio: 4/3;
}
.training-visual .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}
.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
}
.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-info-panel h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 0;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.25;
}
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}
.contact-detail-item i {
    font-size: 1.2rem;
    color: var(--accent-red);
}
.contact-detail-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.contact-detail-item strong {
    font-size: 0.98rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-visual {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1.5rem;
}
.contact-visual img {
    width: 100%;
    display: block;
}

.contact-form-panel h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 0;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.form-group input, .form-group select, .form-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(209, 0, 0, 0.1);
    background: var(--card-bg);
}

.form-group-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.2rem 0;
}
.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 15px;
    height: 15px;
    accent-color: var(--accent-red);
    cursor: pointer;
}
.form-group-checkbox label {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
    font-weight: normal;
    cursor: pointer;
}

.submit-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.submit-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 15px var(--glow-red);
}

.form-status {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--border-color);
}
.form-status.success {
    display: inline-flex;
    background: rgba(16, 185, 129, 0.05);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.15);
}
.form-status.error {
    display: inline-flex;
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.15);
}

/* Footer Section */
#footer {
    background: var(--header-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 4rem 0 !important;
    margin-top: 5rem;
}
#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
#footer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
}
#footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}
#footer a:hover {
    color: var(--accent-red);
}

/* Animations */
.animate-fade-in { animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-delay { opacity: 0; animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; }
.animate-fade-in-delay-2 { opacity: 0; animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.animate-scale-up { opacity: 0; animation: scaleUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    #header .navbar { padding: 0 1rem; }
    .custom-landing { padding: 0 1rem; }
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 0;
    }
    .hero-content { align-items: center; }
    .hero-title { font-size: clamp(2.2rem, 7vw, 3rem); }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; width: 100%; }
    .hero-image-container { max-width: 500px; margin: 0 auto; }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1rem;
    }
    .bento-item.span-2-col, .bento-item.span-2-row, .bento-item.span-3-col {
        grid-column: span 1;
        grid-row: span 1;
    }
    .split-scroll-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .split-left-sticky {
        position: relative;
        top: 0;
    }
    .split-left-sticky .section-title, .split-left-sticky .section-desc {
        text-align: center;
    }
    .training-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .training-visual .image-box { max-width: 500px; margin: 0 auto; }
    .steps-list::after { left: 1.1rem; }
    .contact-container { grid-template-columns: 1fr; gap: 2rem; }
    .contact-visual { display: none; }
}
/* Centered Contact Form Section */
.contact-container-centered {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}
.contact-form-panel-centered {
    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px var(--shadow-color);
}
