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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #f4f4f4;
    overflow-x: hidden;
}

/* ============ SKIP LINK (accessibility) ============ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #dda62b;
    color: #000;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

.bg-image-section {
    background-image: url('https://aiaward.techxeber.az/assets/img/zeka_backgroung_general.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.bg-image-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    z-index: 0;
}

.bg-image-section .container {
    position: relative;
    z-index: 1;
}

.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    50% { transform: translateY(-100vh) translateX(50px); opacity: 0.8; }
    90% { opacity: 0.3; }
}

/* ============ HEADER ============ */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow: hidden;
}

.brain-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.brain {
    width: 100%;
    height: 100%;
    position: relative;
    animation: levitate 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

.brain-glow {
    position: absolute;
    top: -20%; left: -20%;
    width: 140%; height: 140%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(10deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.brain-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
}

.logo-text {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-text h1 {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #dda62b 0%, #ffed4e 50%, #dda62b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3rem;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.subtitle {
    font-size: 1.5rem;
    color: #d4af37;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    margin-top: 1rem;
    opacity: 0.9;
}

.tagline {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin-top: 1rem;
    font-style: italic;
}

.cta-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid #dda62b;
    color: #dda62b;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before { width: 300px; height: 300px; }
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}
.cta-button-secondary:hover { background: rgba(255, 215, 0, 0.1); }

/* ============ SECTIONS ============ */
.section {
    position: relative;
    padding: 5rem 2rem;
    z-index: 2;
}

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

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #dda62b;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.section-description {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    padding: 0 2rem;
}

/* ============ CARDS ============ */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 280px;
}

