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

body {
    font-family: 'Nunito', sans-serif;
    color: #3D3D3D;
    line-height: 1.6;
    padding-top: 0;
    background: #f8f9fa;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
    margin-bottom: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6B35;
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #3D3D3D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FF6B35;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B35;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3D3D3D;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFB347 100%);
    padding: 100px 20px 60px;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Support Form Section */
.support-section {
    padding: 100px 20px 60px;
    background: #f8f9fa;
    min-height: calc(100vh - 70px);
}

.support-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.support-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3D3D3D;
    margin-bottom: 15px;
    text-align: center;
}

.support-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.6;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #3D3D3D;
    font-size: 1rem;
}

.form-group .required {
    color: #e74c3c;
}

.form-hint {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: -5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Nunito', sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

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

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3D3D3D;
    margin-bottom: 15px;
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* Policy Section */
.policy-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.policy-content {
    background: white;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.policy-content h2 {
    font-size: 1.8rem;
    color: #FF6B35;
    margin-bottom: 18px;
    margin-top: 35px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    font-size: 1.3rem;
    color: #3D3D3D;
    margin-bottom: 12px;
    margin-top: 25px;
}

.policy-content p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.8;
}

.policy-content p.heading-text {
    font-weight: 700;
    color: #3D3D3D;
    margin-bottom: 8px;
}

.policy-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-content li {
    color: #555;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.8;
}

.policy-content strong {
    color: #3D3D3D;
    font-weight: 700;
}

/* Terms Section */
.terms-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px;
}

.terms-content {
    background: white;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.terms-content h2 {
    font-size: 1.8rem;
    color: #FF6B35;
    margin-bottom: 18px;
    margin-top: 35px;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.8;
}

.last-updated {
    background: #FFF8F0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border-left: 4px solid #FF6B35;
}

.last-updated p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #2D2D2D;
    padding: 30px 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .support-form-wrapper {
        padding: 40px 25px;
    }

    .support-title {
        font-size: 2rem;
    }

    .policy-content,
    .terms-content {
        padding: 40px 25px;
    }
}
