/* ============================================================
   JEX VPN - Component Styles
   Buttons, cards, interactive elements
   ============================================================ */

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0f0d;
    background: linear-gradient(135deg, #34d399, #10b981);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #e5e7eb;
    background: transparent;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
    border-radius: 16px;
}

/* ---------- FEATURE CARDS ---------- */
.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.3);
}

/* ---------- SERVER CARDS ---------- */
.server-card {
    transition: all 0.3s ease;
}

.server-card:hover {
    transform: translateY(-4px) scale(1.02);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-toggle {
    cursor: pointer;
    user-select: none;
}

.faq-toggle:hover {
    background: rgba(16, 185, 129, 0.03);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 300px;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-item {
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: rgba(16, 185, 129, 0.3);
}

/* ---------- HEADER SCROLL STATE ---------- */
header.scrolled {
    background: rgba(10, 15, 13, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

/* ---------- GRADIENT TEXT HOVER ---------- */
.gradient-hover {
    background-size: 200% auto;
    transition: background-position 0.5s ease;
}

.gradient-hover:hover {
    background-position: right center;
}
