/* WeatherDock Page Styles */

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

.weatherdeck-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

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

/* 앱 아이콘 배경이 hero와 같은 딥블루라 그대로 두면 묻힌다.
   흰 카드 위에 올려 경계를 만든다. */
.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: white;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

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

.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;
    align-items: center;
}

/* 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: #1e3c72;
}

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

/* Store badge shown before the app is published */
.btn-pending {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: default;
}

.btn-pending:hover {
    transform: none;
}

/* 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, #1e3c72 0%, #2a5298 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;
}

/* Free Callout */
.free-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.free-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.free-point {
    background: #f3f4f6;
    border-radius: 9999px;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

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

/* Policy Pages */
.policy-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.policy-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem 1rem;
}

.last-updated {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.policy-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin: 1.25rem 0 0.5rem;
}

.policy-section p,
.policy-section li {
    color: #4b5563;
    line-height: 1.8;
}

.policy-section ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0;
}

.policy-section a {
    color: #2a5298;
}

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

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