/* 
  PDFScrawl Commercial Website Styles
  Theme: Dark, Modern, Privacy-Focused
*/

:root {
    --color-bg: #0f172a;
    /* Slate 900 */
    --color-bg-alt: #1e293b;
    /* Slate 800 */
    --color-text: #f8fafc;
    /* Slate 50 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */

    --color-primary: #8b5cf6;
    /* Violet 500 */
    --color-primary-hover: #7c3aed;
    /* Violet 600 */
    --color-accent: #d946ef;
    /* Fuchsia 500 */

    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);

    --container-width: 1200px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(139, 92, 246, 0.23);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-text-muted);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.tm {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.6;
    vertical-align: super;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--color-text);
}



/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Hero Image Placeholder / Mockup */
.hero-image-placeholder {
    perspective: 1000px;
}

.mockup-window {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    transform: rotateX(5deg);
    transform-style: preserve-3d;
}

.mockup-header {
    background-color: #334155;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background-color: #ef4444;
}

.yellow {
    background-color: #eab308;
}

.green {
    background-color: #22c55e;
}

.mockup-body {
    padding: 2rem;
    min-height: 400px;
    background-color: #475569;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.flipbook-page {
    width: 45%;
    height: 350px;
    background-color: white;
    color: #1e293b;
    padding: 2rem;
    font-size: 0.875rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.flipbook-page h3 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.flipbook-page p {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.highlight {
    background-color: #fef08a;
    /* Yellow highlight */
    padding: 0 4px;
}

.stamp-mark {
    color: #ef4444;
    border: 2px solid #ef4444;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
    transform: rotate(-15deg);
    margin-top: 1rem;
    font-size: 1.25rem;
    opacity: 0.8;
}

.signature-line {
    margin-top: 2rem;
    border-top: 1px solid #cbd5e1;
    padding-top: 0.5rem;
    font-style: italic;
    font-family: serif;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-card {
    background-color: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--color-text-muted);
    position: relative;
    z-index: 1;
}

/* Value Prop Section */
.value-prop {
    padding: 6rem 0;
    background-color: var(--color-bg);
    /* Alternate background */
}

.value-prop-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.check-list i {
    color: var(--color-accent);
    width: 24px;
}

.value-visual {
    display: flex;
    justify-content: center;
}

.privacy-shield {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.lock-icon {
    width: 100px;
    height: 100px;
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .value-prop-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .value-text h2 {
        text-align: center;
    }

    .check-list li {
        justify-content: center;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* SEO Content Pages */
.content-shell {
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.content-hero {
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-text);
}

.content-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.content-subtitle {
    color: var(--color-text-muted);
    max-width: 800px;
    font-size: 1.1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.content-card {
    background-color: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
}

.content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: var(--color-primary);
}

.content-card p,
.content-card li {
    color: var(--color-text-muted);
}

.content-card ul,
.content-card ol {
    margin-left: 1.2rem;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
}

.content-table th,
.content-table td {
    border: 1px solid var(--border-color);
    padding: 0.7rem;
    text-align: left;
    color: var(--color-text-muted);
}

.content-table th {
    color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.04);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.related-links a {
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.related-links a:hover {
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.25);
}