/* 
 * Support Page - iOS Modern Design
 * Comprehensive Support System
 */

/* ==========================================================================
   Support Main Layout
   ========================================================================== */

.support-main {
    min-height: calc(100vh - 160px);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ios-space-lg);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.support-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ios-space-2xl);
    align-items: center;
    margin-bottom: var(--ios-space-3xl);
    padding: var(--ios-space-2xl);
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.1) 0%, 
        rgba(88, 86, 214, 0.1) 50%, 
        rgba(175, 82, 222, 0.1) 100%);
    border-radius: var(--ios-radius-2xl);
    border: 1px solid var(--ios-border-secondary);
    position: relative;
    overflow: hidden;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 122, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.hero-title {
    font: var(--ios-font-title1);
    font-weight: 800;
    margin-bottom: var(--ios-space-lg);
    color: var(--ios-text-primary);
    line-height: 1.2;
}

.hero-description {
    font: var(--ios-font-body);
    font-size: 18px;
    color: var(--ios-text-secondary);
    margin-bottom: var(--ios-space-xl);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: var(--ios-space-xl);
    margin-top: var(--ios-space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font: var(--ios-font-title2);
    font-weight: 700;
    color: var(--ios-blue);
    margin-bottom: var(--ios-space-xs);
}

.stat-label {
    font: var(--ios-font-footnote);
    color: var(--ios-text-tertiary);
    white-space: nowrap;
}

.hero-illustration {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-robot {
    width: 200px;
    height: 250px;
    position: relative;
    animation: robot-float 4s ease-in-out infinite;
}

.robot-head {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ios-blue) 0%, var(--ios-indigo) 100%);
    border-radius: 40px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

.robot-body {
    position: absolute;
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, var(--ios-blue) 0%, var(--ios-indigo) 100%);
    border-radius: 50px;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.robot-arm-left, .robot-arm-right {
    position: absolute;
    width: 20px;
    height: 80px;
    background: linear-gradient(135deg, var(--ios-blue) 0%, var(--ios-indigo) 100%);
    border-radius: 10px;
    top: 70px;
    animation: robot-wave 2s ease-in-out infinite;
}

.robot-arm-left {
    left: 30px;
    transform-origin: top center;
}

.robot-arm-right {
    right: 30px;
    transform-origin: top center;
    animation-delay: 1s;
}

.robot-eye {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 30px;
    left: 50%;
    transform: translateX(-15px);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    animation: robot-blink 3s infinite;
}

.robot-eye::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--ios-blue-dark);
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

@keyframes robot-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes robot-wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-30deg);
    }
}

@keyframes robot-blink {
    0%, 90%, 100% {
        height: 20px;
    }
    95% {
        height: 2px;
    }
}

/* ==========================================================================
   Quick Actions
   ========================================================================== */

.quick-actions {
    margin-bottom: var(--ios-space-3xl);
}

.section-title {
    font: var(--ios-font-title2);
    font-weight: 700;
    margin-bottom: var(--ios-space-lg);
    color: var(--ios-text-primary);
    text-align: center;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--ios-space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.action-card {
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-xl);
    padding: var(--ios-space-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--ios-timing-normal);
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--ios-shadow-xl);
    border-color: var(--ios-blue);
}

.action-card:active {
    transform: translateY(-4px) scale(1.01);
    transition: all var(--ios-timing-fast);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ios-blue), var(--ios-indigo));
    opacity: 0;
    transition: opacity var(--ios-timing-normal);
}

.action-card:hover::before {
    opacity: 1;
}

.action-icon {
    font-size: 48px;
    margin-bottom: var(--ios-space-lg);
    transition: transform var(--ios-timing-normal);
}

.action-card:hover .action-icon {
    transform: scale(1.2) rotate(10deg);
}

.action-card h3 {
    font: var(--ios-font-title3);
    font-weight: 600;
    margin-bottom: var(--ios-space-sm);
    color: var(--ios-text-primary);
}

.action-card p {
    font: var(--ios-font-callout);
    color: var(--ios-text-secondary);
    margin-bottom: var(--ios-space-lg);
    line-height: 1.5;
}

.action-arrow {
    position: absolute;
    bottom: var(--ios-space-xl);
    right: var(--ios-space-xl);
    font-size: 24px;
    color: var(--ios-blue);
    transition: transform var(--ios-timing-fast);
}

.action-card:hover .action-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-section {
    margin-bottom: var(--ios-space-3xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--ios-space-xl);
}

