/* Ask Us a Question Page - Pink Princess Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.ask-question-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    margin: 0;
    font-size: 1.5em;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h2 .emoji {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 20px 60px;
}

.hero-section h1 {
    font-size: 3em;
    color: #ff6b9d;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    color: #666;
}

/* Quick FAQ Section */
.quick-faq-section {
    padding: 60px 20px;
}

.quick-faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: #ff6b9d;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.faq-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.faq-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.faq-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.faq-link:hover {
    color: #ff6b9d;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 20px;
    background: white;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 2.5em;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.2em;
    color: #666;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff5f9;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
}

.question-form {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1em;
}

.required {
    color: #ff6b9d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

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

.char-count {
    display: block;
    text-align: right;
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95em;
    color: #666;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-actions {
    text-align: center;
    margin-top: 35px;
}

.btn {
    padding: 16px 40px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2em;
}

.btn-icon {
    font-size: 1.2em;
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.95em;
}

.form-note .emoji {
    margin-right: 5px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 50px;
}

.success-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Additional Help Section */
.additional-help {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
}

.additional-help h2 {
    text-align: center;
    font-size: 2.5em;
    color: #ff6b9d;
    margin-bottom: 50px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.help-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    transition: transform 0.3s;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.help-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.help-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 30px;
    font-size: 1em;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ff6b9d;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .faq-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links {
        gap: 10px;
        font-size: 0.85em;
    }
}

/* ========== ENHANCED MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        padding: 60px 15px 40px;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    /* Form */
    .form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Inputs - prevent iOS zoom */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Buttons */
    .btn {
        min-height: 44px;
        width: 100%;
    }
    
    /* Grids */
    .faq-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.6em;
    }
    
    .form-container {
        padding: 25px 15px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .faq-card,
    .help-card {
        -webkit-tap-highlight-color: rgba(255, 107, 157, 0.1);
    }
}



/* MOBILE BUTTON ALIGNMENT FIXES */
/* Add this to the END of existing CSS files - won't affect desktop! */

/* ========================================
   MOBILE-ONLY FIXES (max-width: 768px)
   Desktop is completely unaffected
   ======================================== */

@media (max-width: 768px) {
    
    /* FIX 1: Center all buttons on mobile */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-large,
    button[type="submit"] {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    
    /* FIX 2: Hero/CTA buttons container - center alignment */
    .hero-buttons,
    .cta-buttons,
    .demo-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    /* FIX 3: Individual CTA buttons */
    .hero-buttons .btn,
    .cta-buttons .btn,
    .demo-actions .btn {
        width: 90% !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* FIX 4: Form buttons - center text */
    .form-actions,
    .button-group,
    .action-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .form-actions .btn,
    .button-group .btn,
    .action-buttons .btn {
        width: 90% !important;
        max-width: 400px !important;
    }
    
    /* FIX 5: Trial page - Apply & Preview buttons */
    #apply-btn,
    #preview-btn,
    button[onclick*="apply"],
    button[onclick*="preview"] {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 90% !important;
        max-width: 400px !important;
    }
    
    /* FIX 6: Section containers - center content */
    section,
    .section,
    .card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* FIX 7: Purple CTA sections */
    .cta-section,
    section[style*="background"],
    .hero-section {
        text-align: center !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .cta-section .btn,
    section[style*="background"] .btn {
        display: block !important;
        margin: 10px auto !important;
        width: 90% !important;
        max-width: 400px !important;
    }
    
    /* FIX 8: Ask Questions page - form buttons */
    .question-form .btn,
    #questionForm .btn,
    form .btn-primary {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* PRECISE BUTTON CENTER FIX - Mobile Only */
/* Add to end of CSS files or create as separate file */

@media (max-width: 768px) {
    /* FIX: ngrok warning page buttons */
    .hero-buttons,
    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 20px !important;
    }
    
    .hero-buttons a,
    .cta-buttons a,
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100% !important;
        max-width: 500px !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* FIX: Demos page buttons */
    .demo-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 20px !important;
    }
    
    .demo-actions .btn {
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto 15px auto !important;
        text-align: center !important;
    }
    
    /* FIX: Trial page buttons */
    #apply-btn,
    #preview-btn,
    button[id*="apply"],
    button[id*="preview"],
    .trial-actions button,
    .trial-actions .btn {
        width: 100% !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* FIX: All button containers */
    .button-group,
    .action-buttons,
    .form-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    /* FIX: Ensure button text is centered */
    .btn,
    .btn-primary,
    .btn-secondary,
    button {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/* ========================================
   END MOBILE-ONLY FIXES
   Desktop unaffected ✅
   ======================================== */
