:root {
  /* Calma Color Tokens */
  --calma-ref-black: #000000;
  --calma-ref-white: #ffffff;
  --calma-ref-blue: #0071ff;
  --calma-ref-star: #fcb823;
  
  --calma-color-text-primary: var(--calma-ref-white);
  --calma-color-text-secondary: rgba(255, 255, 255, 0.64);
  --calma-color-text-muted: #7b7b7b;
  --calma-color-text-brand: var(--calma-ref-blue);
  
  --calma-color-bg-primary: #000000;
  --calma-color-bg-secondary: #121216;
  --calma-color-bg-tertiary: #1b1b22;
  --calma-color-bg-glass: rgba(255, 255, 255, 0.06);
  --calma-color-bg-inverse: var(--calma-ref-white);
  
  --calma-color-border-light: rgba(255, 255, 255, 0.08);
  --calma-color-border-default: rgba(255, 255, 255, 0.12);
  --calma-color-border-medium: rgba(255, 255, 255, 0.18);
  --calma-color-border-hover: rgba(255, 255, 255, 0.25);
  
  --calma-font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  
  /* Radii */
  --calma-radius-sm: 0.5rem;
  --calma-radius-md: 1rem;
  --calma-radius-lg: 1.5rem;
  --calma-radius-xl: 2rem;
  --calma-radius-full: 9999px;
  
  /* Transitions */
  --calma-transition-fast: 0.15s ease;
  --calma-transition-base: 0.3s ease;
  --calma-transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-subtle: rgba(0,0,0,0.2);
  --shadow-medium: rgba(0,0,0,0.4);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--calma-font-family);
  background-color: var(--calma-color-bg-primary);
  color: var(--calma-color-text-primary);
  line-height: 1.5;
  padding: 24px 16px 80px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Animation classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glowing backgrounds */
.bg-glow-purple {
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: #764fe2;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.25;
  z-index: -1;
  top: 100px;
  left: -200px;
}

.bg-glow-orange {
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: #fbc34d;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  z-index: -1;
  top: 250px;
  right: -200px;
}

.bg-glow-features {
  position: absolute;
  width: 600px;
  height: 600px;
  background-color: var(--calma-ref-blue);
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.15;
  z-index: -1;
  bottom: 800px;
  left: 20%;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 100px; /* Section gap */
  position: relative;
}

/* Glassmorphic Navbar */
.navbar {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background-color: rgba(18, 18, 22, 0.7);
  border-radius: var(--calma-radius-full);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 24px;
  z-index: 100;
  width: 100%;
  max-width: 1180px;
  border: 1px solid var(--calma-color-border-light);
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--calma-font-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--calma-color-text-primary);
  letter-spacing: -0.8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--calma-font-family);
  font-weight: 500;
  font-size: 14px;
  color: var(--calma-color-text-secondary);
  text-decoration: none;
  transition: color var(--calma-transition-fast);
}

.nav-links a:hover {
  color: var(--calma-color-text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Lang switcher */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--calma-color-border-light);
  border-radius: var(--calma-radius-full);
  padding: 8px 16px;
  font-family: var(--calma-font-family);
  font-weight: 500;
  font-size: 13px;
  color: var(--calma-color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--calma-transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background-color: var(--calma-color-bg-secondary);
  border: 1px solid var(--calma-color-border-default);
  border-radius: var(--calma-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  min-width: 140px;
  padding: 6px;
  z-index: 200;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  padding: 8px 12px;
  font-family: var(--calma-font-family);
  font-size: 13px;
  color: var(--calma-color-text-secondary);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--calma-transition-fast), color var(--calma-transition-fast);
}

.lang-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--calma-color-text-primary);
}

/* App Store download badge */
.app-store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 152px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #000;
  padding: 6px 14px;
  color: #fff;
  line-height: 1;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.app-store-badge:hover {
  opacity: 0.8;
}

.app-store-badge__eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.86;
}

.app-store-badge__label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 2px;
}

