/* DocForge - Professional Business Document Generator */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-docs {
    position: relative;
    width: 100%;
    height: 100%;
}

.doc-card {
    position: absolute;
    background: white;
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: float 6s ease-in-out infinite;
}

.doc-1 { top: 10%; left: 10%; animation-delay: 0s; }
.doc-2 { top: 30%; right: 10%; animation-delay: 1.5s; }
.doc-3 { bottom: 30%; left: 20%; animation-delay: 3s; }
.doc-4 { bottom: 10%; right: 20%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 16px;
    background: var(--gray-100);
}

.tool-card h3 {
    margin-bottom: 8px;
}

.tool-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.tool-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tool-badge.popular {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.tool-badge.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

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

.template-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--gray-100);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: white;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.template-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.template-preview {
    height: 180px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    position: relative;
}

.template-preview::after {
    content: '';
    position: absolute;
    inset: 20px;
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.invoice-modern::after { border-top: 4px solid var(--primary); }
.invoice-classic::after { border-left: 4px solid var(--gray-800); }
.invoice-minimal::after { background: linear-gradient(180deg, white 70%, var(--gray-100) 100%); }
.contract-freelance::after { border-top: 4px solid var(--success); }
.contract-nda::after { border-top: 4px solid var(--danger); }
.policy-privacy::after { border-top: 4px solid var(--secondary); }
.quote-professional::after { border-top: 4px solid var(--warning); }
.quote-detailed::after { border-left: 4px solid var(--primary); }

.template-info {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.template-info h4 {
    font-size: 0.95rem;
}

.template-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--success);
    color: white;
    font-weight: 600;
}

.template-tag.premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--gray-100);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.legal-partner {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: white;
    border-radius: var(--radius);
}

.legal-partner a {
    color: var(--primary);
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
}

/* Generator Layout */
.generator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.generator-form {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.generator-header {
    margin-bottom: 32px;
}

.generator-header h2 {
    margin-bottom: 24px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--gradient);
    color: white;
}

.progress-step.completed {
    background: var(--success);
    color: white;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    max-width: 60px;
}

.wizard-content {
    margin-bottom: 32px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* Generator Preview */
.generator-preview {
    background: var(--gray-100);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.preview-header h3 {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.template-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-selector label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.template-selector select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
}

.preview-container {
    flex: 1;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: auto;
    padding: 20px;
    min-height: 400px;
}

.document-preview {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: var(--gray-800);
}

.export-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.export-actions .btn {
    flex: 1;
    padding: 12px;
}

/* Premium Modal */
.premium-modal {
    max-width: 500px;
    padding: 48px;
    text-align: center;
}

.premium-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.premium-content h2 {
    margin-bottom: 16px;
}

.premium-content > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.premium-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.premium-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.premium-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 16px;
}

/* Line Items */
.line-items {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
}

.line-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
}

.line-item:last-child {
    border-bottom: none;
}

.line-item input {
    padding: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.875rem;
}

.line-item-header {
    background: var(--gray-100);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gray-600);
}

.remove-item {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    color: var(--danger);
    font-size: 1.25rem;
}

