@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA9NC42NzgyIDI5MSA9Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ===== COMMON LAYOUT STYLES ===== */
.content-block {
    width: 100%;
    min-height: 300px;
    display: flex;
}

.block-normal {
    background-color: #F7EBDE;
    align-items: center;
}

.block-light {
    background-color: #FFFFFF;
    align-items: center;
}

.container-padding {
    padding-top: 3rem;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 3rem;
}

.block-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: black;
}

.block-text {
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    font-size: 1.1rem;
}

.block-image {
    width: 100%;
    height: auto;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

.align-items-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    min-height: 100vh;
    width: 100%;
}

.cards-container {
    margin-top: 2rem;
}

@media (max-width: 960px) {
    .cards-container {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .container-padding {
        padding-top: 1rem;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 1rem;
    }
}

/* ===== TOP NAVIGATION BAR ===== */
.top-nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background-color: #F7EBDE;
    border-bottom: 1px solid var(--mud-palette-divider);
    padding-right: 1.3rem;
}

.logo-section {
    display: flex;
    align-items: start;
}

.app-logo {
    height: 50px;
    width: auto;
}

.buttons-section {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.text-normal {
    text-transform: none !important;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2C2C2C;
    color: #FFFFFF;
    padding-top: 3rem;
    padding-bottom: 2rem;
    width: 100%;
}

.footer-container {
    padding-left: 5rem;
    padding-right: 5rem;
}

.footer-brand {
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-section-title {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: #F7EBDE;
    text-decoration: none;
}

.footer-divider {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ===== INTRODUCTION SECTION ===== */
.highlight-text {
    color: var(--mud-palette-primary);
}

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

.cta-intro-text {
    color: rgba(0,0,0,0.8);
    font-weight: 500;
}

.cta-secondary-text {
    color: rgba(0,0,0,0.6);
    font-size: 0.95rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .mobile-padding {
        padding-top: 5rem;
    }

    .mobile-text-center {
        text-align: center;
    }
}

/* ===== FEATURE CARD ===== */
.feature-card {
    background-color: #F7EBDE;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-header {
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.card-description {
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    flex-grow: 1;
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-carousel {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.testimonial-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    height: 100%;
    background-color: #FFFFFF;
}

.author-image {
    width: 140px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--mud-palette-primary);
    flex-shrink: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.testimonial-quote {
    text-align: left;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--mud-palette-primary);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(0,0,0,0.8);
    font-style: italic;
}

.testimonial-author {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: black;
    margin-bottom: 0.25rem;
}

.author-title {
    color: rgba(0,0,0,0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .testimonial-carousel {
        height: 550px;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .author-image {
        width: 120px;
        height: 150px;
    }

    .testimonial-quote {
        text-align: center;
    }

    .testimonial-author {
        text-align: center;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .quote-icon {
        font-size: 2rem;
    }
}

/* ===== TIME SAVINGS CALCULATOR ===== */
.calculator-container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-paper {
    padding: 2rem;
    border-radius: 12px;
    background: #F7EBDE;
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.slider-value {
    color: #307175;
    font-weight: 700;
    text-align: center;
}

.custom-slider {
    margin-top: 0.5rem;
}

.results-container {
    margin-top: 1.5rem;
}

.result-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #333;
}

.results-grid {
    margin-top: 1rem;
}

.result-card {
    text-align: center;
    padding: 1rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease;
}

.result-card:hover {
    transform: scale(1.02);
}

.highlight-card {
    background: #307175;
    color: white;
}

.result-value {
    font-weight: 700;
    color: #333;
}

.highlight-value {
    color: white;
}

.result-label {
    margin-top: 0.5rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .calculator-paper {
        padding: 1.5rem;
    }

    .result-card {
        padding: 0.75rem;
        min-height: 100px;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .slider-value {
        font-size: 1.3rem;
    }
}

/* ===== PRICING SECTION ===== */
.pricing-container {
    margin-top: 2rem;
}

.pricing-card {
    height: 100%;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.coming-soon-card {
    opacity: 0.85;
}

.pricing-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.plan-name {
    font-weight: 600;
    color: #307175;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 1rem;
}

.price-container {
    text-align: center;
    padding: 1.5rem 0;
}

.price-value {
    font-weight: 700;
    color: #307175;
    margin-bottom: 0.25rem;
}

.coming-soon-price {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
}

.price-period {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0 2rem 0;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    color: #4CAF50;
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.disabled-icon {
    color: rgba(0, 0, 0, 0.3);
}

.plan-button {
    margin-top: auto;
    padding: 0.75rem;
    font-weight: 600;
    text-transform: none;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pricing-card-content {
        padding: 1.5rem;
    }

    .price-value {
        font-size: 1.8rem;
    }
}

/* ===== LAKAN DEMONSTRATION ===== */
.block-split {
    background: linear-gradient(to bottom, 
        #FFFFFF 0%, 
        #FFFFFF 8rem, 
        #F7EBDE 8rem, 
        #F7EBDE 100%);
    align-items: flex-start;
    min-height: 500px;
    padding-bottom: 5rem;
}

.split-container-padding {
    padding-top: 0;
    padding-left: 5rem;
    padding-right: 5rem;
    width: 100%;
}

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

.primary-card {
    background-color: #307175;
    color: white;
    max-width: 1200px;
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.card-content-large {
    padding: 2rem;
    height: 100%;
}

.stack-full-height {
    height: 100%;
    width: 100%;
    align-items: stretch;
}

.inner-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 700px;
}

.inner-card-thiner {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #F7EBDE;
    max-width: 500px;
}

.card-header-custom {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    background-color: #F7EBDE;
    flex-shrink: 0;
}

.header-tabs {
    width: 100%;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tab-item {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.tab-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.tab-item.active {
    border-bottom-color: #307175;
}

.tab-item.active .tab-text {
    color: #307175;
    font-weight: 600;
}

.tab-text {
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    transition: all 0.3s ease;
}

.inner-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    min-height: 0;
    max-height: 350px;
}

.chat-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notes-scroll-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rounded-image {
    border-radius: 25px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-center-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.chat-message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
}

.chat-message.show {
    opacity: 1;
    transform: translateY(0);
}

.therapist-message {
    background-color: white;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.patient-message {
    background-color: #307175;
    align-self: flex-end;
}

.patient-message .message-text {
    color: white;
}

.therapist-message .message-text {
    color: rgba(0, 0, 0, 0.8);
}

.message-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.transcription-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    align-self: center;
    margin-top: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
}

.transcription-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.transcription-text {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    margin: 0;
    font-size: 0.75rem;
}

.notes-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}

.notes-container.show {
    opacity: 1;
    transform: translateY(0);
}

.notes-field {
    width: 100%;
    max-height: 100%;
}

.notes-field ::deep textarea {
    max-height: 100% !important;
    overflow-y: hidden !important;
}

.notes-field ::deep .mud-input-root {
    height: 100%;
    max-height: 100%;
}

.notes-field ::deep .mud-input-control {
    height: 100%;
}

.typing-indicator {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.typing-indicator.show {
    opacity: 1;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #307175;
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.primary-color-text {
    color: #307175;
    font-weight: 606;
}

@media (max-width: 768px) {
    .split-container-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .block-split {
        background: linear-gradient(to bottom, 
            #FFFFFF 0%, 
            #FFFFFF 1rem, 
            #F7EBDE 1rem, 
            #F7EBDE 100%);
        min-height: 900px;
    }

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

    .primary-card {
        max-width: 100%;
        min-height: 800px;
    }

    .card-content-large {
        padding: 1rem;
    }

    .stack-full-height {
        flex-direction: column !important;
        gap: 1rem;
    }

    .inner-card {
        order: 1;
        min-height: 250px;
        max-width: 100%;
    }

    .inner-card-thiner {
        order: 2;
        max-width: 100%;
        min-height: 350px;
    }

    .tab-item {
        padding: 0.5rem 1rem;
    }

    .inner-card-content {
        max-height: 300px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .chat-message {
        max-width: 90%;
    }
}

/* ===== PRIVACY POLICY & TERMS OF USE ===== */
.privacy-container,
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: var(--mud-palette-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.back-button:hover {
    opacity: 0.8;
}

.back-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.privacy-card,
.terms-card {
    background-color: var(--mud-palette-surface);
    border: 2px white solid;
    border-radius: var(--mud-3xl-border-radius);
    padding: 2.5rem;
    box-shadow: 0px 3px 14px 2px #5E3F0414, 0px 8px 10px 1px #5E3F0414, 0px 5px 5px -3px #5E3F0414;
}

.privacy-card h1,
.terms-card h1 {
    color: var(--mud-palette-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: "Fraunces Variable", "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

.last-update {
    color: var(--mud-palette-text-secondary);
    margin-bottom: 2rem;
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background-color: color-mix(in srgb, var(--mud-palette-primary), transparent 90%);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: var(--mud-xs-border-radius);
}

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

.privacy-section h2,
.terms-section h2 {
    color: var(--mud-palette-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Fraunces Variable", "Fraunces", serif;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-weight: 600;
}

.privacy-section p,
.terms-section p {
    margin-bottom: 1rem;
    color: var(--mud-palette-text-primary);
}

.privacy-section ul,
.terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 0.5rem;
    color: var(--mud-palette-text-primary);
}

.privacy-section a,
.terms-section a {
    color: var(--mud-palette-primary);
    text-decoration: none;
    font-weight: 500;
}

.privacy-section a:hover,
.terms-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-container,
    .terms-container {
        padding: 1rem;
    }

    .privacy-card,
    .terms-card {
        padding: 1.5rem;
    }

    .privacy-card h1,
    .terms-card h1 {
        font-size: 1.5rem;
    }

    .privacy-section h2,
    .terms-section h2 {
        font-size: 1.25rem;
    }
}
