:root {
  --color-primary: #2c6e49;
  --color-secondary: #f4f1de;
  --color-accent-teal: #4DD0E1;
  --color-accent-teal-dark: #26C6DA;
  --color-accent-orange: #FFB74D;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8F9FA;
  --color-bg-lighter: #FAFBFC;
  --color-text-dark: #1A1A1A;
  --color-text-gray: #6B7280;
  --color-text-light: #9CA3AF;
  --font-primary: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-gray);
}

a {
  text-decoration: none;
  color: var(--color-text-dark);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-teal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-teal), var(--color-accent-orange));
  margin: var(--space-md) auto;
  border-radius: var(--radius-sm);
}

.header-wrapper {
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.brand-text {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-teal);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.burger-line {
  width: 25px;
  height: 2px;
  background: var(--color-text-dark);
  transition: var(--transition-fast);
}

.burger-toggle.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-white) 100%);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
}

.hero-title {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-accent-teal);
  color: var(--color-bg-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.btn:hover {
  background: var(--color-accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-bg-white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent-teal);
  color: var(--color-accent-teal);
}

.btn-secondary:hover {
  background: var(--color-accent-teal);
  color: var(--color-bg-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.product-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(77, 208, 225, 0.2);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-light);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: var(--space-lg);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-teal);
  margin-bottom: var(--space-md);
}

.tips-container {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding: var(--space-lg) 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tips-container::-webkit-scrollbar {
  height: 6px;
}

.tips-container::-webkit-scrollbar-track {
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

.tips-container::-webkit-scrollbar-thumb {
  background: var(--color-accent-teal);
  border-radius: var(--radius-sm);
}

.tip-card {
  min-width: 300px;
  max-width: 400px;
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: all var(--transition-fast);
}

.tip-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.tip-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.tip-text {
  font-size: 0.95rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

.material-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.material-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  opacity: 0;
}

.material-card.visible {
  opacity: 1;
  animation: fadeIn 0.6s ease;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.material-swatch {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.material-card:hover .material-swatch {
  transform: scale(1.1) rotate(5deg);
}

.material-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.material-description {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-bg-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-bg-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-teal);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  line-height: 1.5;
}

.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  display: none;
}

.error-message.show {
  display: block;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: var(--space-lg) 0;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-wrapper {
  background: var(--color-text-dark);
  color: var(--color-bg-white);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--color-bg-white);
}

.footer-menu {
  list-style: none;
}

.footer-link {
  display: block;
  padding: var(--space-xs) 0;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.privacy-popup {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  max-width: 400px;
  background: var(--color-bg-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateY(150%);
  transition: transform var(--transition-smooth);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup-content {
  margin-bottom: var(--space-md);
}

.privacy-popup-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-dark);
}

.privacy-popup-text {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  line-height: 1.5;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-sm);
}

.btn-accept {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent-teal);
  color: var(--color-bg-white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.btn-accept:hover {
  background: var(--color-accent-orange);
}

.btn-decline {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  color: var(--color-text-gray);
  border: 1px solid var(--color-text-gray);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-decline:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
}

.thankyou-container {
  max-width: 600px;
  margin: var(--space-xxl) auto;
  text-align: center;
  padding: var(--space-xl);
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--color-accent-teal);
  margin-bottom: var(--space-lg);
}

.thankyou-title {
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

.thankyou-message {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.error-page-container {
  max-width: 600px;
  margin: var(--space-xxl) auto;
  text-align: center;
  padding: var(--space-xl);
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-accent-teal);
  margin-bottom: var(--space-md);
}

.error-title {
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

.error-message-text {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  margin-bottom: var(--space-xl);
}

.content-section {
  margin-bottom: var(--space-xl);
}

.content-section-title {
  margin-bottom: var(--space-md);
  color: var(--color-text-dark);
}

.content-text {
  color: var(--color-text-gray);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.content-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow-sm);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .burger-toggle {
    display: flex;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .tips-container {
    padding-left: var(--space-md);
  }

  .tip-card {
    min-width: 280px;
  }

  .material-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .privacy-popup {
    max-width: calc(100% - 2rem);
    right: var(--space-md);
    left: var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .hero-section {
    min-height: 50vh;
  }

  .form-container {
    padding: var(--space-lg);
  }

  .error-code {
    font-size: 4rem;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .product-card,
  .tip-card,
  .material-card {
    padding: var(--space-md);
  }
}

