/* ===================================
   Layout — Header, Footer, Nav
   =================================== */

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: rgba(3, 3, 4, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav.scrolled {
    padding: 14px 0;
    background: rgba(3, 3, 4, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

/* Logo */
.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.logo img {
    height: 36px;
    width: auto;
    transition: all 0.3s;
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.logo-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition-base);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    border-radius: 8px;
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all var(--transition-base);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* Mobile Menu Toggle - Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        padding: 12px 0;
    }
    
    .nav-inner {
        justify-content: space-between;
        gap: 12px;
    }
    
    .logo {
        font-size: 16px;
        gap: 8px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-btn {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    background: rgba(255, 61, 61, 0.1);
    border-color: rgba(255, 61, 61, 0.3);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.mobile-menu-toggle.active span {
    background: var(--accent);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
}

/* Mobile Menu - Modern Glass Design */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(3, 3, 4, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

.mobile-menu-logo img {
    height: 32px;
    width: auto;
}

.mobile-menu-logo span {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 61, 61, 0.15);
    border-color: rgba(255, 61, 61, 0.3);
    color: var(--accent);
    transform: rotate(90deg);
}

/* Mobile Menu Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-menu-list li {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-list li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-menu-list li:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.active .mobile-menu-list li:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.active .mobile-menu-list li:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.active .mobile-menu-list li:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.active .mobile-menu-list li:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.active .mobile-menu-list li:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu.active .mobile-menu-list li:nth-child(7) { transition-delay: 0.42s; }

/* Mobile Menu Link */
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(12, 12, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.12), rgba(255, 140, 66, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.menu-link-num {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    min-width: 24px;
}

.menu-link-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Hover State */
.mobile-menu-link:hover {
    background: rgba(20, 20, 25, 0.95);
    border-color: rgba(255, 61, 61, 0.35);
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(255, 61, 61, 0.12);
}

.mobile-menu-link:hover::before {
    opacity: 1;
}

.mobile-menu-link:hover .menu-link-num {
    opacity: 1;
    color: var(--accent);
}

/* Active State */
.mobile-menu-link.active {
    background: rgba(40, 20, 20, 0.95);
    border-color: rgba(255, 61, 61, 0.4);
}

.mobile-menu-link.active .menu-link-num {
    opacity: 1;
    color: var(--accent);
}

.mobile-menu-link.active .menu-link-text {
    color: var(--accent);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 16px 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    border-radius: 16px;
    color: white;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-menu-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    transition: left 0.4s ease;
    z-index: 0;
}

.mobile-menu-cta span,
.mobile-menu-cta svg {
    position: relative;
    z-index: 1;
}

.mobile-menu-cta svg {
    transition: transform 0.3s ease;
}

.mobile-menu-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(255, 61, 61, 0.4);
}

.mobile-menu-cta:hover::before {
    left: 0;
}

.mobile-menu-cta:hover svg {
    transform: translateX(4px);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 100px 0 40px;
}

/* Main Content - All pages have hero sections with their own padding-top */
main {
    padding-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Brand Column */
.footer-brand {
    grid-column: 1 / 2;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.footer-logo img {
    height: 40px;
    width: auto;
    transition: all var(--transition-base);
}

.footer-logo:hover img {
    transform: rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.footer-logo-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-brand .footer-socials {
    margin-top: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    position: relative;
    padding: 10px;
}

.social-link svg,
.social-link img {
    width: 24px;
    height: 24px;
    display: block;
}

.social-link svg {
    fill: currentColor;
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-brand .footer-socials {
    margin-top: 20px;
}

.social-link:hover {
    background: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
}

.social-link:hover svg {
    fill: currentColor !important;
}

.social-link:hover .social-icon-img {
    filter: brightness(0) invert(1);
}

.social-link:hover svg {
    fill: currentColor !important;
}

/* Other Columns */
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 14px;
}

/* Footer Contacts List */
.footer-contacts-list {
    margin-bottom: 24px;
}

.footer-contacts-list li:last-child {
    margin-bottom: 0;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.footer-copyright strong {
    color: var(--text-secondary);
}

.footer-legal {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.legal-separator {
    margin: 0 6px;
    color: var(--border-light);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 12px;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .footer-description {
        max-width: none;
        margin: 0 auto 24px;
    }
    
    .footer-socials {
        justify-content: center;
    }
}
    
@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===================================
   VISTAX R&D Section
   =================================== */

.rnd-section {
    position: relative;
    padding: 140px 0 120px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.rnd-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.rnd-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 61, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 61, 61, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
}

.rnd-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 61, 61, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    animation: rndGlowPulse 8s ease-in-out infinite;
}

@keyframes rndGlowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.rnd-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.rnd-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 61, 61, 0.1);
    border: 1px solid rgba(255, 61, 61, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    animation: rndBadgeFloat 3s ease-in-out infinite;
}

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

.rnd-badge-icon {
    font-size: 18px;
    animation: rndBadgeSpark 2s ease-in-out infinite;
}

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

.rnd-badge-text {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.rnd-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rnd-tagline {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--text);
}

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

.accent-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    border-radius: 2px;
}

.rnd-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.rnd-description strong {
    color: var(--accent);
    font-weight: 600;
}

.rnd-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.rnd-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.rnd-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.3), rgba(255, 140, 66, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rnd-card:hover::before {
    opacity: 1;
}

.rnd-card.active {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 61, 61, 0.4);
}

.rnd-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 61, 61, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.rnd-card:hover .rnd-card-glow {
    opacity: 1;
}

.rnd-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.15), rgba(255, 140, 66, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.4s ease;
}

.rnd-card-icon.featured {
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.25), rgba(255, 140, 66, 0.25));
}

.rnd-card:hover .rnd-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 40px rgba(255, 61, 61, 0.3);
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.rnd-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.3;
}

.card-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

.rnd-card-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.rnd-card-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 61, 61, 0.08);
    border-radius: 12px;
    border-left: 3px solid var(--accent);
}

