/* ZenPDF Reader Website Styles - Monument Valley Inspired */

:root {
    /* Monument Valley Color Palette */
    --primary-coral: #EE8B8C;
    --secondary-teal: #6DBAA1;
    --tertiary-sand: #E5C29B;
    --background-white: #FAF8F6;
    --text-dark: #2C2825;
    --text-light: #6B6560;
    --border-light: #E8E5E2;
    --shadow-light: rgba(44, 40, 37, 0.08);
    --shadow-medium: rgba(44, 40, 37, 0.12);
    
    /* Dark Mode Colors */
    --dark-bg: #1C1917;
    --dark-surface: #292524;
    --dark-text: #FAF8F6;
    --dark-text-secondary: #D6D3D0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(250, 248, 246, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-coral);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-coral);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(238, 139, 140, 0.05) 0%, rgba(109, 186, 161, 0.05) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-coral), var(--secondary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-coral);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(238, 139, 140, 0.3);
}

.btn-secondary {
    background: var(--secondary-teal);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(109, 186, 161, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--text-dark);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px var(--shadow-medium);
    margin: 0 auto;
}

.screen-content {
    width: 100%;
    height: 100%;
    background: var(--background-white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-preview {
    font-size: 80px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--background-white);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* Design Section */
.design-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(229, 194, 155, 0.1) 0%, rgba(238, 139, 140, 0.1) 100%);
}

.design-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.design-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.design-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.design-features {
    list-style: none;
}

.design-features li {
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.color-swatch {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.color-swatch.primary {
    background: var(--primary-coral);
}

.color-swatch.secondary {
    background: var(--secondary-teal);
}

.color-swatch.tertiary {
    background: var(--tertiary-sand);
}

.color-swatch.background {
    background: var(--background-white);
    border: 1px solid var(--border-light);
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -30px;
    margin-bottom: 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--background-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-light);
}

.tool-item.coming-soon {
    opacity: 0.6;
    position: relative;
}

.tool-item.coming-soon::after {
    content: 'Soon';
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--tertiary-sand);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(109, 186, 161, 0.1) 0%, rgba(229, 194, 155, 0.1) 100%);
}

.download-content {
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.download-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.store-badge img {
    height: 60px;
    transition: transform 0.3s ease;
}

.store-badge:hover img {
    transform: scale(1.05);
}

.app-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-coral);
    margin-bottom: 5px;
}

.stat span {
    color: var(--text-light);
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 20px 0 10px;
    color: var(--text-dark);
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section ul {
    margin: 15px 0 15px 30px;
}

.legal-section li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-info {
    background: var(--background-white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, rgba(238, 139, 140, 0.05) 0%, rgba(109, 186, 161, 0.05) 100%);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card,
.support-card {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.contact-card h3,
.support-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card a,
.support-card a {
    color: var(--primary-coral);
    text-decoration: none;
}

.contact-card a:hover,
.support-card a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--background-white);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

/* Response Notice */
.response-notice {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(109, 186, 161, 0.05) 0%, rgba(229, 194, 155, 0.05) 100%);
}

.notice-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--dark-text);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--dark-text);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-coral);
}

.copyright {
    margin-top: 20px;
    color: var(--dark-text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow-light);
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .design-content {
        grid-template-columns: 1fr;
    }
    
    .color-palette {
        justify-content: center;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .app-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--dark-text);
    }
    
    .navbar {
        background: rgba(28, 25, 23, 0.95);
        border-bottom-color: var(--dark-surface);
    }
    
    .feature-card,
    .tool-item,
    .contact-card,
    .support-card,
    .faq-item,
    .notice-card {
        background: var(--dark-surface);
        border-color: transparent;
        color: var(--dark-text);
    }
    
    .legal-content,
    .contact-content {
        background: var(--dark-bg);
    }
}