/* PicDock Page Styles */

/* App Hero Section */
.app-hero {
    text-align: center;
    padding: 4rem 1rem;
    background: white;
    margin-bottom: 0;
}

.picdock-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
}

.app-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.app-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.app-description {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: white;
    color: #6d28d9;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: #f9fafb;
}

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

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

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

/* Platform Badge */
.badge-android {
    display: inline-block;
    background: #3ddc84;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.25rem;
}

/* Cloud Section */
.cloud-section {
    padding: 4rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cloud-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.cloud-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cloud-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #e5e7eb;
}

.cloud-icon.device-gallery {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    position: relative;
}

.cloud-icon.device-gallery::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid white;
    border-radius: 4px;
}

.cloud-icon.web-upload {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    position: relative;
}

.cloud-icon.web-upload::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid white;
}

.cloud-icon.dropbox {
    background: linear-gradient(135deg, #0061fe 0%, #0047bb 100%);
    position: relative;
    overflow: hidden;
}

.cloud-icon.dropbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: white;
    clip-path: polygon(50% 0%, 25% 25%, 50% 50%, 25% 75%, 50% 100%, 75% 75%, 50% 50%, 75% 25%);
}

.cloud-icon.smb {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    position: relative;
}

.cloud-icon.smb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 20px;
    border: 3px solid white;
    border-radius: 3px;
}

.cloud-icon.smb::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 8px;
    border-bottom: 3px solid white;
    border-left: 3px solid white;
    border-right: 3px solid white;
    border-radius: 0 0 3px 3px;
    z-index: 1;
}

.cloud-icon.onedrive {
    background: linear-gradient(135deg, #0364b8 0%, #0078d4 100%);
    position: relative;
}

.cloud-icon.onedrive::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 16px;
    background: white;
    border-radius: 10px 10px 8px 8px;
}

.cloud-icon.google-photos {
    background: linear-gradient(135deg, #fbbc04 0%, #ea4335 100%);
    position: relative;
}

.cloud-icon.google-photos::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: white;
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.cloud-icon.icloud {
    background: linear-gradient(135deg, #6b7280 0%, #374151 100%);
    position: relative;
}

.cloud-icon.icloud::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 15px;
    background: white;
    border-radius: 9px 9px 7px 7px;
}

.cloud-item span {
    font-weight: 600;
    color: #4b5563;
}

/* Use Cases Section */
.usecases-section {
    padding: 4rem 0;
    background: #f9fafb;
}

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

.usecase-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #8b5cf6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.usecase-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.usecase-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Download Section */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    text-align: center;
}

.download-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-section p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .app-hero h1 {
        font-size: 2rem;
    }

    .app-tagline {
        font-size: 1rem;
    }

    .app-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cloud-grid {
        gap: 1.5rem;
    }

    .cloud-icon {
        width: 48px;
        height: 48px;
    }

    .download-section h2 {
        font-size: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.free-note { margin-top: 14px; font-size: 0.95rem; opacity: 0.85; }
