@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   AIRBNB-INSPIRED DESIGN SYSTEM
   For GetYourLoan - Australian Loan Services
   ============================================ */

/* === Design Tokens === */

.home-page {
  /* Primary Brand - Rausch Red */
  --palette-bg-primary-core: #ff385c;
  --palette-bg-primary-dark: #e00b41;
  
  /* Premium Tiers */
  --palette-bg-primary-luxe: #460479;
  --palette-bg-primary-plus: #92174d;
  
  /* Text Scale */
  --palette-text-primary: #222222;
  --palette-text-focused: #3f3f3f;
  --palette-text-secondary: #6a6a6a;
  --palette-text-disabled: rgba(0, 0, 0, 0.24);
  
  /* Interactive */
  --palette-text-legal: #428bff;
  --palette-border-gray: #c1c1c1;
  --palette-surface-light: #f2f2f2;
  
  /* Surface */
  --palette-bg-white: #ffffff;
  
  /* Three-Layer Shadow System */
  --shadow-card: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px,
    rgba(0, 0, 0, 0.1) 0px 4px 8px;
  --shadow-hover: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  --shadow-elevated: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 4px 12px,
    rgba(0, 0, 0, 0.12) 0px 8px 24px;
  
  /* Border Radius Scale */
  --radius-subtle: 4px;
  --radius-standard: 8px;
  --radius-badge: 14px;
  --radius-card: 20px;
  --radius-large: 32px;
  --radius-circle: 50%;
  
  /* Spacing System */
  --space-2: 2px;
  --space-3: 3px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-11: 11px;
  --space-12: 12px;
  --space-15: 15px;
  --space-16: 16px;
  --space-22: 22px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  background: var(--palette-bg-white);
  color: var(--palette-text-primary);
  font-family: var(--font-family);
}

/* === Typography === */

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6 {
  font-family: var(--font-family);
  color: var(--palette-text-primary);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.home-page p {
  color: var(--palette-text-secondary);
  line-height: 1.6;
}

/* === Buttons === */

.home-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-standard);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.home-page .btn-primary {
  background: var(--palette-text-primary);
  color: var(--palette-bg-white);
}

.home-page .btn-primary:hover {
  background: var(--palette-bg-primary-core);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.home-page .btn-primary:active {
  transform: scale(0.98);
}

.home-page .btn-ghost {
  background: var(--palette-bg-white);
  color: var(--palette-text-primary);
  border: 1px solid var(--palette-border-gray);
}

.home-page .btn-ghost:hover {
  border-color: var(--palette-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.home-page .btn-accent {
  background: var(--palette-bg-primary-core);
  color: var(--palette-bg-white);
}

.home-page .btn-accent:hover {
  background: var(--palette-bg-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* === Section Styling === */

.home-section {
  position: relative;
  padding: var(--space-80) 0;
}

.section-heading {
  margin-bottom: var(--space-48);
  max-width: 640px;
}

.section-heading.text-center,
.text-center .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-badge);
  background: var(--palette-surface-light);
  color: var(--palette-text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}

.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-16);
}

.section-heading p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #fff5f5 100%);
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 56, 92, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero-gradient-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-64);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-badge);
  background: rgba(255, 56, 92, 0.08);
  color: var(--palette-bg-primary-core);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-16);
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  background: var(--palette-bg-primary-core);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-24);
  letter-spacing: -0.03em;
}

.hero-title-accent {
  color: var(--palette-bg-primary-core);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 56, 92, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--palette-text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-32);
}

.hero-actions {
  display: flex;
  gap: var(--space-12);
  margin-bottom: var(--space-48);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

.hero-stat {
  padding: var(--space-16);
  background: var(--palette-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--palette-text-primary);
  margin-bottom: var(--space-4);
}

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

/* Hero Card (Eligibility Checker) */

.hero-card {
  background: var(--palette-bg-white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-elevated);
  padding: var(--space-32);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--palette-bg-primary-core), #ff6b8a);
}

.hero-card-title {
  font-size: 1.375rem;
  margin-bottom: var(--space-8);
}

.hero-card-subtext {
  color: var(--palette-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-24);
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.hero-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--palette-text-primary);
  display: block;
  margin-bottom: var(--space-8);
}

.hero-form input,
.hero-form select {
  width: 100%;
  padding: var(--space-12) var(--space-16);
  border: 1px solid var(--palette-border-gray);
  border-radius: var(--radius-standard);
  font-size: 0.9375rem;
  background: var(--palette-bg-white);
  transition: all var(--transition-fast);
}

