/* Hauzo Styles - Complete Design System */

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

/* Colors */
:root {
  --color-primary-text: #1e293b;
  --color-primary-bg: #faf9f7;
  --color-accent: #2d8a7e;
  --color-accent-hover: #247068;
  --color-secondary-text: #64748b;
  --color-section-bg: #f1f0ee;
  --color-dark: #1e293b;
  --color-white: #ffffff;
  --color-border: #e2e1df;
}

/* Typography */
html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

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

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--color-primary-text);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-primary-text);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-primary-text);
  margin-bottom: 1.5rem;
}

.small {
  font-size: 0.875rem;
  color: var(--color-secondary-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-light {
  background-color: var(--color-section-bg);
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-primary-text);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Dropdown Nav */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  list-style: none;
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 1001;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--color-primary-text);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background-color: var(--color-section-bg);
  color: var(--color-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
}

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

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-primary-text);
}

.btn-disabled {
  background-color: var(--color-section-bg);
  color: var(--color-secondary-text);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Hero Section */
.hero {
  padding: 3.5rem 0;
  background-color: var(--color-primary-bg);
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subheading {
  font-size: 1.25rem;
  color: var(--color-secondary-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-ctas a {
  text-decoration: none;
}

/* Cards */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(45, 138, 126, 0.1);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--color-primary-text);
}

.card p {
  margin-bottom: 1.5rem;
  color: var(--color-secondary-text);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

/* Feature Blocks */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.feature {
  text-align: center;
}

.feature h3 {
  margin-bottom: 1rem;
}

.feature p {
  color: var(--color-secondary-text);
  margin-bottom: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.step {
  position: relative;
  padding-left: 4rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step h3 {
  margin-bottom: 1rem;
  margin-top: 0;
}

.step p {
  color: var(--color-secondary-text);
}

/* FAQ Section */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

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

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem 0;
}

.faq-answer p {
  margin-bottom: 1rem;
  color: var(--color-secondary-text);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-primary-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-primary-text);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 138, 126, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Email Signup */
.email-signup {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

.email-signup input {
  margin-bottom: 0;
}

.signup-note {
  font-size: 0.875rem;
  color: var(--color-secondary-text);
  margin-top: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-email {
  color: rgba(255, 255, 255, 0.9);
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
  color: var(--color-white);
}

/* Product Cards - Featured */
.product-featured {
  background-color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  padding: 3rem;
  position: relative;
}

.product-featured h3 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.product-featured .cta-button {
  margin-top: 2rem;
}

/* Sidebar */
.sidebar {
  background-color: var(--color-section-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.sidebar h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-primary-text);
}

.sidebar-item {
  margin-bottom: 1.5rem;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.sidebar-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary-text);
  margin-bottom: 0.5rem;
  display: block;
}

.sidebar-value {
  font-size: 1.125rem;
  color: var(--color-primary-text);
  line-height: 1.6;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Disclaimer */
.disclaimer {
  background-color: var(--color-section-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--color-secondary-text);
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-border);
}

.tab-button {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-secondary-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: var(--color-accent);
}

.tab-button.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-secondary-text);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--color-accent);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* Status */
.coming-soon {
  position: relative;
}

.coming-soon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  z-index: 5;
}

/* Content + Sidebar Layout (product pages) */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
    margin-top: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    display: none;
    background-color: transparent;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.75rem 0 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-dropdown-toggle {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding-left: 0;
    padding-top: 4rem;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .step h3 {
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas a {
    width: 100%;
  }

  .email-signup {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-question {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .product-featured {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}