/* Hero Section */
.home-hero {
  padding-top: clamp(60px, 8vw, 100px);
  margin-bottom: clamp(3rem, 5vw, 6.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.home-hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4.5rem;
  max-width: 53.25rem;
  width: 100%;
}

/* Dishday Face mascot card */
.home-hero__app-icon {
  margin-bottom: 1.25rem;
}

.calma-face {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 120px;
  height: 120px;
}

.calma-face__card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 22%;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), inset 0 -1px rgba(255, 255, 255, 0.05);
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.calma-face__card--visible {
  opacity: 1;
  transform: scale(1);
}

.calma-face__svg {
  overflow: visible;
  position: relative;
  z-index: 2;
}

.calma-face__bg {
  opacity: 0;
  transform: scale(0.9);
  transform-origin: 512px 512px;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.calma-face__bg--visible {
  opacity: 1;
  transform: scale(1);
}

.calma-face__bean {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calma-face__bean--purple {
  transform: translate(-300px) rotate(-30deg);
}

.calma-face__bean--orange {
  transform: translate(300px) rotate(30deg);
}

.calma-face__bean--visible {
  opacity: 1;
  transform: translate(0) rotate(0);
}

.calma-face__eye {
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.calma-face__eye--visible {
  transform: scale(1);
}

.calma-face__smile {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.4s ease-out;
}

.calma-face__smile--visible {
  stroke-dashoffset: 0;
}

/* Hero Headline */
.home-hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.home-hero__headline h1 {
  font-family: var(--calma-font-family);
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--calma-color-text-primary);
}

.home-hero__reveal {
  display: block;
  overflow: hidden;
}

.home-hero__reveal > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.home-hero__reveal--visible > span {
  transform: translateY(0);
}

.home-hero__subtitle {
  color: var(--calma-color-text-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 610px;
}

.home-hero__fade {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.home-hero__fade--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.home-hero__buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  align-items: center;
}

/* Glassmorphic Phone Showcase Frame (Hero Bottom) */
.home-hero__bottom {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.75rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), inset 0 -1px rgba(255, 255, 255, 0.03), 0 15px 45px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
  max-width: 1180px;
  justify-content: center;
  padding-left: 7%;
  padding-right: 7%;
  overflow: hidden;
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.home-hero__image {
  height: 100%;
  transition: transform var(--calma-transition-slow);
}

.home-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero__image--bg {
  max-width: 20.5rem;
  transform: translateY(3.5rem);
  z-index: 5;
}

.home-hero__image--sm {
  max-width: 17.5rem;
  transform: translateY(6.875rem);
  opacity: 0.85;
}

/* Central smartphone (Active Quiz element inside hero frame) */
.phone-middle-container {
  max-width: 20.5rem;
  width: 100%;
  transform: translateY(3.5rem);
  z-index: 5;
}

.phone-mockup-wrapper {
  background: #000;
  border: 6px solid #1a1a1f;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  width: 100%;
  aspect-ratio: 9/18.5;
  display: flex;
  flex-direction: column;
}

/* In-Phone Screen styling */
.phone-mockup-screen {
  flex: 1;
  background: linear-gradient(135deg, #111116 0%, #1e0b1d 100%);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--calma-ref-white);
  text-align: left;
}

.phone-mockup-screen .phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.phone-mockup-screen .phone-brand-dot {
  width: 10px;
  height: 10px;
  background-color: var(--calma-ref-blue);
  border-radius: 50%;
}

.phone-mockup-screen .phone-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--calma-ref-white);
  letter-spacing: 0.05em;
}

.phone-mockup-screen .progress-bar-container {
  width: 100%;
  height: 3px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 12px;
}

.phone-mockup-screen .progress-bar {
  width: 25%;
  height: 100%;
  background-color: var(--calma-ref-blue);
  transition: width 0.3s ease;
}

.phone-mockup-screen .question-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--calma-ref-white);
}