.hero-form input:focus,
.hero-form select:focus {
  outline: none;
  border-color: var(--palette-bg-primary-core);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

.hero-form .btn {
  margin-top: var(--space-8);
  width: 100%;
  padding: var(--space-16) var(--space-24);
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--palette-surface-light);
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  font-size: 0.8125rem;
  color: var(--palette-text-secondary);
}

.hero-checklist-icon {
  width: 18px;
  height: 18px;
  background: rgba(255, 56, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-checklist-icon svg {
  width: 10px;
  height: 10px;
  color: var(--palette-bg-primary-core);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works-section {
  background: var(--palette-bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.step-card {
  background: var(--palette-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-32);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--palette-bg-primary-core), transparent);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--palette-bg-primary-core), #ff6b8a);
  color: var(--palette-bg-white);
  border-radius: var(--radius-circle);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-20);
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-12);
}

.step-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
  background: var(--palette-surface-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
}

.benefit-card {
  background: var(--palette-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-24);
  transition: all var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 56, 92, 0.08);
  border-radius: var(--radius-standard);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-16);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--palette-bg-primary-core);
}

.benefit-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-8);
}

.benefit-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   SERVICES / LOAN OPTIONS SECTION
   ============================================ */

.loan-options-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  color: var(--palette-bg-white);
}

.loan-options-section .section-kicker {
  background: rgba(255, 56, 92, 0.2);
  color: #ff8a9e;
}

.loan-options-section .section-heading h2 {
  color: var(--palette-bg-white);
}

.loan-options-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 56, 92, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 56, 92, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-badge {
  display: inline-flex;
  padding: var(--space-6) var(--space-12);
  background: rgba(255, 56, 92, 0.15);
  border-radius: var(--radius-badge);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ff8a9e;
  margin-bottom: var(--space-16);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--palette-bg-white);
  margin-bottom: var(--space-12);
}

.service-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: var(--space-20);
}

.service-link {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--palette-bg-white);
  transition: all var(--transition-base);
}

.service-link:hover {
  background: var(--palette-bg-primary-core);
  border-color: var(--palette-bg-primary-core);
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */

.calculator-section {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.calculator-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  background: var(--palette-bg-white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.calculator-controls {
  padding: var(--space-32);
}

.calculator-controls .section-heading {
  margin-bottom: var(--space-32);
}

.range-group {
  margin-bottom: var(--space-24);
}

.range-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
  font-weight: 600;
  font-size: 0.9375rem;
}

.range-group label span {
  color: var(--palette-bg-primary-core);
  font-weight: 700;
}

.range-group input[type='range'] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--palette-surface-light);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.range-group input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--palette-bg-primary-core);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.range-group input[type='range']::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calculator-summary {
  padding: var(--space-32);
  background: linear-gradient(135deg, var(--palette-text-primary) 0%, #3f3f3f 100%);
  color: var(--palette-bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-8);
}

.calculator-summary h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--palette-bg-white);
  margin-bottom: var(--space-24);
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.summary-metric {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-standard);
  padding: var(--space-16);
}

.summary-metric p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}

.summary-metric strong {
  font-size: 1.125rem;
  color: var(--palette-bg-white);
}

.calculator-summary .btn {
  background: var(--palette-bg-primary-core);
}

.calculator-summary .btn:hover {
  background: var(--palette-bg-primary-dark);
}

.summary-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-12);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonial-section {
  background: var(--palette-bg-white);
}

.testimonial-shell {
  max-width: 800px;
}

.testimonial-card {
  background: var(--palette-bg-white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-elevated);
  padding: var(--space-48);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(255, 56, 92, 0.08);
  line-height: 1;
}

.testimonial-quote {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: var(--palette-text-primary);
  max-width: 600px;
  margin: 0 auto var(--space-32);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-bottom: var(--space-24);
}

.testimonial-author h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

.testimonial-author p {
  font-size: 0.875rem;
  color: var(--palette-text-secondary);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.testimonial-controls .btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-circle);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
  border: none;
  background: var(--palette-border-gray);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.dot.active {
  background: var(--palette-bg-primary-core);
  transform: scale(1.25);
}

.dot:hover {
  background: var(--palette-bg-primary-core);
}

/* ============================================
   CTA BANNER SECTION
   ============================================ */

.cta-section {
  padding-bottom: var(--space-96);
}

.cta-shell {
  background: linear-gradient(135deg, var(--palette-bg-primary-core) 0%, #ff6b8a 50%, #ff8a9e 100%);
  border-radius: var(--radius-large);
  padding: var(--space-48);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-32);
  box-shadow: var(--shadow-elevated);
  color: var(--palette-bg-white);
  position: relative;
  overflow: hidden;
}

