/* PDF Reader Specific Styles */

.app-swx {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.swx-bg-pdf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pdf-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><rect x="10" y="10" width="20" height="25" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1" rx="2"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pdf-pattern)"/></svg>');
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.app-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.app-icon-large .material-icons {
    font-size: 3rem;
    color: white;
}

.app-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.app-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item .material-icons {
    font-size: 1.5rem;
    opacity: 0.8;
}

.stat-item strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
}

.stat-item small {
    display: block;
    opacity: 0.7;
    font-size: 0.875rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tablet Mockup */
.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.tablet-mockup {
    width: 400px;
    height: 300px;
    background: #2c2c2c;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg);
}

.tablet-mockup::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid #444;
    border-radius: 50%;
    background: #333;
}

.tablet-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.pdf-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.interface-header {
    background: #fff;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.interface-controls {
    display: flex;
    gap: 0.5rem;
}

.control-icon {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-icon:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

.control-icon .material-icons {
    font-size: 1rem;
    color: #666;
}

.pdf-content {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-page {
    width: 200px;
    height: 160px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: relative;
}

.page-header {
    font-size: 0.75rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #eee;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.content-line {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.content-line.long {
    width: 100%;
}

.content-line.medium {
    width: 75%;
}

.content-line.short {
    width: 50%;
}

.chart-placeholder {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0;
}

.chart-placeholder .material-icons {
    color: white;
    font-size: 1.5rem;
}

.interface-footer {
    background: #fff;
    padding: 0.5rem 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn,
.zoom-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-btn:hover,
.zoom-btn:hover {
    background: #f8f9fa;
}

.nav-btn .material-icons,
.zoom-btn .material-icons {
    font-size: 1rem;
    color: #666;
}

.page-indicator,
.zoom-level {
    font-size: 0.75rem;
    color: #666;
    min-width: 60px;
    text-align: center;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Feature Cards */
.feature-card-pdf {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-pdf:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon-pdf {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon-pdf .material-icons {
    color: white;
    font-size: 1.8rem;
}

.feature-card-pdf h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Use Case Cards */
.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.use-case-icon .material-icons {
    font-size: 1.8rem;
    color: #667eea;
}

.use-case-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.use-case-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-case-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Security Section */
.security-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.security-item .material-icons {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.security-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.security-item p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.security-illustration {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-shield {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    animation: securityPulse 3s ease-in-out infinite;
}

.security-shield .material-icons {
    font-size: 3rem;
    color: white;
}

.security-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.security-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: securityFloat 4s ease-in-out infinite;
}

.security-element .material-icons {
    font-size: 1.5rem;
    color: #667eea;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.element-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

@keyframes securityPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes securityFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Screenshot Cards */
.screenshot-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.screenshot-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.screenshot-placeholder .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.screenshot-placeholder p {
    font-weight: 500;
    margin: 0;
}

/* Download CTA */
.download-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pdf-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pdf-pattern)"/></svg>');
}

.download-cta .container {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes tabletFloat {
    0%, 100% { transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(0px); }
    50% { transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(-10px); }
}

.tablet-mockup {
    animation: tabletFloat 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .app-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .download-stats {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .tablet-mockup {
        width: 320px;
        height: 240px;
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    }
    
    .pdf-page {
        width: 160px;
        height: 120px;
        padding: 0.75rem;
    }
    
    .security-features {
        gap: 1.5rem;
    }
    
    .security-illustration {
        height: 250px;
        margin-top: 2rem;
    }
    
    .security-shield {
        width: 100px;
        height: 100px;
    }
    
    .security-shield .material-icons {
        font-size: 2.5rem;
    }
    
    .security-element {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .feature-card-pdf,
    .use-case-card {
        margin-bottom: 2rem;
    }
    
    .download-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .tablet-mockup {
        width: 280px;
        height: 210px;
    }
    
    .interface-header {
        padding: 0.5rem;
    }
    
    .file-name {
        font-size: 0.75rem;
        max-width: 120px;
    }
}