.phone-mockup-screen .option-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--calma-radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: var(--calma-ref-white);
}

.phone-mockup-screen .option-card.selected {
  border-color: var(--calma-ref-blue);
  background-color: rgba(0, 113, 255, 0.12);
}

.phone-mockup-screen .option-radio {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  margin-left: auto;
}

.phone-mockup-screen .option-card.selected .option-radio {
  border-color: var(--calma-ref-blue);
  background-color: var(--calma-ref-blue);
}

.phone-mockup-screen .phone-footer {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.phone-mockup-screen .btn-phone-prev {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--calma-ref-white);
  cursor: pointer;
}

.phone-mockup-screen .btn-phone-next {
  flex: 2;
  background-color: var(--calma-ref-blue);
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--calma-ref-white);
  cursor: pointer;
}

.phone-mockup-screen .result-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-mockup-screen .result-recipe-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 10px;
}

.phone-mockup-screen .recipe-tag {
  background-color: var(--calma-ref-blue);
  border-radius: var(--calma-radius-full);
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
}

.phone-mockup-screen .recipe-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.phone-mockup-screen .recipe-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
  margin-bottom: 6px;
}

.phone-mockup-screen .recipe-time {
  font-size: 9px;
  font-weight: 700;
  color: var(--calma-ref-blue);
  margin-bottom: 6px;
}

.phone-mockup-screen .shopping-list {
  background-color: rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 6px;
  border-left: 2px solid var(--calma-ref-blue);
}

.phone-mockup-screen .shopping-list-title {
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 2px;
}

.phone-mockup-screen .shopping-items {
  font-size: 9px;
  color: rgba(255,255,255,0.8);
}

.phone-mockup-screen .btn-save {
  background-color: var(--calma-ref-blue);
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  margin-top: 4px;
}

.phone-mockup-screen .btn-restart {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  padding: 6px;
  font-size: 10px;
  width: 100%;
  cursor: pointer;
}

/* Wizz/Calma Feature Card structure - Glassmorphic */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--calma-radius-lg);
  border: 1px solid var(--calma-color-border-light);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--calma-transition-base), border-color var(--calma-transition-base), background-color var(--calma-transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--calma-color-border-hover);
  background-color: rgba(255, 255, 255, 0.05);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid var(--calma-color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: none;
}

.feature-card-desc {
  font-size: 15px;
  color: var(--calma-color-text-secondary);
  line-height: 1.5;
}

.feature-card.highlighted {
  border-color: var(--calma-ref-blue);
  background-color: rgba(0, 113, 255, 0.04);
}

/* Footer (Calma Style) */
.footer {
  border-top: 1px solid var(--calma-color-border-light);
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer__logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer__logo-text {
  font-family: var(--calma-font-family);
  font-weight: 700;
  font-size: 22px;
  color: var(--calma-color-text-primary);
  letter-spacing: -0.8px;
}

.footer__description {
  font-size: 14px;
  color: var(--calma-color-text-secondary);
  line-height: 1.45;
}

.footer__right {
  display: flex;
  gap: 20px;
}

.footer__link {
  color: var(--calma-color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--calma-transition-fast);
}

.footer__link:hover {
  color: var(--calma-color-text-primary);
}

.footer__bottom {
  border-top: 1px solid var(--calma-color-border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--calma-color-text-muted);
}

.footer__legal {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__legal-name {
  font-weight: 600;
  color: var(--calma-color-text-secondary);
}

/* Legal Pages (Calma Dark Glass style) */
.legal-document .navbar {
  position: relative;
  top: auto;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background-color: rgba(18, 18, 22, 0.96);
  box-shadow: none;
}

.legal-document .nav-actions {
  min-width: 32px;
}

.legal-page {
  max-width: 800px;
  margin: 40px auto;
}

.legal-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--calma-radius-lg);
  border: 1px solid var(--calma-color-border-light);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
}

