@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CSS VARIABLES (exact from React project)
   ======================================== */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;

  --card: 0 0% 98%;
  --card-foreground: 0 0% 10%;

  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 10%;

  --primary: 24 95% 53%;
  --primary-foreground: 0 0% 100%;

  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 10%;

  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;

  --accent: 24 95% 53%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;

  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 24 95% 53%;

  --radius: 0.5rem;

  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 0 0% 10%;
  --sidebar-primary: 24 95% 53%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-accent: 0 0% 96%;
  --sidebar-accent-foreground: 0 0% 10%;
  --sidebar-border: 0 0% 90%;
  --sidebar-ring: 24 95% 53%;

  /* Custom design tokens */
  --intro-gradient: linear-gradient(135deg, hsl(0 0% 100%) 0%, hsl(0 0% 98%) 100%);
  --text-cream: 0 0% 10%;
  --text-muted-light: 0 0% 45%;
  --accent-glow: 0 0 60px hsl(24 95% 53% / 0.2);
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.bg-background {
  background-color: hsl(var(--background));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
}

.bg-muted {
  background-color: hsl(var(--muted));
}

.border-border {
  border-color: hsl(var(--border));
}

.text-gradient {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(24, 95%, 60%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.glow-accent {
  box-shadow: var(--accent-glow);
}

.section-padding {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

.section-divider {
  background-color: hsl(var(--border));
  margin: 0;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.headline-giant {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

@media (min-width: 640px) {
  .headline-giant {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .headline-giant {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .headline-giant {
    font-size: 6rem;
  }
}

@media (min-width: 1280px) {
  .headline-giant {
    font-size: 8rem;
  }
}

.headline-large {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (min-width: 640px) {
  .headline-large {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .headline-large {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .headline-large {
    font-size: 4.5rem;
  }
}

.headline-medium {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .headline-medium {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .headline-medium {
    font-size: 2.25rem;
  }
}

.body-large {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .body-large {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .body-large {
    font-size: 1.5rem;
  }
}

/* ========================================
   NAVBAR
   ======================================== */

.bg-background\/80 {
  background-color: hsla(var(--background), 0.8);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ========================================
   INTRO SECTION
   ======================================== */

.min-h-\[60vh\] {
  min-height: 60vh;
}

.leading-\[0\.95\] {
  line-height: 0.95;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.font-black {
  font-weight: 900;
}

.max-w-6xl {
  max-width: 72rem;
}

/* ========================================
   CAROUSEL
   ======================================== */

#carousel-content {
  display: flex;
  transition: transform 0.5s ease;
}

#carousel-content > div {
  min-width: 100%;
  flex-shrink: 0;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.self-start {
  align-self: flex-start;
}

.flex-col {
  flex-direction: column;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-16 {
  gap: 4rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-relaxed {
  line-height: 1.75;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-2xl {
  border-radius: 1rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:bg-foreground:hover {
  background-color: hsl(var(--foreground));
}

.hover\:text-background:hover {
  color: hsl(var(--background));
}

.hover\:text-primary:hover {
  color: hsl(var(--primary));
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.object-cover {
  object-fit: cover;
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:text-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:text-5xl {
    font-size: 3rem;
  }
  
  .md\:text-xl {
    font-size: 1.25rem;
  }
  
  .md\:basis-full {
    flex-basis: 100%;
  }
}

@media (min-width: 1024px) {
  .lg\:text-7xl {
    font-size: 4.5rem;
  }
  
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  
  .lg\:gap-16 {
    gap: 4rem;
  }
}

@media (min-width: 1280px) {
  .xl\:text-8xl {
    font-size: 6rem;
  }
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Carousel */
#brands-carousel {
  position: relative;
}

#carousel-content {
  display: flex !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  margin-left: -1rem;
}

#carousel-content > div {
  min-width: 100% !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  padding-left: 1rem;
  box-sizing: border-box;
}

/* Carousel buttons */
#carousel-prev,
#carousel-next {
  cursor: pointer;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  transition: all 0.2s ease;
}

#carousel-prev:hover,
#carousel-next:hover {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

#carousel-prev:disabled,
#carousel-next:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

#carousel-prev {
  left: -3rem;
}

#carousel-next {
  right: -3rem;
}

@media (max-width: 1024px) {
  #carousel-prev,
  #carousel-next {
    display: none;
  }
}

/* ========================================
   POPUP FORM STYLES (from tmp-ronja)
   ======================================== */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 99;
  background: rgba(19, 20, 83, 0.4);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.popup.visible {
  visibility: visible;
  opacity: 1;
}

.popup.visible .inner {
  transform: scale(1);
}

.popup .wrapper-align {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .inner {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 32px 80px;
  position: relative;
  width: 100%;
  max-width: 700px;
  transition: 0.5s;
  transform: scale(0.25);
  max-height: 95vh;
}

.popup .close {
  position: absolute;
  height: 32px;
  width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 20px;
  right: 20px;
  background: #F5F6F8;
  border-radius: 100%;
  transition: 0.25s;
  cursor: pointer;
}

.popup .close:hover {
  background: #d3d5d8;
}

.popup .title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: hsl(var(--foreground));
}

/* Contact Us popup: stable error area so layout doesn't break when error shows */
#contact-popup .contact-form-error-box {
  min-height: 2.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  box-sizing: border-box;
}
#contact-popup .contact-form-error-box:not(.is-visible) {
  visibility: hidden;
}
#contact-popup .contact-form-error-box.is-visible {
  visibility: visible;
}
#contact-popup .contact-form-error {
  color: #dc2626;
  font-size: 0.875rem;
  line-height: 1.4;
  word-wrap: break-word;
  width: 100%;
}
#contact-popup .inner {
  overflow-y: auto;
}

.popup .steps-widget {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 250px;
  margin: auto;
  margin-top: 32px;
}

.popup .steps-widget .sep {
  height: 1px;
  background: #DEE1E7;
  flex-grow: 1;
  margin: 16px 0;
}

.popup .steps-widget .step {
  text-align: center;
}

.popup .steps-widget .step .mark {
  width: 32px;
  height: 32px;
  border: 2px solid #DEE1E7;
  border-radius: 100%;
  margin: auto;
  position: relative;
}

.popup .steps-widget .step.active .mark {
  border: 6px solid #2D32FF;
}

.popup .steps-widget .step.active .text {
  color: hsl(var(--foreground));
}

.popup .steps-widget .step.completed .mark {
  background: #2D32FF;
}

.popup .steps-widget .step.completed .mark:after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  height: 15px;
  width: 15px;
  transform: translateX(-50%) translateY(-50%);
  background: url("/wp-content/themes/fearless/images/icons/check-mark.svg") no-repeat;
  background-size: contain;
}

.popup .steps-widget .step .text {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  margin-top: 4px;
}

.popup form {
  margin-top: 32px;
}

.popup .thank-you {
  display: none;
}

.popup .thank-you .title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #11aa1d;
  display: block;
}

.popup .thank-you .content {
  text-align: center;
  margin-top: 25px;
}

.popup form .step {
  display: none;
}

.popup form .step.active {
  display: block;
}

.popup form .step .step-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: hsl(var(--foreground));
  margin-bottom: 25px;
}

.popup form .step .step-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 12px;
  justify-content: center;
  width: 100%;
}

.popup form .step .form-group {
  width: calc(50% - 6px);
  text-align: center;
}

.popup form .step .form-group.full-width {
  width: 100%;
}

.popup form .step .form-group label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: hsl(var(--foreground));
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

.popup form .step .form-group input,
.popup form .step .form-group select,
.popup form .step .form-group textarea {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: hsl(var(--foreground));
  padding: 10px 16px;
  border: 1px solid #DEE1E7;
  border-radius: 200px;
  width: 100%;
  outline: none;
  box-sizing: border-box;
}

.popup form .step .form-group textarea {
  height: 100px;
  border-radius: 12px;
}

.popup form .step .buttons {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  gap: 12px;
}

.popup form .step .buttons .button {
  padding: 10px 32px;
  background: #2D32FF;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  outline: none;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  flex-grow: 0;
  position: relative;
}

.popup form .step .buttons .button:hover {
  background: #2325bb;
}

.popup form .step .buttons .button.loading {
  opacity: 0.5;
  pointer-events: none;
}

.popup form .step .buttons .button.loading:after {
  content: "";
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation-loading 1s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

@keyframes rotation-loading {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.iti {
  width: 100%;
}

.iti .iti__arrow {
  display: none;
}

.iti .iti__selected-country {
  border-right: 1px solid #DEE1E7;
}

.iti .iti__selected-dial-code {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  margin-left: 0;
  margin-right: 8px;
}

.iti .iti__country-list {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  font-size: 14px;
  color: hsl(var(--foreground));
}

@media only screen and (max-width: 950px) {
  .popup .inner {
    padding: 15px 15px;
    border-radius: 16px;
  }
  
  .popup .title {
    font-size: 22px;
  }
  
  .popup .close {
    top: 7px;
    right: 7px;
  }
  
  .popup .steps-widget {
    margin-top: 25px;
  }
  
  .popup .steps-widget .sep {
    margin: 13px 0;
  }
  
  .popup .steps-widget .step .mark {
    width: 26px;
    height: 26px;
  }
  
  .popup .steps-widget .step .text {
    font-size: 12px;
  }
  
  .popup form .step .step-inner {
    gap: 12px;
  }
  
  .popup form .step .step-title {
    font-size: 18px;
    text-align: center;
  }
  
  .popup form .step .form-group {
    width: 100%;
  }
  
  .popup form .step .form-group label {
    font-size: 13px;
    padding-left: 14px;
    margin-bottom: 5px;
  }
  
  .popup form .step .form-group input,
  .popup form .step .form-group select,
  .popup form .step .form-group textarea {
    font-size: 15px;
  }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in-on-scroll {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.fade-in-on-scroll.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in-on-scroll-large {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}

.fade-in-on-scroll-large.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in-on-scroll-medium {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}

.fade-in-on-scroll-medium.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Hide page content initially - for Privacy Policy and Terms pages */
#page-title,
#page-content {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.8s ease, transform 0.8s ease !important;
}

#page-content {
  transform: translateY(30px) !important;
}

/* Hide main page content initially - for homepage */
#intro-logo,
#intro-headline,
#intro-text-1,
#intro-text-2,
#intro-text-3,
#statement-eyebrow,
#statement-headline,
#brands-header,
#brands-carousel {
  opacity: 0 !important;
}

#intro-logo {
  transform: translateX(-40px) !important;
}

#intro-headline,
#intro-text-1,
#intro-text-2,
#intro-text-3 {
  transform: translateY(40px) !important;
}

#statement-eyebrow,
#statement-headline {
  transform: translateY(30px) !important;
}

#brands-header,
#brands-carousel {
  transform: translateY(30px) !important;
}

