/* Liquid Minimalism - Gravity-Based Water Systems */

:root {
  --color-deep-abyss: #081217;
  --color-neon-rain: #00FFD1;
  --color-cloud-vapor: #E6EFF2;
  --color-gravity-bronze: #CD7F32;
  --color-primary: #081217;
  --color-secondary: #E6EFF2;
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Tenor Sans', 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: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
  --shadow-glass: 0 8px 32px 0 rgba(0, 255, 209, 0.1);
  --shadow-deep: 0 20px 60px rgba(8, 18, 23, 0.5);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-deep-abyss);
  color: var(--color-cloud-vapor);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-neon-rain);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(0.8rem, 2vw, 1rem);
}

h3 {
  font-size: clamp(0.8rem, 2vw, 1rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
  color: var(--color-neon-rain);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-cloud-vapor);
  text-shadow: 0 0 10px rgba(0, 255, 209, 0.5);
}

/* Header */
.header-container {
  background: rgba(8, 18, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 209, 0.2);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 2vw, 1.45rem);
  color: var(--color-neon-rain);

  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li a {
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-menu li a:hover {
  background: rgba(0, 255, 209, 0.1);
  transform: translateY(-2px);
}

/* Burger Menu */
.burger-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-neon-rain);
  color: var(--color-neon-rain);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  order: 999;
}

.burger-toggle:hover {
  background: rgba(0, 255, 209, 0.1);
  transform: scale(1.05);
}

.burger-toggle.active {
  background: var(--color-neon-rain);
  color: var(--color-deep-abyss);
}

@media (max-width: 1023px) {
  .burger-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 18, 23, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: var(--space-xxl) var(--space-lg);
    gap: var(--space-md);
    border-left: 2px solid var(--color-neon-rain);
    transition: right var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(0, 255, 209, 0.1);
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 18, 23, 0.8);
    z-index: 998;
  }
  
  .nav-overlay.active {
    display: block;
  }
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: var(--space-lg) 0;
}

/* Hero Banner */
.hero-section {
  position: relative;
  padding: var(--space-xxl) var(--space-lg);
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 18, 23, 0.9) 0%, rgba(8, 18, 23, 0.7) 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.hero-text {
  margin-bottom: var(--space-xl);
}

.hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--radius-xl);
  margin: var(--space-xl) auto 0;
  display: block;
  box-shadow: var(--shadow-glass);
  object-fit: cover;
  filter: brightness(0.9) contrast(1.1);
}

/* Meniscus Border */
.meniscus-border {
  position: relative;
  margin-bottom: var(--space-xl);
}

.meniscus-border::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--color-deep-abyss);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
}

/* Sections */
.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-neon-rain), transparent);
}

/* Glass Cards */
.glass-card {
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-slow);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-neon-rain);
  box-shadow: 0 12px 40px rgba(0, 255, 209, 0.2);
}

/* Connecting Lines */
.connecting-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100px;
  background: linear-gradient(180deg, var(--color-neon-rain), transparent);
  opacity: 0.3;
  z-index: 0;
}

/* Images */
.content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) auto;
  display: block;
  box-shadow: var(--shadow-deep);
  object-fit: cover;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
}

.image-grid img:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: rgba(0, 255, 209, 0.1);
  border: 2px solid var(--color-neon-rain);
  color: var(--color-neon-rain);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2vw, 1rem);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 255, 209, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  background: var(--color-neon-rain);
  color: var(--color-deep-abyss);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 209, 0.3);
}

.btn-primary {
  background: var(--color-neon-rain);
  color: var(--color-deep-abyss);
}

.btn-primary:hover {
  background: var(--color-gravity-bronze);
  border-color: var(--color-gravity-bronze);
  color: var(--color-cloud-vapor);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: var(--space-xl) auto;
  padding: var(--space-xl);
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-neon-rain);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(230, 239, 242, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-cloud-vapor);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-neon-rain);
  background: rgba(230, 239, 242, 0.15);
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

/* Google Maps */
.map-container {
  width: 100%;
  max-width: 800px;
  margin: var(--space-xl) auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(0, 255, 209, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Footer */
.footer-container {
  background: rgba(8, 18, 23, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 255, 209, 0.2);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.footer-section h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu li a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-menu li a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 255, 209, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 18, 23, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(30px);
  border: 2px solid var(--color-neon-rain);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-deep);
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: 2px solid var(--color-neon-rain);
  color: var(--color-neon-rain);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.popup-close:hover {
  background: var(--color-neon-rain);
  color: var(--color-deep-abyss);
  transform: rotate(90deg);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) 0;
}

.product-card {
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-neon-rain);
  box-shadow: 0 15px 50px rgba(0, 255, 209, 0.3);
}

.product-price {
  font-size: 1.5rem;
  color: var(--color-gravity-bronze);
  font-weight: 700;
  margin: var(--space-md) 0;
}

/* Calculator Widget */
.calculator-widget {
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) auto;
  max-width: 500px;
}

.calculator-input {
  width: 100%;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: rgba(230, 239, 242, 0.1);
  border: 1px solid rgba(0, 255, 209, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-cloud-vapor);
  font-family: var(--font-body);
}

.calculator-result {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(0, 255, 209, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Rain Harp Widget */
.rain-harp-widget {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 200px;
  height: 200px;
  background: rgba(230, 239, 242, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid var(--color-neon-rain);
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-glass);
}

.rain-harp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 209, 0.5);
}

.rain-harp-widget canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-neon-rain);
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-neon-rain);
  margin-bottom: var(--space-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }
  
  .header-container {
    padding: var(--space-md);
  }
  
  .hero-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-xl) var(--space-md);
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .rain-harp-widget {
    width: 150px;
    height: 150px;
    bottom: var(--space-md);
    right: var(--space-md);
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-10px);
  }
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 255, 209, 0.3);
  transform: translate(-50%, -50%);
  animation: ripple 0.6s ease-out;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.hidden {
  display: none;
}

