/*
Theme Name: RateSwitchDeals
Theme URI: https://rateswitchdeals.co.uk
Author: Find Adviser
Author URI: https://rateswitchdeals.co.uk
Description: Professional one-page theme for Find Adviser - mortgage rate switch comparison and expert guidance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rateswitchdeals
Tags: one-column, custom-logo, custom-colors, responsive-layout
*/

/* === CSS Variables === */
:root {
    --background: hsl(210, 40%, 98%);
    --foreground: hsl(214, 50%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(214, 50%, 15%);
    --primary: hsl(214, 60%, 28%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(214, 40%, 94%);
    --secondary-foreground: hsl(214, 60%, 28%);
    --muted: hsl(214, 20%, 92%);
    --muted-foreground: hsl(214, 20%, 45%);
    --accent: hsl(214, 80%, 50%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(214, 30%, 88%);
    --trust-bg: hsl(145, 60%, 94%);
    --trust-text: hsl(145, 60%, 30%);
    --radius: 0.75rem;
    --shadow-card: 0 10px 40px -10px hsla(214, 60%, 28%, 0.15);
    --shadow-btn: 0 10px 30px -10px hsla(214, 60%, 28%, 0.4);
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* === Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* === Container === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

/* === Header === */
.site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
}

.site-header .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-btn);
}

.site-header .logo-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-foreground);
}

.site-header .brand-text {
    display: flex;
    flex-direction: column;
}

.site-header .brand-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.025em;
}

.site-header .brand-tagline {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: -0.25rem;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(to bottom, var(--background), var(--secondary));
    padding: 3rem 0 4rem;
}

@media (min-width: 1024px) {
    .hero-section { padding: 4rem 0 5rem; }
}

.hero-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

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

@media (min-width: 1024px) {
    .hero-content { text-align: left; }
}

.hero-content h1 {
    font-size: 1.875rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .hero-content h1 { font-size: 3rem; }
}

.hero-content h2 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h2 { font-size: 1.5rem; }
}

.hero-content .hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* === Benefits List === */
.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.benefits-list .check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent);
    margin-top: 0.125rem;
}

/* === Expert Badge === */
.expert-badge {
    padding: 1rem;
    background-color: var(--trust-bg);
    border-radius: var(--radius);
    border: 1px solid hsla(145, 60%, 30%, 0.2);
    margin-top: 2rem;
}

.expert-badge p {
    font-size: 0.875rem;
    color: var(--trust-text);
}

/* === Contact Form Card === */
.contact-form-card {
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .contact-form-card {
        position: sticky;
        top: 2rem;
    }
}

.contact-form-card .card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.contact-form-card .card-header h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-form-card .card-header p {
    color: var(--muted-foreground);
}

.contact-form-card .card-content {
    padding: 0 1.5rem 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-group label svg {
    width: 16px;
    height: 16px;
}

.form-group input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    font-size: 1rem;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px hsla(214, 80%, 50%, 0.15);
}

.form-group input::placeholder {
    color: var(--muted-foreground);
}

.phone-input-wrapper {
    display: flex;
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    background-color: var(--muted);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.phone-input-wrapper input {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.btn-submit {
    width: 100%;
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-foreground);
    background-color: var(--primary);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    box-shadow: var(--shadow-btn);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-security {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.form-security svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--muted-foreground);
    margin-top: 0.125rem;
}

.form-security p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* === Testimonial === */
.testimonial {
    position: relative;
    padding: 1.5rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 2.5rem;
}

.testimonial .quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 32px;
    height: 32px;
    color: hsla(214, 60%, 28%, 0.2);
}

.testimonial .stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    padding-top: 1.5rem;
}

.testimonial .stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    color: var(--accent);
}

.testimonial blockquote {
    font-style: italic;
    color: var(--foreground);
    line-height: 1.75;
}

