/* Main Container */
.maintainer {
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}

/* Header Section */
.main-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.main-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background-image: linear-gradient(to right, #6C5CE7, rgba(108, 92, 231, 0.8), rgba(53, 199, 176, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-header p {
    font-size: 1.25rem;
    color: #555;
    max-width: 672px;
    margin: 0 auto;
}

/* Signup Card */
.signup-card {
    position: relative;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 0;
}

.gradient-overlay-1 {
    position: absolute;
    z-index: -10;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    border-radius: 1rem;
    background: radial-gradient(circle at center,
                var(--primary-color) 20%,
                transparent 10%);
    filter: blur(80px);
}

.gradient-overlay-2 {
    position: absolute;
    z-index: -10;
    bottom: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    border-radius: 1rem;
    background: radial-gradient(circle at center,
                var(--secondary-color) 20%,
                transparent 10%);
    filter: blur(80px);
}

.card-header {
    text-align: left;
    width: 100%;
    border-bottom: 1px solid rgba(108, 92, 231, 0.15);
    background: linear-gradient(
    to right in oklab,
    color-mix(in oklab, lab(57.2169% 53.4811 -92.1039) 20%, transparent) 0%,
    color-mix(in oklab, lab(67.4811% -67.0884 -6.55597) 10%, transparent) 100%
    );
    padding: 2rem 2rem 1.5rem 2rem;
}

.card-header h2 {
    font-size: 1.875rem; /* Larger title */
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 0.5rem 0;
    background-image: linear-gradient(to right, #6C5CE7, rgba(108, 92, 231, 0.8), rgba(53, 199, 176, 0.9));
}

.card-header p {
    color: #6b7280; /* Slightly darker grey */
    font-size: 1rem;
    margin: 0;
}

.card-content {
    padding: 1.5rem 2rem 2rem 2rem;
}

/* NDA Step Styles */
.nda-step {
    text-align: center;
    margin-bottom: 2rem; /* Increased spacing */
}

.progress-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem; /* Increased gap */
    margin-bottom: 1.5rem; /* Increased spacing */
}

.progress-dot {
    width: 0.875rem; /* Slightly larger */
    height: 0.875rem; /* Slightly larger */
    border-radius: 50%;
    background-color: #e0e0e0; /* muted */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.progress-dot.active {
    background-color: #6C5CE7; /* primary */
    transform: scale(1.2); /* Subtle highlight */
}

.nda-step h3 {
    font-size: 1.25rem; /* Larger title */
    font-weight: 600; /* Bolder */
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem; /* Slightly larger */
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.nda-list {
    list-style-type: none;
    padding: 1.5rem;
    margin: 0 auto; /* Center the list */
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    text-align: left;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.nda-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
}

.nda-list li + li {
    margin-top: 0.75rem;
}

.nda-list li::before {
    content: '✔';
    color: #35C7B0; /* Green checkmark */
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    font-weight: 700;
}

.view-nda-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: #6C5CE7;
    text-decoration: none;
    font-weight: 500;
}
.view-nda-link:hover {
    text-decoration: underline;
}

/* Inline Full NDA Card Styles */
.nda-full-card {
    width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 0.75rem;
    margin-top: 2rem; /* Increased spacing */
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.nda-full-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.nda-full-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.nda-full-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

.nda-full-content {
    padding: 1.75rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
}

.nda-full-content > * + * {
    margin-top: 1.25rem;
}

.nda-full-content h5 {
    font-weight: 600;
    margin: 0 0 0.6rem 0;
    color: #1a1a1a;
}

/* Notification Box */
.notification {
    background-color: #f0f3f8;
    border: 1px solid #d6e0f0;
    border-radius: 0.625rem; /* Slightly larger radius */
    padding: 1.25rem 1.5rem; /* More padding */
    margin-bottom: 2rem; /* Increased spacing */
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-image: linear-gradient(to right, rgba(108, 92, 231, 0.05), transparent);
}

.notification::before {
    content: '✨'; /* Icon */
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.notification p {
    margin: 0;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

.notification strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem; /* Increased gap */
}

.form-title {
    font-size: 1.5rem; /* Prominent title */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem; /* Spacing below title */
    text-align: center;
}

.form-grid {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* Slightly more gap */
    flex: 1;
}

.form-group label {
    font-weight: 600; /* Bolder label */
    font-size: 0.9375rem;
    color: #374151;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem; /* More padding */
    border: 1px solid #d1d5db;
    border-radius: 0.5rem; /* Slightly larger radius */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    outline: none;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem; /* Increased gap */
    padding: 1.25rem; /* More padding */
    border: 1px solid #d1d5db;
    border-radius: 0.625rem;
    background-color: #f9fafb;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.125rem; /* Slightly larger checkbox */
    height: 1.125rem;
    accent-color: #6C5CE7; /* Purple accent */
}

.checkbox-label-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.checkbox-label-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
}

.text-link {
    color: #6C5CE7;
    text-decoration: none;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 500;
}
.text-link:hover {
    text-decoration: underline;
}

.form-actions, .form-actions-stepped {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem; /* Increased spacing */
}

.button-primary {
    background-color: #6C5CE7;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem; /* More padding */
    border-radius: 0.5rem; /* Slightly larger radius */
    font-weight: 600; /* Bolder text */
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease;
    white-space: nowrap;
}

.button-primary:hover {
    background-color: #5b4cdb;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.button-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.4);
}

.button-secondary {
    background-color: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease;
    white-space: nowrap;
}

.button-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.button-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}


/* Features Section */
.features-grid {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
}

.feature-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out;
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.feature-card p {
    color: #555;
    font-size: 0.875rem;
    margin: 0;
}

/* Footer Banner */
.footer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.footer-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    margin: 0;
    font-size: 0.875rem;
}
.footer-text p:first-child {
    font-weight: 500;
}
.footer-text p:last-child {
    font-size: 0.75rem;
    color: #555;
}

.footer-actions {
    display: flex;
    gap: 0.75rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #888;
    text-decoration: none;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.modal-header h2 {
    margin: 0;
}
.modal-header p {
    margin: 0.25rem 0 0;
    color: #555;
    font-size: 0.875rem;
}

.modal-body h3, .modal-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body p, .modal-body li {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #333;
}

.prose ul {
    list-style-position: inside;
    padding-left: 0;
}

.hidden {
    display: none;
}

.mt-4 {
  display: flex;
  justify-content: space-between;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-grid {
        flex-direction: column;
    }
    .features-grid {
        flex-direction: column;
    }
    .footer-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
