:root {
  --color-bg: #f8fbfd;
  --color-text: #0a1929;
  --color-primary: #0088cc;
  --color-secondary: #c0d8e8;
  --color-highlight: #b0d4f1;
  --color-dark: #0d1b2f;
  --radius: 8px;
}

* {
  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 {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 180ms ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 200ms ease;
  font-weight: 600;
}

button:hover, .btn:hover {
  background: var(--color-primary);
  color: var(--color-bg);
  transform: scale(1.04);
}

button.filled, .btn.filled {
  background: var(--color-primary);
  color: var(--color-bg);
}

button.filled:hover, .btn.filled:hover {
  background: var(--color-text);
  border-color: var(--color-text);
}

header {
  background: var(--color-bg);
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 136, 204, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}

.logo:hover {
  color: var(--color-primary);
}

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

nav a {
  color: var(--color-text);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-primary);
}

footer {
  background: var(--color-dark);
  color: var(--color-bg);
  padding: 3rem 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--color-bg);
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: var(--color-secondary);
  transition: color 200ms ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(192, 216, 232, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

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

.hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-highlight) 100%);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-text);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.section {
  padding: 3rem 1rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.point {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-secondary);
  text-align: center;
}

.point h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

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

.tile {
  padding: 2rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-secondary);
  text-align: center;
  transition: all 200ms ease;
  cursor: pointer;
}

.tile:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.15);
  border-color: var(--color-primary);
}

.tile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.tile-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.tile-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.tile-subtitle {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 500;
}

.notes-bar {
  background: white;
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

.notes-bar h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.note {
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--color-text);
  border: 1px solid var(--color-highlight);
}

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

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-secondary);
  transition: all 200ms ease;
  cursor: pointer;
}

.product-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(0, 136, 204, 0.2);
  border-color: var(--color-primary);
}

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

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

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

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info {
  padding: 1.5rem;
}

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

.product-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.product-meta span {
  display: flex;
  align-items: center;
}

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

.product-availability {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

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

.product-button {
  width: 100%;
  text-align: center;
}

.section-dark {
  background: linear-gradient(135deg, #0d1b2f 0%, #1a2f45 100%);
  color: var(--color-bg);
}

.section-dark h2 {
  color: var(--color-bg);
}

.section-dark .point {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(192, 216, 232, 0.2);
  color: var(--color-bg);
}

.section-dark .point h3 {
  color: var(--color-highlight);
}

.section-dark .point p {
  color: var(--color-secondary);
}

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

.faq-item {
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-secondary);
}

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

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

.page-hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-highlight) 100%);
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.page-hero h1 {
  color: var(--color-text);
}

.page-hero p {
  font-size: 1.1rem;
  color: #666;
}

.text-section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.text-section h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #333;
}

.text-section ul, .text-section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.text-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: #333;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-secondary);
}

.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.75rem;
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 200ms ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

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

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
}

.form-submit {
  width: 100%;
}

.thank-you-message {
  text-align: center;
  padding: 3rem 1rem;
}

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

.thank-you-message p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.product-detail-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-content h1 {
  color: var(--color-text);
  margin-bottom: 1rem;
}

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

.product-specs {
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.product-specs h3 {
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-secondary);
}

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

.spec-label {
  font-weight: 600;
  color: var(--color-text);
}

.spec-value {
  color: #666;
}

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

.product-button-detail {
  width: 100%;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  .hero {
    min-height: 300px;
    padding: 2rem 1rem;
  }

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

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

  .products-grid,
  .tiles {
    grid-template-columns: 1fr;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .points-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  nav {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .header-content {
    gap: 0.5rem;
  }

  .hero {
    min-height: 250px;
    padding: 1.5rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  button, .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .tiles, .products-grid {
    gap: 1rem;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