.card-inner {
    position: relative;
    width: 100%; height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.card:hover .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.card-front {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 18px;
}

.card-back {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(26, 26, 46, 0.8) 100%);
    transform: rotateY(180deg);
    border-radius: 18px;
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.card:hover {
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.6);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.zeka-card-1 .card-front,
.zeka-card-2 .card-front,
.zeka-card-3 .card-front {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: none;
}

.zeka-card-1 .card-front { background-image: url('/assets/img/zeka_award_v1.webp'); }
.zeka-card-2 .card-front { background-image: url('/assets/img/zeka_award_v2.webp'); }
.zeka-card-3 .card-front { background-image: url('/assets/img/zeka_award_v3.webp'); }

.card h3 {
    color: #dda62b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-front p { color: #c0c0c0; line-height: 1.6; font-size: 0.95rem; }
.card-back p { color: #f0f0f0; line-height: 1.8; font-size: 1rem; }

.card-back-icon { font-size: 2rem; margin-bottom: 1rem; color: #dda62b; }
.card-back h4 {
    color: #dda62b;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

/* ============ ABOUT ============ */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    transition: transform 0.5s ease;
    loading: lazy;
}

.about-image:hover img { transform: scale(1.05) rotate(2deg); }

/* ============ TIMELINE ============ */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #dda62b, #d4af37);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-content, .timeline-button { width: 45%; position: relative; }
.timeline-button { display: flex; align-items: center; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { text-align: left; }
.timeline-item:nth-child(odd) .timeline-button { justify-content: flex-end; padding-right: 20px; }
.timeline-item:nth-child(even) { flex-direction: row; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-item:nth-child(even) .timeline-button { justify-content: flex-start; padding-left: 20px; }

.timeline-dot {
    position: absolute;
    left: 50%; top: 20px;
    width: 20px; height: 20px;
    background: #dda62b;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 1); }
}

.timeline-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.timeline-btn:hover:not(.disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.timeline-btn.disabled {
    background: rgba(100, 100, 100, 0.3);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.timeline-btn[aria-disabled="true"] {
    background: rgba(100, 100, 100, 0.3);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.timeline-date { font-size: 1.3rem; color: #dda62b; font-weight: 700; margin-bottom: 0.5rem; }
.timeline-title { font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.timeline-desc { color: #c0c0c0; line-height: 1.6; }

/* ============ PARTNERS ============ */
.partners-section { text-align: center; }

.partner-category { margin-bottom: 4rem; }
.partner-category h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    width: 180px; height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    overflow: hidden;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    loading: lazy;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

/* ============ EXPERTS ============ */
.experts-intro {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #c0c0c0;
    padding: 0 2rem;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.expert-card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.expert-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.expert-photo {
    width: 150px; height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.expert-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.expert-card:hover .expert-photo {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.expert-name { font-size: 1.3rem; color: #dda62b; font-weight: 700; margin-bottom: 0.5rem; }
.expert-position { font-size: 1rem; color: #b8b8b8; line-height: 1.5; }

/* ============ JURY STRUCTURE / FINAL SELECTION COUNCIL ============ */
.jury-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 0 auto 3rem auto;
    max-width: 1050px;
}

.jury-stage-card {
    background: rgba(10, 10, 20, 0.62);
    border: 1px solid rgba(221, 166, 43, 0.28);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.jury-stage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(221, 166, 43, 0.16), transparent 55%);
    pointer-events: none;
}

.jury-stage-card:hover {
    transform: translateY(-6px);
    border-color: rgba(221, 166, 43, 0.65);
    box-shadow: 0 14px 36px rgba(221, 166, 43, 0.18);
}

.jury-stage-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    color: #0a0a0a;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(221, 166, 43, 0.35);
    position: relative;
    z-index: 1;
}

.jury-stage-card h3 {
    color: #dda62b;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.jury-stage-card p {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

.jury-subheading {
    margin: 3.5rem auto 1rem auto;
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.jury-subheading span {
    color: #dda62b;
}

.final-council-panel {
    max-width: 1050px;
    margin: 3.5rem auto 0 auto;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.78) 0%, rgba(10, 10, 20, 0.9) 100%);
    border: 2px solid rgba(221, 166, 43, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.final-council-panel::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -160px;
    background: radial-gradient(circle, rgba(221, 166, 43, 0.22), transparent 68%);
    pointer-events: none;
}

.final-council-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(221, 166, 43, 0.12);
    border: 1px solid rgba(221, 166, 43, 0.38);
    color: #dda62b;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    margin-bottom: 1rem;
}

.final-council-panel h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.final-council-panel h3 span {
    color: #dda62b;
}

.final-council-text {
    color: #cfcfcf;
    line-height: 1.85;
    font-size: 1.05rem;
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.final-council-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stealth-member-card {
    min-height: 160px;
    border-radius: 18px;
    border: 1px solid rgba(221, 166, 43, 0.28);
    background: rgba(255, 255, 255, 0.045);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.stealth-member-card:hover {
    transform: translateY(-5px);
    border-color: rgba(221, 166, 43, 0.65);
    background: rgba(221, 166, 43, 0.08);
}

.stealth-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, rgba(221, 166, 43, 0.22), rgba(255, 255, 255, 0.06));
    border: 2px solid rgba(221, 166, 43, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dda62b;
    font-size: 2rem;
    font-weight: 800;
    filter: blur(0.2px);
}

.stealth-member-card strong {
    color: #dda62b;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.stealth-member-card span {
    color: #b8b8b8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.final-council-note {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(221, 166, 43, 0.18);
    color: #b8b8b8;
    line-height: 1.75;
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .final-council-grid { grid-template-columns: repeat(2, 1fr); }
    .final-council-panel h3 { font-size: 1.6rem; }
}

@media (max-width: 520px) {
    .jury-structure { grid-template-columns: 1fr; }
    .jury-subheading { font-size: 1.35rem; letter-spacing: 0.05rem; }
    .final-council-panel { padding: 1.4rem; }
    .final-council-grid { grid-template-columns: 1fr; }
    .stealth-member-card { min-height: 135px; }
}


/* ============ BUTTONS ============ */
.small-btn {
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    background: transparent;
    color: #dda62b;
    border: 2px solid #dda62b;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}
a.small-btn {
    text-decoration: none;
    text-align: center;
}

.small-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.partner-btn {
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}
a.partner-btn {
    text-decoration: none;
    text-align: center;
}

.partner-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}


.cta-button--disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cta-button--disabled:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.cta-button--disabled::before {
    display: none;
}

.center-btn { text-align: center; margin-top: 3rem; }

/* =========================================================
   ZEKI AI ASSISTANT (new FAQ primary surface)
   ========================================================= */
.ai-assistant {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
    z-index: 2;
}

.ai-sphere-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 2rem;
    z-index: 1;
}

.ai-sphere-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 0 30px rgba(221, 166, 43, 0.45));
}

.ai-sphere-halo {
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle, rgba(221, 166, 43, 0.25) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    animation: haloPulse 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes haloPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.08); }
}

/* Input bar */
.ai-input-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 10, 20, 0.65);
    border: 1px solid rgba(221, 166, 43, 0.35);
    border-radius: 999px;
    padding: 0.45rem 0.5rem 0.45rem 1.1rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(221, 166, 43, 0);
    transition: border-color 0.3s, box-shadow 0.3s;
    z-index: 3;
}

.ai-input-bar:focus-within {
    border-color: rgba(221, 166, 43, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(221, 166, 43, 0.15);
}

.ai-input-bar.is-listening {
    border-color: #ff4e6a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 78, 106, 0.25);
    animation: listenPulse 1.2s ease-in-out infinite;
}

@keyframes listenPulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 4px rgba(255, 78, 106, 0.15); }
    50% { box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 10px rgba(255, 78, 106, 0.05); }
}

.ai-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #f4f4f4;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.6rem 0.2rem;
    min-width: 0;
}

.ai-input::placeholder { color: #888; }

.ai-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(221, 166, 43, 0.12);
    color: #dda62b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.ai-icon-btn:hover { background: rgba(221, 166, 43, 0.25); transform: scale(1.05); }
.ai-icon-btn:active { transform: scale(0.95); }
.ai-icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.ai-icon-btn.is-active { background: #ff4e6a; color: #fff; animation: micPulse 1s ease-in-out infinite; }

@keyframes micPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 78, 106, 0.6); }
    50% { box-shadow: 0 0 0 10px rgba(255, 78, 106, 0); }
}

.ai-send-btn {
    padding: 0 1.6rem;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #dda62b 0%, #d4af37 100%);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    text-transform: uppercase;
}

.ai-send-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(221, 166, 43, 0.45); }
.ai-send-btn:active { transform: translateY(0); }
.ai-send-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Bot identity */
.ai-identity {
    text-align: center;
    margin-top: 1.75rem;
    z-index: 2;
    position: relative;
}

.ai-identity-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(221, 166, 43, 0.35);
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.55);
    backdrop-filter: blur(10px);
    margin-bottom: 0.9rem;
}

.ai-identity-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3ddc84;
    box-shadow: 0 0 10px #3ddc84;
    animation: statusPing 2s ease-in-out infinite;
}

@keyframes statusPing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-identity-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    color: #dda62b;
    text-transform: uppercase;
}