.cta-shell::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
  border-radius: 50%;
}

.cta-main {
  position: relative;
  z-index: 1;
}

.cta-main .section-kicker {
  background: rgba(255, 255, 255, 0.2);
  color: var(--palette-bg-white);
}

.cta-main h2 {
  color: var(--palette-bg-white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-16);
}

.cta-main p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-24);
}

.cta-actions {
  display: flex;
  gap: var(--space-12);
}

.cta-main .btn-primary {
  background: var(--palette-bg-white);
  color: var(--palette-bg-primary-core);
}

.cta-main .btn-primary:hover {
  background: var(--palette-text-primary);
  color: var(--palette-bg-white);
}

.cta-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--palette-bg-white);
}

.cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  position: relative;
  z-index: 1;
}

.cta-panel h3 {
  color: var(--palette-bg-white);
  font-size: 1rem;
  margin-bottom: var(--space-16);
}

.cta-panel ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.cta-panel li {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-panel li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--palette-bg-white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1080px) {
  .hero-grid,
  .calculator-shell,
  .cta-shell {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .home-section,
  .hero-section {
    padding: var(--space-48) 0;
  }
  
  .home-page .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
  
  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  
  .hero-stats,
  .summary-metrics,
  .benefits-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-card,
  .calculator-controls,
  .calculator-summary,
  .testimonial-card,
  .cta-shell,
  .cta-panel {
    border-radius: var(--radius-card);
    padding: var(--space-24);
  }
  
  .calculator-shell {
    border-radius: var(--radius-card);
  }
  
  .testimonial-quote {
    font-size: 1rem;
  }
}
/* ============================================
   GLOBAL SITE STYLES
   Airbnb-Inspired Design System
   ============================================ */

:root {
  /* Primary Brand - Rausch Red */
  --palette-bg-primary-core: #ff385c;
  --palette-bg-primary-dark: #e00b41;
  
  /* Text Scale */
  --palette-text-primary: #222222;
  --palette-text-focused: #3f3f3f;
  --palette-text-secondary: #6a6a6a;
  --palette-text-disabled: rgba(0, 0, 0, 0.24);
  
  /* Interactive */
  --palette-border-gray: #c1c1c1;
  --palette-surface-light: #f2f2f2;
  
  /* Surface */
  --palette-bg-white: #ffffff;
  
  /* Three-Layer Shadow System */
  --shadow-card: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px,
    rgba(0, 0, 0, 0.1) 0px 4px 8px;
  --shadow-hover: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  --shadow-elevated: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 4px 12px,
    rgba(0, 0, 0, 0.12) 0px 8px 24px;
  --shadow-dropdown: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.08) 0px 8px 24px,
    rgba(0, 0, 0, 0.16) 0px 16px 40px;
  
  /* Border Radius Scale */
  --radius-standard: 8px;
  --radius-badge: 14px;
  --radius-card: 20px;
  --radius-large: 32px;
  --radius-circle: 50%;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Layout === */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  padding-top: 80px;
  flex: 1;
}

/* === Section Styling === */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  background: var(--palette-surface-light);
  color: var(--palette-text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-heading {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-heading.text-center,
.text-center .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--palette-text-primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-heading p {
  color: var(--palette-text-secondary);
  line-height: 1.6;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Logo */
.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.logo-wordmark:hover {
  transform: scale(1.02);
}

.logo-wordmark .brand-main {
  color: var(--palette-bg-primary-core);
}

.logo-wordmark .brand-sub {
  color: var(--palette-text-primary);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-standard);
  color: var(--palette-text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link.active,
.nav-link:hover,
.dropdown-trigger:hover {
  color: var(--palette-bg-primary-core);
  background: rgba(255, 56, 92, 0.08);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: 300px;
  border: none;
  border-radius: var(--radius-card);
  background: var(--palette-bg-white);
  box-shadow: var(--shadow-dropdown);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition: all var(--transition-base);
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-standard);
  color: var(--palette-text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(255, 56, 92, 0.08);
  color: var(--palette-bg-primary-core);
}

/* Header CTA */
.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  border: 1px solid var(--palette-border-gray);
  background: var(--palette-bg-white);
  color: var(--palette-text-primary);
  border-radius: var(--radius-standard);
  min-width: 44px;
  min-height: 44px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 10;
}

.mobile-toggle:hover {
  border-color: var(--palette-text-primary);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  background: var(--palette-bg-white);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-group + .mobile-menu-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu-group h4 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--palette-text-secondary);
  margin-bottom: 12px;
  font-weight: 700;
}

.mobile-link {
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: var(--palette-text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-standard);
  transition: color var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--palette-bg-primary-core);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 56, 92, 0.3), transparent);
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 48px;
}

