/* Reset and Base Styles - Updated */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --secondary-color: #5b21b6;
    --accent-color: #f97316;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #059669;
    --gradient-primary: linear-gradient(135deg, #7c3aed, #5b21b6);
    --gradient-accent: linear-gradient(135deg, #f97316, #ea580c);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Top Banner */
.top-banner {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-banner p {
    margin: 0;
}

.top-banner i {
    margin-right: 5px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 40px; /* Adjusted for top banner */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-icon i {
    color: white;
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-tag {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.test-button {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 12px;
}

.test-button:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 160px 0 80px; /* Adjusted for top banner + header */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.2;
}

/* Hoverable Stat with Tooltip */
.stat-hoverable {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.stat-hoverable:hover {
    transform: translateY(-5px);
}

.stat-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.4;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.stat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.stat-hoverable:hover .stat-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.cta-button-large {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-illustration i {
    font-size: 8rem;
    color: white;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--background);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background-alt);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-illustration {
    width: 250px;
    height: 250px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.about-illustration i {
    font-size: 6rem;
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

/* Office Addresses */
.office-addresses {
    margin-top: 1rem;
}

.office {
    margin-bottom: 1rem;
}

.office h5 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.office p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1002;
}

.close:hover {
    background: rgba(255, 255, 255, 1);
    color: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.free-service-notice {
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    justify-content: center;
}

.free-service-notice i {
    font-size: 1.2rem;
}

.free-service-notice p {
    margin: 0;
    color: white;
}

/* CAPTCHA Styles */
.captcha-group {
    margin-bottom: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.captcha-question {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    min-width: 70px;
}

.captcha-container input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 8px;
    border-radius: 4px;
}

.captcha-container input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.refresh-captcha {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Form Styles */
.form-group {
    margin-bottom: 0.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background: white;
    height: 42px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-banner {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .logo-content {
        gap: 8px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .logo-icon i {
        font-size: 1rem;
    }
    
    .logo h2 {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .header {
        top: 36px; /* Adjusted for smaller top banner on mobile */
        padding: 10px 0;
    }
    
    .header .container {
        padding: 10px 15px;
        gap: 15px;
    }
    
    .hero {
        padding: 148px 0 60px; /* Adjusted for mobile */
    }
    
    .nav {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-tooltip {
        width: 240px;
        font-size: 0.75rem;
        padding: 10px 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile Modal Improvements */
    .modal-content {
        margin: 1% auto;
        width: 95%;
        max-width: 400px;
        max-height: 98vh;
        padding: 1rem;
        overflow-y: auto;
        position: relative;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-content p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .free-service-notice {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .submit-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .close {
        position: sticky;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
        color: var(--text-dark);
        font-size: 1.5rem;
        margin-left: auto;
        margin-bottom: 10px;
    }
    
    .close:hover {
        background: rgba(255, 255, 255, 1);
        color: #dc2626;
        transform: scale(1.1);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .close::before,
    .close::after {
        width: 20px;
        height: 2px;
    }
    
    .hero-illustration {
        display: none;
    }
    
    .hero-illustration i {
        display: none;
    }
    
    .about-illustration {
        width: 180px;
        height: 180px;
    }
    
    .about-illustration i {
        font-size: 4rem;
    }
    
    /* Mobile Success Message Improvements */
    .success-message {
        margin: 20px 0;
        padding: 25px 20px;
        max-height: 70vh;
        overflow-y: auto;
        position: relative;
        top: 0;
        transform: none;
    }
    
    .success-message h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .success-message .request-id {
        font-size: 1rem;
        padding: 10px 12px;
        word-break: break-all;
    }
    
    .success-message .info-box {
        margin: 15px 0;
    }
    
    .success-message .info-box p {
        font-size: 0.9rem;
        margin: 8px 0;
    }
    
    .success-message .tip-box {
        margin: 15px 0;
        padding: 12px 15px;
    }
    
    .success-message .tip-box p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services,
    .about,
    .testimonials {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    /* Extra small mobile improvements */
    .header .container {
        padding: 8px 12px;
        gap: 10px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.5rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .logo-icon i {
        font-size: 0.9rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 1rem;
    }
    
    .success-message {
        padding: 20px 15px;
        margin: 15px 0;
    }
    
    .success-message h3 {
        font-size: 1.2rem;
    }
    
    .success-message .request-id {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .submit-button {
    background: var(--text-light);
}

/* Success message */
.success-message {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 3px solid #10b981;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    text-align: center;
    color: #065f46;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.success-message h3 {
    color: #065f46;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.success-message p {
    color: #065f46;
    font-size: 1rem;
    line-height: 1.6;
    margin: 10px 0;
}

.success-message .request-id {
    background: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    color: #065f46;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.success-message .info-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #f59e0b;
}

.success-message .info-box p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.success-message .tip-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    border-left: 4px solid #f59e0b;
}

.success-message .tip-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #92400e;
}

.success-message .close-notice {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 20px;
    font-style: italic;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--background-alt);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    background: #ffffff;
    min-height: 100vh;
    color: #333333;
}

.page-header {
    text-align: left;
    margin-bottom: 40px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 20px;
}

.back-link {
    display: inline-block;
    background: #f8f9fa;
    color: #666666;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

.back-link:hover {
    background: #e9ecef;
    color: #333333;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: left;
    color: #333333;
    font-weight: 600;
}

.last-updated {
    text-align: left;
    color: #666666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.legal-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-section h2 {
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555555;
}

.legal-section ul, .legal-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555555;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-section strong {
    color: #333333;
    font-weight: 600;
}

/* Back button styling */
.back-button {
    background: #f8f9fa;
    color: #666666 !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    font-size: 0.9rem;
}

.back-button:hover {
    background: #e9ecef;
    color: #333333 !important;
}

/* Legal pages header should be sticky */
.legal-content .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 2px solid #e5e5e5;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-content .header .container {
    padding: 15px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-content .header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content .header .logo h2 {
    color: #333333;
    margin: 0;
}

.legal-content .header .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.legal-content .header .nav a {
    color: #666666;
    font-weight: 500;
    text-decoration: none;
}

.legal-content .header .nav a:hover {
    color: #333333;
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .back-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .back-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-content .header .nav {
        gap: 1rem;
    }
    
    .legal-content .header .nav a {
        font-size: 0.9rem;
    }
}

/* Legal pages footer styling */
.legal-content .footer {
    background: #f8f9fa;
    border-top: 2px solid #e5e5e5;
    color: #666666;
}

.legal-content .footer h3,
.legal-content .footer h4 {
    color: #333333;
}

.legal-content .footer a {
    color: #666666;
}

.legal-content .footer a:hover {
    color: #333333;
}

.legal-content .footer-bottom {
    border-top: 1px solid #e5e5e5;
    color: #999999;
} 