/* ============================================================
   contact.css — SkyServer Cloud Contact Us Page
   Accent: Royal Blue (#4169E1)
   Font: Outfit (primary), JetBrains Mono (mono)
============================================================ */

/* ---------- PAGE VARS ---------- */
.contact-page {
    --ct-accent: #4169E1;
    --ct-accent-2: #2f55d4;
    --ct-accent-soft: rgba(65, 105, 225, 0.08);
    --ct-accent-mid: rgba(65, 105, 225, 0.15);
    --ct-accent-border: rgba(65, 105, 225, 0.25);
    --ct-text-1: #0f172a;
    --ct-text-2: #334155;
    --ct-text-3: #64748b;
    --ct-border: #e2e8f0;
    --ct-bg: #f0f4ff;
    --ct-bg-2: #f8fafc;
    --ct-white: #ffffff;
    --ct-radius: 14px;
    --ct-shadow-sm: 0 2px 8px rgba(65, 105, 225, .08), 0 1px 3px rgba(0, 0, 0, .05);
    --ct-shadow-md: 0 6px 24px rgba(65, 105, 225, .12), 0 2px 8px rgba(0, 0, 0, .06);
    --ct-shadow-lg: 0 16px 48px rgba(65, 105, 225, .18), 0 4px 16px rgba(0, 0, 0, .08);
    font-family: 'Outfit', sans-serif;
}

/* ============================================================
   1. HERO
============================================================ */
.ct-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #f0f4ff 0%, #e0e9ff 45%, #dce7ff 100%);
    padding: 96px 0 80px;
    text-align: center;
}

.ct-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ct-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.ct-orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(65, 105, 225, .18);
    top: -100px;
    left: -100px;
}

.ct-orb-2 {
    width: 320px;
    height: 320px;
    background: rgba(100, 130, 255, .14);
    bottom: -80px;
    right: -80px;
}

.ct-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(65, 105, 225, .10);
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.ct-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(65, 105, 225, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 105, 225, .06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.ct-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(65, 105, 225, .1);
    border: 1px solid rgba(65, 105, 225, .2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ct-accent);
    margin-bottom: 24px;
}

.ct-badge-dot {
    width: 7px;
    height: 7px;
    background: var(--ct-accent);
    border-radius: 50%;
    animation: ct-pulse 2s infinite;
}

@keyframes ct-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(1.3);
    }
}

.ct-badge-sep {
    opacity: .4;
}

.ct-hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: var(--ct-text-1);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.ct-hero-title span {
    color: var(--ct-accent);
}

.ct-hero-sub {
    font-size: 17px;
    color: var(--ct-text-2);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.ct-hero-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ct-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ct-white);
    border: 1px solid var(--ct-accent-border);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ct-text-2);
    box-shadow: var(--ct-shadow-sm);
}

.ct-pill svg {
    color: var(--ct-accent);
    flex-shrink: 0;
}

/* ============================================================
   2. CONTACT CHANNELS
============================================================ */
.ct-channels {
    padding: 80px 0 40px;
    background: var(--ct-white);
}

.ct-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.ct-channel-card {
    background: var(--ct-bg-2);
    border: 1.5px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 32px 28px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ct-channel-card:hover {
    border-color: var(--ct-accent-border);
    box-shadow: var(--ct-shadow-md);
    transform: translateY(-3px);
}

.ct-channel-card.featured {
    border-color: var(--ct-accent);
    background: linear-gradient(135deg, #f0f4ff, var(--ct-white));
    box-shadow: var(--ct-shadow-md);
}

.ct-channel-icon {
    width: 56px;
    height: 56px;
    background: var(--ct-accent-soft);
    border: 1.5px solid var(--ct-accent-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--ct-accent);
}

.ct-channel-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ct-accent);
    margin-bottom: 8px;
}

.ct-channel-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--ct-text-1);
    margin-bottom: 10px;
}

.ct-channel-desc {
    font-size: 14px;
    color: var(--ct-text-3);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ct-channel-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, .08);
    border: 1px solid rgba(16, 185, 129, .2);
    border-radius: 50px;
    padding: 4px 12px;
    margin-bottom: 18px;
}

.ct-status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.ct-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ct-accent);
    color: #fff;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.ct-channel-btn:hover {
    background: var(--ct-accent-2);
    transform: translateY(-1px);
}

.ct-channel-btn.ghost {
    background: transparent;
    color: var(--ct-accent);
    border: 1.5px solid var(--ct-accent-border);
}

.ct-channel-btn.ghost:hover {
    background: var(--ct-accent-soft);
}

/* ============================================================
   3. MAIN CONTACT FORM + INFO
============================================================ */
.ct-main {
    padding: 80px 0;
    background: var(--ct-bg);
}

.ct-main-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

/* --- Form Card --- */
.ct-form-card {
    background: var(--ct-white);
    border: 1.5px solid var(--ct-border);
    border-radius: 18px;
    padding: 48px 44px;
    box-shadow: var(--ct-shadow-sm);
}

.ct-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ct-text-1);
    margin-bottom: 6px;
}

