/* Base Styles */
:root {
    --primary-color: #5D5FEF;
    --primary-light: #7B7EFF;
    --primary-dark: #4547B8;
    --secondary-color: #42B883;
    --accent-color: #F87171;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
    
    /* Emotion colors */
    --emotion-happy: #4ADE80;
    --emotion-sad: #60A5FA;
    --emotion-angry: #F87171;
    --emotion-anxious: #FBBF24;
    --emotion-neutral: #9CA3AF;
    
    /* Risk assessment colors */
    --risk-low: #4ADE80;
    --risk-medium: #FBBF24;
    --risk-high: #EF4444;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

button, .btn {
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

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

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline:hover {
    background-color: var(--bg-tertiary);
}

.btn-icon {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    background-color: transparent;
    color: var(--text-secondary);
}

.btn-icon:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
}

.btn i {
    margin-right: 0.5rem;
}

/* Header Styles */
header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo h1 i {
    margin-right: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Main Content */
main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

/* Chat Interface */
.chat-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
    min-height: 500px;
}

.chat-sidebar {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.user-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-info p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.therapeutic-goals h3,
.emotional-tracker h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.therapeutic-goals h3 i,
.emotional-tracker h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.goals-list {
    list-style: none;
}

.goals-list li {
    margin-bottom: 1rem;
}

.goal-name {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--secondary-color);
}

.no-goals {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.emotion-chart {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#emotion-chart-placeholder {
    color: var(--text-light);
    padding: 1rem;
}

#emotion-chart-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#emotion-chart-placeholder p {
    font-size: 0.75rem;
}

.session-controls {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.session-controls button {
    flex: 1;
}

.chat-main {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.chat-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.chat-header h2 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
}

.message-bubble {
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.user-message .message-bubble {
    background-color: var(--primary-color);
    color: white;
    border-top-right-radius: var(--radius-sm);
}

.assistant-message .message-bubble {
    background-color: var(--bg-tertiary);
    border-top-left-radius: var(--radius-sm);
}

.message-info {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: right;
}

.assistant-message .message-info {
    text-align: left;
}

.message-time {
    margin-left: 0.5rem;
}

.chat-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.input-group {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.input-group textarea {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    resize: none;
    max-height: 120px;
    outline: none;
    transition: var(--transition);
}

.input-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.1);
}

.input-actions {
    display: flex;
    gap: 0.5rem;
}

.chat-disclaimer {
    padding: 0.5rem 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.75rem;
}

.chat-disclaimer i {
    margin-right: 0.25rem;
}

/* About Page Styles */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-tertiary);
}

.about-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.tech-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tech-content ul {
    margin-left: 1.5rem;
    margin-top: 0.75rem;
}

.tech-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.disclaimer-box {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1rem 0;
}

.disclaimer-box p {
    color: #B91C1C;
    margin-bottom: 0.75rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.cta-section h2 {
    border-bottom: none;
}

.cta-section .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    margin-top: 1.5rem;
}

/* Profile Page Styles */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.profile-avatar {
    font-size: 4rem;
    color: var(--primary-color);
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: var(--text-secondary);
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.profile-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.profile-card h3 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.stats-list {
    list-style: none;
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-list li:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.risk-low {
    color: var(--risk-low);
}

.risk-medium {
    color: var(--risk-medium);
}

.risk-high {
    color: var(--risk-high);
}

.profile-goals li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-goals .goal-name {
    flex: 1;
    margin-bottom: 0;
    margin-right: 0.5rem;
}

.profile-goals .progress-bar {
    flex: 2;
    margin-right: 0.5rem;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 35px;
    text-align: right;
}

.card-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.personality-insights {
    min-height: 300px;
}

.traits-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    padding: 0 1rem;
}

.trait-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
}

.trait-bar {
    width: 80%;
    background-color: var(--primary-color);
    border-radius: var(--radius-sm);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5px;
    transition: var(--transition);
}

.trait-bar:hover {
    opacity: 0.9;
}

.trait-value {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.trait-label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.emotion-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    position: relative;
}

.emotion-timeline:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.emotion-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.emotion-point:before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.emotion-happy:before {
    background-color: var(--emotion-happy);
}

.emotion-sad:before {
    background-color: var(--emotion-sad);
}

.emotion-angry:before {
    background-color: var(--emotion-angry);
}

.emotion-anxious:before {
    background-color: var(--emotion-anxious);
}

.emotion-neutral:before {
    background-color: var(--emotion-neutral);
}

.emotion-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.emotion-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.session-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.session-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.session-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.session-details {
    margin-bottom: 1rem;
}

.session-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.session-time i {
    margin-right: 0.5rem;
}

.session-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.topic-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.session-notes {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.session-actions {
    display: flex;
    justify-content: flex-end;
}

.no-data {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.875rem;
}

/* Footer Styles */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
}

.footer-disclaimer {
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .chat-container {
        grid-template-columns: 250px 1fr;
    }
    
    .tech-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tech-icon {
        margin-bottom: 1rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .chat-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .chat-sidebar {
        height: auto;
        margin-bottom: 1rem;
    }
    
    .chat-main {
        height: 70vh;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .chat-header h2 {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .message-content {
        max-width: 90%;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .tech-feature {
        padding: 1rem;
    }
    
    .tech-content h3 {
        font-size: 1.1rem;
    }
    
    .trait-item {
        width: 30%;
    }
    
    .emotion-timeline {
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .emotion-point {
        min-width: 60px;
    }
}

/* Resources Page Styles */
.resources-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.resources-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.resources-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resources-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.resources-section {
    margin-bottom: 3rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.resources-section.emergency {
    border-left: 5px solid var(--accent-color);
}

.resources-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.resources-section h2 i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.resources-section.emergency h2 i {
    color: var(--accent-color);
}

.section-intro {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.resource-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.emergency .resource-card .resource-icon {
    color: var(--accent-color);
}

.resource-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-contact {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.emergency .resource-contact {
    color: var(--accent-color);
}

.resource-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.resource-link i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.resource-list {
    margin: 0.5rem 0 0 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.resource-list li {
    margin-bottom: 0.5rem;
}

.resource-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.resource-list a:hover {
    text-decoration: underline;
}

.resources-disclaimer {
    margin-top: 3rem;
}

@media (max-width: 767px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-header h1 {
        font-size: 2rem;
    }
    
    .resources-section {
        padding: 1.5rem;
    }
}

@media (max-width: 575px) {
    .resource-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .resource-icon {
        margin-bottom: 1rem;
    }
}

/* Legal Pages Styles */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.legal-content {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.legal-section ul, 
.legal-section ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .legal-header {
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.contact-form-container {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #D1FAE5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.alert-error {
    background-color: #FEE2E2;
    border: 1px solid #FECACA;
    color: #B91C1C;
}

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

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

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.1);
}

.form-actions {
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    text-align: center;
}

.contact-card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-card a {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.contact-card .btn {
    margin-top: 0.5rem;
}

@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 767px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-container,
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .form-actions {
        display: flex;
        justify-content: center;
    }
} 