.faq-section {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.03), transparent 70%);
}

.faq-section .section-title {
    font-size: clamp(32px, 5vw, 48px) !important;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-align: center;
}

.faq-section .section-badge {
    background: transparent !important;
    border: 1px solid var(--glass-border);
    padding: 6px 16px !important;
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.faq-container {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-normal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.faq-item:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

.faq-item.open {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.faq-trigger {
    width: 100%;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    text-align: left;
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    padding-right: 32px;
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.open .faq-icon-wrapper {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: rotate(180deg);
    color: white;
}

.faq-icon-wrapper svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--text-secondary);
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.faq-item.open .faq-icon-wrapper svg {
    stroke: white;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-content {
    grid-template-rows: 1fr;
}

.faq-inner {
    min-height: 0;
    padding: 0 24px 20px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Feature Highlights Section */
.features-highlights {
    padding: 100px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.feat-card {
    background: rgba(10, 10, 15, 0.2);
    /* Ultra Clear */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feat-card:hover {
    transform: translateY(-12px);
    /* Background tint based on card type is handled below or via glow-color variable opacity if desired,
       but for now let's keep it subtle or use a specific tint if requested.
       The user asked to retain green glow but these are blue/purple/orange.
       I will assume they meant the "glow" color variable logic. */
    background: rgba(20, 25, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px -10px rgba(0, 0, 0, 0.5),
        0 0 30px var(--glow-color);
    /* This retains the specific glow color */
}

.feat-card.blue {
    --glow-color: rgba(59, 130, 246, 0.2);
    --accent: #3b82f6;
}

.feat-card.purple {
    --glow-color: rgba(139, 92, 246, 0.2);
    --accent: #8b5cf6;
}

.feat-card.orange {
    --glow-color: rgba(249, 115, 22, 0.2);
    --accent: #f97316;
}

.feat-header {
    padding: 40px 40px 24px;
}

.feat-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #6365f1c9, #090f43);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: var(--accent);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card:hover .feat-icon-box {
    background: linear-gradient(15deg, rgba(72, 19, 90, 0.05), rgba(104, 80, 133, 0.585), color-mix(in srgb, var(--accent, #685085) 40%, transparent));
    color: white;
    border-color: transparent;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /*transform: scale(1.1) rotate(5deg);*/
    transform: translateY(-2px);
}

.feat-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feat-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feat-body {
    padding: 0 40px 40px;
    flex-grow: 1;
}

.feat-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feat-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.feat-bullet-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feat-bullet:hover {
    color: white;
}

.feat-bullet:hover .feat-bullet-icon {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Icon Hover Animations - Smoother & Slower */
.nav-logo-icon,
.feat-icon-box,
.feat-bullet-icon,
.footer-social-icon,
.faq-icon-wrapper,
.node-circle {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon:hover,
.logo-emoji:hover,
.feat-icon-box:hover,
.footer-social-icon:hover,
.faq-icon-wrapper:hover,
.node-circle:hover {
    transform: rotate(360deg) scale(1.15) !important;
}

/* Special case for bullet icons - rotate but keep small scale */
.feat-bullet:hover .feat-bullet-icon {
    transform: rotate(360deg) scale(1.1);
}

/* Ensure FAQ arrow rotation doesn't look weird on hover */
.faq-item.open .faq-icon-wrapper:hover {
    transform: rotate(540deg) scale(1.1) !important;
}

.btn-ref:hover {
    transform: translateY(-1px);
}

/* Body Background - Global Image */
body {
    background: url('../assets/images/background.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
}

/* Dark overlay so the BG image doesn't wash out the dark theme */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.70);
    z-index: 0;
    pointer-events: none;
}

/* Hero Section - Layout Only */
.hero {
    background: transparent !important;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
    margin-top: 0;
    z-index: 1;
}

/* Hero Content - No background pane */
.hero-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 60px 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: none;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Typewriter span — inherits gradient from .hero-title span */
#hero-typewriter {
    display: inline;
    white-space: nowrap;
}

#hero-typewriter::after {
    content: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: rgba(99, 102, 241, 1);
    transform: translateY(-2px);
}
