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

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b6b80;
  --accent: #FF6B6B;
  --border: #e8e6e1;
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 2.5rem 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-splashes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.splash {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 10s ease-in-out infinite;
}

.splash-1 { width: 400px; height: 400px; background: #FF6B6B; top: 5%; right: 10%; }
.splash-2 { width: 350px; height: 350px; background: #4D96FF; bottom: 10%; left: 5%; animation-delay: -3s; }
.splash-3 { width: 300px; height: 300px; background: #FFD93D; top: 40%; left: 40%; animation-delay: -6s; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(255, 107, 107, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Paint cans visual */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.paint-cans {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.can {
  width: 80px;
  height: 110px;
  border-radius: 8px 8px 4px 4px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.75rem;
  box-shadow: var(--shadow);
  animation: bob 3s ease-in-out infinite;
}

.can span {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.can-lid {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: #ccc;
  border-radius: 4px;
  border: 2px solid #aaa;
}

.can-1 { background: #FF6B6B; height: 120px; animation-delay: 0s; }
.can-2 { background: #4D96FF; height: 140px; animation-delay: -0.5s; }
.can-3 { background: #6BCB77; height: 100px; animation-delay: -1s; }
.can-4 { background: #FFD93D; height: 130px; animation-delay: -1.5s; }

.roller {
  position: absolute;
  right: 10%;
  top: 20%;
  transform: rotate(-25deg);
  animation: roll 4s ease-in-out infinite;
}

.roller-handle {
  width: 12px;
  height: 120px;
  background: linear-gradient(90deg, #888, #bbb, #888);
  border-radius: 6px;
  margin: 0 auto;
}

.roller-head {
  width: 70px;
  height: 50px;
  background: #FF6B6B;
  border-radius: 35px;
  margin-top: -4px;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color);
}

.product-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-price {
  font-weight: 700;
  color: var(--card-color);
  font-size: 0.95rem;
}

.product-swatch {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--card-color);
  border-radius: 50%;
  opacity: 0.15;
}

/* Colors */
.colors {
  background: var(--surface);
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.colors .section-header,
.colors .color-filters,
.colors .swatch-grid,
.colors .color-detail {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.color-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.swatch {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--swatch);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.swatch:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

.swatch.active {
  border-color: var(--text);
  transform: scale(1.05);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--text);
}

.swatch.hidden {
  display: none;
}

.swatch-name,
.swatch-code {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--transition), transform var(--transition);
}

.swatch-code {
  bottom: 0;
  font-family: monospace;
  font-weight: 400;
}

.swatch-name {
  bottom: 1.2rem;
}

.swatch:hover .swatch-name,
.swatch:hover .swatch-code,
.swatch.active .swatch-name,
.swatch.active .swatch-code {
  opacity: 1;
  transform: translateY(0);
}

.color-detail {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.color-detail-preview {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: #F5F0E8;
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.color-detail-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.color-code,
.color-hex {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.color-hex code {
  font-family: monospace;
  background: var(--surface);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.sample-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sample-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.sample-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sample-empty {
  color: var(--text-muted);
  font-style: italic;
  justify-content: center;
}

.sample-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.sample-remove:hover {
  color: var(--accent);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.service:hover {
  border-color: var(--accent);
}

.service-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 0.75rem;
}

.service h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Visualizer */
.visualizer {
  text-align: center;
}

.room {
  max-width: 700px;
  margin: 0 auto;
}

.room-wall {
  position: relative;
  height: 380px;
  background: #F5F0E8;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.6s ease;
  box-shadow: var(--shadow);
}

.room-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, #c4a882 0%, #a08060 100%);
}

.room-window {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 140px;
  height: 120px;
  background: #87CEEB;
  border: 8px solid #fff;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.5);
}

.window-pane {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.room-sofa {
  position: absolute;
  bottom: 60px;
  left: 50px;
  width: 180px;
  height: 70px;
  background: #5a5a6e;
  border-radius: 12px 12px 4px 4px;
}

.room-sofa::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 60px;
  height: 50px;
  background: #5a5a6e;
  border-radius: 12px 12px 0 0;
}

.room-plant {
  position: absolute;
  bottom: 60px;
  left: 280px;
  width: 30px;
  height: 50px;
  background: #6BCB77;
  border-radius: 50% 50% 10% 10%;
}

.room-plant::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 20px;
  background: #c47a5a;
  border-radius: 4px 4px 8px 8px;
}

.room-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.visualizer-tools {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Contact */
.contact {
  max-width: 100%;
  padding-bottom: 3rem;
}

.contact-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-details li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-details strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  min-height: 1.2em;
}

/* Footer */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

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

@keyframes roll {
  0%, 100% { transform: rotate(-25deg) translateY(0); }
  50% { transform: rotate(-20deg) translateY(-10px); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
  }

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

  .color-detail-preview {
    margin: 0 auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 4rem 1.5rem;
  }

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

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .swatch-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}
