/* Demos Page - Pink Princess Theme */

.demos-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: white;
    margin: 0;
    padding: 0;
}

/* 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;
}

.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: color 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);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 10px;
        font-size: 0.85em;
    }
}

/* Animations */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

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

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

/* Hero Section */
.demos-hero {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 50%, #a855f7 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.demos-hero::before {
    content: '✨';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 3em;
    animation: sparkle 3s infinite;
}

.demos-hero::after {
    content: '✨';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 3em;
    animation: sparkle 3s infinite 1.5s;
}

.demos-hero h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

.demos-hero .subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title .emoji,
.section-title .warning-icon,
h2 .emoji,
h1 .emoji {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
    display: inline-block;
}

.section-title .warning-icon {
    color: #FFC107 !important;
    font-size: 1.2em;
}

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

/* What We Offer Section */
.what-we-offer {
    padding: 80px 20px;
    background: white;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.25);
}

.offer-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.offer-card p {
    color: #666;
    line-height: 1.7;
}

.offer-card .detail-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.offer-card .detail-list li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.offer-card .detail-list li:last-child {
    border-bottom: none;
}

.offer-card .detail-list li strong {
    color: #ff6b9d;
    font-weight: 600;
}

/* Limitations Section */
.limitations {
    padding: 80px 20px;
    background: #fff5f9;
}

.limitations-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.limitation-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #ff6b9d;
}

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

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

.tip-box {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Membership Benefits */
.membership-benefits {
    padding: 80px 20px;
    background: white;
}

.benefits-intro {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.mode-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    position: relative;
    transition: all 0.3s;
}

.mode-card.featured {
    border: 3px solid #ff6b9d;
    transform: scale(1.05);
}

.mode-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.mode-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    color: white;
}

.mode-badge.trial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mode-badge.auto {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
}

.mode-badge.manual {
    background: linear-gradient(135deg, #c86dd7 0%, #a855f7 100%);
}

.mode-icon {
    font-size: 4em;
    text-align: center;
    margin-bottom: 20px;
}

.mode-card h3 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.mode-desc {
    color: #666;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mode-features {
    list-style: none;
    padding: 0;
}

.mode-features li {
    padding: 10px 0;
    color: #666;
    font-size: 1.05em;
    border-bottom: 1px solid #f0f0f0;
}

.mode-features li:last-child {
    border-bottom: none;
}

/* Common Features */
.common-features {
    padding: 80px 20px;
    background: #fff5f9;
}

.features-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .features-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-comparison {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.15);
}

.feature-icon-small {
    font-size: 2.5em;
    min-width: 60px;
    text-align: center;
}

.feature-content h4 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 8px;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Manual Extras */
.manual-extras {
    padding: 80px 20px;
    background: white;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .extras-grid {
        grid-template-columns: 1fr;
    }
}

.extra-card {
    background: #fff5f9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.2);
}

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

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

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

.extra-badge {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

/* Video Demos */
.video-demos {
    padding: 80px 20px;
    background: #fff5f9;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.video-demo-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
}

.video-demo-card h3 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.5em;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: white;
}

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

.video-placeholder h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.video-details {
    padding: 25px;
}

.video-details p {
    color: #666;
    margin-bottom: 10px;
}

.video-details strong {
    color: #333;
}

.video-details ul {
    list-style: none;
    padding-left: 0;
}

.video-details ul li {
    padding: 5px 0;
    color: #666;
}

.video-details ul li::before {
    content: '▶ ';
    color: #ff6b9d;
    font-size: 0.8em;
    margin-right: 8px;
}

/* Members Feedback Info */
.members-feedback-info {
    padding: 80px 20px;
    background: white;
}

.feedback-banner {
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
}

.feedback-content h2 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2em;
    margin-bottom: 20px;
}

.feedback-content > p {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feedback-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.feedback-benefits li {
    padding: 12px 0;
    color: #666;
    font-size: 1.05em;
    border-bottom: 1px solid rgba(255, 107, 157, 0.1);
}

.feedback-note {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff6b9d;
    margin-bottom: 25px;
}

.feedback-visual {
    text-align: center;
}

.feedback-icon-large {
    font-size: 8em;
    animation: float 3s ease-in-out infinite;
}

/* CTA Section */
.cta-section {
    background: #fff5f9;
    padding: 100px 20px;
    text-align: center;
}

.cta-section h2 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    color: #666;
    font-size: 1.3em;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
    font-size: 1.2em;
}

.btn:hover::before {
    left: 10px;
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    padding-left: 50px;
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    padding-left: 50px;
}

/* 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) {
    .demos-hero h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .modes-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-card.featured {
        transform: scale(1);
    }
    
    .feedback-banner {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========== ENHANCED MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    /* Hero */
    .demos-hero {
        padding: 60px 15px;
    }
    
    .demos-hero h1 {
        font-size: 2em;
    }
    
    /* Sections */
    .section-title {
        font-size: 2em;
    }
    
    /* Grids */
    .offer-grid,
    .modes-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-card.featured {
        transform: scale(1);
    }
    
    /* Feedback banner */
    .feedback-banner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    /* Buttons */
    .btn {
        min-height: 44px;
        padding: 14px 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .demos-hero h1 {
        font-size: 1.6em;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95em;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .offer-card,
    .mode-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 ✅
   ======================================== */
