/* Support Page Styles */

/* Hero Section */
.support-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.support-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.support-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(165, 255, 0, 0.15) 0%, rgba(165, 255, 0, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.support-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    background-color: rgba(165, 255, 0, 0.15);
    border-radius: 50%;
    filter: blur(10px);
}

.hero-particle.hp1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    animation: float1 15s infinite ease-in-out;
}

.hero-particle.hp2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation: float2 18s infinite ease-in-out;
}

.hero-particle.hp3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 30%;
    animation: float3 12s infinite ease-in-out;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 30px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.floating-logo {
    position: absolute;
    top: 30px;
    left: 50px;
    z-index: 10;
}

.floating-logo .guac-logo {
    height: 40px;
    width: auto;
}

.support-hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(165, 255, 0, 0.1);
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent-color);
    margin-right: 8px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.support-hero-container h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.support-hero-container p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.hero-decoration {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.hero-decoration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(165, 255, 0, 0.1);
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(165, 255, 0, 0.2);
    animation: pulse 3s infinite ease-in-out;
}

.hero-decoration-icon i {
    font-size: 32px;
    color: var(--accent-color);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(165, 255, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(165, 255, 0, 0.3); }
}

/* Main Support Section */
.support-main {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

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

.support-intro {
    text-align: center;
    margin-bottom: 50px;
}

.support-intro h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.support-intro p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* Support Content Layout */
.support-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Support Form */
.support-form-container {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 30px;
    background-color: rgba(20, 20, 20, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
}

.form-header-icon i {
    font-size: 18px;
    color: var(--accent-color);
}

.form-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px 14px 45px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.subject-input {
    padding: 14px 16px !important;
}

.form-group textarea {
    padding: 16px;
    resize: none;
    min-height: 120px;
    height: 200px;
}

.select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.form-group select {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    appearance: none;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(165, 255, 0, 0.2);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .select-arrow {
    color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.attachment-group {
    margin-bottom: 10px;
}

.file-upload-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-input {
    display: none;
}

.file-upload-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: rgba(165, 255, 0, 0.1);
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 6px;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-button:hover {
    background-color: rgba(165, 255, 0, 0.2);
}

.file-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.file-help-text {
    font-size: 12px;
    color: var(--text-secondary);
    filter: brightness(50%); 
    margin-top: 8px;
}

.submit-group {
    margin-top: 10px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #20242ebe;
    border: none;
    border-radius: 16px;
    color: var(--dark-bg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: rgba(46, 49, 58, 0.745);
}

/* Support Sidebar */
.support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background-color: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
}

.info-card-icon i {
    font-size: 16px;
    color: var(--accent-color);
}

.info-card-content {
    flex: 1;
}

.info-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.info-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-card a:hover {
    text-decoration: underline;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background-color: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
}

.security-icon i {
    font-size: 16px;
    color: var(--accent-color);
}

.security-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Community Support Section */
.community-support {
    padding: 80px 0;
    background-color: var(--darker-bg);
}

.community-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.community-container h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.community-container p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
}

.community-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.platform-card {
    display: block;
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
}

.platform-icon i {
    font-size: 32px;
    color: var(--accent-color);
}

.platform-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-bg);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: rgba(165, 255, 0, 0.1);
    border-radius: 50%;
}

.modal-icon i {
    font-size: 40px;
    color: var(--accent-color);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-button {
    padding: 12px 32px;
    background-color: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: var(--dark-bg);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-button:hover {
    background-color: #b8ff2a;
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .support-content-wrapper {
        grid-template-columns: 3fr 2fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .support-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .community-platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .support-hero-container {
        padding: 0 30px;
    }

    .support-hero-container h1 {
        font-size: 36px;
    }

    .form-row {
        flex-direction: column;
    }

    .support-form {
        padding: 20px;
    }

    .support-sidebar {
        grid-template-columns: 1fr;
    }

    .community-platforms {
        grid-template-columns: 1fr;
    }

    .form-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .support-hero-container h1 {
        font-size: 28px;
    }

    .support-hero {
        padding: 100px 0 60px;
    }

    .floating-logo {
        top: 20px;
        left: 20px;
    }

    .floating-logo .guac-logo {
        height: 30px;
    }

    .support-intro h2 {
        font-size: 28px;
    }

    .form-header-icon {
        width: 32px;
        height: 32px;
    }

    .form-header h3 {
        font-size: 18px;
    }

    .hero-decoration-icon {
        width: 60px;
        height: 60px;
    }

    .hero-decoration-icon i {
        font-size: 24px;
    }
}
