/* ===== CSS Variables ===== */
:root {
  --color-primary: #5D4037;
  --color-accent: #E53935;
  --color-accent-hover: #C62828;
  --color-bg: #FFF9E6;
  --color-mint: #E8F5E9;
  --color-yellow: #FFF3CD;
  --color-text: #3E2723;
  --color-text-secondary: #795548;
  --font-heading: 'Nunito', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(90deg, rgba(93, 64, 55, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(93, 64, 55, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 48px;
}

.section-title.align-left {
  text-align: left;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== Decorative Elements ===== */
.deco {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  animation: decoFadeIn 1.2s ease forwards;
}

.deco-paw {
  width: 48px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%235D4037'%3E%3Cellipse cx='32' cy='42' rx='12' ry='10'/%3E%3Cellipse cx='18' cy='28' rx='7' ry='8'/%3E%3Cellipse cx='32' cy='22' rx='7' ry='8'/%3E%3Cellipse cx='46' cy='28' rx='7' ry='8'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.35;
}

.deco-star {
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E53935'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.4;
}

.deco-heart {
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E53935'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.35;
}

.deco-1 { top: 15%; left: 5%; animation-delay: 0.2s; }
.deco-2 { top: 60%; right: 4%; animation-delay: 0.5s; }
.deco-3 { top: 30%; right: 8%; animation-delay: 0.8s; }
.deco-4 { bottom: 20%; left: 6%; animation-delay: 1s; }
.deco-5 { top: 45%; left: 3%; animation-delay: 1.2s; }

.wave-divider {
  position: absolute;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C150,60 350,0 600,30 C850,60 1050,0 1200,30 L1200,60 L0,60 Z' fill='%23E8F5E9' opacity='0.5'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 249, 230, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.logo-heart {
  position: relative;
}

.heart-icon {
  position: absolute;
  top: -10px;
  right: -2px;
  font-size: 10px;
  color: var(--color-accent);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

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

.lang-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-yellow);
  border: 1px solid rgba(93, 64, 55, 0.12);
  transition: transform var(--transition), background var(--transition);
  white-space: nowrap;
}

.lang-btn:hover {
  transform: scale(1.05);
  background: #FFE082;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform var(--transition), background var(--transition);
  position: relative;
}

.icon-btn:hover {
  transform: scale(1.05);
  background: rgba(93, 64, 55, 0.08);
}

.avatar-btn img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--color-mint);
  color: var(--color-primary);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background: #C8E6C9;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* Ripple effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

/* ===== Hero ===== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.hero-price-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(229, 57, 53, 0.08);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  border: 6px solid #fff;
}

.hero-deco-paw {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%235D4037'%3E%3Cellipse cx='32' cy='42' rx='12' ry='10'/%3E%3Cellipse cx='18' cy='28' rx='7' ry='8'/%3E%3Cellipse cx='32' cy='22' rx='7' ry='8'/%3E%3Cellipse cx='46' cy='28' rx='7' ry='8'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.4;
  animation: float 3s ease-in-out infinite;
}

.hero-deco-star {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E53935'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.45;
  animation: float 3s ease-in-out infinite 1s;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon-red {
  background: rgba(229, 57, 53, 0.1);
  color: var(--color-accent);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== Products ===== */
.products-scroll-wrap {
  position: relative;
}

.products-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-scroll::-webkit-scrollbar {
  display: none;
}

.products-scroll.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.product-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.product-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.product-card .btn {
  width: 100%;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition);
}

.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.scroll-arrow-left { left: -16px; }
.scroll-arrow-right { right: -16px; }

/* ===== Team ===== */
.team {
  background: var(--color-mint);
  position: relative;
}

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

.team-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--color-yellow);
  background: var(--color-bg);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== Community ===== */
.community-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: #fff;
  border: 1px solid rgba(93, 64, 55, 0.15);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(93, 64, 55, 0.15);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
}

.masonry-grid {
  columns: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.masonry-thumb {
  position: relative;
  overflow: hidden;
}

.masonry-thumb img {
  width: 100%;
  display: block;
  transition: transform var(--transition);
}

.masonry-item:hover .masonry-thumb img {
  transform: scale(1.03);
}

.masonry-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 18px;
}