.footer-brand .logo-wordmark {
  margin-bottom: 16px;
}

.footer-brand .logo-wordmark .brand-main {
  color: var(--palette-bg-primary-core);
}

.footer-brand .logo-wordmark .brand-sub {
  color: #fff;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer-title {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--palette-bg-primary-core);
  margin-right: 0;
  transition: all var(--transition-fast);
}

.footer-links a:hover::before {
  width: 8px;
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  text-align: center;
}

/* ============================================
   INNER PAGE STYLES
   ============================================ */
.inner-page {
  padding: clamp(48px, 8vw, 80px) 0;
  background: var(--palette-bg-white);
}

.inner-page-hero {
  margin-bottom: 40px;
}

.surface-card {
  border: none;
  border-radius: var(--radius-card);
  background: var(--palette-bg-white);
  box-shadow: var(--shadow-elevated);
  padding: clamp(24px, 4vw, 40px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-card {
  border: none;
  border-radius: var(--radius-card);
  background: var(--palette-bg-white);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.metric-card .metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--palette-bg-primary-core);
  margin-bottom: 8px;
}

.metric-card .metric-label {
  color: var(--palette-text-secondary);
  font-size: 0.9375rem;
}

.feature-card-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card);
  background-color: var(--palette-bg-white);
  padding: 24px;
  transition: all var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(255, 56, 92, 0.2);
  box-shadow: var(--shadow-card);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
  color: var(--palette-text-primary);
}

.feature-card p {
  color: var(--palette-text-secondary);
  line-height: 1.6;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.contact-panel ul {
  margin-top: 16px;
}

.contact-panel li {
  color: var(--palette-text-secondary);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.contact-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--palette-bg-primary-core);
  border-radius: 50%;
}

/* Form Styles */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: var(--palette-text-primary);
  font-size: 0.9375rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--palette-border-gray);
  border-radius: var(--radius-standard);
  padding: 12px 16px;
  background-color: var(--palette-bg-white);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--palette-bg-primary-core);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--palette-text-secondary);
}

/* Apply Page */
.apply-shell {
  max-width: 680px;
  margin: 0 auto;
}

.apply-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}

.progress-segment {
  height: 4px;
  border-radius: 2px;
  background-color: var(--palette-surface-light);
  transition: background var(--transition-smooth);
}

.progress-segment.active {
  background: linear-gradient(90deg, var(--palette-bg-primary-core), #ff6b8a);
}

.step-title {
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--palette-text-primary);
}

.split-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--palette-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.checkbox-row input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--palette-bg-primary-core);
}

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}

/* Loan Page Styles */
.loan-hero {
  margin-bottom: 32px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.feature-pill {
  border: 1px solid rgba(255, 56, 92, 0.2);
  border-radius: var(--radius-badge);
  padding: 8px 16px;
  color: var(--palette-bg-primary-core);
  background: rgba(255, 56, 92, 0.05);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  background: rgba(255, 56, 92, 0.1);
  border-color: var(--palette-bg-primary-core);
}

.loan-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.loan-meta {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card);
  background-color: var(--palette-bg-white);
  padding: 20px;
  transition: all var(--transition-smooth);
}

.loan-meta:hover {
  border-color: rgba(255, 56, 92, 0.2);
}

.loan-meta h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--palette-text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.loan-meta p {
  color: var(--palette-text-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

/* Legal Pages */
.legal-layout {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section + .legal-section {
  margin-top: 32px;
}

.legal-section h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: var(--palette-text-primary);
}

.legal-section p {
  color: var(--palette-text-secondary);
  line-height: 1.8;
}

/* Keyword & Guide Pages */
.keyword-hero {
  margin-bottom: 32px;
}

.keyword-empty-text {
  margin-top: 16px;
  color: var(--palette-text-secondary);
}

.page-list {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}

.page-list li {
  color: var(--palette-text-secondary);
  line-height: 1.8;
}

.keyword-faq-item + .keyword-faq-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.keyword-faq-item h4 {
  margin-bottom: 8px;
  color: var(--palette-text-primary);
}

.keyword-link-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.keyword-category-card + .keyword-category-card {
  margin-top: 48px;
}

.keyword-category-card h2 {
  margin-bottom: 24px;
}

.guide-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-card);
  background-color: var(--palette-bg-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-smooth);
}