.ct-form-subtitle {
    font-size: 14.5px;
    color: var(--ct-text-3);
    margin-bottom: 36px;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ct-field {
    margin-bottom: 20px;
}

.ct-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ct-text-2);
    margin-bottom: 7px;
}

.ct-field label span {
    color: #ef4444;
    margin-left: 2px;
}

.ct-input,
.ct-select,
.ct-textarea {
    width: 100%;
    background: var(--ct-bg-2);
    border: 1.5px solid var(--ct-border);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14.5px;
    font-family: 'Outfit', sans-serif;
    color: var(--ct-text-1);
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    outline: none;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
    border-color: var(--ct-accent);
    box-shadow: 0 0 0 3px var(--ct-accent-soft);
}

.ct-input::placeholder,
.ct-textarea::placeholder {
    color: #a0aec0;
}

.ct-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

.ct-textarea {
    resize: vertical;
    min-height: 130px;
}

.ct-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.ct-form-note {
    font-size: 12.5px;
    color: var(--ct-text-3);
}

.ct-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ct-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}

.ct-submit-btn:hover {
    background: var(--ct-accent-2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, .35);
}

/* Success / Error state */
.ct-form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.ct-form-success.visible {
    display: block;
}

.ct-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #10b981;
}

.ct-form-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ct-text-1);
    margin-bottom: 10px;
}

.ct-form-success p {
    font-size: 15px;
    color: var(--ct-text-3);
}

/* --- Info Panel --- */
.ct-info-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ct-info-card {
    background: var(--ct-white);
    border: 1.5px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color .2s, box-shadow .2s;
}

.ct-info-card:hover {
    border-color: var(--ct-accent-border);
    box-shadow: var(--ct-shadow-sm);
}

.ct-info-icon {
    width: 42px;
    height: 42px;
    background: var(--ct-accent-soft);
    border: 1.5px solid var(--ct-accent-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-accent);
    flex-shrink: 0;
}

.ct-info-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ct-text-3);
    margin-bottom: 4px;
}

.ct-info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ct-text-1);
    margin-bottom: 3px;
}

.ct-info-value a {
    color: var(--ct-accent);
    text-decoration: none;
}

.ct-info-value a:hover {
    text-decoration: underline;
}

.ct-info-note {
    font-size: 12.5px;
    color: var(--ct-text-3);
}

/* Response Time widget */
.ct-response-card {
    background: linear-gradient(135deg, #4169E1, #2f55d4);
    border-radius: var(--ct-radius);
    padding: 24px 22px;
    color: #fff;
}

.ct-response-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    opacity: .85;
}

.ct-response-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 13.5px;
}

.ct-response-row:last-child {
    border-bottom: none;
}

.ct-response-channel {
    opacity: .8;
}

.ct-response-time {
    font-weight: 700;
    background: rgba(255, 255, 255, .15);
    border-radius: 50px;
    padding: 3px 10px;
    font-size: 12.5px;
}

/* ============================================================
   4. WHY SECTION
============================================================ */
.ct-why {
    padding: 80px 0;
    background: var(--ct-white);
}

.ct-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.ct-why-card {
    padding: 28px 24px;
    border: 1.5px solid var(--ct-border);
    border-radius: var(--ct-radius);
    background: var(--ct-bg-2);
    transition: border-color .2s, transform .2s;
}

.ct-why-card:hover {
    border-color: var(--ct-accent-border);
    transform: translateY(-3px);
}

.ct-why-icon {
    width: 48px;
    height: 48px;
    background: var(--ct-accent-soft);
    border: 1.5px solid var(--ct-accent-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-accent);
    margin-bottom: 16px;
}

.ct-why-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ct-text-1);
    margin-bottom: 8px;
}

.ct-why-card p {
    font-size: 14px;
    color: var(--ct-text-3);
    line-height: 1.65;
}

/* ============================================================
   5. FAQ
============================================================ */
.ct-faq {
    padding: 80px 0;
    background: var(--ct-bg);
}

/* ============================================================
   6. CTA
============================================================ */
.ct-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #4169E1 60%, #2f55d4 100%);
    padding: 80px 0;
    text-align: center;
}

.ct-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ct-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.ct-cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, .08);
    top: -120px;
    right: -80px;
}

.ct-cta-orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, .06);
    bottom: -80px;
    left: -60px;
}

.ct-cta-inner {
    position: relative;
    z-index: 1;
}

.ct-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ct-cta h2 {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}

.ct-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, .78);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.ct-cta-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ct-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ct-accent);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}

.ct-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.ct-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.ct-cta-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .ct-main-inner {
        grid-template-columns: 1fr;
    }

    .ct-info-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .ct-response-card {
        grid-column: span 2;
    }

    .ct-channels-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ct-why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ct-hero {
        padding: 72px 0 56px;
    }

    .ct-form-card {
        padding: 32px 20px;
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-channels-grid {
        grid-template-columns: 1fr;
    }

    .ct-why-grid {
        grid-template-columns: 1fr;
    }

    .ct-info-panel {
        grid-template-columns: 1fr;
    }

    .ct-response-card {
        grid-column: auto;
    }

    .ct-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}