:root {
  --color-bg: #f9f8f6;
  --color-text: #2c2c2c;
  --color-dark: #1a1a1a;
  --color-accent: #2d9b9b;
  --color-light-gray: #e8e6e2;
  --color-border: #d4d0c8;
  --color-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

a:hover {
  opacity: 0.8;
}

button, .btn {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.02);
}

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

.btn-primary:hover {
  background: #24777a;
  border-color: #24777a;
}

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

header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a3d3d 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

.logo a {
  color: var(--color-white);
}

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

nav a {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3d3d 100%);
  color: var(--color-white);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

.overline {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #d0d0d0;
  max-width: 90%;
}

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

.hero-note {
  font-size: 0.9rem;
  color: #aaa;
  font-style: italic;
}

.hero-image {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--color-accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section.dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3d3d 100%);
  color: var(--color-white);
}

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

.section.dark p {
  color: #d0d0d0;
}

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

.section-intro p {
  font-size: 1.125rem;
  max-width: 85%;
}

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

.module-card {
  border: 2px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 8px;
  background: var(--color-white);
  transition: all 0.3s ease;
  position: relative;
}

.module-card::after {
  content: '→';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0.4;
}

.module-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

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

.module-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

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

.product-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--color-light-gray);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 1.5rem;
}

.product-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

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

.product-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

.product-cta {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-cta:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.02);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-light-gray);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  color: #666;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.1rem;
}

.section.dark .checklist li {
  color: #d0d0d0;
}

.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a3d3d 100%);
  color: var(--color-white);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(45, 155, 155, 0.2);
}

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

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

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

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

.footer-section a {
  color: #d0d0d0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

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

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

.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

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

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

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 155, 155, 0.1);
}

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

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

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--color-accent);
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
}

.thank-you-content {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.thank-you-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.panel-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(45, 155, 155, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.panel-card h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: #d0d0d0;
}

.panel-row:last-child {
  border-bottom: none;
}

.spec-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--color-border);
}

.spec-table td {
  padding: 0.75rem 0;
  vertical-align: top;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 30%;
}

.spec-table td:last-child {
  color: #666;
}

.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

.faq-answer {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  nav {
    gap: 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .hero-image {
    height: 300px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

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

  .tabs {
    gap: 0.5rem;
  }

  .tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .header-container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .footer-content {
    gap: 2rem;
  }
}

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

  h2 {
    font-size: 1.25rem;
  }

  body {
    font-size: 15px;
  }

  nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .module-cards {
    gap: 1rem;
  }

  .module-card {
    padding: 1.5rem;
  }

  .tabs {
    overflow-x: auto;
  }
}