.section-description {
    font: var(--ios-font-body);
    color: var(--ios-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-container {
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-2xl);
    padding: var(--ios-space-2xl);
    box-shadow: var(--ios-shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ios-blue), var(--ios-indigo));
    border-radius: var(--ios-radius-2xl) var(--ios-radius-2xl) 0 0;
}

.ios-form {
    position: relative;
    z-index: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ios-space-xl);
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-section-title {
    font: var(--ios-font-title3);
    font-weight: 600;
    margin-bottom: var(--ios-space-lg);
    color: var(--ios-text-primary);
    padding-bottom: var(--ios-space-sm);
    border-bottom: 2px solid var(--ios-border-tertiary);
}

.form-label {
    display: block;
    margin-bottom: var(--ios-space-sm);
    font: var(--ios-font-subhead);
    font-weight: 600;
    color: var(--ios-text-primary);
}

.form-label.required::after {
    content: ' *';
    color: var(--ios-red);
}

/* Priority Selector */
.priority-selector {
    display: flex;
    gap: var(--ios-space-sm);
    flex-wrap: wrap;
}

.priority-option {
    cursor: pointer;
    user-select: none;
}

.priority-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.priority-label {
    display: flex;
    align-items: center;
    gap: var(--ios-space-xs);
    padding: var(--ios-space-sm) var(--ios-space-lg);
    border: 2px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    background: var(--ios-background-tertiary);
    transition: all var(--ios-timing-fast);
}

.priority-label:hover {
    border-color: var(--ios-border-primary);
    background: var(--ios-background-secondary);
}

.priority-option input:checked + .priority-label {
    border-color: var(--ios-blue);
    background: rgba(0, 122, 255, 0.1);
    color: var(--ios-blue);
}

.priority-label.low {
    color: var(--ios-green);
}

.priority-label.medium {
    color: var(--ios-orange);
}

.priority-label.high {
    color: var(--ios-red);
}

.priority-label.urgent {
    color: var(--ios-pink);
}

.priority-icon {
    font-size: 18px;
}

/* Character Counter */
.character-counter {
    text-align: right;
    font: var(--ios-font-footnote);
    color: var(--ios-text-tertiary);
    margin-top: var(--ios-space-xs);
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-label {
    display: block;
    padding: var(--ios-space-xl);
    background: var(--ios-background-tertiary);
    border: 2px dashed var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--ios-timing-fast);
    position: relative;
}

.file-upload-label:hover {
    background: var(--ios-background-secondary);
    border-color: var(--ios-blue);
}

.file-upload-label:active {
    transform: scale(0.98);
}

.file-upload-icon {
    font-size: 32px;
    margin-bottom: var(--ios-space-sm);
    display: block;
    color: var(--ios-blue);
}

.file-upload-text {
    display: block;
    font: var(--ios-font-headline);
    font-weight: 600;
    color: var(--ios-text-primary);
    margin-bottom: var(--ios-space-xs);
}

.file-upload-hint {
    display: block;
    font: var(--ios-font-footnote);
    color: var(--ios-text-tertiary);
}

.file-preview {
    margin-top: var(--ios-space-md);
    padding: var(--ios-space-md);
    background: var(--ios-background-tertiary);
    border-radius: var(--ios-radius-md);
    border: 1px solid var(--ios-border-secondary);
    display: none;
}

.file-preview.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Note */
.form-note {
    display: flex;
    align-items: center;
    gap: var(--ios-space-sm);
    margin-top: var(--ios-space-lg);
    padding: var(--ios-space-md);
    background: rgba(0, 122, 255, 0.05);
    border-radius: var(--ios-radius-md);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.note-icon {
    font-size: 20px;
    color: var(--ios-blue);
}

.form-note span {
    font: var(--ios-font-callout);
    color: var(--ios-text-secondary);
}

/* Form Status Messages */
.form-status {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--ios-background-secondary);
    border-radius: var(--ios-radius-2xl);
    padding: var(--ios-space-2xl);
    box-shadow: var(--ios-shadow-xl);
    border: 1px solid var(--ios-border-secondary);
    z-index: 2000;
    max-width: 500px;
    width: 90%;
    animation: modalAppear 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    text-align: center;
}

@keyframes modalAppear {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.form-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ios-blue), var(--ios-indigo));
    border-radius: var(--ios-radius-2xl) var(--ios-radius-2xl) 0 0;
}

.status-icon {
    font-size: 64px;
    margin-bottom: var(--ios-space-lg);
}

.form-status.success .status-icon {
    color: var(--ios-green);
}

.form-status.error .status-icon {
    color: var(--ios-red);
}

