/* Page-specific styles */

/* Sophia and Project page styles */
.feature-list {
    list-style: none;
    padding-left: 0.25rem;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--neutral-medium);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.feature-section {
    background-color: var(--white);
    padding: 3rem 0;
    position: relative;
}

.feature-section h2 {
    color: var(--primary-dark);
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: inline-block;
}

.feature-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.feature-section h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.feature-category {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.demo-section {
    background-color: var(--light-bg);
    border-top: 1px solid var(--neutral-light);
    border-bottom: 1px solid var(--neutral-light);
}

.demo-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.demo-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.download-section .btn {
    margin-top: 1rem;
}

.download-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    border-top: 4px solid var(--primary-color);
}

.link-list {
    list-style: none;
    padding-left: 0;
}

.link-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.link-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.link-list li a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-list li a:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Contact page styles */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('./roman_landscape.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.contact-header .container {
    position: relative;
    z-index: 1;
}

.contact-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.contact-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.contact-form {
    background-color: var(--off-white);
    padding: 3rem 0;
}

.contact-info-card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    height: 100%;
    overflow: hidden;
    border-top: 5px solid var(--secondary-color);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--white);
    font-size: 1rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.required-field::after {
    content: " *";
    color: var(--danger);
}

.form-text {
    font-size: 0.875rem;
    color: var(--neutral-medium);
}

/* Login page styles */
.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('./roman_landscape.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.login-header .container {
    position: relative;
    z-index: 1;
}

.login-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.login-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.login-form-section {
    padding: 3rem 0;
    background-color: var(--off-white);
}

.social-login {
    margin-bottom: 1.5rem;
}

.social-login-btn {
    padding: 0.6rem 1.2rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-google {
    background-color: #ffffff;
    color: #757575;
    border: 1px solid #dadce0;
}

.btn-google:hover {
    background-color: #f8f9fa;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-github {
    background-color: #24292e;
    color: #ffffff;
    border: 1px solid #24292e;
}

.btn-github:hover {
    background-color: #2f363d;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-apple {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-apple:hover {
    background-color: #1a1a1a;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--neutral-light);
}

.or-divider span {
    padding: 0 1rem;
    color: var(--neutral-medium);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Register page styles */
.register-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.register-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('./roman_landscape.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.register-header .container {
    position: relative;
    z-index: 1;
}

.register-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.register-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.signup-options {
    padding: 3rem 0;
    background-color: var(--off-white);
}

.signup-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.signup-button i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.btn-email {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.btn-email:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 4px 12px rgba(11, 79, 108, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.form-section {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

/* Project page styles */
.project-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('./roman_landscape.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.project-header .container {
    position: relative;
    z-index: 1;
}

.project-header h1 {
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.project-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.project-section {
    padding: 3rem 0;
}

.feature-list {
    list-style: none;
    padding-left: 0.25rem;
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--neutral-medium);
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.feature-category {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.demo-section {
    background-color: var(--light-bg);
    border-top: 1px solid var(--neutral-light);
    border-bottom: 1px solid var(--neutral-light);
    padding: 3rem 0;
}

.demo-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--primary-dark);
}

.demo-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Subscription forms */
.subscription-form {
    max-width: 600px;
    margin: 0 auto;
}

.subscription-card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.subscription-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem;
}

.subscription-header h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.verification-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.verification-card {
    text-align: center;
    padding: 3rem 2rem;
}

/* Members area styles */
.member-sidebar {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.member-sidebar-header {
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
}

.member-sidebar-title {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.member-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-sidebar-item {
    border-bottom: 1px solid var(--light-bg);
}

.member-sidebar-item:last-child {
    border-bottom: none;
}

.member-sidebar-link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--neutral-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.member-sidebar-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.member-sidebar-link.active {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
}

.member-sidebar-link i {
    margin-right: var(--space-sm);
    color: var(--primary-light);
}

.member-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
}

.member-profile-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: var(--space-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h2 {
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.member-info-meta {
    color: var(--neutral-medium);
    font-size: 0.9rem;
}

.member-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.member-stat-item {
    flex: 1;
    background-color: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    text-align: center;
    min-width: 120px;
}

.member-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.member-stat-label {
    font-size: 0.9rem;
    color: var(--neutral-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-downloads-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.member-download-item {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--light-bg);
    transition: background-color 0.2s ease;
}

.member-download-item:hover {
    background-color: var(--light-bg);
}

.member-download-item:last-child {
    border-bottom: none;
}

.member-download-icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-md);
}

.member-download-info {
    flex: 1;
}

.member-download-title {
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.member-download-meta {
    display: flex;
    font-size: 0.8rem;
    color: var(--neutral-medium);
}

.member-download-meta-item {
    display: flex;
    align-items: center;
    margin-right: var(--space-md);
}

.member-download-meta-item i {
    margin-right: var(--space-xs);
}

.member-download-actions {
    display: flex;
    align-items: center;
}

.member-download-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    margin-left: var(--space-xs);
    transition: all 0.2s ease;
}

.member-download-action:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Plugin styles */
.plugin-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-light);
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.plugin-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plugin-title {
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-dark);
}

.plugin-version {
    font-size: 0.8rem;
    color: var(--neutral-medium);
    background-color: var(--light-bg);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
}

.plugin-body {
    padding: var(--space-lg);
}

.plugin-description {
    color: var(--neutral-medium);
    margin-bottom: var(--space-md);
}

.plugin-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.plugin-meta-item {
    display: flex;
    align-items: center;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--neutral-medium);
}

.plugin-meta-item i {
    margin-right: var(--space-xs);
    color: var(--primary-light);
}

.plugin-footer {
    padding: var(--space-md) var(--space-lg);
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plugin-author {
    display: flex;
    align-items: center;
}

.plugin-author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-right: var(--space-sm);
    overflow: hidden;
}

.plugin-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plugin-author-name {
    font-size: 0.9rem;
    color: var(--neutral-medium);
}

/* Forgot password */
.forgot-password-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 0;
}

.password-strength-meter {
    height: 6px;
    background-color: var(--light-bg);
    border-radius: 3px;
    margin-top: var(--space-xs);
    overflow: hidden;
}

.password-strength-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-weak {
    background-color: var(--danger);
    width: 25%;
}

.password-strength-medium {
    background-color: var(--warning);
    width: 50%;
}

.password-strength-strong {
    background-color: var(--info);
    width: 75%;
}

.password-strength-very-strong {
    background-color: var(--success);
    width: 100%;
}

.password-strength-text {
    font-size: 0.8rem;
    margin-top: var(--space-xs);
}

.password-strength-weak-text {
    color: var(--danger);
}

.password-strength-medium-text {
    color: var(--warning);
}

.password-strength-strong-text {
    color: var(--info);
}

.password-strength-very-strong-text {
    color: var(--success);
}

/* Error pages */
.error-page {
    text-align: center;
    padding: 5rem 0;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-lg);
}

.error-description {
    font-size: 1.5rem;
    color: var(--neutral-medium);
    margin-bottom: var(--space-xl);
}

.error-actions {
    margin-top: var(--space-xl);
}