/* Logo with icon - Fixed sizing */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Hero Visual Components - Simple modern approach */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.phone-mockup {
    position: relative;
    z-index: 3;
    display: inline-block;
    max-width: 320px;
    max-height: 640px;
}

.phone-mockup.secondary {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
    transform: scale(0.75);
    max-width: 280px;
    max-height: 560px;
}

.phone-mockup.secondary.left {
    left: -100px;
    top: 60px;
    transform: scale(0.75) rotate(-15deg);
}

.phone-mockup.secondary.right {
    right: -100px;
    top: 60px;
    transform: scale(0.75) rotate(15deg);
}

.phone-screen {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.hero-screenshot {
    display: block;
    max-width: 280px;
    max-height: 560px;
    width: auto;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Features Components - Simple previews */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
    overflow: visible;
    min-height: 200px;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-badge.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Feature Screenshots - Clean and simple */
.feature-preview {
    position: absolute;
    top: 1rem;
    right: -20px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 10;
    max-width: 120px;
    max-height: 240px;
}

.feature-card:hover .feature-preview {
    opacity: 1;
    transform: translateX(0);
}

.feature-screenshot {
    display: block;
    max-width: 100px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Stats Components */
.stats-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--surface-2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* App Screenshots Showcase - Clean gallery */
.app-showcase {
    padding: 80px 0;
    background: var(--surface);
}

.screenshot-gallery {
    position: relative;
    min-height: 400px;
    margin-bottom: 3rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    max-width: 90%;
}

.screenshot-item.active {
    opacity: 1;
    pointer-events: auto;
}

.screenshot-phone {
    position: relative;
    display: inline-block;
    max-width: 350px;
    max-height: 700px;
}

.screenshot-image {
    display: block;
    max-width: 310px;
    max-height: 620px;
    width: auto;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
    line-height: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-info {
    max-width: 400px;
    flex-shrink: 0;
}

.screenshot-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.screenshot-info p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshot Navigation */
.screenshot-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.screenshot-nav-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.screenshot-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.screenshot-nav-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* About Components */
.about-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-info p {
    color: var(--text-secondary);
    margin: 0;
}

/* Image loading states */
.hero-screenshot,
.feature-screenshot,
.screenshot-image {
    background: #f8fafc;
    transition: opacity 0.3s ease;
}

/* Fallback for images that fail to load */
img[alt] {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* Feature card hover effects */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Responsive Design for Screenshots */
@media (max-width: 968px) {
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .phone-mockup.secondary {
        display: none;
    }
    
    .screenshot-item {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        transform: translate(-50%, -50%);
    }
    
    .feature-preview {
        position: static;
        margin: 1rem auto 0;
        opacity: 1;
        transform: translateX(0);
        max-width: 80px;
        max-height: 160px;
    }
    
    .feature-screenshot {
        max-width: 80px;
        max-height: 160px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        padding: 2rem;
    }
    
    .hero-screenshot {
        max-width: 240px;
        max-height: 480px;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
    
    .screenshot-image {
        max-width: 250px;
        max-height: 500px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 640px) {
    .logo-icon {
        width: 20px;
        height: 20px;
    }
    
    .hero-visual {
        order: -1;
        min-height: 400px;
    }
    
    .hero-screenshot {
        max-width: 200px;
        max-height: 400px;
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }
    
    .screenshot-image {
        max-width: 200px;
        max-height: 400px;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
    
    .feature-screenshot {
        border-radius: 6px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    }
    
    .screenshot-info h3 {
        font-size: 1.5rem;
    }
    
    .screenshot-info p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .screenshot-item {
        gap: 1.5rem;
    }
}