/* ==========================================================================
   HOME PAGE STYLES
   ========================================================================== */

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section .btn-outline {
    color: #ffffff !important;
    border: 2px solid #ffffff;
    background: transparent;
}

.hero-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-title {
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 2rem auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-subtitle p {
    margin: 0 0 0.5rem 0;
    text-align: center;
    width: 100%;
}

.hero-subtitle p:last-child {
    margin-bottom: 0;
}

.hero-subtitle img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ============================================
   APP SECTION (Mobile Scanner App Promo)
   ============================================ */
.app-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.app-content {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.app-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.app-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 32px;
}

.app-features-list {
    margin-bottom: 32px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #334155;
}

.app-feature-item .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-btn-primary {
    background: #1e3a8a;
    color: #ffffff !important;
    border: 2px solid #1e3a8a;
}

.app-btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.app-btn-secondary {
    background: #ffffff;
    color: #1e3a8a !important;
    border: 2px solid #1e3a8a;
}

.app-btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   PHONE MOCKUP STYLES
   ============================================ */
.app-mockup {
    flex-shrink: 0;
}

.phone-device {
    position: relative;
    width: 280px;
    height: 570px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        -5px -5px 15px rgba(255, 255, 255, 0.05) inset;
}

.phone-device::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #0a0a0a;
    border-radius: 20px;
    z-index: 10;
}

.phone-device::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 11;
    box-shadow: 0 0 0 2px #0d0d0d;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.phone-button {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #444;
    border-radius: 3px;
}

/* Side buttons */
.phone-device .side-button {
    position: absolute;
    background: #2a2a2a;
    border-radius: 2px;
}

.phone-device .side-button.volume-up {
    right: -3px;
    top: 120px;
    width: 3px;
    height: 35px;
}

.phone-device .side-button.volume-down {
    right: -3px;
    top: 165px;
    width: 3px;
    height: 35px;
}

.phone-device .side-button.power {
    right: -3px;
    top: 220px;
    width: 3px;
    height: 50px;
}

/* ============================================
   RESPONSIVE - APP SECTION
   ============================================ */
@media (max-width: 900px) {
    .app-container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-content {
        max-width: 100%;
    }
    
    .app-feature-item {
        justify-content: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .phone-device {
        width: 240px;
        height: 490px;
    }
}
