:root {
    --primary: #7f46eb;
    --dark: #1a1a1a;
    --text: #333333;
    --text-muted: #5e697f;
    --bg-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

main {
    padding-top: 80px;
}

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

/* Hero Section */
.hero {
    padding: 100px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(127, 70, 235, 0.08), transparent 60%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(127, 70, 235, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #7f46eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Lexend', sans-serif;
    font-size: 36px;
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    gap: 24px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.method-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.method-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.method-details h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.method-details p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Form Styling */
.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: white;
    color: var(--text);
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(127, 70, 235, 0.1);
}

input.form-control,
select.form-control {
    height: 56px;
    padding-top: 0;
    padding-bottom: 0;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235e697f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
    cursor: pointer;
}

select.form-control:invalid {
    color: var(--text-muted);
}

select.form-control option {
    color: var(--text);
    background-color: white;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section - Matched with Pricing Page */
.faq {
    padding: 100px 20px;
    background: var(--bg-light);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.faq-question h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    color: var(--dark);
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: var(--transition);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    transition: var(--transition);
}

.faq-icon::before {
    width: 2px;
    height: 12px;
    left: 11px;
    top: 6px;
}

.faq-icon::after {
    width: 12px;
    height: 2px;
    left: 6px;
    top: 11px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background: var(--primary);
}

.faq-answer {
    max-height: 0;
    padding: 0 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .hero h1 {
        font-size: 40px;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(127, 70, 235, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.modal h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.modal p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.modal-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}