.ai-identity-title span {
    color: #f4f4f4;
    font-weight: 400;
    margin-left: 0.4rem;
    letter-spacing: 0.05rem;
    text-transform: none;
}

.ai-identity-greeting {
    max-width: 620px;
    margin: 0 auto;
    color: #b8b8b8;
    font-size: 0.98rem;
    line-height: 1.6;
    font-style: italic;
}

/* Response area */
.ai-response {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: rgba(26, 26, 46, 0.65);
    border: 1px solid rgba(221, 166, 43, 0.25);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.45s ease;
    color: #e8e8e8;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.ai-response.is-visible {
    max-height: 2000px;
    opacity: 1;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
}

.ai-response .ai-response-q {
    display: block;
    color: #dda62b;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.ai-response .ai-response-a {
    color: #f0f0f0;
    font-size: 1.02rem;
    white-space: pre-wrap;
}

.ai-response.is-error { border-color: rgba(255, 78, 106, 0.5); }
.ai-response.is-error .ai-response-q { color: #ff4e6a; }

.ai-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    vertical-align: middle;
}

.ai-typing span {
    width: 6px; height: 6px;
    background: #dda62b;
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-6px); opacity: 1; }
}

/* Suggested starter prompts */
.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
}

.ai-suggestion {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(221, 166, 43, 0.3);
    border-radius: 999px;
    background: rgba(26, 26, 46, 0.4);
    color: #c0c0c0;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.ai-suggestion:hover {
    border-color: rgba(221, 166, 43, 0.8);
    background: rgba(221, 166, 43, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Classic FAQ toggle */
.classic-faq-wrapper {
    margin-top: 4rem;
    text-align: center;
}

.classic-faq-toggle-btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    background: transparent;
    color: #dda62b;
    border: 1px dashed rgba(221, 166, 43, 0.5);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.05rem;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.classic-faq-toggle-btn:hover {
    background: rgba(221, 166, 43, 0.08);
    border-color: rgba(221, 166, 43, 0.9);
    border-style: solid;
}

.classic-faq-toggle-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.classic-faq-wrapper.is-open .classic-faq-toggle-btn .arrow {
    transform: rotate(180deg);
}

.classic-faq-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, margin-top 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.classic-faq-wrapper.is-open .classic-faq-container {
    max-height: 5000px;
    opacity: 1;
    margin-top: 2.5rem;
}

/* ============ FAQ (classic, now hidden by default) ============ */
.faq-container { max-width: 900px; margin: 0 auto; }

.faq-item {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #dda62b;
    transition: all 0.3s ease;
}

.faq-question:hover { background: rgba(255, 215, 0, 0.1); }
.faq-arrow { font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
    color: #c0c0c0;
    line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; padding: 0 2rem 1.5rem 2rem; }

/* ============ FOOTER ============ */
footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-contact {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.footer-contact-item { color: #b8b8b8; font-size: 1rem; }
.footer-contact-item a { color: #dda62b; text-decoration: none; transition: color 0.3s ease; }
.footer-contact-item a:hover { color: #ffed4e; }

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #dda62b;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.footer-social a svg { width: 24px; height: 24px; fill: currentColor; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #dda62b;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

footer p { color: #808080; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .about-section { grid-template-columns: 1fr; }

    .timeline::before { left: 30px; }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 70px;
    }
    .timeline-content, .timeline-button { width: 100%; text-align: left !important; }
    .timeline-button { justify-content: flex-start !important; margin-top: 1rem; padding: 0; }
    .timeline-dot { left: 30px; }

    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-button { width: 100%; max-width: 300px; text-align: center; }
    .brain-container { width: 200px; height: 200px; }
    .cards-container { grid-template-columns: 1fr; }
    .experts-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 1rem; }
    h2 { font-size: 2rem; margin-bottom: 2rem; letter-spacing: 0.1rem; }
    .subtitle { letter-spacing: 0.2rem; }
    .partner-logos { gap: 1.5rem; padding: 15px; }
    .partner-logo { width: 140px; height: 80px; padding: 15px; }
    .partner-logo.main-sponsor { width: 200px; height: 120px; }
    .section { padding: 3rem 1rem; }
    .timeline-btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }

    .ai-sphere-container { width: 240px; height: 240px; }
    .ai-send-btn { padding: 0 1rem; font-size: 0.8rem; }
    .ai-input { font-size: 0.95rem; }
    .ai-identity-greeting { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .brain-container { width: 150px; height: 150px; }
    .card { height: auto; min-height: 250px; }
    .timeline-item { padding-left: 60px; }
    .timeline::before { left: 25px; }
    .timeline-dot { left: 25px; width: 15px; height: 15px; }
    h2 { font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: 0.05rem; }
    .logo-text h1 { font-size: 3rem; }

    .ai-sphere-container { width: 200px; height: 200px; }
    .ai-input-bar { padding: 0.4rem; }
    .ai-send-btn { padding: 0 0.85rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    .brain, .brain-glow, .particle, .card-icon, .timeline-dot,
    .ai-sphere-halo, .ai-identity-dot {
        animation: none !important;
    }
    * { transition-duration: 0.01ms !important; }
}
    

/* ============ LANGUAGE SWITCHER ============ */
.language-switcher {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9998;
    font-family: inherit;
}

.language-switcher * { box-sizing: border-box; }

.language-current {
    min-width: 78px;
    height: 44px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(221, 166, 43, 0.55);
    background: rgba(10, 10, 20, 0.72);
    color: #dda62b;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(221, 166, 43, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.08rem;
    transition: all 0.25s ease;
}

.language-current:hover,
.language-switcher.is-open .language-current {
    border-color: rgba(221, 166, 43, 0.95);
    background: rgba(26, 26, 46, 0.86);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45), 0 0 24px rgba(221, 166, 43, 0.25);
}

.language-current svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.language-switcher.is-open .language-current svg { transform: rotate(180deg); }

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    padding: 0.45rem;
    border-radius: 18px;
    border: 1px solid rgba(221, 166, 43, 0.35);
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.language-switcher.is-open .language-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.language-option {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    background: transparent;
    color: #f4f4f4;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font: inherit;
    text-align: left;
    transition: all 0.2s ease;
}

.language-option:hover,
.language-option:focus {
    outline: none;
    background: rgba(221, 166, 43, 0.14);
    color: #dda62b;
}

.language-option.is-active { display: none; }
.language-option-code { font-weight: 800; color: #dda62b; letter-spacing: 0.08rem; }
.language-option-name { font-size: 0.9rem; color: #cfcfcf; }

@media (max-width: 768px) {
    .language-switcher { top: 12px; right: 12px; }
    .language-current { min-width: 64px; height: 40px; padding: 0 0.75rem; }
    .language-menu { min-width: 138px; }
}

.about-lead { font-size: 1.2rem; line-height: 2; color: #d0d0d0; margin-bottom: 1.5rem; }
.about-text { font-size: 1.1rem; line-height: 1.9; color: #c0c0c0; }
.about-text-spaced { margin-bottom: 1.5rem; }
.text-gold { color: #dda62b; }
.footer-note { margin-top: 1rem; color: #505050; }

/* ============ STATIC PAGE FOUNDATION (phase 1) ============ */
.static-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 2;
}

.static-page__container {
    max-width: 760px;
    width: 100%;
    background: rgba(26, 26, 46, 0.65);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.static-page__eyebrow {
    color: #d4af37;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.static-page__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #f8d773;
}

.static-page__description {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.static-page .cta-button:focus-visible {
    outline: 3px solid #ffed4e;
    outline-offset: 4px;
}