.masonry-info {
  padding: 16px;
}

.masonry-platform {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--color-yellow);
  color: var(--color-primary);
  margin-bottom: 8px;
}

.masonry-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.masonry-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ===== APP Section ===== */
.app-section {
  background: linear-gradient(135deg, rgba(232, 245, 233, 0.6) 0%, var(--color-bg) 100%);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.app-screens {
  position: relative;
  height: 420px;
}

.phone-mockup {
  position: absolute;
  width: 160px;
  background: var(--color-primary);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-hover);
}

.phone-1 { top: 20px; left: 10%; transform: rotate(-8deg); z-index: 1; }
.phone-2 { top: 60px; left: 38%; transform: rotate(2deg); z-index: 3; }
.phone-3 { top: 10px; right: 5%; transform: rotate(8deg); z-index: 2; }

.phone-screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9/16;
  padding: 12px;
}

.mock-map {
  background: var(--color-mint);
  height: 100%;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}

.mock-pin {
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: absolute;
  top: 40%;
  left: 50%;
  margin-left: -8px;
}

.mock-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary);
}

.mock-health {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 8px;
}

.health-bar {
  height: 8px;
  background: var(--color-mint);
  border-radius: 4px;
  overflow: hidden;
}

.health-bar span {
  display: block;
  height: 100%;
  background: var(--color-accent);
  border-radius: 4px;
}

.mock-health p {
  font-size: 10px;
  color: var(--color-text-secondary);
}

.mock-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  height: calc(100% - 24px);
}

.mock-video-grid div {
  background: var(--color-yellow);
  border-radius: 4px;
}

.app-features {
  margin: 24px 0 32px;
}

.app-features li {
  font-size: 16px;
  color: var(--color-text);
  padding: 8px 0;
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-btn);
  transition: transform var(--transition), background var(--transition);
}

.download-btn:hover {
  transform: scale(1.05);
  background: #4E342E;
}

.download-btn span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
}

.download-btn small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.8;
}

/* ===== Guarantee ===== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.guarantee-item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition);
}

.guarantee-item:hover {
  transform: scale(1.05);
}

.guarantee-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.guarantee-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-text {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  font-size: 15px;
}

.contact-details li {
  font-size: 14px;
  color: var(--color-text);
  padding: 6px 0;
}

.subscribe-form {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.subscribe-form h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(93, 64, 55, 0.2);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}

.form-row input:focus {
  border-color: var(--color-accent);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 0;
}

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

.footer-logo {
  color: #fff;
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--color-bg);
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  line-height: 0;
}

.footer-logo-img {
  height: 40px;
  mix-blend-mode: normal;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  transition: opacity var(--transition);
}

.footer-nav a:hover {
  opacity: 1;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social-link {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  transition: background var(--transition), transform var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== Chat FAB ===== */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 1500;
  transition: transform var(--transition);
}

.chat-fab:hover {
  transform: scale(1.05);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #4CAF50;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
}

.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 340px;
  max-height: 420px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-mint);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

.chat-close {
  font-size: 24px;
  color: var(--color-text-secondary);
  line-height: 1;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  max-height: 280px;
}

.chat-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 85%;
  margin-bottom: 8px;
}

.chat-msg.bot {
  background: var(--color-mint);
  color: var(--color-text);
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-input-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(93, 64, 55, 0.15);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

/* ===== Animations ===== */
@keyframes decoFadeIn {
  to { opacity: 0.35; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive: Tablet 768px ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .masonry-grid {
    columns: 2;
  }

  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 249, 230, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .hamburger {
    display: flex;
  }

  .hero-grid,
  .app-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-title.align-left {
    text-align: center;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image {
    max-width: 320px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-grid {
    columns: 1;
  }

  .app-screens {
    height: 300px;
    margin-bottom: 24px;
  }

  .phone-mockup {
    width: 120px;
  }

  .phone-1 { left: 5%; }
  .phone-3 { right: 0; }

  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .download-buttons {
    justify-content: center;
  }

  .app-features {
    text-align: left;
  }

  .scroll-arrow {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }

  .chat-panel {
    width: calc(100% - 32px);
    right: 16px;
    left: 16px;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .product-card {
    flex: 0 0 260px;
  }
}
