:root {
    --bg-dark: #07080a;
    --bg-card: rgba(20, 22, 28, 0.4);
    --accent: #FFB703;
    --accent-hover: #F59E0B;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.95)), url("../img/premium_bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.serif {
    font-family: 'Playfair Display', serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.italic {
    font-style: italic;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.heavy-glass {
    background: rgba(10, 12, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 40px rgba(255, 183, 3, 0.5);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

.accent-text {
    color: var(--accent);
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 8, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text strong {
    color: var(--accent);
}

.logo-desc {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.info-block {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.info-title {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.info-val {
    font-size: 14px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tel-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    font-family: 'JetBrains Mono', monospace;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(7,8,10,0.9) 0%, rgba(7,8,10,0.7) 50%, rgba(7,8,10,0.3) 100%);
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #D1D5DB;
    max-width: 650px;
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.trust-icon {
    font-size: 20px;
}

/* Bento Grid */
.services {
    padding: 120px 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    grid-auto-rows: minmax(350px, auto);
}

.bento-card {
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.has-bg {
    background-size: cover;
    background-position: center;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,8,10,0.95) 0%, rgba(7,8,10,0.4) 60%, rgba(7,8,10,0.1) 100%);
}

.heavy-overlay {
    background: rgba(7,8,10,0.7);
}

.card-content {
    position: relative;
    z-index: 10;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bottom-content {
    justify-content: flex-end;
}

.row-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-card h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.2;
}

.bento-card p {
    color: #D1D5DB;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 90%;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.card-tags {
    display: flex;
    gap: 10px;
    margin-bottom: auto;
}

.highlight-tag {
    background: rgba(58, 134, 255, 0.15);
    color: #3A86FF;
    border: 1px solid rgba(58, 134, 255, 0.3);
    margin-bottom: auto;
    align-self: flex-start;
}

.text-part {
    flex: 1;
}

.stats-part {
    display: flex;
    gap: 16px;
}

.stat-box {
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 24px;
    color: var(--accent);
}

/* Квиз */
.quiz-section {
    padding: 120px 0;
    background: #000;
}

.quiz-container {
    border-radius: 32px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.4s ease;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 500;
}

.quiz-option:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.quiz-option.selected {
    border-color: var(--accent);
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.1);
}

/* Footer / Contact Form */
.footer {
    padding: 100px 0;
    background: var(--bg-dark);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.footer-info h2 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.footer-info p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.footer-tel {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.mono-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-form {
    padding: 48px;
    border-radius: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.glass-input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.8);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.2);
}

.policy {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 20px;
}

.form-result {
    margin-top: 20px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    border-radius: 12px;
    text-align: center;
}

/* Адаптив (Мобильные) */
@media (max-width: 992px) {
    .hidden-mobile { display: none; }
    .hero-title { font-size: 42px; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; }
    .trust-badges { flex-direction: column; gap: 16px; align-items: stretch; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide, .bento-tall { grid-column: span 1; grid-row: span 1; }
    .row-content { flex-direction: column; align-items: flex-start; }
    .stats-part { width: 100%; flex-direction: column; }
    .footer-inner { grid-template-columns: 1fr; gap: 50px; }
    .quiz-container { padding: 30px 20px; }
}


/* WhatsApp Float Widget */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-wa 2s infinite;
    transition: transform 0.3s;
}
.wa-float:hover {
    transform: scale(1.1);
}
.wa-float svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
    .wa-float { bottom: 20px; right: 20px; width: 55px; height: 55px; }
    .wa-float svg { width: 28px; height: 28px; }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0 60px;
    background: var(--bg-dark);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.active {
    border-color: var(--accent);
    background: rgba(255, 183, 3, 0.05);
}
.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(255,255,255,0.05);
}
.faq-icon {
    font-size: 28px;
    color: var(--accent);
    transition: transform 0.4s ease;
    font-weight: 300;
    line-height: 1;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer-inner {
    padding: 0 32px 32px;
    color: #D1D5DB;
    font-size: 16px;
    line-height: 1.7;
}
/* Hero Video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-bg {
    display: none;
}

/* Interactive Blueprint Section */
.blueprint-section {
    padding: 100px 0;
    background: #030712;
    overflow: hidden;
}
.blueprint-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.blueprint-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}
.pulse-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 rgba(255, 183, 3, 0.7);
    animation: pulse-dot-anim 2s infinite;
    z-index: 10;
}
.pulse-dot.blue-glow {
    background: #3b82f6;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0.7);
    animation: pulse-dot-blue-anim 2s infinite;
}
@keyframes pulse-dot-anim {
    0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 183, 3, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}
@keyframes pulse-dot-blue-anim {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.blueprint-tooltip {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 12px;
    width: max-content;
    max-width: 280px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.blueprint-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.blueprint-tooltip strong {
    display: block;
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 5px;
}
.blue-glow .blueprint-tooltip strong {
    color: #3b82f6;
}
.pulse-dot:hover .blueprint-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%) scale(1.05);
}

/* Video Widget (Founder) */
.founder-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    font-family: 'Manrope', sans-serif;
}
.founder-widget-bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 4px rgba(255, 183, 3, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: #000;
}
.founder-widget-bubble video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.founder-widget-bubble::after {
    content: '👋';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: wave 2s infinite;
}
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    75% { transform: rotate(20deg); }
}
.founder-widget-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 0 4px rgba(255, 183, 3, 0.8);
}
.founder-text-hint {
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.founder-text-hint::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(15, 23, 42, 0.9);
    border-left: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Expanded State */
.founder-widget.is-expanded .founder-widget-bubble {
    width: 320px;
    height: 480px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 2px var(--accent);
    cursor: default;
}
.founder-widget.is-expanded .founder-widget-bubble::after {
    display: none;
}
.founder-widget.is-expanded .founder-text-hint {
    opacity: 0;
}
.founder-widget-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}
.founder-widget.is-expanded .founder-widget-close {
    opacity: 1;
    pointer-events: auto;
}
.founder-widget-close:hover {
    background: var(--accent);
    color: #000;
}
.founder-widget-cta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    transition-delay: 0.2s;
    z-index: 10;
}
.founder-widget.is-expanded .founder-widget-cta {
    opacity: 1;
    pointer-events: auto;
}
.founder-widget-cta .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(255,183,3,0.3);
}