.status-content h3 {
    font: var(--ios-font-title3);
    font-weight: 600;
    margin-bottom: var(--ios-space-sm);
    color: var(--ios-text-primary);
}

.status-content p {
    font: var(--ios-font-body);
    color: var(--ios-text-secondary);
    margin-bottom: var(--ios-space-xl);
    line-height: 1.6;
}

/* ==========================================================================
   Live Chat
   ========================================================================== */

.chat-section {
    margin-bottom: var(--ios-space-3xl);
}

.chat-container {
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-2xl);
    overflow: hidden;
    box-shadow: var(--ios-shadow-lg);
}

.chat-status {
    padding: var(--ios-space-lg);
    background: linear-gradient(90deg, var(--ios-green), var(--ios-teal));
    color: white;
    display: flex;
    align-items: center;
    gap: var(--ios-space-sm);
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: white;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

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

.status-text {
    font: var(--ios-font-subhead);
    font-weight: 500;
}

.chat-window {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: var(--ios-space-lg);
    border-bottom: 1px solid var(--ios-border-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--ios-background-tertiary);
}

.agent-info {
    display: flex;
    align-items: center;
    gap: var(--ios-space-md);
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ios-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-details h3 {
    font: var(--ios-font-subhead);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--ios-text-primary);
}

.agent-details p {
    font: var(--ios-font-footnote);
    color: var(--ios-green);
}

.chat-actions {
    display: flex;
    gap: var(--ios-space-xs);
}

.chat-action-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--ios-radius-md);
    border: none;
    background: var(--ios-background-tertiary);
    color: var(--ios-text-secondary);
    cursor: pointer;
    transition: all var(--ios-timing-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-action-btn:hover {
    background: var(--ios-background-secondary);
    color: var(--ios-text-primary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--ios-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--ios-space-md);
}

.message {
    max-width: 80%;
    animation: messageAppear 0.3s ease-out;
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.agent {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-content {
    padding: var(--ios-space-md) var(--ios-space-lg);
    border-radius: var(--ios-radius-lg);
    position: relative;
}

.message.agent .message-content {
    background: var(--ios-background-tertiary);
    border: 1px solid var(--ios-border-secondary);
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--ios-blue) 0%, var(--ios-indigo) 100%);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    font: var(--ios-font-caption1);
    color: var(--ios-text-tertiary);
    margin-top: 4px;
    text-align: right;
}

.chat-input {
    padding: var(--ios-space-lg);
    border-top: 1px solid var(--ios-border-tertiary);
    display: flex;
    gap: var(--ios-space-md);
}

.chat-input-field {
    flex: 1;
    padding: var(--ios-space-md) var(--ios-space-lg);
    background: var(--ios-background-tertiary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    font: var(--ios-font-body);
    color: var(--ios-text-primary);
    transition: all var(--ios-timing-fast);
}

.chat-input-field:focus {
    outline: none;
    border-color: var(--ios-blue);
    background: var(--ios-background-secondary);
}

.chat-send-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--ios-radius-lg);
    background: linear-gradient(135deg, var(--ios-blue) 0%, var(--ios-indigo) 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all var(--ios-timing-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

.chat-prompts {
    padding: var(--ios-space-lg);
    background: var(--ios-background-tertiary);
    border-top: 1px solid var(--ios-border-tertiary);
}

.chat-prompts h4 {
    font: var(--ios-font-subhead);
    font-weight: 600;
    margin-bottom: var(--ios-space-md);
    color: var(--ios-text-primary);
}

.prompts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ios-space-sm);
}

.prompt-btn {
    padding: var(--ios-space-sm) var(--ios-space-lg);
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    font: var(--ios-font-callout);
    color: var(--ios-text-secondary);
    cursor: pointer;
    transition: all var(--ios-timing-fast);
}

.prompt-btn:hover {
    background: var(--ios-blue);
    border-color: var(--ios-blue);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    margin-bottom: var(--ios-space-3xl);
}

.faq-container {
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-2xl);
    overflow: hidden;
    box-shadow: var(--ios-shadow-lg);
}

