/* PodCE Website - Modern Redesign */
/* Shared styles across all pages */

:root {
    --primary-dark: #0d2640;
    --primary: #1a4d6f;
    --primary-light: #2a7a9e;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 140px 20px 80px;
    text-align: center;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 22px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 16px;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* App Screenshots */
.screenshots {
    padding: 80px 20px;
    background: white;
}

.screenshots-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 48px;
}

.screenshot-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    perspective: 1000px;
}

.screenshot-item {
    width: 220px;
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-item img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.screenshot-caption {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--bg-light);
}

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

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    background: white;
}

.how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Pricing */
.pricing {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
}

.pricing-container {
    max-width: 600px;
    margin: 0 auto;
}

.pricing h2 {
    color: white;
    margin-bottom: 16px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 32px;
    color: var(--text-dark);
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-period {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.pricing-features {
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: var(--text-medium);
}

.pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Audience Section */
.audience {
    padding: 80px 20px;
    background: var(--bg-light);
}

.audience-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.audience-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.audience-item h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.audience-item p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.7;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    display: block;
    padding: 6px 0;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
}

/* Content Section (for subpages) */
.content-section {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    font-size: 28px;
    color: var(--primary-dark);
    margin: 40px 0 16px;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin: 28px 0 12px;
}

.content-card p {
    color: var(--text-medium);
    margin: 16px 0;
    line-height: 1.8;
}

.content-card ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-card li {
    color: var(--text-medium);
    margin: 10px 0;
    line-height: 1.7;
}

.content-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.content-card a:hover {
    text-decoration: underline;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(26, 77, 111, 0.08) 0%, rgba(42, 122, 158, 0.08) 100%);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin: 28px 0;
}

.highlight-box p {
    margin: 8px 0;
}

/* FAQ Styles */
.faq-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 17px;
}

.faq-answer {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin: 32px 0;
}

.contact-box h3 {
    color: white;
    margin-bottom: 16px;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0;
}

.contact-box a {
    color: white;
    font-weight: 600;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .screenshot-grid {
        gap: 16px;
    }

    .screenshot-item {
        width: 160px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .content-card {
        padding: 32px 24px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .footer-container {
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}
