/* ========================================
   ScanFlow - Static Pages Styles
   ======================================== */

/* Page Container */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Page Header */
.page-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.page-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-fast);
}

.page-header .logo:hover {
    opacity: 0.8;
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 2rem 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Content Card */
.content-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.content-card h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.content-card .last-updated {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.content-card .lead {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    line-height: 1.7;
}

.content-card section {
    margin-bottom: 2.5rem;
}

.content-card section:last-child {
    margin-bottom: 0;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    padding-top: 1rem;
}

.content-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: hsl(var(--foreground));
}

.content-card p {
    color: hsl(var(--foreground) / 0.85);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.content-card ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: hsl(var(--foreground) / 0.85);
}

.content-card li {
    margin-bottom: 0.625rem;
    line-height: 1.6;
}

.content-card a {
    color: hsl(var(--accent-purple));
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

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

/* Hero Section */
.hero-section {
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid hsl(var(--border));
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: hsl(var(--muted));
    border-radius: var(--radius-lg);
    border: 1px solid hsl(var(--border) / 0.5);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    border-color: hsl(var(--border));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, hsl(var(--accent-purple) / 0.15), hsl(var(--accent-purple) / 0.05));
    color: hsl(var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: hsl(var(--muted));
    border-radius: var(--radius-lg);
    border: 1px solid hsl(var(--border) / 0.5);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, hsl(var(--accent-purple) / 0.15), hsl(var(--accent-purple) / 0.05));
    color: hsl(var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
}

.contact-details h3 {
    margin: 0 0 0.5rem;
}

.contact-details p {
    margin: 0 0 0.5rem;
}

.contact-details a {
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: hsl(var(--border-hover));
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

.form-note {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
    font-style: italic;
}

/* FAQ List */
.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    padding: 1.25rem;
    background: hsl(var(--muted));
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid hsl(var(--border) / 0.5);
}

.faq-item h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.faq-item p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Page Footer */
.page-footer {
    background: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
    padding: 2rem 1.5rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: hsl(var(--foreground));
}

.copyright {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .content-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }

    .content-card h1 {
        font-size: 1.75rem;
    }

    .content-card h2 {
        font-size: 1.25rem;
    }

    .page-content {
        padding: 1.5rem 1rem 3rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 1rem;
    }
}