.faq-categories {
    padding: var(--ios-space-lg);
    background: var(--ios-background-tertiary);
    border-bottom: 1px solid var(--ios-border-tertiary);
    display: flex;
    gap: var(--ios-space-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.faq-categories::-webkit-scrollbar {
    display: none;
}

.faq-category {
    padding: var(--ios-space-sm) var(--ios-space-lg);
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    font: var(--ios-font-subhead);
    color: var(--ios-text-secondary);
    cursor: pointer;
    transition: all var(--ios-timing-fast);
    white-space: nowrap;
    user-select: none;
}

.faq-category:hover {
    background: var(--ios-background-tertiary);
    border-color: var(--ios-border-primary);
    color: var(--ios-text-primary);
}

.faq-category.active {
    background: var(--ios-blue);
    border-color: var(--ios-blue);
    color: white;
}

.faq-list {
    padding: var(--ios-space-xl);
}

.faq-item {
    margin-bottom: var(--ios-space-md);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-lg);
    overflow: hidden;
    transition: all var(--ios-timing-fast);
}

.faq-item:hover {
    border-color: var(--ios-border-primary);
    box-shadow: var(--ios-shadow-sm);
}

.faq-question {
    padding: var(--ios-space-lg);
    background: var(--ios-background-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font: var(--ios-font-headline);
    font-weight: 600;
    color: var(--ios-text-primary);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    color: var(--ios-text-tertiary);
    transition: transform var(--ios-timing-fast);
    margin-left: var(--ios-space-lg);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--ios-blue);
}

.faq-answer {
    padding: 0 var(--ios-space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--ios-timing-normal);
}

.faq-item.active .faq-answer {
    padding: var(--ios-space-lg);
    max-height: 1000px;
}

.faq-answer p, .faq-answer ol, .faq-answer ul {
    margin-bottom: var(--ios-space-md);
    color: var(--ios-text-secondary);
    line-height: 1.6;
}

.faq-answer ol, .faq-answer ul {
    padding-left: var(--ios-space-lg);
}

.faq-answer li {
    margin-bottom: var(--ios-space-xs);
}

/* ==========================================================================
   Contact Methods
   ========================================================================== */

.contact-methods {
    margin-bottom: var(--ios-space-3xl);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--ios-space-lg);
}

.method-card {
    background: var(--ios-background-secondary);
    border: 1px solid var(--ios-border-secondary);
    border-radius: var(--ios-radius-xl);
    padding: var(--ios-space-xl);
    text-align: center;
    transition: all var(--ios-timing-normal);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ios-shadow-lg);
    border-color: var(--ios-blue);
}

.method-icon {
    font-size: 48px;
    margin-bottom: var(--ios-space-lg);
    transition: transform var(--ios-timing-normal);
}

.method-card:hover .method-icon {
    transform: scale(1.2);
}

.method-card h3 {
    font: var(--ios-font-title3);
    font-weight: 600;
    margin-bottom: var(--ios-space-lg);
    color: var(--ios-text-primary);
}

.method-details {
    margin-bottom: var(--ios-space-lg);
}

.method-details a, .method-details p {
    display: block;
    font: var(--ios-font-callout);
    color: var(--ios-text-secondary);
    margin-bottom: var(--ios-space-xs);
    text-decoration: none;
    transition: color var(--ios-timing-fast);
}

.method-details a:hover {
    color: var(--ios-blue);
}

.method-card p:last-child {
    font: var(--ios-font-footnote);
    color: var(--ios-text-tertiary);
    margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .support-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-main {
        padding: 80px 0 40px;
    }
    
    .support-container {
        padding: 0 var(--ios-space-md);
    }
    
    .support-hero {
        padding: var(--ios-space-xl);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--ios-space-lg);
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        height: 350px;
    }
    
    .faq-categories {
        flex-wrap: wrap;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: var(--ios-space-xl);
    }
}

@media (max-width: 480px) {
    .support-hero {
        padding: var(--ios-space-lg);
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .action-card, .method-card {
        padding: var(--ios-space-lg);
    }
    
    .chat-input {
        flex-direction: column;
    }
    
    .chat-send-btn {
        width: 100%;
    }
    
    .priority-selector {
        flex-direction: column;
    }
    
    .priority-label {
        justify-content: center;
    }
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .support-hero {
        background: linear-gradient(135deg, 
            rgba(0, 122, 255, 0.05) 0%, 
            rgba(88, 86, 214, 0.05) 50%, 
            rgba(175, 82, 222, 0.05) 100%);
    }
    
    .form-note {
        background: rgba(0, 122, 255, 0.1);
        border-color: rgba(0, 122, 255, 0.2);
    }
    
    .chat-header {
        background: var(--ios-background-secondary);
    }
    
    .chat-prompts {
        background: var(--ios-background-secondary);
    }
    
    .faq-categories {
        background: var(--ios-background-secondary);
    }
    
    .faq-question {
        background: var(--ios-background-tertiary);
    }
}