/* NanoPStat iOS App Specific Styles */

.app-main {
    padding-top: 70px;
}

/* Project Header */
.project-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.project-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.app-store-badge {
    margin-top: 1rem;
}

/* Overview Section */
.overview-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin: 0;
}

.project-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007AFF;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.overview-description {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Screenshots Section */
.screenshots-section {
    padding: 80px 0;
}

/* Tabbed Interface */
.tabbed-interface {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-navigation::-webkit-scrollbar {
    display: none;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.tab-button:hover {
    color: #007AFF;
    background-color: rgba(0, 122, 255, 0.05);
}

.tab-button.active {
    color: #007AFF;
    border-bottom-color: #007AFF;
    background-color: rgba(0, 122, 255, 0.05);
}

.tab-content {
    position: relative;
    min-height: 500px;
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.tab-screenshot {
    text-align: center;
}

.tab-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    object-fit: contain;
}

.tab-description h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.tab-description p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #e5f3ff;
    color: #007AFF;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Technical Section */
.technical-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.tech-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-card ul {
    color: #4b5563;
    padding-left: 1.5rem;
}

.tech-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.5;
}

/* App Store Section */
.app-store-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.app-store-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.app-store-info h3 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.app-store-info p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.app-details {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: left;
}

.detail-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1rem;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: #1f2937;
    margin-right: 1rem;
}

.download-button {
    margin-top: 2rem;
}

.app-store-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

/* Links Section */
.links-section {
    padding: 80px 0;
}

.resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-link {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.resource-link h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #007AFF;
}

.resource-link p {
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-header h1 {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .project-stats {
        justify-content: center;
    }
    
    .tab-panel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .tab-image {
        max-height: 400px;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-header {
        padding: 60px 0;
    }
    
    .overview-section,
    .screenshots-section,
    .technical-section,
    .features-section,
    .app-store-section,
    .links-section {
        padding: 60px 0;
    }
    
    .screenshot-section {
        margin-bottom: 4rem;
    }
    
    .tech-card,
    .feature-card,
    .resource-link {
        padding: 1.5rem;
    }
}
