/* Mobile-First App Design */
/* ABSOLUTE APP SLAY MODE 🔥 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    font-size: 16px;
    padding-top: 70px; /* Mobile-first header height */
    min-height: 100vh;
}

/* Enhanced Animations for Mobile App Feel */
/* Mobile-First Floating Header - APP STYLE */
.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 70px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    height: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: none;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.header-logo {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.header-project {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #4facfe;
}

.header-pay-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 80px;
}

.header-pay-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.4);
}

.pay-icon {
    font-size: 0.9rem;
}

/* Mobile-First Hero Section - APP STYLE */
.hero {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    margin: 0;
    border-radius: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile-First Container */
.container {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Mobile-First PAY NOW Section - CARD STYLE */
.pay-now-section {
    margin: 1rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.4;
}

.pay-now-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    max-width: 280px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pay-now-btn:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(79, 172, 254, 0.4);
}

.delivery-note {
    margin-top: 1rem;
    color: #22c55e;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile-First Deliverable Info - CARD GRID */
.deliverable-info {
    margin: 0 1rem 2rem 1rem;
}

.deliverable-info h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.info-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    font-size: 0.8rem;
    width: 16px;
    height: 16px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card p {
    color: #4b5563;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.info-card strong {
    color: #1a1a1a;
    font-weight: 600;
}

.prd-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 12px;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.prd-link:active {
    background: rgba(79, 172, 254, 0.2);
    transform: scale(0.95);
}

.additional-notes {
    background: linear-gradient(135deg, #f7f8fc 0%, #eef1f7 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    margin: 0 1rem 2rem 1rem;
    position: relative;
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease;
}

.additional-notes::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(4px);
}

.additional-notes::after {
    content: '📝';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    opacity: 0.6;
}

.additional-notes:hover {
    transform: rotate(0deg) scale(1.01);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 12px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.additional-notes h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Comic Sans MS', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
}

.additional-notes p {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: 'Comic Sans MS', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
}

/* Mobile-First Modal - BOTTOM SHEET STYLE */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-content h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.modal-content h2::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.modal-content > div {
    padding: 1.5rem;
}

.modal-content > div:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
}

.purchase-summary h3,
.delivery-terms h3,
.disclaimers h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.purchase-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.purchase-item h4 {
    color: #1a1a1a;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.price {
    color: #4facfe;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.delivery-terms ul,
.disclaimers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.delivery-terms li,
.disclaimers li {
    padding: 0.75rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.delivery-terms li:last-child,
.disclaimers li:last-child {
    border-bottom: none;
}

.delivery-terms li::before {
    content: "📋";
    font-size: 1rem;
    flex-shrink: 0;
}

.disclaimers li::before {
    content: "⚠️";
    font-size: 1rem;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem !important;
    background: #f8fafc;
    border-top: none !important;
}

.proceed-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(79, 172, 254, 0.3);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proceed-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.4);
}

.cancel-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancel-btn:active {
    background: #f9fafb;
    transform: scale(0.98);
}

/* Beautiful Mobile-First Footer */
.app-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 3rem;
    padding: 2rem 1rem 1rem 1rem;
    position: relative;
}

.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e0e7ff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-radius: 8px;
}

.footer-section a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
    transform: translateX(4px);
}

.footer-section a:active {
    transform: translateX(4px) scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.footer-love {
    font-weight: 600;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Responsive Enhancements */
@media (min-width: 769px) {
    body {
        padding-top: 80px;
    }
    
    .floating-header {
        height: 80px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    }
    
    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .header-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .header-logo {
        font-size: 1.5rem;
    }
    
    .header-project {
        font-size: 0.9rem;
        padding: 0.25rem 0.75rem;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 20px;
    }
    
    .header-price {
        font-size: 1.75rem;
    }
    
    .header-pay-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        min-width: auto;
    }
    
    .hero {
        padding: 3rem 2rem;
    }
    
    .video-container {
        max-width: 800px;
        padding-bottom: 45%;
        border-radius: 20px;
    }
    
    .container {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
    }
    
    .pay-now-section {
        margin: 3rem auto;
        max-width: 600px;
        padding: 3rem 2rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-subtitle {
        font-size: 1.25rem;
    }
    
    .deliverable-info {
        margin: 0 auto 3rem auto;
        max-width: 900px;
    }
    
    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .additional-notes {
        max-width: 900px;
        margin: 0 auto 3rem auto;
    }
    
    .modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        right: auto;
        width: 90%;
        max-width: 600px;
        max-height: 85vh;
        border-radius: 20px;
        animation: slideIn 0.3s ease;
    }
    
    @keyframes slideIn {
        from { transform: translate(-50%, -60%); opacity: 0; }
        to { transform: translate(-50%, -50%); opacity: 1; }
    }
    
    .modal-content h2 {
        border-radius: 20px 20px 0 0;
        font-size: 1.5rem;
        padding: 2rem;
    }
    
    .modal-content h2::before {
        display: none;
    }
    
    .modal-actions {
        flex-direction: row;
        background: white;
        border-top: 1px solid #f3f4f6 !important;
    }
    
    .cancel-btn,
    .proceed-btn {
        flex: 1;
    }
}

/* Ultra-wide Desktop */
@media (min-width: 1200px) {
    .header-content {
        max-width: 1400px;
    }
    
    .container {
        max-width: 1100px;
    }
    
    .deliverable-info {
        max-width: 1100px;
    }
    
    .additional-notes {
        max-width: 1100px;
    }
}
