

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: var(--c-fg);
  background-color: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-fg);
}

h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(24px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 32px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
h5, h6 { font-size: clamp(16px, 2vw, 20px); }

p {
  margin-bottom: var(--space-3);
  max-width: 65ch;
}

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

a:hover {
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

button {
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s ease;
}

button:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--c-muted);
  border-radius: var(--radius-sm);
  background-color: var(--c-bg);
  color: var(--c-fg);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-color: var(--c-accent);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  
  --c-bg: #fafafa;
  --c-fg: #1a1a1a;
  --c-muted: #e5e5e5;
  --c-accent: #2563eb;
  --c-light-bg: #ffffff;
  --c-dark-bg: #2d2d2d;
  --c-dark-fg: #ffffff;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --z-base: 0;
  --z-elevated: 10;
  --z-modal: 100;
  --z-top: 1000;
}

html {
  background-color: var(--c-bg);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

section {
  width: 100%;
  padding: var(--space-6) 0;
}

section:nth-child(even) {
  background-color: var(--c-light-bg);
}

section:nth-child(odd) {
  background-color: var(--c-bg);
}

section.dark {
  background-color: var(--c-dark-bg);
  color: var(--c-dark-fg);
}

section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4,
section.dark h5,
section.dark h6 {
  color: var(--c-dark-fg);
}

section.dark p,
section.dark li {
  color: var(--c-dark-fg);
}

section.dark a {
  color: #60a5fa;
}

.section-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-center .container {
  width: 100%;
  max-width: 900px;
}

header {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  background-color: var(--c-light-bg);
  border-bottom: 1px solid var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: var(--z-elevated);
}

header .brand-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

header .logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

header .brand-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  color: var(--c-fg);
}

footer {
  width: 100%;
  padding: var(--space-6) var(--space-4);
  background-color: var(--c-dark-bg);
  color: var(--c-dark-fg);
  margin-top: auto;
}

footer .container {
  display: grid;
  gap: var(--space-5);
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}

footer .footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

footer .footer-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-dark-fg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer .footer-section a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
}

footer .footer-section a:hover {
  color: var(--c-dark-fg);
}

footer .footer-section a:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

footer .footer-divider {
  width: 100%;
  height: 1px;
  background-color: #444;
}

footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #9ca3af;
}

@media (max-width: 640px) {
  footer .footer-content {
    grid-template-columns: 1fr;
  }

  footer .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  padding: var(--space-6) var(--space-4);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-content h1 {
  color: var(--c-fg);
}

.hero-content p {
  font-size: 1.1rem;
  color: #555;
  max-width: 100%;
}

.hero-image-wrapper {
  width: 100%;
  height: 400px;
  background-color: #d0d0d0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.cta-button {
  background-color: var(--c-accent);
  color: white;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  width: fit-content;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  background-color: #1d4ed8;
}

.cta-button:focus-visible {
  outline: 2px solid #1d4ed8;
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hero-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: var(--space-5) var(--space-3);
  }

  .hero-image-wrapper {
    height: 250px;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

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

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--c-light-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background-color: #e0e7ff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--c-light-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  height: 250px;
  background-color: #d0d0d0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent);
  margin: var(--space-2) 0;
}

.product-button {
  background-color: var(--c-accent);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-transform: capitalize;
}

.product-button:hover {
  background-color: #1d4ed8;
}

.product-button:focus-visible {
  outline: 2px solid #1d4ed8;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--c-light-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--c-accent);
}

.testimonial-card .quote {
  font-style: italic;
  color: #555;
  line-height: 1.7;
}

.testimonial-card .attribution {
  font-weight: 600;
  color: var(--c-fg);
  font-size: 0.9rem;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-accent);
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border-bottom: 1px solid var(--c-muted);
}

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

.faq-question {
  font-weight: 600;
  color: var(--c-fg);
  cursor: pointer;
  font-size: 1rem;
}

.faq-answer {
  color: #666;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--c-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.step-item h4 {
  margin: 0;
}

.step-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact-item h3 {
  margin: 0;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--c-accent);
  font-weight: 500;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-4);
  padding-left: var(--space-3);
  border-left: 2px solid var(--c-muted);
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--c-accent);
  border-radius: 50%;
  position: absolute;
  left: -8px;
  top: 8px;
}

.timeline-year {
  font-weight: 700;
  color: var(--c-accent);
}

.timeline-content h4 {
  margin: 0 0 var(--space-2) 0;
}

.timeline-content p {
  margin: 0;
  color: #666;
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-6);
}

.story-block.reversed {
  direction: rtl;
}

.story-block.reversed > * {
  direction: ltr;
}

.story-image {
  width: 100%;
  height: 400px;
  background-color: #d0d0d0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.story-content h2 {
  margin: 0;
}

.story-content p {
  margin: 0 0 var(--space-2) 0;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .story-block.reversed {
    direction: ltr;
  }

  .story-image {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .story-block {
    gap: var(--space-3);
  }

  .story-image {
    height: 250px;
  }
}

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

.text-left {
  text-align: left;
}

.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.image-placeholder {
  width: 100%;
  background-color: #d0d0d0;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 var(--space-4);
  }

  section {
    padding: var(--space-5) 0;
  }

  h1 { font-size: clamp(24px, 4vw, 36px); }
  h2 { font-size: clamp(20px, 3vw, 32px); }
  h3 { font-size: clamp(18px, 2.5vw, 28px); }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  header {
    padding: var(--space-3);
  }

  header .logo-svg {
    width: 32px;
    height: 32px;
  }

  header .brand-name {
    font-size: 18px;
  }

  section {
    padding: var(--space-4) 0;
  }

  .container {
    padding: 0 var(--space-3);
  }

  h1 { font-size: clamp(20px, 5vw, 28px); }
  h2 { font-size: clamp(18px, 4vw, 24px); }
  h3 { font-size: clamp(16px, 3vw, 20px); }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.story-image img,
.hero-image-wrapper img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