@media (max-width: 768px) {
    .founder-widget {
        bottom: 100px; /* Above WhatsApp button */
        left: 20px;
    }
    .founder-text-hint { display: none; }
    .founder-widget.is-expanded .founder-widget-bubble {
        width: 280px;
        height: 420px;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Optional delays for staggered elements like Bento grid cards */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent);
    transition: width 0.1s ease-out;
}

/* Premium Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #030712;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1), visibility 0.8s ease;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.preloader-content {
    text-align: center;
}
.preloader-content .logo-text {
    font-size: 48px;
    color: #fff;
    display: inline-block;
    animation: glow-pulse 2s infinite;
}
.preloader-content strong {
    color: var(--accent);
}
@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 183, 3, 0.2); }
    50% { text-shadow: 0 0 30px rgba(255, 183, 3, 0.8); }
}
.preloader-bar {
    width: 240px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 30px auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}
.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    animation: load-progress 1.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}
@keyframes load-progress {
    0% { width: 0%; }
    40% { width: 60%; }
    80% { width: 80%; }
    100% { width: 100%; }
}
.preloader-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: status-blink 1s infinite;
}
@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
body.loading {
    overflow: hidden;
}

/* File Upload Label */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.file-upload-label:hover {
    background: rgba(255, 183, 3, 0.1);
    border-color: var(--accent);
    color: #fff;
}
.file-upload-label.has-file {
    border-style: solid;
    background: rgba(16, 185, 129, 0.15);
    border-color: #10B981;
    color: #fff;
}

/* AI Chat Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Manrope', sans-serif;
}
.ai-chat-btn {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.4);
    transition: transform 0.3s;
}
.ai-chat-btn:hover {
    transform: scale(1.1);
}
.ai-chat-btn svg {
    width: 30px;
    height: 30px;
    fill: #030712;
}
.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ai-chat-window.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.chat-header {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}
.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #030712;
}
.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}
.msg.ai {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.msg.user {
    background: var(--accent);
    color: #030712;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-weight: 600;
}
.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 10px;
}
.chat-input-area input {
    flex: 1;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    outline: none;
}
.chat-input-area input:focus { border-color: var(--accent); }
.chat-input-area button {
    background: var(--accent);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}