.add-item-btn {
    margin-top: 8px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo span {
    color: white;
}

.footer-brand p {
    line-height: 1.8;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: white;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* Watermark */
.watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 10px;
    color: var(--gray-400);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .generator-layout {
        grid-template-columns: 1fr;
    }
    
    .generator-preview {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .line-item {
        grid-template-columns: 1fr 1fr;
    }
    
    .line-item-header {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .export-actions {
        flex-direction: column;
    }
}

/* Document Preview Styles */
.preview-invoice {
    padding: 30px;
}

.preview-invoice.modern {
    border-top: 5px solid var(--primary);
}

.preview-invoice.classic {
    border: 1px solid var(--gray-300);
}

.preview-invoice.minimal {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 30%);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.invoice-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.invoice-title {
    text-align: right;
}

.invoice-title h1 {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.invoice-number {
    color: var(--gray-500);
    font-size: 12px;
}

.invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.party-block h3 {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.party-block p {
    margin: 3px 0;
    font-size: 11px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-table th {
    background: var(--gray-100);
    padding: 10px;
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gray-600);
}

.invoice-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--gray-200);
}

.invoice-table .amount {
    text-align: right;
}

.invoice-totals {
    margin-left: auto;
    width: 200px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 11px;
}

.total-row.grand-total {
    font-weight: 700;
    font-size: 14px;
    border-top: 2px solid var(--gray-800);
    margin-top: 8px;
    padding-top: 12px;
}

.invoice-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-500);
    font-size: 10px;
}

/* Contract Preview */
.preview-contract {
    padding: 40px;
    max-height: 500px;
    overflow-y: auto;
}

.contract-title {
    text-align: center;
    margin-bottom: 30px;
}

.contract-title h1 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contract-section {
    margin-bottom: 20px;
}

.contract-section h2 {
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.contract-section p {
    font-size: 11px;
    line-height: 1.8;
    text-align: justify;
}

.signature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.signature-line {
    border-top: 1px solid var(--gray-400);
    padding-top: 10px;
}

.signature-line p {
    font-size: 10px;
    color: var(--gray-500);
}

/* Policy Preview */
.preview-policy {
    padding: 40px;
    max-height: 500px;
    overflow-y: auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-200);
}

.policy-header h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.policy-header p {
    color: var(--gray-500);
    font-size: 11px;
}

.policy-section {
    margin-bottom: 25px;
}

.policy-section h2 {
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.policy-section p,
.policy-section li {
    font-size: 11px;
    line-height: 1.8;
    color: var(--gray-600);
}

.policy-section ul {
    padding-left: 20px;
    margin-top: 8px;
}

/* Quote Preview */
.preview-quote {
    padding: 30px;
    border-top: 5px solid var(--warning);
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.quote-title h1 {
    font-size: 24px;
    color: var(--warning);
}

.quote-validity {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.quote-validity .days {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
}

.quote-validity .label {
    font-size: 10px;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* Meeting Notes Preview */
.preview-meeting {
    padding: 30px;
}

.meeting-header {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.meeting-header h1 {
    font-size: 18px;
    margin-bottom: 15px;
}

.meeting-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 11px;
}

.meeting-meta span {
    color: var(--gray-600);
}

.meeting-section {
    margin-bottom: 25px;
}

.meeting-section h2 {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.action-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--gray-50);
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 11px;
}

.action-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
}

/* Email Signature Preview */
.preview-signature {
    padding: 30px;
    display: flex;
    justify-content: center;
}

.signature-preview-box {
    border: 1px dashed var(--gray-300);
    padding: 20px;
    max-width: 400px;
}

.sig-container {
    display: flex;
    gap: 15px;
    font-family: Arial, sans-serif;
}

.sig-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.sig-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.sig-info .title {
    color: var(--gray-600);
    font-size: 12px;
    margin-bottom: 8px;
}

.sig-info .company {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
}

.sig-contact {
    margin-top: 10px;
    font-size: 11px;
    color: var(--gray-600);
}

.sig-contact p {
    margin: 3px 0;
}

.sig-social {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.sig-social a {
    color: var(--primary);
    text-decoration: none;
    font-size: 11px;
}

/* Receipt Preview */
.preview-receipt {
    padding: 30px;
    max-width: 350px;
    margin: 0 auto;
    border: 1px dashed var(--gray-300);
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--gray-300);
}

.receipt-header h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.receipt-header p {
    font-size: 10px;
    color: var(--gray-500);
}

.receipt-details {
    margin-bottom: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 11px;
}

.receipt-items {
    border-top: 1px dashed var(--gray-300);
    border-bottom: 1px dashed var(--gray-300);
    padding: 15px 0;
    margin-bottom: 15px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 11px;
}

.receipt-total {
    text-align: right;
    font-size: 16px;
    font-weight: 700;
}

.receipt-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed var(--gray-300);
    font-size: 10px;
    color: var(--gray-500);
}

/* Business Plan Preview */
.preview-business-plan {
    padding: 40px;
    max-height: 500px;
    overflow-y: auto;
}

.plan-cover {
    text-align: center;
    padding: 40px 20px;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    margin-bottom: 30px;
}

.plan-cover h1 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.plan-cover p {
    opacity: 0.9;
}

.plan-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.plan-section h2 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 12px;
}

.plan-section p {
    font-size: 11px;
    line-height: 1.8;
    color: var(--gray-600);
}
