/* PledgeCards Guide Styles - Centralized Theme */
/* Matches the main site color palette: navy, wine, gold, parchment */

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

:root {
    --navy: #16293A;
    --navy-deep: #0F1D28;
    --wine: #843248;
    --wine-deep: #6B2839;
    --gold: #C9A227;
    --gold-dim: #A68820;
    --parchment: #F6F1E4;
    --parchment-dim: #EDE7D6;
    --parchment-line: #DDD5C3;
    --ink: #2B2B2B;
    --ink-muted: #5A5A5A;
    --ink-faint: #8A8A8A;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: linear-gradient(135deg, var(--parchment) 0%, #ffffff 50%, var(--parchment-dim) 100%);
    min-height: 100vh;
    padding: 20px;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--parchment);
    text-align: center;
    padding: 50px 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(22, 41, 58, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.header h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--parchment);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: var(--parchment-dim);
}

/* Step Cards */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--parchment-line);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wine), var(--gold), var(--navy));
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--wine);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--wine), var(--wine-deep));
    color: var(--parchment);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(132, 50, 72, 0.3);
}

.step-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-description {
    color: var(--ink-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--parchment);
    border: 1px solid var(--parchment-line);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--ink);
    transition: all 0.2s ease;
}

.action-item:hover {
    background: var(--gold);
    color: white;
    border-color: var(--gold-dim);
}

.action-item i {
    color: var(--wine);
    font-size: 1rem;
}

.action-item:hover i {
    color: white;
}

/* Feature Sections */
.feature-section {
    background: white;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--parchment-line);
}

.feature-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold);
    font-weight: 600;
}

.feature-section h3 {
    color: var(--wine);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-section p {
    color: var(--ink-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

.feature-section ul,
.feature-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--ink-muted);
}

.feature-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.feature-section code {
    background: var(--parchment);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--wine);
    border: 1px solid var(--parchment-line);
}

/* Info Boxes */
.info-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.info-box.note {
    background: rgba(201, 162, 39, 0.1);
    border-color: var(--gold);
}

.info-box.warning {
    background: rgba(132, 50, 72, 0.1);
    border-color: var(--wine);
}

.info-box.tip {
    background: rgba(22, 41, 58, 0.05);
    border-color: var(--navy);
}

.info-box strong {
    color: var(--navy);
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Navigation Flow */
.navigation-flow {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid var(--parchment-line);
}

.flow-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.flow-step {
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    color: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    border: 1px solid var(--parchment-line);
}

.flow-arrow {
    color: var(--wine);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Additional Helper Classes */
.highlight {
    background: linear-gradient(120deg, rgba(201, 162, 39, 0.3) 0%, rgba(201, 162, 39, 0.1) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.badge {
    display: inline-block;
    background: var(--wine);
    color: var(--parchment);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-item {
    background: var(--parchment);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--wine);
    font-size: 0.9rem;
    border: 1px solid var(--parchment-line);
}

.menu-section {
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.menu-section h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

.menu-section ul {
    margin: 0;
    padding-left: 20px;
}

.menu-section li {
    color: var(--ink-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: var(--ink-muted);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--parchment-line);
}

.footer h3 {
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border: 1px solid var(--parchment-line);
    border-radius: 8px;
    overflow: hidden;
}

th {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: var(--parchment);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--parchment-line);
    color: var(--ink-muted);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background: var(--parchment);
}

/* Buttons and Links */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--wine);
    color: var(--parchment);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background: var(--wine-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(132, 50, 72, 0.3);
}

.btn-secondary {
    background: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold-dim);
}

a {
    color: var(--wine);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--wine-deep);
    text-decoration: underline;
}

/* Screenshot placeholders */
.screenshot {
    background: var(--parchment);
    border: 2px dashed var(--parchment-line);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin: 25px 0;
    color: var(--ink-muted);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .feature-section {
        padding: 20px;
    }

    .step-actions {
        flex-direction: column;
    }

    .action-item {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
    }

    .step-card,
    .feature-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* Tips Section */
.tips-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--parchment-line);
    border-left: 6px solid var(--wine);
}

.tips-title {
    color: var(--wine);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-family: Georgia, 'Times New Roman', serif;
}

.tips-title::before {
    content: '💡';
    margin-right: 10px;
    font-size: 1.8rem;
}

.tip-item {
    background: var(--parchment);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--parchment-line);
    border-left: 4px solid var(--gold);
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-item strong {
    color: var(--navy);
    display: block;
    margin-bottom: 5px;
}

.tip-item ul {
    margin-top: 8px;
    padding-left: 20px;
}

.tip-item ul li {
    color: var(--ink-muted);
    margin-bottom: 5px;
}

/* Step Actions List Refinement */
.step-actions li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--ink-muted);
    width: 100%;
    line-height: 1.7;
}

.step-actions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1em;
}
