/* ============================================
   ENHANCED LANDING PAGE STYLES
   Professional, Modern, Conversion-Optimized
   ============================================ */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-light: #fef3c7;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER
   ============================================ */
.landing-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.landing-logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */
.landing-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.landing-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.landing-highlight {
    color: var(--primary);
    display: inline-block;
}

.landing-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* CTA */
.cta-primary {
    margin-bottom: 4rem;
}

.play-store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.play-store-btn:hover {
    transform: translateY(-4px);
}

.play-badge {
    height: 80px;
    width: auto;
}

.cta-subtitle {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* FEATURES */
.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.landing-feature {
    padding: 2rem 1.5rem;
    background: var(--bg-gray);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.landing-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.landing-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.landing-feature p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   SCREENSHOTS SECTION
   ============================================ */
.screenshots-section {
    margin: 5rem 0;
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-gray));
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.screenshot-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-card.featured {
    border: 2px solid var(--primary);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.screenshot-label {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================
   TRIAL SECTION
   ============================================ */
.landing-trial {
    padding: 5rem 2rem;
    background: var(--bg-gray);
}

.trial-badge-header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.try-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-hint {
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.trial-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.trial-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.trial-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.trial-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

.trial-workspace {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-section,
.output-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-section label,
.output-section label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
    background: var(--bg-white);
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

textarea::placeholder {
    color: var(--text-muted);
}

textarea[readonly] {
    background: var(--bg-gray);
    cursor: default;
}

.trial-actions {
    display: flex;
    justify-content: center;
}

.trial-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.trial-btn:active {
    transform: translateY(0);
}

.trial-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.btn-icon {
    font-size: 1.25rem;
}

.btn-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make icon white */
}

.limit-msg {
    margin-top: 2rem;
    padding: 2rem;
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 1rem;
    text-align: center;
}

.limit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.limit-msg p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.btn-upgrade {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-upgrade:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-gray);
    border-top: 1px solid var(--border);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.separator {
    color: var(--text-muted);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .landing-hero {
        padding: 3rem 1.5rem;
    }
    
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-description {
        font-size: 1.125rem;
    }
    
    .play-badge {
        height: 60px;
    }
    
    .landing-features,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }
    
    .trial-card {
        padding: 2rem 1.5rem;
    }
    
    .trial-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-logo-text {
        font-size: 1rem;
    }
    
    .trial-header h2 {
        font-size: 1.75rem;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
}