:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #6b7280;
    --bg-color: #f9fafb;
    --surface-color: #ffffff;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Upload Area */
.upload-area {
    background: var(--surface-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 40px 0;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.upload-icon {
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Canvas Container */
.canvas-container {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
}

.canvas-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #f3f4f6;
}

#canvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: move;
    touch-action: none;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.circle-mask {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3);
}

/* Controls */
.controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.control-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.size-buttons {
    display: flex;
    gap: 8px;
}

.size-btn {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    background: var(--surface-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.size-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.format-select {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--surface-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.format-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    margin-top: 16px;
}

.btn-link:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Export Section */
.export-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 30px;
}

.preview-container {
    text-align: center;
    margin-bottom: 20px;
}

.preview-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-sizes {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.preview-canvas {
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    background: #f3f4f6;
}

/* Instructions */
.instructions {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.instructions h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    margin: 40px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: var(--bg-color);
}

.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .upload-area {
        padding: 40px 20px;
    }

    .canvas-container {
        padding: 20px;
    }

    .controls {
        grid-template-columns: 1fr;
    }

    .instructions {
        padding: 30px 20px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error message */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin: 16px 0;
    font-size: 0.875rem;
}

/* Popular Ways Section */
.popular-ways {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.popular-ways h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.way-item {
    padding: 24px;
    background: var(--bg-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.way-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.way-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.way-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Image Tips Section */
.image-tips {
    margin: 40px 0;
}

.image-tips h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tip-item {
    padding: 20px;
    background: var(--surface-color);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.tip-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.tip-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.use-cases-table {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.use-cases-table thead {
    background: var(--primary-color);
    color: white;
}

.use-cases-table th,
.use-cases-table td {
    padding: 16px;
    text-align: left;
}

.use-cases-table th {
    font-weight: 600;
    font-size: 1rem;
}

.use-cases-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.use-cases-table tbody tr:last-child {
    border-bottom: none;
}

.use-cases-table tbody tr:hover {
    background: var(--surface-color);
}

.use-cases-table td {
    color: var(--text-secondary);
}

/* Why Choose Section */
.why-choose {
    margin: 40px 0;
}

.why-choose h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.feature-item {
    padding: 20px;
    background: var(--surface-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
}

.feature-item div {
    flex: 1;
}

.feature-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    padding: 8px 32px 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--surface-color) url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%236b7280" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    appearance: none;
    transition: all 0.2s ease;
}

.language-selector select:hover {
    border-color: var(--primary-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive updates */
@media (max-width: 768px) {
    .popular-ways,
    .image-tips,
    .use-cases,
    .why-choose {
        padding: 30px 20px;
    }

    .ways-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-table {
        font-size: 0.875rem;
    }

    .use-cases-table th,
    .use-cases-table td {
        padding: 12px;
    }

    .language-selector {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .language-selector select {
        width: 100%;
        max-width: 300px;
    }

    .platform-links-grid,
    .size-links,
    .format-links {
        grid-template-columns: 1fr;
    }
}

/* Platform Guides Section */
.platform-guides,
.size-guides,
.format-guides {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin: 48px 0;
    border: 1px solid #e2e8f0;
}

.platform-guides h2,
.size-guides h2,
.format-guides h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.platform-guides > p,
.size-guides > p,
.format-guides > p {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.platform-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.platform-link-card {
    display: block;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.platform-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.platform-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.12), 0 4px 8px rgba(0, 0, 0, 0.05);
}

.platform-link-card:hover::before {
    opacity: 1;
}

.platform-link-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    transition: color 0.2s ease;
}

.platform-link-card:hover h3 {
    color: var(--primary-color);
}

.platform-link-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.size-links,
.format-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.size-link-card,
.format-link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.size-link-card:hover,
.format-link-card:hover {
    border-color: #3b82f6;
    background: #fafbff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transform: translateX(4px);
}

.size-link-card strong,
.format-link-card strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 150px;
    transition: color 0.2s ease;
}

.size-link-card:hover strong,
.format-link-card:hover strong {
    color: var(--primary-color);
}

.size-link-card span,
.format-link-card span {
    font-size: 0.875rem;
    color: #64748b;
    text-align: right;
    flex: 1;
    margin-left: 24px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .platform-guides,
    .size-guides,
    .format-guides {
        padding: 30px 20px;
    }

    .platform-links-grid {
        grid-template-columns: 1fr;
    }

    .size-link-card,
    .format-link-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .size-link-card span,
    .format-link-card span {
        text-align: left;
        margin-left: 0;
    }
}

/* ==========================================
   Programmatic SEO Pages Styling
   (/for/* and /circle/* pages)
   ========================================== */

/* Page Header Enhancement */
.page-header header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.page-header h1 {
    color: white;
    margin-bottom: 16px;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-header .back-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-bottom: 20px;
}

.page-header .back-link:hover {
    opacity: 1;
    transform: translateX(-4px);
}

/* Requirements Table Styling */
.requirements-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin: 48px 0;
    border: 1px solid #e2e8f0;
}

.requirements-section h2 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 2rem;
}

.requirements-section > p {
    color: #475569;
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.requirements-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.requirements-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.requirements-table thead th {
    color: white;
    font-weight: 600;
    padding: 18px 20px;
    text-align: left;
    font-size: 1rem;
}

.requirements-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.requirements-table tbody tr:last-child {
    border-bottom: none;
}

.requirements-table tbody tr:hover {
    background-color: #f8fafc;
}

.requirements-table tbody td {
    padding: 16px 20px;
    color: #475569;
}

.requirements-table tbody td:first-child {
    font-weight: 600;
    color: #1e293b;
}

/* Steps Grid Styling */
.steps-section {
    margin: 60px 0;
}

.steps-section h2 {
    color: #1e293b;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.step-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.12);
    border-color: #667eea;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-card h3 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.step-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Pro Tips Grid Styling */
.tips-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin: 60px 0;
    border: 1px solid #fcd34d;
}

.tips-section h2 {
    color: #92400e;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.tip-card {
    background: white;
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.1);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
    border-color: #f59e0b;
}

.tip-card h3 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-card h3::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1.3rem;
}

.tip-card p {
    color: #78350f;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* FAQ Section Styling */
.faq-section {
    margin: 60px 0;
}

.faq-section h2 {
    color: #1e293b;
    margin-bottom: 32px;
    font-size: 2rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* Footer Enhancement for Programmatic Pages */
.page-footer {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
}

.page-footer p {
    color: #64748b;
    margin-bottom: 12px;
}

.page-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.page-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Quick Action Button */
.quick-action-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 24px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .requirements-section,
    .tips-section {
        padding: 30px 20px;
    }

    .steps-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .requirements-table {
        font-size: 0.9rem;
    }

    .requirements-table thead th,
    .requirements-table tbody td {
        padding: 12px 16px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}
