/* Landing Page Styles */

/* Override main-container for landing page (no card styling) */
.main-container {
    background: transparent;
    box-shadow: none;
    margin-top: 0;
}

@media (min-width: 800px) {
    .main-container {
        min-width: 800px;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 799px) {
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero-section {
    background: var(--background-paper);
    border-radius: 4px;
    box-shadow: var(--elevation-2);
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 24px;
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.2;
    text-align: left;
    color: var(--text-primary);
}

.hero-section .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
}

.hero-section .description-header {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 300;
    text-align: left;
}

.hero-section .description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 900px) {
    .hero-section {
        padding: 32px 16px;
    }

    .hero-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-section h2 {
        font-size: 1.75rem;
    }

    .hero-section .subtitle {
        font-size: 1.125rem;
    }

    .hero-section {
        padding: 24px 16px;
    }
}

/* In-app browser callout */
.inapp-callout {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background-color: rgba(0, 172, 193, 0.1);
    border: 1px solid var(--primary-main);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.inapp-callout.visible {
    display: block;
}

.inapp-callout .url-input {
    width: 100%;
    margin: 8px 0;
    padding: 8px;
    border: 1px solid var(--primary-main);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: white;
    text-align: center;
}

.inapp-callout .hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.inapp-callout .copy-link {
    color: var(--primary-main);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.inapp-callout .copy-link:hover {
    color: var(--primary-dark);
}

.inapp-callout .copy-success {
    display: none;
    margin-top: 8px;
    color: var(--info-main);
    font-size: 0.8125rem;
}

.inapp-callout .copy-success.visible {
    display: block;
}

/* Features Section */
.features-section {
    margin: 32px 0;
}

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

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Feature Card */
.feature-card {
    background: var(--background-paper);
    border-radius: 4px;
    box-shadow: var(--elevation-2);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

@media (max-width: 600px) {
    .feature-card {
        padding: 16px;
    }
}

.feature-card:hover {
    box-shadow: var(--elevation-4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-main);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.43;
    padding-left: 16px;
    padding-right: 16px;
    text-align: left;
}

.feature-card ul {
    color: var(--text-secondary);
    font-size: 0.875rem;
    list-style-type: disc;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: left;
    line-height: 1.43;
}

.feature-card ul li {
    margin-bottom: 8px;
}

/* Modal styles */
.modal-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
}

.modal-captcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.modal-captcha-message {
    padding: 12px 24px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 500;
    display: none;
    text-align: center;
}

.modal-captcha-message.success {
    background-color: #e8f5e8;
    color: var(--info-main);
    border: 1px solid var(--info-main);
    display: block;
}

.modal-captcha-message.error {
    background-color: #ffebee;
    color: var(--error-main);
    border: 1px solid var(--error-main);
    display: block;
}

.modal-button {
    width: 100%;
    margin-top: 16px;
}

/* Life Announcement Section */
.life-announcement {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 2px solid var(--primary-main);
    position: relative;
    overflow: hidden;
}

.life-announcement::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 172, 193, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.life-badge {
    display: inline-block;
    background: var(--secondary-main);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.life-title {
    color: var(--primary-main);
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.life-announcement .description {
    position: relative;
    z-index: 1;
}

.life-cta {
    background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.3);
}

.life-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-main) 100%);
    box-shadow: 0 6px 20px rgba(0, 172, 193, 0.4);
}

/* Blog Announcement Section */
.blog-announcement {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid var(--secondary-main);
    position: relative;
    overflow: hidden;
}

.blog-announcement::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 192, 45, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.blog-badge {
    display: inline-block;
    background: var(--primary-main);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.blog-title {
    color: var(--secondary-main);
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.blog-announcement .description {
    position: relative;
    z-index: 1;
}

.blog-cta {
    background: linear-gradient(135deg, var(--secondary-main) 0%, #f9a825 100%);
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.3);
}

.blog-cta:hover {
    background: linear-gradient(135deg, #f9a825 0%, var(--secondary-main) 100%);
    box-shadow: 0 6px 20px rgba(251, 192, 45, 0.4);
}