/* Mobile header button - vertical text on very narrow screens */
@media (max-width: 360px) {
    .scroll-to-contact.writing-vertical-rl {
        writing-mode: vertical-rl;
        text-orientation: upright;
        padding: 0.5rem 0.75rem;
        min-height: 80px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    
    .scroll-to-contact.writing-vertical-rl span {
        display: inline-block;
        line-height: 1.3;
        letter-spacing: 0.1em;
    }
}

/* Carousel Indicators */
.carousel-indicator {
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-indicator:hover {
  opacity: 1;
  transform: scale(1.3);
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-indicator.active {
  opacity: 1;
  transform: scale(1.5);
  background-color: hsl(24, 95%, 53%) !important;
  border-color: hsl(24, 95%, 53%) !important;
  box-shadow: 0 0 12px rgba(209, 27, 27, 0.8), 0 4px 12px rgba(0, 0, 0, 0.3);
  width: 0.875rem !important;
  height: 0.875rem !important;
}

/* Intro Section - reduce padding on mobile to remove large gap */
@media (max-width: 768px) {
  #intro-logo {
    margin-bottom: 1rem !important;
  }
  
  #intro-headline {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  
  #intro-logo img {
    height: 3.5rem !important;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  #intro-headline {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }
}

/* Footer mobile layout - pyramid structure below 770px */
@media (max-width: 769px) {
  footer .md\:hidden {
    display: flex !important;
  }
  
  footer .hidden.md\:grid {
    display: none !important;
  }
}

/* Footer desktop layout - 3 columns above 770px */
@media (min-width: 770px) {
  footer .md\:hidden {
    display: none !important;
  }
  
  footer .hidden.md\:grid {
    display: grid !important;
  }
}

/* Carousel touch/swipe support */
#carousel-content {
  margin-left: -1rem;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

#carousel-content > div {
  padding-left: 1rem;
}

/* Desktop carousel navigation buttons - visible only on screens > 1200px */
@media (min-width: 1200px) {
  .carousel-nav-btn-desktop {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .carousel-nav-btn-mobile {
    display: none !important;
  }
}

/* Mobile/Tablet carousel buttons - visible only on screens < 1200px */
@media (max-width: 1199px) {
  .carousel-nav-btn-desktop {
    display: none !important;
  }
  
  .carousel-nav-btn-mobile {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-width: 2px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    position: absolute !important;
    z-index: 20 !important;
  }
  
  .carousel-nav-btn-mobile:active {
    transform: translateY(-50%) scale(0.9) !important;
  }
}
