/* ZidansAI Enterprise Proposal Styles */

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

/* Password Protection Overlay */
.password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.password-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.password-header h1 {
    color: var(--primary-blue);
    font-size: 2.2em;
    margin-bottom: 0.5rem;
}

.password-header h2 {
    color: var(--medium-gray);
    font-size: 1.3em;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.password-header p {
    color: var(--medium-gray);
    font-size: 1em;
    margin-bottom: 2rem;
}

.password-form {
    margin: 2rem 0;
}

.password-form input {
    width: 100%;
    padding: 1rem;
    font-size: 1.1em;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.password-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.password-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.password-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}

.password-form button:active {
    transform: translateY(0);
}

.password-error {
    display: none;
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.9em;
}

.password-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

.password-footer p {
    color: var(--medium-gray);
    font-size: 0.9em;
    margin-bottom: 0.3rem;
}

.password-footer p:last-child {
    margin-bottom: 0;
}

/* Hide proposal content initially */
.proposal-content.hidden {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Page Structure */
.page {
    width: 8.5in;
    min-height: 11in;
    margin: 0 auto 2in auto;
    padding: 0.75in;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    page-break-after: always;
    position: relative;
}

.page:last-child {
    margin-bottom: 0;
}

/* Typography */
h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.4rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

.lead {
    font-size: 1.2em;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Color Scheme - Professional Tech Theme */
:root {
    --primary-blue: #1a365d;
    --secondary-blue: #2b77ad;
    --accent-blue: #4299e1;
    --light-blue: #bee3f8;
    --dark-gray: #2d3748;
    --medium-gray: #4a5568;
    --light-gray: #e2e8f0;
    --success-green: #38a169;
    --warning-orange: #dd6b20;
}

/* Cover Page */
.cover-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
}

.cover-page .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.company-logo h1 {
    font-size: 2.8em;
    color: white;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

.date {
    font-size: 1.1em;
    opacity: 0.9;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.proposal-title {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.proposal-subtitle {
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
}

.client-info {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.client-info p {
    font-size: 1.2em;
    margin-bottom: 0.5rem;
}

.footer {
    text-align: center;
    opacity: 0.8;
    font-size: 0.9em;
}

/* Page Titles */
.page-title {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--accent-blue);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Content Sections */
.content {
    flex: 1;
}

/* Key Points and Lists */
.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.key-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2em;
}

/* Investment Summary */
.investment-summary {
    margin-top: 2rem;
}

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

.option {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.option h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2em;
    font-weight: 700;
    color: var(--secondary-blue);
    margin: 0.5rem 0;
}

/* Challenge Grid */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.challenge-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning-orange);
}

.challenge-item h3 {
    color: var(--primary-blue);
    font-size: 1.3em;
    margin-bottom: 0.5rem;
}

/* Solution Overview */
.solution-overview ul {
    list-style: none;
    padding: 0;
}

.solution-overview li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-overview li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2em;
}

/* Differentiators Grid */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.diff-item {
    background: linear-gradient(135deg, var(--light-blue) 0%, #f0f8ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
}

.diff-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Digital Employees Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.agent-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.agent-icon {
    font-size: 3em;
    margin-bottom: 1rem;
}

.agent-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.agent-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.agent-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9em;
}

.agent-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* DE Expansion System */
.de-expansion-system {
    margin-top: 2rem;
    background: linear-gradient(135deg, #f0f8ff 0%, var(--light-blue) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.de-expansion-system h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.expansion-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.expansion-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

.expansion-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.expansion-item p {
    font-size: 0.9em;
    margin: 0;
}

/* Development Approach */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.approach-item {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--accent-blue);
}

.approach-icon {
    font-size: 3em;
    margin-bottom: 1rem;
    text-align: center;
}

.approach-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.approach-item p {
    margin-bottom: 1rem;
    font-size: 0.95em;
}

.approach-item ul {
    list-style: none;
    padding: 0;
}

.approach-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9em;
}

.approach-item li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 0.8em;
}

.commitment-section {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, #f0f8ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.commitment-section h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.commitment-section p {
    font-size: 1.1em;
    line-height: 1.7;
    margin: 0;
}

/* Architecture Sections */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.arch-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent-blue);
}

.arch-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stack-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.stack-column {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
}

.stack-column h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.stack-column ul {
    list-style: none;
    padding: 0;
}

.stack-column li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: 4px;
    text-align: center;
    font-size: 0.9em;
}

/* Timeline/Roadmap */
.timeline {
    margin-top: 1rem;
}

.quarter {
    margin-bottom: 2rem;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
}

.quarter-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 1rem 1.5rem;
}