.result-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.result-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .rnd-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rnd-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .rnd-section {
        padding: 100px 0 80px;
    }
    
    .rnd-title {
        font-size: 28px;
    }
    
    .rnd-tagline {
        font-size: 18px;
    }
    
    .rnd-description {
        font-size: 14px;
    }
    
    .rnd-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rnd-card:last-child {
        grid-column: auto;
    }
    
    .rnd-card {
        padding: 32px 24px;
    }
}

/* ===================================
   VISTAX Manifesto Section
   =================================== */

.manifesto-section {
    position: relative;
    padding: 160px 0 140px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    overflow: hidden;
}

.manifesto-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.manifesto-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 61, 61, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 61, 61, 0.04) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.6;
}

.manifesto-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.manifesto-particle {
    position: absolute;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: manifestoFloat linear infinite;
}

@keyframes manifestoFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.manifesto-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.manifesto-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 61, 61, 0.08);
    border: 1px solid rgba(255, 61, 61, 0.3);
    border-radius: 50px;
    margin-bottom: 28px;
    animation: manifestoBadgePulse 3s ease-in-out infinite;
}

@keyframes manifestoBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 61, 61, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 61, 61, 0);
    }
}

.manifesto-badge-icon {
    font-size: 18px;
    animation: manifestoSparkle 2s ease-in-out infinite;
}

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

.manifesto-badge-text {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.manifesto-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -2px;
}

.manifesto-subtitle {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 28px;
    color: var(--text);
}

.manifesto-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.manifesto-description strong {
    color: var(--accent);
    font-weight: 600;
}

.manifesto-grid-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.manifesto-card {
    position: relative;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 24px 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.manifesto-card:hover::before {
    transform: scaleX(1);
}

.manifesto-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.4), rgba(255, 140, 66, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.manifesto-card:hover::after {
    opacity: 1;
}

.manifesto-card.featured {
    background: rgba(255, 61, 61, 0.05);
    border-color: rgba(255, 61, 61, 0.3);
}

.manifesto-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 61, 61, 0.1);
}

.manifesto-card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.manifesto-card:hover .manifesto-card-number {
    color: rgba(255, 61, 61, 0.15);
    transform: scale(1.1);
}

.manifesto-card-content {
    position: relative;
}

.manifesto-card-title {
    font-family: var(--font-display);
    font-size: clamp(11px, 1.6vw, 14px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.4;
    letter-spacing: 0.2px;
    min-height: auto;
}

.title-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-line.active {
    width: 100%;
}

.manifesto-card-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.manifesto-card-icon {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.manifesto-card-icon svg {
    width: 100%;
    height: 100%;
}

.manifesto-card-icon.active {
    color: var(--accent);
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 15px rgba(255, 61, 61, 0.5));
}

.manifesto-card.featured .manifesto-card-icon {
    color: rgba(255, 61, 61, 0.4);
}

.manifesto-card.featured .manifesto-card-icon.active {
    color: var(--accent);
    filter: drop-shadow(0 0 20px rgba(255, 61, 61, 0.7));
}

/* Responsive */
@media (max-width: 1400px) {
    .manifesto-grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .manifesto-card:nth-child(4),
    .manifesto-card:nth-child(5) {
        grid-column: span 2;
    }
}
    
@media (max-width: 1024px) {
    .manifesto-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .manifesto-card:nth-child(5) {
        grid-column: span 2;
    }
}
    
@media (max-width: 768px) {
    .manifesto-section {
        padding: 100px 0 80px;
    }
    
    .manifesto-title {
        font-size: 32px;
    }
    
    .manifesto-subtitle {
        font-size: 20px;
    }
    
    .manifesto-description {
        font-size: 14px;
    }
    
    .manifesto-grid-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .manifesto-card:nth-child(4),
    .manifesto-card:nth-child(5) {
        grid-column: auto;
    }
    
    .manifesto-card {
        padding: 28px 20px 20px;
    }
    
    .manifesto-card-number {
        font-size: 36px;
        top: 12px;
        right: 16px;
    }
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    position: relative;
    padding: 140px 0 120px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    overflow: hidden;
}

.faq-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.faq-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 61, 61, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 61, 61, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.5;
}

.faq-glow {
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 61, 61, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    animation: faqGlowPulse 10s ease-in-out infinite;
}

@keyframes faqGlowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

.faq-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 61, 61, 0.08);
    border: 1px solid rgba(255, 61, 61, 0.25);
    border-radius: 50px;
    margin-bottom: 24px;
}

.faq-badge-icon {
    font-size: 18px;
}

.faq-badge-text {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.faq-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1px;
}

.faq-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-warm));
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    background: rgba(255, 61, 61, 0.04);
    border-color: rgba(255, 61, 61, 0.3);
}

.faq-item.active::before {
    transform: scaleY(1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
}

.faq-number {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    text-align: left;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle.open {
    color: var(--accent);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 28px 28px 68px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 100px 0 80px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-description {
        font-size: 14px;
    }
    
    .faq-question {
        padding: 22px 20px;
        gap: 14px;
    }
    
    .faq-number {
        font-size: 16px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-answer-content {
        padding: 0 20px 22px 60px;
        font-size: 14px;
    }
}