.legal-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--calma-color-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content h2 {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--calma-color-text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--calma-color-text-primary);
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  color: var(--calma-color-text-secondary);
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--calma-ref-blue);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--calma-color-border-light);
  margin: 2rem 0;
}

.btn-back {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid var(--calma-color-border-light);
  color: var(--calma-color-text-primary);
  border-radius: var(--calma-radius-full);
  padding: 10px 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 20px;
  transition: background-color var(--calma-transition-fast);
}

.btn-back:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie consent banner (Calma Style) */
.cookie-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background-color: #121216;
  border-radius: var(--calma-radius-md);
  padding: 20px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  border: 1px solid var(--calma-color-border-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--calma-transition-base), transform var(--calma-transition-base);
}

.cookie-card.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-title {
  font-weight: 700;
  font-size: 15px;
}

.cookie-body {
  font-size: 13px;
  color: var(--calma-color-text-secondary);
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-cookie-reject {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--calma-color-text-primary);
  border: 1px solid var(--calma-color-border-light);
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--calma-transition-fast);
}

.btn-cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-cookie-accept {
  flex: 1.5;
  background-color: var(--calma-ref-white);
  color: var(--calma-ref-black);
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-accept:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .navbar {
    padding: 8px 20px;
  }
  .nav-links {
    display: none; /* Collapse menu links on tablet/mobile */
  }
  .footer__top {
    flex-direction: column;
    gap: 2.5rem;
  }
  .footer__logo {
    margin-bottom: 0.5rem;
  }
  .home-hero__bottom {
    border-radius: 2rem;
    gap: 1.5rem;
  }
  .home-hero__image--bg {
    max-width: 18rem;
    transform: translateY(2.5rem);
  }
  .phone-middle-container {
    max-width: 18rem;
    transform: translateY(2.5rem);
  }
  .home-hero__image--sm {
    max-width: 14rem;
    transform: translateY(5rem);
  }
}

@media (max-width: 767px) {
  body {
    padding: 14px 12px 56px;
  }

  .bg-glow-purple,
  .bg-glow-orange,
  .bg-glow-features {
    display: none;
  }

  .container {
    gap: 64px;
  }

  .navbar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(18, 18, 22, 0.96);
    top: 12px;
    padding: 8px 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  }

  .logo-text {
    font-size: 20px;
    letter-spacing: 0;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .app-store-badge {
    display: none;
  }

  .lang-btn {
    padding: 7px 11px;
  }

  .home-hero {
    padding-top: 36px;
    margin-bottom: 52px;
  }

  .home-hero__top {
    margin-bottom: 2.25rem;
  }

  .calma-face {
    width: 96px;
    height: 96px;
  }

  .calma-face img {
    width: 62px !important;
    height: 62px !important;
  }

  .home-hero__headline h1 {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .home-hero__subtitle {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 34rem;
  }

  .home-hero__buttons {
    margin-top: 1.75rem;
  }

  .home-hero__bottom {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    min-height: 0;
    margin-top: 20px;
    padding: 0 0 34px;
    box-shadow: none;
  }

  .home-hero__image--bg {
    max-width: none;
    position: relative;
    width: min(72vw, 300px);
    transform: translateY(2rem) !important;
  }

  .phone-middle-container {
    max-width: none;
    position: relative;
    width: min(72vw, 300px);
    transform: translateY(2rem) !important;
  }

  .home-hero__image--sm {
    display: none;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-card {
    padding: 24px;
    border-radius: var(--calma-radius-md);
  }

  .feature-card:hover {
    transform: none;
  }

  .footer__right {
    flex-direction: column;
    gap: 12px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  .footer__legal {
    text-align: center;
  }
  .cookie-card {
    left: 16px;
    right: 16px;
    width: auto;
  }
}

@media (max-width: 479px) {
  .home-hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .app-store-badge img {
    height: 40px;
  }

  .home-hero__image--bg,
  .phone-middle-container {
    width: min(82vw, 280px);
  }

  .legal-card {
    padding: 28px 18px;
  }
}
