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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sidebar-width: 260px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Layout with Sidebar */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: var(--shadow);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-brand-icon {
    font-size: 1.5rem;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin: 0.25rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-nav a.active {
    background-color: #eff6ff;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navbar (when using sidebar) */
.top-navbar {
    background-color: var(--card-bg);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-navbar h1 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    color: white;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 2rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Form Section */
.form-section {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.agreement-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.form-actions .btn-primary:hover {
    background-color: var(--primary-dark);
}

.form-actions .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.form-actions .btn-secondary:hover {
    background-color: var(--bg-color);
    border-color: var(--secondary-color);
}

/* Terms Content */
.terms-content {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.terms-section p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.terms-section ul {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-acceptance {
    text-align: center;
    margin-top: 2rem;
}

.terms-acceptance .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.terms-acceptance .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* View Agreement Page */
.agreement-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.agreement-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.agreement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.agreement-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.status {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-active {
    background-color: #d1fae5;
    color: #065f46;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-completed {
    background-color: #e0e7ff;
    color: #3730a3;
}

.agreement-details {
    margin-bottom: 1.25rem;
}

.agreement-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.agreement-details strong {
    color: var(--text-primary);
}

.agreement-actions {
    display: flex;
    gap: 1rem;
}

.agreement-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.agreement-actions .btn-primary:hover {
    background-color: var(--primary-dark);
}

.agreement-actions .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.agreement-actions .btn-secondary:hover {
    background-color: var(--bg-color);
    border-color: var(--secondary-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero .subtitle {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section,
    .terms-content,
    .agreement-card {
        padding: 1.5rem;
    }

    .container {
        padding: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .agreement-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .agreement-actions .btn {
        width: 100%;
    }
}

/* Signature Section Styles */
.signature-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    background: var(--card-bg);
}

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

.party-info p {
    margin: 0.25rem 0;
}

.party-info strong {
    color: var(--primary-color);
}

.signature-upload {
    margin-top: 1rem;
}

.signature-upload p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.signature-upload strong {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.signature-pad {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    display: inline-block;
    margin-bottom: 1rem;
}

#signatureCanvas {
    cursor: crosshair;
    touch-action: none;
}

.signature-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.signature-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Signature Options Styles */
.signature-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.radio-label input[type="radio"] {
    margin: 0;
}

.signature-methods {
    margin-top: 1rem;
}

.signature-method {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background: var(--card-bg);
    margin-bottom: 1rem;
}

/* Selfie/Video Styles */
.camera-preview {
    position: relative;
    margin-bottom: 1rem;
}

#selfieVideo {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #000;
    margin-bottom: 0.5rem;
}

#selfieCanvas {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    display: block;
    margin-bottom: 1rem;
}

.selfie-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.selfie-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Upload Styles */
.upload-container {
    margin-top: 0.5rem;
}

.upload-container input[type="file"] {
    margin-bottom: 1rem;
}

.upload-container .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Photograph Upload Styles */
.photograph-container {
    margin-top: 0.5rem;
}

.photograph-container input[type="file"] {
    margin-bottom: 1rem;
}

.photograph-container .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

#photographPreview {
    margin-top: 1rem;
    text-align: center;
}

#photographImage {
    max-width: 300px;
    max-height: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Final Submit Button Styles */
.final-submit-section {
    margin-top: 2rem;
    text-align: center;
    display: none;
}

.final-submit-section .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Completion Message Styles */
.completion-message {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.completion-message h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.completion-message p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* KYC Form Styles */
.kyc-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.upload-group {
    margin-bottom: 2rem;
}

.upload-group h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.upload-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
}

.upload-item .btn {
    width: 100%;
    justify-content: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
}

.upload-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.file-preview {
    margin-top: 1rem;
    text-align: center;
}

.file-preview img {
    max-width: 200px;
    max-height: 150px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.success-message {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

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

/* Home Page Styles */
.info-section {
    margin: 3rem 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 3rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

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

.info-content ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.apply-steps {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    flex: 1;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.step-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content ul li {
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-content ul li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section {
    margin: 3rem 0;
}

.cta-card {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), #20c997);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .kyc-form {
        margin: 1rem;
        padding: 1rem;
    }
    
    .upload-item .btn {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .info-icon {
        margin: 0 auto 1rem;
    }
    
    .apply-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step {
        padding: 1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .signature-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .camera-preview {
        text-align: center;
    }
    
    #selfieVideo,
    #selfieCanvas {
        max-width: 100%;
        height: auto;
    }
}
