/* ==========================================
   HOMEPAGE MAIN STYLES
   Modern QR Menu Homepage Design
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Import section styles */
@import url('./components/navbar.css');
@import url('./components/footer.css');
@import url('./sections/hero.css');
@import url('./sections/features.css');
@import url('./sections/ai-features.css');
@import url('./sections/how-it-works.css');
@import url('./sections/stats.css');
@import url('./sections/pricing.css');
@import url('./sections/testimonials.css');
@import url('./sections/faq.css');
@import url('./sections/cta.css');

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: #ffffff;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--darker-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--dark-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    border-radius: 16px;
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 32px rgba(0, 191, 255, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 191, 255, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    position: relative;
}

.btn-outline-primary::before {
    background: var(--primary-color);
}

.btn-outline-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 191, 255, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.btn-outline-light::before {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 20px;
}

/* ==========================================
   SECTIONS
   ========================================== */

section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(even) {
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 0.02) 0%, 
        rgba(111, 219, 255, 0.01) 50%, 
        transparent 100%);
}

/* ==========================================
   CARDS & COMPONENTS
   ========================================== */

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-soft {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.9; 
    }
}

@keyframes rotate {
    from { 
        transform: rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    section {
        padding: 100px 0;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}