/* Landing Page Styles - Modern Pink Theme */

body.landing-page {
    background: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

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

/* Sparkle Animation */
@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(-20px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

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

/* Sparkles in hero */
.hero::before,
.hero::after {
    content: '✨';
    position: absolute;
    font-size: 2em;
    animation: sparkle 3s infinite;
}

.hero::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero::after {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    color: white;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    margin-bottom: 35px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero h1 {
    color: white;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.hero-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05em;
    font-weight: 500;
}

/* Demo Section - Improved */
.demo-section {
    background: white;
    padding: 80px 20px;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.demo-header h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

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

.demo-video-wrapper {
    margin-bottom: 40px;
}

.demo-video-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
    background: #000;
    aspect-ratio: 16 / 9;
}

.demo-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.75);
}

.video-overlay.hidden {
    display: none;
}

.play-button {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #ff6b9d;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
    padding-left: 8px;
}

.video-overlay:hover .play-button {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.7);
}

.video-overlay p {
    color: white;
    font-size: 1.15em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.demo-actions {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
}

.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: 50px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

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

.feature-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);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 157, 0.1), 
        transparent
    );
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.25);
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

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

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05em;
}

/* How It Works Section */
.how-it-works {
    background: white;
    padding: 80px 20px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px;
    background: #fff5f9;
    border-radius: 12px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.step h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 12px;
    font-weight: 600;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2.5em;
    color: #ff6b9d;
    font-weight: 300;
}

}

/* CTA Section */
section.cta-section {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 50%, #a855f7 100%) !important;
    background-color: #ff6b9d !important;
    padding: 120px 20px !important;
    text-align: center;
    margin: 0 !important;
    width: 100%;
    display: block !important;
    position: relative;
    z-index: 1;
    min-height: 300px;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

section.cta-section h2 {
    color: white !important;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

section.cta-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.3em;
    margin-bottom: 35px;
    line-height: 1.6;
}

section.cta-section .btn {
    display: inline-block !important;
}

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

.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;
    font-size: 1.5em;
}

.footer-section h4 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.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 Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .demo-header h2 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .demo-actions {
        flex-direction: column;
    }
    
    .demo-actions .btn {
        width: 100%;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 80px;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .demo-section,
    .features,
    .how-it-works,
    .pricing {
        padding: 50px 15px;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1em;
    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;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

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

.btn-secondary:hover {
    background: linear-gradient(135deg, #c86dd7 0%, #a855f7 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(200, 109, 215, 0.5);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1em;
    border-radius: 35px;
}

/* ========== ENHANCED MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        padding: 60px 15px 80px;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    /* Buttons - Touch friendly */
    .btn {
        min-height: 44px;
        padding: 14px 28px;
        font-size: 1em;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .demo-section,
    .features,
    .how-it-works {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    /* Feature grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Steps */
    .steps {
        flex-direction: column;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step-arrow {
        display: none;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
    }
    
    .feature-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;
    }
}

/* ========================================
   END MOBILE-ONLY FIXES
   Desktop unaffected ✅
   ======================================== */
