/* contact.css - Extracted from checkout.css with contact-specific styles */

:root {
    --primary: #7b2cbf;
    --secondary: #9d4edd;
    --accent: #c77dff;
    --background: #0a0014;
    --surface: #1a0026;
    --card-bg: rgba(26, 0, 38, 0.8);
    --text: #e0aaff;
    --text-secondary: #c8a8e9;
    --text-muted: #9d88b8;
    --success: #06ffa5;
    --warning: #ffb300;
    --error: #ff3860;
    --border: rgba(157, 78, 221, 0.2);
    --glow: rgba(157, 78, 221, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #1a0033 50%, var(--background) 100%);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(199, 125, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 0, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--accent);
    text-shadow: 0 0 20px var(--glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Page transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.transition-logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Checkout Section */
.checkout-section {
    padding: 120px 0 4rem;
    min-height: 100vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.checkout-form, .order-summary {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.checkout-form:hover, .order-summary:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(157, 78, 221, 0.2);
}

.checkout-form h2, .order-summary h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 15px var(--glow);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Fix autofill styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(157, 78, 221, 0.05) inset !important;
    -webkit-text-fill-color: var(--text) !important;
    border: 1px solid var(--border) !important;
    background-color: transparent !important;
}

.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px rgba(157, 78, 221, 0.1) inset !important;
    border-color: var(--secondary) !important;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-continue {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    font-weight: 600;
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

/* Order Summary */
.order-summary {
    margin-bottom: 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Modal */
.modal-content.success {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.order-details {
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.order-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.order-details strong {
    color: var(--text);
}

.btn-home {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 15px var(--glow);
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 15px var(--glow);
}

.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}

.support-hours {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.support-hours h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-list {
    margin-bottom: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.hour-item span:first-child {
    color: var(--text-muted);
}

.hour-item span:last-child {
    color: var(--text);
    font-weight: 500;
}

.response-time {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.response-time strong {
    color: var(--success);
}

.faq-quick {
    padding: 1.5rem;
    background: rgba(6, 255, 165, 0.05);
    border: 1px solid rgba(6, 255, 165, 0.2);
    border-radius: 12px;
}

.faq-quick h3 {
    color: var(--success);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-toggle {
    width: 100%;
    padding: 1rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-dropdown-toggle:hover {
    border-color: var(--secondary);
    background: rgba(157, 78, 221, 0.1);
}

.custom-dropdown-toggle:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(157, 78, 221, 0.1);
    box-shadow: 0 0 15px var(--glow);
}

.custom-dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.custom-dropdown-toggle.open::after {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
}

/* Custom scrollbar for dropdown */
.custom-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(157, 78, 221, 0.1);
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    background-clip: padding-box;
}

/* Firefox scrollbar styling */
.custom-dropdown-menu {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(157, 78, 221, 0.1);
}

.custom-dropdown-menu.open {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-dropdown-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-dropdown-item:hover {
    background: rgba(157, 78, 221, 0.1);
    color: var(--secondary);
}

.custom-dropdown-item.selected {
    background: rgba(157, 78, 221, 0.2);
    color: var(--secondary);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .checkout-section {
        padding: 100px 0 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-form, .order-summary {
    animation: fadeInUp 0.6s ease forwards;
}

.order-summary {
    animation-delay: 0.2s;
}