/* ═══════════════════════════════════════════════════════════
   Farada — Contact Page Styles
   Prefix: fct- (Farada Contact)
   ═══════════════════════════════════════════════════════════ */


/* ═══ HERO ═══ */

.fct-hero {
    padding-bottom: 40px !important;
}

.fct-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.fct-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--body);
    box-shadow: 0 4px 12px rgba(99, 102, 241, .06);
}

.fct-hero-badge i {
    color: #10b981;
    font-size: 12px;
}


/* ═══ SECTIONS ═══ */

.fct-section {
    padding: 70px 0;
    background: var(--surface);
}

.fct-section:nth-child(even) {
    background: var(--bg);
}

@media (min-width: 640px) {
    .fct-section {
        padding: 90px 0;
    }
}

.fct-section-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--heading);
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 18px 0 14px;
}

@media (min-width: 640px) {
    .fct-section-title {
        font-size: 32px;
    }
}

.fct-section-desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--body);
    max-width: 640px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════
   CONTACT WHEEL (چرخه ارتباط)
   ═══════════════════════════════════════════════════════════ */

.fct-wheel-container {
    display: flex;
    justify-content: center;
    padding: 40px 0 20px;
}

.fct-wheel {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
}

.fct-wheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68%;
    height: 68%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(99, 102, 241, .15);
    border-radius: 50%;
    animation: fctWheelSpin 45s linear infinite;
    pointer-events: none;
}

@keyframes fctWheelSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.fct-wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32%;
    height: 32%;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(16, 185, 129, .35);
    z-index: 5;
}

.fct-wheel-center i {
    font-size: 30px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.fct-wheel-center-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.fct-wheel-center-sub {
    font-size: 10px;
    opacity: 0.7;
    font-weight: 600;
}

.fct-wheel-item {
    position: absolute;
    width: 140px;
    padding: 16px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    z-index: 3;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 400ms ease,
        box-shadow 400ms ease;
    will-change: transform;
    text-decoration: none;
    color: inherit;
}

.fct-wheel-item:hover {
    border-color: var(--fct-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.fct-wheel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--fct-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fct-wheel-item:hover .fct-wheel-icon {
    transform: scale(1.1) rotate(-5deg);
}

.fct-wheel-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.fct-wheel-value {
    font-size: 10.5px;
    color: var(--muted);
    font-weight: 600;
    direction: ltr;
    font-family: 'JetBrains Mono', monospace;
}

/* Positions - 6 items */
.fct-wi-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.fct-wi-2 {
    top: 25%;
    right: -10px;
    transform: translate(0, 0);
}

.fct-wi-3 {
    bottom: 25%;
    right: -10px;
    transform: translate(0, 0);
}

.fct-wi-4 {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.fct-wi-5 {
    bottom: 25%;
    left: -10px;
    transform: translate(0, 0);
}

.fct-wi-6 {
    top: 25%;
    left: -10px;
    transform: translate(0, 0);
}

.fct-wi-1:hover {
    transform: translate(-50%, -4px);
}

.fct-wi-2:hover {
    transform: translate(0, -4px);
}

.fct-wi-3:hover {
    transform: translate(0, -4px);
}

.fct-wi-4:hover {
    transform: translate(-50%, -4px);
}

.fct-wi-5:hover {
    transform: translate(0, -4px);
}

.fct-wi-6:hover {
    transform: translate(0, -4px);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .fct-wheel {
        aspect-ratio: auto;
        max-width: 100%;
    }

    .fct-wheel::before {
        display: none;
    }

    .fct-wheel-center {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
    }

    .fct-wheel-item {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100% !important;
    }

    .fct-wheel-item:hover {
        transform: translate3d(0, -4px, 0) !important;
    }

    .fct-wheel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .fct-wheel-center {
        grid-column: span 2;
    }
}

@media (max-width: 500px) {
    .fct-wheel {
        grid-template-columns: 1fr;
    }

    .fct-wheel-center {
        grid-column: span 1;
        width: 160px;
        height: 160px;
    }
}


/* ═══════════════════════════════════════════════════════════
   FORM SECTION
   ═══════════════════════════════════════════════════════════ */

.fct-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .fct-form-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
}

/* Form */
.fct-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(99, 102, 241, .05);
}

@media (max-width: 640px) {
    .fct-form-wrap {
        padding: 24px 20px;
    }
}

.fct-form-head {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-soft);
}

.fct-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 12px;
}

.fct-form-badge i {
    font-size: 10px;
}

