/* ==========================================
   OBRACORE - Additional Pages Styles
   ========================================== */

/* Page Header */
.page-header {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-accent-light) 0%, var(--bg-light) 100%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mission-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.mission-icon i {
    width: 40px;
    height: 40px;
}

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

.mission-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Story Section */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.story-text strong {
    color: var(--text-main);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.team-social a:hover {
    color: var(--primary);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.value-card i {
    color: var(--primary);
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    background: var(--gradient-main);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

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

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-outline {
    background: transparent;
    border-color: white;
    color: white;
}

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

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrapper {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.contact-form h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info-wrapper {
    padding: 2rem 0;
}

.contact-info-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-accent-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--text-muted);
}

.contact-info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-info-content a:hover {
    text-decoration: underline;
}

/* ==========================================
   SECURITY PAGE STYLES
   ========================================== */

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.security-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.security-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-accent-light), white);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.security-icon i {
    width: 32px;
    height: 32px;
}

.security-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.security-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.compliance-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.compliance-badge-icon {
    width: 90px;
    height: 90px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.compliance-badge:hover .compliance-badge-icon {
    border-color: var(--primary);
    transform: scale(1.05);
}

.compliance-badge span {
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================
   ROADMAP PAGE STYLES
   ========================================== */

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-main);
    transform: translateX(-50%);
    border-radius: 2px;
}

.roadmap-item {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.roadmap-date {
    flex: 1;
    text-align: right;
    padding-top: 1.5rem;
}

.roadmap-item:nth-child(even) .roadmap-date {
    text-align: left;
}

.roadmap-date span {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.875rem;
}

.roadmap-content {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.roadmap-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.roadmap-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.roadmap-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

.roadmap-status.completed {
    background: #dcfce7;
    color: #166534;
}

.roadmap-status.in-progress {
    background: #fef3c7;
    color: #92400e;
}

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

/* Features List in Roadmap */
.roadmap-features {
    list-style: none;
    margin-top: 1rem;
}

.roadmap-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.roadmap-features li i {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

/* ==========================================
   CHANGELOG PAGE STYLES
   ========================================== */

.changelog-container {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-entry {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
}

.changelog-entry:hover {
    border-color: var(--primary);
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

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

.changelog-date {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.changelog-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gradient-main);
    color: white;
}

.changelog-body h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-body h3 i {
    width: 18px;
    height: 18px;
}

.changelog-body h3.new {
    color: #16a34a;
}

.changelog-body h3.improved {
    color: #2563eb;
}

.changelog-body h3.fixed {
    color: #dc2626;
}

.changelog-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.changelog-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.changelog-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-timeline::before {
        left: 20px;
    }

    .roadmap-item {
        flex-direction: column !important;
        gap: 1rem;
        padding-left: 50px;
    }

    .roadmap-item::before {
        left: 20px;
    }

    .roadmap-date {
        text-align: left !important;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

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

    .mission-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .compliance-badges {
        gap: 1.5rem;
    }
}

/* ==========================================
   LEGAL PAGES STYLES
   ========================================== */

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

/* Card Wrapper for better focus */
.legal-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    margin-bottom: 2rem;
}

/* Typography Enhancements */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-soft);
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-section h3 i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Alert Boxes */
.legal-alert {
    background: #fff7ed;
    /* Orange 50 */
    border: 1px solid #fed7aa;
    /* Orange 200 */
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.legal-alert h4 {
    color: #9a3412;
    /* Orange 800 */
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-alert p {
    color: #9a3412;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.legal-alert p:last-child {
    margin-bottom: 0;
}

/* Clean Tables for Data */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.legal-table th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--text-main);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .legal-section h3 {
        font-size: 1.25rem;
    }
}