/* Aurora AI - Contact Page Styles */

/* ===========================================
   CONTACT HERO
   =========================================== */
.contact-hero {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 100% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 70% 10%, rgba(42, 255, 163, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    background: var(--aurora-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 500px;
    margin: 0 auto;
}

/* ===========================================
   CONTACT FORM SECTION
   =========================================== */
.contact-form-section {
    position: relative;
    padding: 0 2rem 4rem;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 30% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 70% 80%, rgba(42, 255, 163, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-form-wrapper {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.2s var(--ease-smooth);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--aurora-cyan);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ===========================================
   REACH US SECTION
   =========================================== */
.reach-section {
    position: relative;
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.reach-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 50% at 50% 0%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 0% 50%, rgba(0, 201, 183, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 100% 50%, rgba(42, 255, 163, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.reach-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.reach-section .container {
    position: relative;
    z-index: 1;
}

.reach-section .section-title {
    margin-bottom: 0.5rem;
}

.reach-section .section-description {
    margin-bottom: 3rem;
}

.reach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

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

.reach-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s var(--ease-smooth);
}

.reach-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    transform: translateY(-4px);
}

.reach-card-featured {
    background: rgba(243, 244, 246, 0.8);
    border-color: rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.reach-card-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--aurora-gradient-subtle);
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.reach-card-featured:hover::before {
    opacity: 1;
}

.reach-card-featured > * {
    position: relative;
    z-index: 1;
}

.reach-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    width: fit-content;
}

.reach-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--aurora-teal);
    border-radius: 50%;
}

.reach-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.reach-card > p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    flex-grow: 1;
}

.reach-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--aurora-gradient-subtle);
    border-radius: 12px;
    color: var(--aurora-teal);
}

.reach-card .btn {
    align-self: flex-start;
}

.reach-card-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* ===========================================
   SUPPORT SECTION
   =========================================== */
.support-section {
    position: relative;
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.support-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 201, 183, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.support-section .container {
    position: relative;
    z-index: 1;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.support-text .section-title {
    margin-bottom: 1rem;
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .support-cards {
        grid-template-columns: 1fr;
    }
}

.support-card {
    background: rgba(249, 250, 251, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.3s var(--ease-smooth);
    backdrop-filter: blur(8px);
}

.support-card:hover {
    background: var(--white);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
}

.support-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    color: var(--aurora-teal);
    transition: all 0.3s var(--ease-smooth);
}

.support-card:hover .support-card-icon {
    background: var(--aurora-gradient);
    color: var(--white);
}

.support-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.support-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
    margin-top: auto;
}

.link-arrow:hover {
    color: var(--aurora-teal);
    gap: 0.75rem;
}

/* ===========================================
   FAQ SECTION
   =========================================== */
.faq-section {
    position: relative;
    padding: var(--section-padding) 2rem;
    background: var(--white);
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 0% 80%, rgba(42, 255, 163, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 100% 80%, rgba(0, 201, 183, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.faq-header .section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    white-space: nowrap;
}

.faq-header .section-description {
    color: var(--gray-500);
    font-size: 1.0625rem;
}

.faq-list {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.faq-header-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-header-btn span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    font-family: var(--font-body);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s var(--ease-smooth);
}

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

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.faq-item.open .faq-content {
    grid-template-rows: 1fr;
}

.faq-content > div {
    min-height: 0;
    overflow: hidden;
}

.faq-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    padding: 0.25rem 0 1.5rem;
    margin: 0;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   =========================================== */
@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .reach-section,
    .support-section,
    .faq-section {
        padding: 3rem 1.5rem;
    }

}
