/* Sharp Website - Styles */

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

:root {
  --charcoal: #1a1a1a;
  --charcoal-light: #2d2d2d;
  --steel: #2b3a52;
  --steel-light: #3d4f6b;
  --offwhite: #fafafa;
  --offwhite-dark: #f5f5f5;
  --lime: #d4ff00;
  --electric-blue: #0066ff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  line-height: 1.7;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 10rem 1.5rem 5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(26, 26, 26, 0.6);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Email Capture */
.email-capture {
  max-width: 500px;
  margin: 0 auto;
}

.email-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  background: white;
  border: 1px solid rgba(26, 26, 26, 0.1);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
}

.email-input:focus {
  outline: none;
  border-color: rgba(26, 26, 26, 0.3);
}

.email-input::placeholder {
  color: rgba(26, 26, 26, 0.4);
}

.success-message {
  text-align: center;
  padding: 2rem;
}

.success-message h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: rgba(26, 26, 26, 0.6);
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--offwhite);
}

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

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

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--offwhite);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sections */
section {
  padding: 5rem 1.5rem;
}

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

.section-steel {
  background-color: var(--steel);
  color: var(--offwhite);
}

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

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

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(26, 26, 26, 0.6);
  max-width: 900px;
  margin: 0 auto 3rem;
}

.section-dark .section-subtitle {
  color: rgba(250, 250, 250, 0.6);
}

/* Grid */
.grid {
  display: grid;
  gap: 3rem;
}

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

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

/* Cards */
.card {
  padding: 2rem;
}

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

.card p {
  color: rgba(26, 26, 26, 0.6);
}

.card-border {
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.card-gray {
  background-color: var(--offwhite-dark);
}

/* Brand Pillars */
.pillar {
  border-left: 2px solid var(--charcoal);
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.pillar h3 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.pillar ul {
  list-style: none;
}

.pillar li {
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: start;
}

.pillar li::before {
  content: "—";
  margin-right: 1rem;
}

/* Phase Cards */
.phase {
  margin-bottom: 4rem;
}

.phase-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.phase-number {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(26, 26, 26, 0.4);
}

.phase h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.phase p {
  font-size: 1.125rem;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--offwhite);
  border-top: 1px solid rgba(26, 26, 26, 0.05);
  padding: 4rem 1.5rem 2rem;
}

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

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

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.6);
}

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

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

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

.footer-column a {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--charcoal);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 26, 26, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(26, 26, 26, 0.4);
}

/* Page Styles */
.page-header {
  padding: 10rem 1.5rem 3rem;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

.page-intro {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(26, 26, 26, 0.6);
  max-width: 800px;
}

.content-section {
  padding: 3rem 1.5rem;
}

.quote-box {
  padding: 3rem;
  background-color: var(--charcoal);
  color: var(--offwhite);
  margin: 3rem 0;
}

.quote-box .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 250, 250, 0.6);
  margin-bottom: 1rem;
}

.quote-box p {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 3rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border: 1px solid rgba(26, 26, 26, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--offwhite-dark);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--offwhite-dark);
  color: rgba(26, 26, 26, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.product-description {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.6);
  margin-bottom: 1rem;
  line-height: 1.6;
  flex: 1;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.product-btn {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    height: 64px;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  /* Stack hero grid on mobile */
  .hero [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Stack about page and contact page 2-column grids on mobile */
  main [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Contact form inputs full width on mobile */
  input, select, textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }

  section {
    padding: 4rem 1.5rem;
  }

  .email-form {
    flex-direction: column;
  }

  .email-input {
    min-width: 100%;
  }

  .pillar {
    padding-left: 1.5rem;
  }

  .page-header {
    padding: 8rem 1.5rem 2rem;
  }

  .quote-box {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.875rem;
  }
}