.fct-form-head h2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--heading);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.fct-form-head p {
    font-size: 13.5px;
    color: var(--body);
    line-height: 1.7;
}

.fct-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fct-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .fct-form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fct-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--heading);
}

.fct-label i {
    color: #6366f1;
    font-size: 11px;
}

.fct-input,
.fct-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--heading);
    outline: none;
    transition: border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
    font-family: inherit;
}

.fct-input:focus,
.fct-textarea:focus {
    border-color: #6366f1;
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.fct-input::placeholder,
.fct-textarea::placeholder {
    color: var(--muted);
}

.fct-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

/* Subject Grid */
.fct-subject-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 640px) {
    .fct-subject-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.fct-subject-item {
    cursor: pointer;
    position: relative;
}

.fct-subject-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fct-subject-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.fct-subject-content i {
    font-size: 20px;
    color: var(--muted);
    transition: color 300ms ease, transform 300ms ease;
}

.fct-subject-content span {
    font-size: 12px;
    font-weight: 700;
    color: var(--body);
}

.fct-subject-item:hover .fct-subject-content {
    border-color: rgba(99, 102, 241, .3);
    transform: translate3d(0, -2px, 0);
}

.fct-subject-item input:checked+.fct-subject-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(168, 85, 247, .08));
    border-color: #6366f1;
}

.fct-subject-item input:checked+.fct-subject-content i,
.fct-subject-item input:checked+.fct-subject-content span {
    color: #6366f1;
}

.fct-subject-item input:checked+.fct-subject-content i {
    transform: scale(1.1);
}

/* Submit */
.fct-form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding-top: 10px;
}

@media (min-width: 640px) {
    .fct-form-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}

.fct-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 300ms ease, box-shadow 300ms ease;
    will-change: transform;
    width: 100%;
}

@media (min-width: 640px) {
    .fct-submit-btn {
        width: auto;
    }
}

.fct-submit-btn:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 30px rgba(99, 102, 241, .4);
}

.fct-submit-btn i {
    font-size: 12px;
}

.fct-form-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 600;
}

.fct-form-note i {
    color: #10b981;
    font-size: 11px;
}


/* ═══════════════════════════════════════════════════════════
   INFO SIDEBAR
   ═══════════════════════════════════════════════════════════ */

.fct-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fct-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 400ms ease,
        border-color 400ms ease;
    will-change: transform;
}

.fct-info-card:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 12px 32px rgba(99, 102, 241, .08);
    border-color: rgba(99, 102, 241, .2);
}

/* Response Card (خاص) */
.fct-response-card {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    color: #fff;
    text-align: center;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.fct-response-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.fct-response-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, .15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.fct-response-card h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.fct-response-card p {
    font-size: 12.5px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.fct-response-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.fct-response-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: fctPulse 2s infinite;
}

@keyframes fctPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.fct-response-card:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, .4);
    border: none;
}

/* Info title */
.fct-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
}

.fct-info-title i {
    color: #6366f1;
    font-size: 14px;
}

/* Info List */
.fct-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fct-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fct-info-item>i {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, .08);
    color: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.fct-info-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.fct-info-item strong {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--heading);
}

.fct-info-item span {
    font-size: 12px;
    color: var(--body);
    line-height: 1.7;
}

/* Social Grid */
.fct-social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.fct-social-btn {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: 12px;
    font-size: 15px;
    text-decoration: none;
    transition: background 300ms ease,
        color 300ms ease,
        border-color 300ms ease,
        transform 300ms ease;
    will-change: transform;
}

.fct-social-btn:hover {
    background: var(--sc);
    color: #fff;
    border-color: var(--sc);
    transform: translate3d(0, -3px, 0);
}


/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */

.fct-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fct-faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 300ms ease;
}

.fct-faq-item.open {
    border-color: rgba(99, 102, 241, .3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .08);
}

.fct-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    color: var(--heading);
    transition: background 250ms ease;
}

.fct-faq-q:hover {
    background: var(--bg);
}

.fct-faq-icon {
    width: 30px;
    height: 30px;
    background: rgba(99, 102, 241, .08);
    color: #6366f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
        background 300ms ease;
}

.fct-faq-item.open .fct-faq-icon {
    transform: rotate(45deg);
    background: #6366f1;
    color: #fff;
}

.fct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fct-faq-item.open .fct-faq-a {
    max-height: 300px;
}

.fct-faq-a p {
    padding: 0 22px 20px;
    font-size: 13px;
    line-height: 2;
    color: var(--body);
    margin: 0;
}