/* ========================================
   Ondo Prints - Design System & Styles
   ======================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Colors */
  --color-background: #faf3f1;
  --color-background-alt: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-accent: #E07850;
  --color-accent-hover: #C96840;
  --color-border: #E8E4DF;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 243, 241, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 102px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 100%;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 130px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-link {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.btn-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) 0;
  background-color: var(--color-background);
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  max-width: 900px;
  margin: 0 auto var(--space-md);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto var(--space-sm);
  letter-spacing: -0.01em;
}

.hero-subheadline {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.hero-example {
  margin-top: var(--space-3xl);
  text-align: center;
}

.hero-example-frame {
  display: inline-block;
  background-color: var(--color-background-alt);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
}

.hero-example-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.hero-example-caption {
  margin-top: var(--space-md);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.hero-example-caption strong {
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background-alt);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-lg);
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* ========================================
   Credibility Signals
   ======================================== */
.credibility {
  padding: var(--space-xl) 0;
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.credibility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-2xl);
}

.credibility-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.credibility-icon {
  color: var(--color-accent);
  font-size: 0.625rem;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.step {
  text-align: center;
  padding: var(--space-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  border-radius: 50%;
  margin-bottom: var(--space-md);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

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

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

/* ========================================
   Products Section
   ======================================== */
.products {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  border-color: var(--color-accent);
  position: relative;
}

.product-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-image {
  aspect-ratio: 4 / 3;
  background-color: var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-card.featured .product-image img {
  transform: scale(1.2);
  object-position: center 30%;
  filter: brightness(1.1);
}

.product-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
}

.product-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

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

/* ========================================
   Examples Gallery
   ======================================== */
.examples {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-top: calc(var(--space-md) * -1);
  margin-bottom: var(--space-2xl);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

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

.example-image {
  background-color: var(--color-background-alt);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
}

.example-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.example-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.example-caption strong {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.example-caption span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.example-caption em {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
}

.testimonial-card blockquote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.testimonial-card cite {
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item summary {
  padding: var(--space-md) 0;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: var(--font-weight-light);
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

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

.faq-item p {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
  padding: var(--space-4xl) 0;
  background-color: var(--color-background-alt);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.final-cta p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: var(--space-lg) 0;
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 768px) {
  :root {
    --space-4xl: 5rem;
  }

  .header-container {
    height: 90px;
  }

  body {
    padding-top: 90px;
  }

  .logo-img {
    height: 66px;
  }

  .header-nav .nav-link {
    display: none;
  }

  .header-nav {
    gap: var(--space-sm);
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-3xl) 0;
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .benefits-grid,
  .steps-grid,
  .products-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    order: -1;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --space-4xl: 4rem;
  }

  .section-title {
    margin-bottom: var(--space-xl);
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}