.guide-item:hover {
  border-color: rgba(255, 56, 92, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.guide-item h3 {
  font-size: 1.0625rem;
  color: var(--palette-text-primary);
}

.guide-item p {
  color: var(--palette-text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.guide-item .btn {
  align-self: flex-start;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .nav-shell {
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .logo-wordmark {
    font-size: 1.25rem;
    flex: 1;
    max-width: calc(100% - 56px);
  }

  .main-content {
    padding-top: 80px;
  }
  
  .contact-layout,
  .feature-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header .nav-shell {
    gap: 8px;
  }

  .logo-wordmark {
    font-size: 1.1rem;
    max-width: calc(100% - 52px);
  }

  .mobile-toggle {
    min-width: 40px;
    min-height: 40px;
    font-size: 1.1rem;
  }

  .metric-grid,
  .footer-grid,
  .split-fields,
  .loan-meta-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .step-actions .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 32px;
  }

  .apply-progress {
    gap: 6px;
  }
  
  .surface-card {
    padding: 20px;
  }
}


/* ============================================
   GLOBAL DESIGN SYSTEM
   Airbnb-Inspired Theme for GetYourLoan
   ============================================ */

:root {
  /* Primary Brand - Rausch Red */
  --palette-bg-primary-core: #ff385c;
  --palette-bg-primary-dark: #e00b41;
  
  /* Premium Tiers */
  --palette-bg-primary-luxe: #460479;
  --palette-bg-primary-plus: #92174d;
  
  /* Text Scale */
  --palette-text-primary: #222222;
  --palette-text-focused: #3f3f3f;
  --palette-text-secondary: #6a6a6a;
  --palette-text-disabled: rgba(0, 0, 0, 0.24);
  
  /* Interactive */
  --palette-text-legal: #428bff;
  --palette-border-gray: #c1c1c1;
  --palette-surface-light: #f2f2f2;
  
  /* Surface */
  --palette-bg-white: #ffffff;
  
  /* Three-Layer Shadow System */
  --shadow-card: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.04) 0px 2px 6px,
    rgba(0, 0, 0, 0.1) 0px 4px 8px;
  --shadow-hover: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  --shadow-elevated: 
    rgba(0, 0, 0, 0.02) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.06) 0px 4px 12px,
    rgba(0, 0, 0, 0.12) 0px 8px 24px;
  
  /* Border Radius Scale */
  --radius-subtle: 4px;
  --radius-standard: 8px;
  --radius-badge: 14px;
  --radius-card: 20px;
  --radius-large: 32px;
  --radius-circle: 50%;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Legacy compatibility tokens */
  --clr-primary: #ff385c;
  --clr-primary-dark: #e00b41;
  --clr-primary-light: #ff6b8a;
  --clr-primary-soft: rgba(255, 56, 92, 0.08);
  
  --clr-dark: #222222;
  --clr-dark-light: #3f3f3f;
  
  --clr-light: #fafafa;
  --clr-white: #ffffff;
  
  --clr-text: #222222;
  --clr-text-light: #6a6a6a;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(255, 56, 92, 0.2);
}

/* === Base Resets === */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--palette-text-primary);
  background-color: var(--palette-bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--palette-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
}

/* === Layout === */

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex-grow: 1;
}

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

/* === Buttons === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-standard);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--palette-bg-primary-core);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-secondary {
  background: var(--palette-bg-primary-core);
  color: var(--palette-bg-white);
}

.btn-secondary:hover {
  background: var(--palette-bg-primary-dark);
  transform: translateY(-2px);
}

.btn-outline,
.btn-ghost {
  background: var(--palette-bg-white);
  color: var(--palette-text-primary);
  border: 1px solid var(--palette-border-gray);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--palette-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-accent {
  background: var(--palette-bg-primary-core);
  color: var(--palette-bg-white);
}

.btn-accent:hover {
  background: var(--palette-bg-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* === Utility Classes === */

.section-padding {
  padding: 5rem 0;
}

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

.mb-1 { margin-bottom: 0.5rem; }

.mb-2 { margin-bottom: 1rem; }

.mb-3 { margin-bottom: 1.5rem; }

.mb-4 { margin-bottom: 2rem; }

.mb-5 { margin-bottom: 3rem; }

/* === Glassmorphism utility === */

.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === Selection === */

::selection {
  background: rgba(255, 56, 92, 0.15);
  color: var(--palette-text-primary);
}

/* === Scrollbar === */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--palette-surface-light);
}

::-webkit-scrollbar-thumb {
  background: var(--palette-border-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--palette-text-secondary);
}

/* === Focus states === */

:focus-visible {
  outline: 2px solid var(--palette-bg-primary-core);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--palette-bg-primary-core);
  outline-offset: 2px;
}
