/* DeFi Seeker Page Specific Styles */

/* App Hero Section - same as EUCam */
.app-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.app-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.app-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.app-icon-large {
    flex-shrink: 0;
}

.app-icon-large img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.app-details h1.app-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.app-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.app-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #007AFF;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.download-btn:hover {
    background: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.qr-code {
    display: flex;
    justify-content: center;
}

.qr-container {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.qr-container img {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.qr-container p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features Section - simplified */
.features {
    padding: 60px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Explanation Section */
.explanation-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.explanation-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.explanation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.explanation-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.explanation-text strong {
    color: #007AFF;
    font-weight: 600;
}

.explanation-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Protocol Sections */
.protocol-section {
    padding: 60px 0;
    background: #ffffff;
}

.protocol-section:nth-child(even) {
    background: #f8f9fa;
}

.protocol-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.protocol-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Reverse layout for alternating sections */
.protocol-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.protocol-content.reverse .protocol-chart {
    order: 1;
}

.protocol-content.reverse .protocol-text {
    order: 2;
}

.protocol-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.protocol-text ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.protocol-text li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.protocol-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007AFF;
    font-weight: bold;
}

.protocol-text strong {
    color: #007AFF;
    font-weight: 600;
}

.protocol-chart img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation Brand Link */
.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-brand a:hover {
    color: #007AFF;
    transition: color 0.3s ease;
}

/* App Info Section */
.app-info-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: #666;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 16px;
    font-size: 0.95rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007AFF;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .app-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .app-details h1.app-title {
        font-size: 2.5rem;
    }
    
    .app-description {
        max-width: none;
    }
    
    .qr-container img {
        width: 120px;
        height: 120px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Force mobile layout for explanation section */
    .explanation-section .explanation-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }
    
    .explanation-section .explanation-visual {
        order: 1 !important;
    }
    
    .explanation-section .explanation-text {
        order: 2 !important;
    }
    
    /* Force mobile layout for protocol sections */
    .protocol-section .protocol-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }
    
    .protocol-section .protocol-chart {
        order: 1 !important;
    }
    
    .protocol-section .protocol-text {
        order: 2 !important;
    }
    
    /* Override reverse layout on mobile */
    .protocol-section .protocol-content.reverse {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .protocol-section .protocol-content.reverse .protocol-chart {
        order: 1 !important;
    }
    
    .protocol-section .protocol-content.reverse .protocol-text {
        order: 2 !important;
    }
    
    .protocol-section h2 {
        font-size: 1.8rem;
    }
    
    .explanation-section h2 {
        font-size: 2rem;
    }
    
    .app-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .app-details h1.app-title {
        font-size: 2rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .protocol-section {
        padding: 50px 0;
    }
    
    .explanation-section {
        padding: 50px 0;
    }
    
    .features {
        padding: 50px 0;
    }
    
    .app-info-section {
        padding: 50px 0;
    }
}
