/* === VARIABLES === */
:root {
  --color-primary: #1a1a1a;
  --color-accent: #2d7a6c;
  --color-accent-hover: #246358;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-bg-dark: #1a1a1a;
  --color-border: #e5e7eb;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Georgia', serif;
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --spacing: 1.5rem;
  --radius: 8px;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === BASE === */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 600;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

section {
  padding: 5rem 0;
}

/* === HEADER === */
.header {
  background: var(--color-bg);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.logo:hover {
  text-decoration: none;
}

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

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 12px rgba(45, 122, 108, 0.3);
}

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

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
}

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

.btn-white:hover {
  background: #f0f0f0;
}

/* === HERO === */
.hero {
  background: var(--color-bg-dark);
  color: white;
  padding: 6rem var(--spacing);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

/* === PROBLEM SECTION === */
.problem {
  background: var(--color-bg);
}

.problem h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.problem-intro {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.problem-list {
  max-width: 600px;
  margin: 0 auto 2rem;
  list-style: none;
}

.problem-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border);
}

.problem-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 1.25rem;
}

.problem-closing {
  font-size: 1.25rem;
  text-align: center;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 2rem;
}

/* === SERVICES/FEATURES === */
.services {
  background: var(--color-bg-alt);
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

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

.service-card p {
  color: var(--color-text-light);
}

/* === PROCESS === */
.process {
  background: var(--color-bg);
}

.process h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.process-steps {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.step-timeline {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* === PRICING === */
.pricing {
  background: var(--color-bg-alt);
}

.pricing h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--color-accent);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-card li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text-light);
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* === UPLOAD FORM === */
.upload-section {
  background: var(--color-bg-dark);
  color: white;
}

.upload-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.upload-section > p {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 3rem;
}

.upload-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  color: var(--color-text);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input[type="file"] {
  padding: 0.75rem;
  background: var(--color-bg-alt);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* === TESTIMONIAL === */
.testimonial {
  background: var(--color-bg);
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--spacing);
}

.testimonial blockquote {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}

.testimonial cite span {
  display: block;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* === FOOTER === */
.footer {
  background: var(--color-bg-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing) 3rem;
}

.footer-col h4 {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

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

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

.footer-col a {
  color: white;
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--spacing);
  padding-right: var(--spacing);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 3rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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