/* PrivatePad Page Specific Styles */

/* App Hero Section */
.app-hero {
    background: linear-gradient(135deg, #f0f4f8 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;
}

/* Legacy Hero Section (keep for backward compatibility) */
.hero-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 120px 0 80px;
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.app-icon-large {
    flex-shrink: 0;
    position: relative;
}

.app-icon-large img {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.lock-animation {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(0, 122, 255, 0.5);
    }
}

.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);
}

.download-btn.large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.price-tag {
    background: #f8f9fa;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

/* QR Code Section */
.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;
}

/* Hero Visual - Memo Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.memo-preview {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 0;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.memo-header {
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.memo-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.memo-lock svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.memo-list {
    padding: 20px;
}

.memo-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.memo-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.memo-item:last-child {
    margin-bottom: 0;
}

.memo-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.memo-content {
    flex: 1;
}

.memo-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.memo-item-preview {
    font-size: 0.9rem;
    color: #666;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.security-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 86, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 122, 255, 0.03) 0%, transparent 70%);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Privacy Section */
.privacy-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.privacy-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.privacy-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.privacy-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.privacy-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.privacy-item p {
    color: #666;
    line-height: 1.5;
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Use Cases Section */
.use-cases-section {
    padding: 80px 0;
    background: #ffffff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.use-case-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #007AFF;
}

.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.use-case-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* App Info Section */
.app-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 20px;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #007AFF;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.cta-actions .download-btn {
    background: white;
    color: #007AFF;
}

.cta-actions .download-btn:hover {
    background: #f8f9fa;
    color: #0056CC;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1023px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .use-case-card {
        padding: 20px 15px;
    }
    
    .use-case-card h3 {
        font-size: 1rem;
    }
    
    .use-case-card p {
        font-size: 0.85rem;
    }
}

@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;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .qr-container img {
        width: 120px;
        height: 120px;
    }
    
    .app-details h1.app-title {
        font-size: 2.5rem;
    }
    
    .app-description {
        max-width: none;
    }
    
    .memo-preview {
        max-width: 100%;
    }
    
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid,
    .app-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        gap: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .app-hero {
        padding: 80px 0 40px;
    }
    
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .app-details h1.app-title {
        font-size: 2rem;
    }
    
    .app-subtitle {
        font-size: 1.1rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .download-btn.large {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .privacy-text h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .use-cases-grid,
    .app-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.use-case-card,
.info-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
