/*
Theme Name: Switch Mortgage Rate
Theme URI: https://switchmortgagerate.co.uk
Author: SMR
Author URI: https://switchmortgagerate.co.uk
Description: A professional mortgage rate switching lead generation theme with dynamic location-based content. Includes Formspree integration for lead capture. Optimized for SEO targeting keywords: switch mortgage rate, mortgage product transfer, remortgage rate switch UK, free mortgage switch calculator, switch mortgage deal.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: switchmortgagerate
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options

Switch Mortgage Rate Theme - Professional mortgage lead generation
*/

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - HSL values */
  --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%);
  
  --border: hsl(214, 30%, 88%);
  --input: hsl(214, 30%, 88%);
  --ring: hsl(214, 60%, 28%);
  
  --trust-badge-bg: hsl(145, 60%, 94%);
  --trust-badge-text: hsl(145, 60%, 30%);
  
  --radius: 0.75rem;
  
  /* Typography */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -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: inherit;
  text-decoration: none;
}

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

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

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

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  background: linear-gradient(to bottom, var(--background), hsl(214, 50%, 94%, 0.3));
  padding: 3rem 0 3rem;
}

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

/* ===== BRAND/LOGO ===== */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  animation: fadeIn 0.6s ease-out;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-foreground);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

/* ===== HERO GRID ===== */
.hero-grid {
  display: grid;
  gap: 3rem;
}

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

/* ===== HERO CONTENT ===== */
.hero-content {
  text-align: center;
}

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

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  animation: fadeIn 0.6s ease-out;
}

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

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

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  animation: fadeIn 0.6s ease-out 0.1s both;
}

.hero-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  animation: fadeIn 0.6s ease-out 0.15s both;
}

/* ===== BENEFITS LIST ===== */
.benefits-list {
  margin-top: 2rem;
  list-style: none;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  animation: slideUp 0.5s ease-out both;
}

.benefit-item:nth-child(1) { animation-delay: 0.2s; }
.benefit-item:nth-child(2) { animation-delay: 0.3s; }
.benefit-item:nth-child(3) { animation-delay: 0.4s; }

.benefit-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-top: 0.125rem;
}

.benefit-text {
  color: var(--foreground);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  position: relative;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: hsl(214, 40%, 94%, 0.5);
  border: 1px solid var(--border);
  animation: slideUp 0.5s ease-out 0.5s both;
}

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

.testimonial-content {
  padding-top: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  fill: #f59e0b;
  color: #f59e0b;
}

.testimonial-text {
  margin-top: 0.75rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.7;
}

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

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

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

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

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

/* Desktop testimonial */
.testimonial-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .testimonial-desktop {
    display: block;
  }
  .testimonial-mobile {
    display: none;
  }
}

/* ===== FORM CARD ===== */
.form-card {
  background-color: var(--card);
  border-radius: 1rem;
  box-shadow: 0 10px 40px -10px hsl(214, 60%, 28%, 0.15);
  padding: 1.5rem;
  border: 1px solid var(--border);
  animation: slideUp 0.5s ease-out 0.3s both;
}

@media (min-width: 768px) {
  .form-card {
    padding: 2rem;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-subtitle {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== FORM ELEMENTS ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

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

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(214, 60%, 28%, 0.1);
}

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

/* Phone input group */
.phone-input-group {
  display: flex;
}

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

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

/* Submit button */
.submit-btn {
  width: 100%;
  height: 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.1s;
}

.submit-btn:hover {
  background-color: hsl(214, 60%, 24%);
  box-shadow: 0 10px 30px -10px hsl(214, 60%, 28%, 0.4);
}

.submit-btn:active {
  transform: scale(0.98);
}

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

.submit-btn .spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Privacy notice */
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.privacy-notice svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

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

/* ===== TRUST BADGES SECTION ===== */
.trust-section {
  padding: 3rem 0;
  background-color: var(--background);
}

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

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

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  animation: slideUp 0.5s ease-out both;
}

.trust-badge:nth-child(1) { animation-delay: 0.4s; }
.trust-badge:nth-child(2) { animation-delay: 0.5s; }
.trust-badge:nth-child(3) { animation-delay: 0.6s; }
.trust-badge:nth-child(4) { animation-delay: 0.7s; }
.trust-badge:nth-child(5) { animation-delay: 0.8s; }
.trust-badge:nth-child(6) { animation-delay: 0.9s; }

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

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

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

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 3rem 0;
  background-color: hsl(214, 40%, 94%, 0.3);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

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

.testimonial-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  animation: slideUp 0.5s ease-out both;
}