.quarter-header h3 {
    color: white;
    margin-bottom: 0.3rem;
}

.quarter-header h4 {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    margin: 0;
}

.deliverables {
    padding: 1.5rem;
    background: white;
}

.deliverables ul {
    list-style: none;
    padding: 0;
}

.deliverables li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.deliverables li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 0.8em;
}

/* Pricing Comparison */
.pricing-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.pricing-option {
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Removed recommended styling for neutral enterprise presentation */
/* .pricing-option.recommended {
    border-color: var(--success-green);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.2);
} */

/* Removed recommendation badge for neutral enterprise presentation */
/* .recommendation-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--success-green);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
} */

.option-header {
    background: var(--light-gray);
    padding: 1.5rem;
    text-align: center;
}

/* Removed recommended header styling for neutral enterprise presentation */
/* .pricing-option.recommended .option-header {
    background: linear-gradient(135deg, var(--success-green) 0%, #48bb78 100%);
    color: white;
} */

/* Removed recommended header text styling for neutral enterprise presentation */
/* .pricing-option.recommended .option-header h3 {
    color: white;
} */

.monthly-price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0.5rem 0;
}

/* Removed recommended price styling for neutral enterprise presentation */
/* .pricing-option.recommended .monthly-price {
    color: white;
} */

.monthly-price span {
    font-size: 0.5em;
    font-weight: 400;
}

.total-price {
    font-size: 1.1em;
    opacity: 0.8;
}

.team-composition, .deliverables {
    padding: 1.5rem;
}

.team-composition ul, .deliverables ul {
    list-style: none;
    padding: 0;
}

.team-composition li, .deliverables li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9em;
}

.team-composition li::before {
    content: "👤";
    position: absolute;
    left: 0;
}

.deliverables li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* ROI Section */
.roi-section {
    margin-top: 2rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--success-green);
}

.roi-section ul {
    list-style: none;
    padding: 0;
}

.roi-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.roi-section li::before {
    content: "$";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2em;
}

/* Infrastructure Costs Section */
.infrastructure-costs {
    margin-top: 2rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.infrastructure-costs h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.infrastructure-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #856404;
    font-size: 0.95em;
}

.cost-table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9em;
}

.cost-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
}

.cost-table th {
    padding: 1rem 0.8rem;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.cost-table th:last-child {
    border-right: none;
}

.cost-table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
}

.cost-table td:last-child {
    border-right: none;
}

.cost-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.cost-table tbody tr:hover {
    background: #e6f3ff;
}

.category-cell {
    background: var(--light-blue) !important;
    font-weight: 600;
    color: var(--primary-blue);
    vertical-align: middle;
    text-align: center;
}

.total-row {
    background: linear-gradient(135deg, #e6f3ff 0%, var(--light-blue) 100%) !important;
    font-weight: 600;
    color: var(--primary-blue);
    border-top: 2px solid var(--accent-blue);
}

.total-row td {
    padding: 1rem 0.8rem;
    font-size: 1em;
}

.cost-summary {
    margin-top: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--light-gray);
}

.cost-summary p {
    margin-bottom: 0.5rem;
}

.cost-summary p:last-child {
    margin-bottom: 0;
    font-size: 0.9em;
    color: var(--medium-gray);
}

/* Expertise Areas */
.expertise-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.expertise-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.expertise-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Leadership */
.leadership {
    margin: 2rem 0;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.leader h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Methodology */
.methodology ul {
    list-style: none;
    padding: 0;
}

.methodology li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.methodology li::before {
    content: "⚡";
    position: absolute;
    left: 0;
}

/* Success Metrics */
.metrics-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #856404;
}

