:root {
  --cosmos-deep-blue: #0a1428;
  --stellar-white: #f8f9fa;
  --cosmic-gold: #d4af37;
  --nebula-purple: #8b5fbf;
  --galactic-ray: #64b5f6;
  --cosmic-night: #050a1a;
  --text-primary: #f8f9fa;
  --text-secondary: #d4af37;
  --transition-duration: 200ms;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--cosmos-deep-blue) 0%, var(--cosmic-night) 100%);
  color: var(--stellar-white);
  line-height: 1.6;
}

a {
  color: var(--cosmic-gold);
  text-decoration: none;
  transition: all var(--transition-duration) ease;
}

a:hover {
  color: var(--galactic-ray);
}

header {
  background: rgba(10, 20, 40, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cosmic-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all var(--transition-duration) ease;
}

.logo:hover {
  color: var(--galactic-ray);
  transform: scale(1.02);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: var(--stellar-white);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
  transition: all var(--transition-duration) ease;
}

nav a:hover {
  color: var(--cosmic-gold);
  border-bottom-color: var(--cosmic-gold);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-duration) ease;
  border: 2px solid transparent;
  text-align: center;
  display: inline-block;
}

.btn-accent {
  background: var(--cosmic-gold);
  color: var(--cosmos-deep-blue);
  border: 2px solid var(--cosmic-gold);
}

.btn-accent:hover {
  background: transparent;
  color: var(--cosmic-gold);
  transform: scale(1.04);
}

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

.btn-outline:hover {
  background: var(--cosmic-gold);
  color: var(--cosmos-deep-blue);
  transform: scale(1.04);
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero-bathroom.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 20, 40, 0.65);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 600px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--cosmic-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--stellar-white);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, rgba(10, 20, 40, 0.8), rgba(5, 10, 26, 0.9));
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--cosmic-gold);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--stellar-white);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.harmony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.harmony-item {
  padding: 2rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition-duration) ease;
}

.harmony-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-5px);
}

.harmony-item h3 {
  color: var(--cosmic-gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.harmony-item p {
  color: var(--stellar-white);
  font-size: 0.95rem;
  line-height: 1.6;
}

.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tile {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(139, 95, 191, 0.1), rgba(100, 181, 246, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-duration) ease;
}

.tile::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
  animation: nebula-pulse 4s ease-in-out infinite;
}

.tile:hover {
  transform: scale(1.04);
  border-color: var(--cosmic-gold);
  background: linear-gradient(135deg, rgba(139, 95, 191, 0.15), rgba(100, 181, 246, 0.1));
}

.tile h3 {
  color: var(--cosmic-gold);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.tile p {
  color: var(--stellar-white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.tile-subtitle {
  color: var(--galactic-ray);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.quick-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: rgba(139, 95, 191, 0.08);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 3rem;
}

.note-item {
  text-align: center;
  padding: 1rem;
}

.note-item span {
  display: block;
  color: var(--cosmic-gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: rgba(10, 20, 40, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-duration) ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: scale(1.04);
  border-color: var(--cosmic-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: rgba(139, 95, 191, 0.1);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-duration) ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.nebula-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(139, 95, 191, 0.15), transparent);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(212, 175, 55, 0.9);
  color: var(--cosmos-deep-blue);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  color: var(--cosmic-gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-meta {
  color: var(--galactic-ray);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.product-description {
  color: var(--stellar-white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.6;
}

.product-availability {
  color: var(--stellar-white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.product-price {
  color: var(--cosmic-gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.cosmic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.cosmic-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  background: rgba(139, 95, 191, 0.05);
  transition: all var(--transition-duration) ease;
}

.cosmic-item:hover {
  background: rgba(139, 95, 191, 0.1);
  border-color: var(--cosmic-gold);
  transform: translateY(-3px);
}

.cosmic-item h3 {
  color: var(--cosmic-gold);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.cosmic-item p {
  color: var(--stellar-white);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-column h3 {
  color: var(--cosmic-gold);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  color: var(--cosmic-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.faq-answer {
  color: var(--stellar-white);
  font-size: 0.9rem;
  line-height: 1.6;
}

footer {
  background: var(--cosmic-night);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 3rem 1rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-block h3 {
  color: var(--cosmic-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-block ul {
  list-style: none;
}

.footer-block ul li {
  margin-bottom: 0.75rem;
}

.footer-block ul li a {
  color: var(--stellar-white);
  font-size: 0.9rem;
}

.footer-block ul li a:hover {
  color: var(--cosmic-gold);
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: var(--stellar-white);
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--cosmic-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--stellar-white);
  font-size: 0.85rem;
}

@keyframes nebula-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes stellar-orbit {
  0% {
    transform: rotate(0deg) translateX(10px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(10px) rotate(-360deg);
  }
}

.product-image-side {
  width: 100%;
  margin-bottom: 2rem;
}

.product-image-side img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-specs {
  background: rgba(139, 95, 191, 0.08);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 2rem;
}

.product-specs h4 {
  color: var(--cosmic-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.specs-list {
  list-style: none;
  color: var(--stellar-white);
  font-size: 0.95rem;
  line-height: 1.8;
}

.specs-list li {
  margin-bottom: 0.5rem;
}

.specs-list strong {
  color: var(--cosmic-gold);
}

.product-description-full {
  color: var(--stellar-white);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.product-description-full p {
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 20, 40, 0.95);
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  color: var(--stellar-white);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .harmony-grid,
  .quick-tiles,
  .product-grid,
  .cosmic-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .quick-notes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 200px;
  }

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

  .footer-block ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    justify-content: center;
  }

  .cookie-text {
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta {
    gap: 0.5rem;
  }

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

  nav {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .quick-notes {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cosmic-gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--stellar-white);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-duration) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248, 249, 250, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cosmic-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.3rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  color: var(--stellar-white);
  font-size: 0.9rem;
  font-weight: normal;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 1rem;
}

.thank-you-container h2 {
  color: var(--cosmic-gold);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.thank-you-container p {
  color: var(--stellar-white);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.product-full-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .product-full-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-section {
  margin-bottom: 3rem;
}

.about-section h2 {
  color: var(--cosmic-gold);
  margin-bottom: 1rem;
  font-size: 1.8rem;
  text-align: left;
}

.about-section p,
.about-section li {
  color: var(--stellar-white);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.about-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.about-section strong {
  color: var(--cosmic-gold);
}