.testimonial-card:nth-child(1) { animation-delay: 0.8s; }
.testimonial-card:nth-child(2) { animation-delay: 0.95s; }
.testimonial-card:nth-child(3) { animation-delay: 1.1s; }

/* ===== SEO CONTENT SECTION ===== */
.seo-content-section {
  padding: 4rem 0;
  background-color: var(--background);
}

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

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

.seo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .seo-title {
    font-size: 1.875rem;
  }
}

.seo-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.seo-article {
  margin-bottom: 2.5rem;
}

.seo-article-highlight {
  padding: 1.5rem;
  background-color: hsl(214, 40%, 94%, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.seo-article-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.seo-article-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(214, 60%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-article-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.seo-article-icon-accent {
  background-color: hsl(214, 80%, 50%, 0.1);
}

.seo-article-icon-accent svg {
  color: var(--accent);
}

.seo-article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  padding-top: 0.5rem;
}

.seo-article-content {
  padding-left: 3.5rem;
}

.seo-article-content p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.seo-article-content strong {
  color: var(--foreground);
}

.seo-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
  color: var(--muted-foreground);
}

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

.seo-list strong {
  color: var(--foreground);
}

.seo-numbered-list {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 1rem 0;
  color: var(--muted-foreground);
}

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

.seo-note {
  font-size: 0.875rem;
  font-style: italic;
}

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

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

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

.comparison-card h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

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

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.comparison-list li::before {
  content: "✓";
  color: var(--trust-badge-text);
  font-weight: bold;
}

/* Pros and Cons */
.pros-cons-grid {
  display: grid;
  gap: 1.5rem;
}

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

.pros-card {
  padding: 1.25rem;
  background-color: hsl(145, 60%, 94%, 0.3);
  border-radius: var(--radius);
  border: 1px solid hsl(145, 60%, 30%, 0.2);
}

.pros-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.pros-card h4::before {
  content: "✓";
  color: var(--trust-badge-text);
}

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

.cons-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.cons-card h4::before {
  content: "⚠";
  color: hsl(0, 84%, 60%);
}

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

.pros-card li,
.cons-card li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

/* Expert Review */
.expert-review {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: hsl(214, 40%, 94%, 0.3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 2rem;
}

.expert-review-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: hsl(214, 60%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expert-review-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.expert-review-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.expert-review-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Benefit icon wrapper */
.benefit-icon-wrapper {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: hsl(214, 80%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon-wrapper svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 4rem 0;
  background-color: hsl(214, 40%, 94%, 0.3);
}

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

.faq-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .faq-title {
    font-size: 1.875rem;
  }
}

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

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

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

.faq-item[open] {
  box-shadow: 0 4px 12px hsl(214, 60%, 28%, 0.1);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-section {
  padding: 3rem 0;
  background-color: var(--muted);
}

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

.disclaimer-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px hsl(0, 0%, 0%, 0.05);
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(45, 93%, 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(45, 93%, 40%);
}

.disclaimer-content {
  flex: 1;
}

.disclaimer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

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

.disclaimer-content strong {
  color: var(--foreground);
}

.disclaimer-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: hsl(214, 40%, 94%, 0.5);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.disclaimer-info svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.125rem;
}

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

.disclaimer-info strong {
  color: var(--foreground);
}

.disclaimer-regulatory {
  margin-top: 1.5rem;
  text-align: center;
}

.disclaimer-regulatory p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.disclaimer-regulatory a {
  color: var(--primary);
  text-decoration: none;
}

.disclaimer-regulatory a:hover {
  text-decoration: underline;
}

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

.footer-content {
  padding: 2rem 0;
}

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

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

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

.footer-brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: hsl(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
}

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

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

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

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

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

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: hsl(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: hsl(0, 0%, 100%, 0.2);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
}

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

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(0, 0%, 100%, 0.6);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px -10px hsl(0, 0%, 0%, 0.2);
  max-width: 400px;
  animation: slideIn 0.3s ease-out;
}

.toast.success {
  border-left: 4px solid hsl(145, 60%, 40%);
}

.toast.error {
  border-left: 4px solid hsl(0, 84%, 60%);
}

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

.toast-message {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== UTILITIES ===== */
.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;
}