.metrics-disclaimer p {
    margin: 0;
    font-size: 0.95em;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.metrics-sources {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.metrics-sources p {
    margin: 0;
    color: var(--medium-gray);
    font-style: italic;
}

.metric-category {
    text-align: center;
}

.metric-category h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 1rem;
}

.metric-value {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.9em;
    color: var(--medium-gray);
    font-weight: 500;
}

.measurement-plan {
    margin-top: 2rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.measurement-plan ul {
    list-style: none;
    padding: 0;
}

.measurement-plan li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.measurement-plan li::before {
    content: "📊";
    position: absolute;
    left: 0;
}

/* Next Steps */
.steps {
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.step-number {
    background: var(--primary-blue);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline {
    font-size: 0.9em;
    color: var(--medium-gray);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Contact Information */
.contact-details {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-person h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-person p {
    margin-bottom: 0.3rem;
}

/* Commitment */
.commitment {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, #f0f8ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.commitment p {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 0;
}

/* Print Styles */
@media print {
    .page {
        width: 100%;
        height: 100vh;
        margin: 0;
        padding: 0.75in;
        box-shadow: none;
        page-break-after: always;
    }
    
    .page:last-child {
        page-break-after: avoid;
    }
    
    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* PDF Generation Styles */
@page {
    size: Letter;
    margin: 0.75in;
}

/* Responsive Design */

/* Tablet breakpoint */
@media screen and (max-width: 768px) and (min-width: 481px) {
    .page {
        width: 100%;
        margin: 0 0 2rem 0;
        padding: 1.5rem;
    }
    
    .investment-options,
    .challenge-grid,
    .agents-grid,
    .diff-grid,
    .pricing-comparison,
    .metrics-grid,
    .expansion-features,
    .approach-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .arch-grid,
    .stack-columns {
        grid-template-columns: 1fr;
    }
    
    .cost-table {
        font-size: 0.9em;
    }
    
    .password-container {
        padding: 2.5rem;
        max-width: 450px;
    }
    
    .proposal-title {
        font-size: 3em;
    }
    
    .proposal-subtitle {
        font-size: 1.4em;
    }
    
    .page-title {
        font-size: 2.2em;
    }
    
    .monthly-price {
        font-size: 2.2em;
    }
}

/* Mobile breakpoint */
@media screen and (max-width: 480px) {
    .page {
        width: 100%;
        margin: 0 0 1.5rem 0;
        padding: 1rem;
    }
    
    .investment-options,
    .challenge-grid,
    .agents-grid,
    .arch-grid,
    .diff-grid,
    .pricing-comparison,
    .expertise-areas,
    .metrics-grid,
    .stack-columns,
    .expansion-features,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Typography optimizations */
    .proposal-title {
        font-size: 2.2em;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .proposal-subtitle {
        font-size: 1.2em;
        line-height: 1.3;
    }
    
    .page-title {
        font-size: 1.8em;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .monthly-price {
        font-size: 2em;
        line-height: 1.1;
    }
    
    /* Content spacing */
    .content {
        padding: 0;
    }
    
    .lead {
        font-size: 1.1em;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    /* Card components */
    .challenge-item,
    .agent-card,
    .arch-item,
    .diff-item,
    .expansion-item,
    .approach-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .agent-icon {
        font-size: 2.5em;
        margin-bottom: 1rem;
    }
    
    .approach-icon {
        font-size: 2.5em;
        margin-bottom: 1rem;
    }
    
    /* Lists and text */
    ul, ol {
        padding-left: 1.2rem;
    }
    
    li {
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    /* Pricing section */
    .pricing-option {
        margin-bottom: 1.5rem;
    }
    
    .option-header {
        padding: 1.5rem 1rem;
    }
    
    .option-header h3 {
        font-size: 1.3em;
        margin-bottom: 0.5rem;
    }
    
    .team-composition,
    .deliverables {
        padding: 1.5rem 1rem;
    }
    
    /* Table improvements */
    .cost-table {
        font-size: 0.75em;
        margin: 1rem 0;
    }
    
    .cost-table th,
    .cost-table td {
        padding: 0.4rem 0.3rem;
        word-wrap: break-word;
    }
    
    .cost-table-container {
        overflow-x: auto;
        margin: 1rem -1rem;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Password form */
    .password-container {
        padding: 1.5rem;
        max-width: 350px;
        margin: 1rem;
    }
    
    .password-header h1 {
        font-size: 1.6em;
        margin-bottom: 0.5rem;
    }
    
    .password-header h2 {
        font-size: 1em;
        margin-bottom: 0.5rem;
    }
    
    .password-header p {
        font-size: 0.9em;
        margin-bottom: 1.5rem;
    }
    
    .password-form input,
    .password-form button {
        padding: 0.8rem;
        font-size: 1em;
        min-height: 44px; /* Touch-friendly */
    }
    
    /* Timeline and steps */
    .steps {
        gap: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
        margin-right: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1em;
        margin-bottom: 0.5rem;
    }
    
    .timeline {
        font-size: 0.9em;
        margin-top: 0.5rem;
    }
    
    /* Metrics */
    .metric {
        text-align: center;
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 2.5em;
        margin-bottom: 0.5rem;
    }
    
    .metric-label {
        font-size: 0.9em;
        line-height: 1.3;
    }
    
    /* Contact section */
    .contact-details {
        text-align: left;
        padding: 1rem;
    }
    
    .contact-person h4 {
        font-size: 1.2em;
        margin-bottom: 0.5rem;
    }
    
    .contact-person p {
        margin-bottom: 0.3rem;
        line-height: 1.4;
    }
}