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

:root {
  --primary: #00b894;
  --primary-dark: #00997d;
  --secondary: #0984e3;
  --accent: #fdcb6e;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --gray: #636e72;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,184,148,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,184,148,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.full-width { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header.scrolled .nav-links a { color: var(--dark); }
.header.scrolled .logo { color: var(--dark); }
.header.scrolled .logo span { color: var(--primary); }
.header.scrolled .hamburger span { background: var(--dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--dark);
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 1rem;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,148,0.2), transparent);
  animation: float 8s ease-in-out infinite;
}
.b1 { width: 400px; height: 400px; top: -100px; right: 10%; animation-delay: 0s; }
.b2 { width: 250px; height: 250px; bottom: 10%; left: 5%; animation-delay: 2s; }
.b3 { width: 180px; height: 180px; top: 30%; left: 20%; animation-delay: 4s; }
.b4 { width: 300px; height: 300px; bottom: -50px; right: 30%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
  flex: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--white); }
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponge-showcase {
  position: relative;
  width: 300px;
  height: 300px;
}
.sponge { position: absolute; animation: floatSponge 4s ease-in-out infinite; }
.sponge-main {
  font-size: 8rem;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 40px rgba(0,184,148,0.3));
}
.sponge-sm { font-size: 2.5rem; animation-duration: 3s; }
.s1 { top: 0; left: 10%; animation-delay: 0.5s; }
.s2 { top: 10%; right: 0; animation-delay: 1s; }
.s3 { bottom: 10%; left: 0; animation-delay: 1.5s; }

@keyframes floatSponge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.sponge-main { animation: floatSponge 4s ease-in-out infinite, rotateSlow 12s linear infinite; }
@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== Section Common ===== */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ===== About ===== */
.about { background: var(--light-gray); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.about-icon { font-size: 2.8rem; margin-bottom: 20px; }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.about-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card.featured { border: 2px solid var(--primary); }

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  z-index: 2;
}

.product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.product-img.kitchen { background: linear-gradient(135deg, #fff3e0, #ffccbc); }
.product-img.bath    { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.product-img.industrial { background: linear-gradient(135deg, #f3e5f5, #ce93d8); }

.product-info { padding: 24px; }
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(0,184,148,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.product-info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.product-info p { color: var(--gray); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.product-features { display: flex; flex-direction: column; gap: 6px; }
.product-features li { font-size: 0.85rem; color: var(--dark); font-weight: 500; }

/* ===== Features ===== */
.features {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}
.features .section-header h2 { color: var(--white); }
.features .section-header p { color: rgba(255,255,255,0.6); }
.features .section-tag { color: var(--accent); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-item p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }

/* ===== Reviews ===== */
.reviews { background: var(--light-gray); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { color: #fdcb6e; font-size: 1.1rem; margin-bottom: 14px; }
.review-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.9rem; font-weight: 700; }
.reviewer span { font-size: 0.78rem; color: var(--gray); }

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 12px; }
.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.contact-info p { color: var(--gray); line-height: 1.8; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.contact-item span { display: block; font-size: 0.88rem; color: var(--gray); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,184,148,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; font-size: 1.4rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }
.footer-links h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ===== Scroll Top ===== */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,184,148,0.4);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  font-weight: 700;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-btns .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 1.4rem; }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Animations on scroll ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
