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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 18px; /* Increased from default 16px for better readability */
    line-height: 1.7; /* Increased line height for easier reading */
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem; /* Increased for better navigation readability */
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    line-height: 1.3;
}

h2 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    line-height: 1.4;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #34495e;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #34495e;
    margin-bottom: 0.8rem;
}

h5 {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #34495e;
    margin-bottom: 0.6rem;
}

h6 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #34495e;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

form {
    max-width: 600px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.875rem; /* Increased padding for better accessibility */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.1rem; /* Increased for better readability */
}

textarea {
    width: 100%;
    padding: 0.875rem; /* Increased padding for better accessibility */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.1rem; /* Increased for better readability */
    min-height: 240px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
}

button {
    background-color: #3498db;
    color: white;
    padding: 0.875rem 2.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: 1.4;
}

button:hover {
    background-color: #2980b9;
}

section {
    margin-bottom: 2rem;
}

footer {
    background-color: #2c3e50;
    color: white;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 1rem 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 1rem;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert-error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.alert-warning {
    background-color: #ffeaa7;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.btn-link {
    background: none;
    border: none;
    color: #3498db;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

.btn-link:hover {
    color: #2980b9;
}

.dashboard-content {
    margin-top: 2rem;
}

/* Dashboard Design Improvements */
.process-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.process-overview h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.process-step .step-number {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.process-step strong {
    color: white;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.6rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testament-creation {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testament-creation h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.creation-subtitle {
    color: #495057;
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.form-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-header h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: border-color 0.2s ease;
    line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.step-instructions {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.step-instructions h5 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-instructions ul {
    margin: 0;
    padding-left: 1.25rem;
}

.step-instructions li {
    color: #495057;
    margin-bottom: 0.6rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.step-instructions li:last-child {
    margin-bottom: 0;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.create-testament-btn {
    background-color: #3498db;
    color: white;
    padding: 0.875rem 2.5rem; /* Increased padding for better click targets */
    border: none;
    border-radius: 4px;
    font-size: 1.2rem; /* Increased for better readability */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.create-testament-btn:hover {
    background-color: #2980b9;
}

.next-steps-guide {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.next-steps-guide h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.next-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-step {
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.next-step-content {
    display: block;
}

.next-step strong {
    color: #2c3e50;
    font-size: 1rem;
    display: inline;
    margin-right: 0.5rem;
    font-weight: 600;
}

.next-step span:not(strong) {
    color: #495057;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testament-creation {
        padding: 1.5rem;
    }
    
    .process-overview {
        padding: 1.5rem;
    }
    
    main {
        margin: 1rem;
        padding: 1rem;
    }
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.dashboard-info,
.dashboard-actions {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.button-secondary {
    background-color: #6c757d;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem; /* Increased for better readability */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button-secondary:hover {
    background-color: #5a6268;
}

.dashboard-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.testament-display {
    background-color: #e8f5e8;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.testament-info {
    font-size: 1.1rem;
    color: #155724;
    margin: 0;
    font-weight: 500;
}

.form-help {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 0.4rem;
    line-height: 1.5;
}

input[type="file"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    font-size: 1.1rem;
}

input[type="file"]:focus {
    outline: none;
    border-color: #3498db;
}

.button-primary {
    background-color: #3498db;
    color: white;
    padding: 0.6rem 1.2rem; /* Increased padding for better click targets */
    border: none;
    border-radius: 4px;
    font-size: 1.1rem; /* Increased for better readability */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 0.5rem;
}

.button-primary:hover {
    background-color: #2980b9;
}

.button-danger {
    background-color: #e74c3c;
    color: white;
    padding: 0.6rem 1.2rem; /* Increased padding for better click targets */
    border: none;
    border-radius: 4px;
    font-size: 1.1rem; /* Increased for better readability */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button-danger:hover {
    background-color: #c0392b;
}

.testament-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #c3e6cb;
}

.testament-details {
    max-width: 800px;
    margin: 0 auto;
}

.testament-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.testament-date {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

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

.testament-message {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    line-height: 1.6;
}

.testament-file {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.file-info {
    margin-bottom: 1rem;
}

.testament-contact {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #e74c3c;
}

.contact-email {
    margin: 0;
    font-size: 1rem;
}

.testament-id-display {
    margin: 1rem 0;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

.testament-id-display code {
    background-color: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    color: #495057;
}

.testament-id-display small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.settings-content {
    max-width: 800px;
    margin: 0 auto;
}

.settings-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border-left: 4px solid #3498db;
}

.settings-section h2 {
    margin-top: 0;
    color: #2c3e50;
}

.activity-status-explanation {
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #2196f3;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.activity-status-explanation p {
    margin: 0;
    color: #1565c0;
}

.activity-status {
    background-color: white;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    margin-top: 1rem;
}

.activity-status p {
    margin-bottom: 0.5rem;
}

.activity-status p:last-child {
    margin-bottom: 0;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.1rem;
    background-color: white;
    line-height: 1.5;
}

select:focus {
    outline: none;
    border-color: #3498db;
}

.confirmation-success {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-success h2 {
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-details {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
    text-align: left;
}

.confirmation-details p {
    margin-bottom: 0.5rem;
}

.confirmation-details p:last-child {
    margin-bottom: 0;
}

.confirmation-actions {
    margin: 2rem 0;
}

.confirmation-actions .button {
    margin: 0 0.5rem;
}

.confirmation-info {
    background-color: #e8f4fd;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid #3498db;
    text-align: left;
    margin-top: 2rem;
}

.confirmation-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.confirmation-info ul {
    margin-bottom: 0;
}

.confirmation-info li {
    margin-bottom: 0.5rem;
}

.access-form {
    max-width: 600px;
    margin: 0 auto;
}

.access-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.access-info h3 {
    margin-top: 0;
    color: #856404;
    font-size: 1.1rem;
}

.access-info ul {
    margin-bottom: 0;
    margin-left: 1.5rem;
}

.access-info li {
    margin-bottom: 0.75rem;
    color: #856404;
}

.access-info li:last-child {
    margin-bottom: 0;
}

/* Dashboard Process Overview */
.process-overview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.process-overview h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.step-number {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Testament Creation Form - Split Layout */
.testament-creation {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testament-split-layout {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.form-column {
    flex: 0 0 60%;
}

.instructions-column {
    flex: 0 0 40%;
}

.instructions-panel {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.instruction-content {
    transition: opacity 0.3s ease;
}

.instruction-content h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.instruction-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.instruction-content li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.instruction-content li:last-child {
    margin-bottom: 0;
}

.testament-creation h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 2rem;
}

.creation-subtitle {
    color: #666;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testament-form {
    max-width: none;
}

/* Form Sections */
.form-section {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.section-header {
    background-color: #e9ecef;
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.form-section .form-group {
    padding: 1.5rem;
    margin-bottom: 0;
}

.form-section label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

/* Field Tips */
.field-tips {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #17a2b8;
    padding: 1.2rem;
    margin-top: 0.75rem;
    border-radius: 4px;
}

.field-tips strong {
    color: #17a2b8;
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.field-tips ul {
    margin: 0;
    padding-left: 1.2rem;
}

.field-tips li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

.field-tips li:last-child {
    margin-bottom: 0;
}

/* Enhanced Form Elements */
.testament-form textarea {
    min-height: 240px;
    font-family: inherit;
    resize: vertical;
}

.testament-form select {
    height: auto;
    padding: 0.75rem;
}

/* Form Submit */
.form-submit {
    text-align: center;
    padding: 2rem 0 1rem 0;
}

.create-testament-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.create-testament-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #218838 0%, #1ea389 100%);
}

/* Next Steps Guide */
.next-steps-guide {
    background-color: #e8f5e8;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.next-steps-guide h3 {
    margin-top: 0;
    color: #155724;
    font-size: 1.2rem;
}

.next-steps-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.next-step {
    background-color: white;
    padding: 1.2rem;
    border-radius: 6px;
    border-left: 3px solid #28a745;
    font-size: 1.1rem;
    line-height: 1.6;
}

.next-step strong {
    color: #155724;
    font-size: 1.15rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        max-width: none;
    }
    
    .testament-creation {
        padding: 1rem;
    }
    
    .form-section .form-group {
        padding: 1rem;
    }
    
    .section-header {
        padding: 0.75rem 1rem;
    }
    
    .create-testament-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .testament-split-layout {
        flex-direction: column;
    }
    
    .form-column,
    .instructions-column {
        flex: 1 1 auto;
    }
    
    .instructions-panel {
        position: static;
        max-height: none;
        margin-top: 1rem;
    }
}

/* Homepage Styles - Updated */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: -2rem; /* Compensate for main padding */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.3rem;
    margin: 0 0 2.5rem 0;
    line-height: 1.5;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero-cta {
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: #28a745;
    color: white;
}

.cta-button.primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-button.large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.trust-icon {
    font-size: 1.2rem;
}

/* Section Styling */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.how-it-works .step {
    text-align: center;
    position: relative;
}

.how-it-works .step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.how-it-works .step-number {
    position: absolute;
    top: -10px;
    right: calc(50% - 60px);
    background-color: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.how-it-works .step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.how-it-works .step p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Testimonial Section */
.testimonial {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    line-height: 1.5;
}

.testimonial cite {
    color: #666;
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    margin-bottom: 2rem;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.security-icon {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .how-it-works .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .testimonial blockquote {
        font-size: 1.2rem;
    }
    
    .final-cta h2 {
        font-size: 1.8rem;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: -2rem;
}

.about-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.about-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    color: white !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Our Story Section */
.our-story {
    padding: 5rem 0;
    background-color: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.mission-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Our Values Section */
.our-values {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

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

.value {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.value:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value p {
    color: #666;
    line-height: 1.6;
}

/* How We're Different Section */
.different {
    padding: 5rem 0;
    background-color: white;
}

.different-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

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

.comparison-item {
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.comparison-item:first-child {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

.comparison-item:last-child {
    border-color: #27ae60;
    background-color: #f2fdf5;
}

.comparison-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

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

.comparison-item li {
    padding: 0.5rem 0;
    color: #555;
    line-height: 1.5;
}

/* Our Commitment Section */
.commitment {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.commitment-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.commitment-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.commitment-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.commitment-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Statistics Section */
.statistics {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About CTA Section */
.about-cta {
    padding: 4rem 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.about-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Testament Deletion Status */
.deletion-pending {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.status-warning {
    background-color: #ffeaa7;
    color: #2d3436;
    border: 1px solid #fdcb6e;
}

.deletion-pending p {
    margin: 0.5rem 0 0 0;
    color: #856404;
}

.deletion-pending small {
    font-size: 1rem;
    line-height: 1.5;
}

/* FAQ Page Styles */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.faq-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2.8rem;
    font-weight: 300;
}

.faq-header p {
    margin: 0;
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-sections {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
}

.faq-section h2 {
    margin: 0 0 2rem 0;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-item.open .faq-question {
    background: #3498db;
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    flex-grow: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #dee2e6;
    animation: fadeIn 0.3s ease;
}

.faq-item.open .faq-answer {
    display: block;
}

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

.faq-answer p {
    margin: 0 0 1rem 0;
    line-height: 1.7;
    color: #495057;
    font-size: 1.05rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: #495057;
    font-size: 1.05rem;
}

.faq-answer strong {
    color: #2c3e50;
    font-weight: 600;
}

.faq-answer code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e83e8c;
}

.faq-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.faq-footer h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.6rem;
}

.faq-footer p {
    margin: 0;
    font-size: 1.15rem;
    color: #6c757d;
    line-height: 1.6;
}

.faq-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.faq-footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-container {
        padding: 1rem;
    }
    
    .faq-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-header p {
        font-size: 1rem;
    }
    
    .faq-section {
        padding: 1.5rem;
    }
    
    .faq-section h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .faq-sections {
        gap: 2rem;
    }
}