.testimonial .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.testimonial .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: hsla(214, 60%, 28%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .author-avatar span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.testimonial .author-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.testimonial .author-title {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* === Trust Badges === */
.trust-badges {
    padding: 3rem 0;
    background-color: var(--background);
}

.trust-badges-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .trust-badges-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow 0.3s ease;
}

.trust-badge:hover {
    box-shadow: var(--shadow-card);
}

.trust-badge .badge-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--trust-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge .badge-icon svg {
    width: 24px;
    height: 24px;
    color: var(--trust-text);
}

.trust-badge .badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.trust-badge .badge-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* === Content Section === */
.content-section {
    padding: 4rem 0;
    background-color: hsla(214, 40%, 94%, 0.3);
}

.content-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-header h2 {
    font-size: 1.875rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .content-header h2 { font-size: 2.25rem; }
}

.content-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.content-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.content-card p {
    color: var(--foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-subsection {
    margin-bottom: 3rem;
}

.content-subsection h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.content-subsection h3 svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.content-list {
    list-style: none;
    margin: 1rem 0;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.content-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent);
    margin-top: 0.125rem;
}

.numbered-list {
    list-style: decimal;
    list-style-position: inside;
    margin: 1rem 0;
}

.numbered-list li {
    margin-bottom: 0.75rem;
    color: var(--foreground);
    line-height: 1.6;
}

/* === Comparison Grid === */
.comparison-grid {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .comparison-grid { grid-template-columns: repeat(2, 1fr); }
}

.comparison-card {
    padding: 1.5rem;
    border-radius: var(--radius);
}

.comparison-card.positive {
    background-color: var(--trust-bg);
    border: 1px solid hsla(145, 60%, 30%, 0.2);
}

.comparison-card.neutral {
    background-color: var(--card);
    border: 1px solid var(--border);
}

.comparison-card h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

/* === Pros Cons Grid === */
.pros-cons-grid {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .pros-cons-grid { grid-template-columns: repeat(2, 1fr); }
}

.pros-card {
    padding: 1.5rem;
    background-color: var(--trust-bg);
    border-radius: var(--radius);
    border: 1px solid hsla(145, 60%, 30%, 0.2);
}

.cons-card {
    padding: 1.5rem;
    background-color: hsla(0, 84%, 60%, 0.1);
    border-radius: var(--radius);
    border: 1px solid hsla(0, 84%, 60%, 0.2);
}

.pros-cons-grid h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.pros-cons-grid ul {
    list-style: none;
}

.pros-cons-grid li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.pros-cons-grid li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0.25rem;
}

.pros-card li svg {
    color: var(--trust-text);
}

.cons-card li svg {
    color: var(--destructive);
}

/* === Rates Box === */
.rates-box {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.rates-box ul {
    list-style: none;
    margin-bottom: 1rem;
}

.rates-box li {
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.rates-note {
    padding: 1rem;
    background-color: hsla(214, 80%, 50%, 0.1);
    border-radius: var(--radius);
}

.rates-note p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--muted-foreground);
    margin: 0;
}

.rates-note svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 0.125rem;
}

/* === Content CTA === */
.content-cta {
    text-align: center;
    padding: 2rem;
    background-color: hsla(214, 60%, 28%, 0.05);
    border: 1px solid hsla(214, 60%, 28%, 0.2);
    border-radius: var(--radius);
    margin-top: 2rem;
}

.content-cta h3 {
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.content-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.content-cta .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: var(--primary-foreground);
    background-color: var(--primary);
    border-radius: var(--radius);
    transition: box-shadow 0.2s ease;
}

.content-cta .btn:hover {
    box-shadow: var(--shadow-btn);
}

/* === FAQ Section === */
.faq-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.faq-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: 1.875rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.faq-header p {
    color: var(--muted-foreground);
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.faq-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.faq-cta .btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: var(--accent-foreground);
    background-color: var(--accent);
    border-radius: var(--radius);
    transition: box-shadow 0.2s ease;
}

.faq-cta .btn:hover {
    box-shadow: var(--shadow-btn);
}

/* === Disclaimer Section === */
.disclaimer-section {
    padding: 3rem 0;
    background-color: hsla(214, 20%, 92%, 0.5);
}

.disclaimer-wrapper {
    max-width: 56rem;
    margin: 0 auto;
}

.disclaimer-card {
    background-color: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.disclaimer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.disclaimer-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-icon.warning {
    background-color: hsla(214, 80%, 50%, 0.1);
}

.disclaimer-icon.danger {
    background-color: hsla(0, 84%, 60%, 0.1);
}

.disclaimer-icon.info {
    background-color: var(--trust-bg);
}

.disclaimer-icon svg {
    width: 20px;
    height: 20px;
}

.disclaimer-icon.warning svg { color: var(--accent); }
.disclaimer-icon.danger svg { color: var(--destructive); }
.disclaimer-icon.info svg { color: var(--trust-text); }

.disclaimer-content h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.disclaimer-content p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.disclaimer-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* === Footer === */
.site-footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer-main {
    padding: 2.5rem 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: hsla(0, 0%, 100%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand .logo-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary-foreground);
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand .tagline {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto 2rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

@media (max-width: 480px) {
    .footer-services {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-services-column {
    display: flex;
    flex-direction: column;
}

.footer-services-title {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.footer-services-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-services-nav a {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
    transition: color 0.2s ease;
}

.footer-services-nav a:hover {
    color: var(--primary-foreground);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

@media (min-width: 768px) {
    .footer-nav {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.footer-nav a {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.8);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--primary-foreground);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: hsla(0, 0%, 100%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.footer-social a:hover {
    background-color: hsla(0, 0%, 100%, 0.2);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    color: var(--primary-foreground);
}

.footer-bottom {
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-bottom .legal {
    opacity: 0.6;
    max-width: 48rem;
    margin: 0 auto 0.75rem;
}

.footer-bottom .warning {
    font-weight: 500;
    opacity: 0.6;
}

.footer-bottom .copyright {
    opacity: 0.4;
}

/* === Toast Notification === */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

.toast {
    padding: 1rem 1.5rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    max-width: 400px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--trust-text);
}

.toast.error {
    border-color: var(--destructive);
}

.toast h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.toast p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* === Animations === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* === Screen Reader Only === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
