/*
  Snap Landing Stylesheet
  A minimalist, premium design inspired by modern SaaS and tech landing pages.
  Colours and typography are deliberately restrained to black, white and neutral greys
  for a sophisticated look and feel.
*/

/* CSS Reset / Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: #000;
}

p {
  margin: 0 0 1.2rem;
  color: #444;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 3rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 800;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}
.btn-primary:hover {
  background: #222;
  border-color: #222;
}

.btn-outline {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}
.btn-outline:hover {
  background: #000;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border: 2px solid #000;
  color: #000;
}
.btn-secondary:hover {
  background: #000;
  color: #fff;
}

/* Call button */
.btn-call {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}
.btn-call:hover {
  background: #000;
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  background-color: #fafafa;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero .subheading {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}
.cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.social-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #666;
}
.social-proof .proof-item {
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.social-proof i {
  display: none;
}
.social-proof .star {
  font-size: 1.5rem;
  line-height: 1;
  color: #f0a500;
  margin-bottom: 0.5rem;
}
.social-proof strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  color: #333;
}

/* Value Propositions */
.value-props {
  padding: 4rem 0;
  background: #fff;
}
.value-props .props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.prop-card {
  background: #fafafa;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}
.prop-card:hover {
  transform: translateY(-5px);
}
.prop-card i {
  font-size: 2rem;
  color: #000;
  margin-bottom: 0.75rem;
}
.prop-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.prop-card p {
  font-size: 0.9375rem;
  color: #555;
}

/* Data icon on prop cards */
.prop-card::before {
  content: attr(data-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 auto 0.75rem;
}

/* Why It Works */
.why-it-works {
  padding: 4rem 0;
  background: #f6f6f6;
}
.why-it-works .why-grid {
  display: grid;
  gap: 2rem;
}
.why-text {
  max-width: 600px;
}
.why-bullets ul {
  margin-top: 1rem;
}
.why-bullets li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}
.why-bullets li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  font-weight: 700;
}

/* Portfolio */
.portfolio {
  padding: 4rem 0;
  background: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
}
.image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-wrapper.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ddd;
  color: #777;
  font-size: 1rem;
  font-weight: 600;
}
.portfolio-info {
  padding: 1.5rem;
}
.portfolio-info .category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: #888;
  display: block;
  margin-bottom: 0.25rem;
}
.portfolio-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}
.portfolio-info .outcome {
  font-size: 0.875rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Case Studies */
.case-studies {
  padding: 4rem 0;
  background: #f6f6f6;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.case-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.case-card .case-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.case-card .case-steps div p {
  margin-bottom: 0;
  color: #555;
  font-size: 0.9rem;
}
.case-card blockquote {
  margin: 1rem 0;
  font-style: italic;
  color: #666;
  line-height: 1.4;
}
.case-card .outcome {
  font-size: 0.9rem;
  color: #333;
  margin-top: auto;
  font-weight: 600;
}

/* Features Section */
/* Features Section */
.features {
  padding: 4rem 0;
  background: #fff;
}

/* Features grid for “Everything You Need” */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 0;
}
.feature-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  transition: transform 0.2s ease;
}
.feature-item:hover {
  transform: translateY(-3px);
}
.feature-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0.75rem;
}
.feature-text {
  flex: 1;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Pricing Section */
.pricing {
  padding: 4rem 0;
  background: #f6f6f6;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.price-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem 3rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-card.highlighted {
  border: 2px solid #000;
}
.price-card .badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: #000;
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.price-card .price {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.price-card .price span {
  font-size: 2rem;
}
.price-card ul li {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.price-card a {
  margin-top: 1rem;
}
.pricing .note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #555;
}
.pricing .note a {
  color: #000;
  text-decoration: underline;
}

/* FAQ */
.faq {
  padding: 4rem 0;
  background: #fff;
}
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
  border-top: 1px solid #eee;
}
.faq-list details {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.faq-list summary {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq-list summary::after {
  content: '\002B';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background: #f6f6f6;
}
.contact .lead {
  text-align: center;
  margin-bottom: 2rem;
  color: #555;
}
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #555;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5" width="10" height="10" fill="%23333"%3E%3Cpath d="M2 0L0 2h4L2 0zM2 5l2-2H0l2 2z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.6rem;
}
.contact-form button {
  align-self: flex-start;
}
.contact .alt-cta {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  padding: 2rem 0;
  font-size: 0.9rem;
}
footer .footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
footer .brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
footer .footer-nav {
  display: flex;
  gap: 1rem;
}
footer .footer-nav a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
footer .footer-nav a:hover {
  color: #fff;
}
footer .social {
  display: flex;
  gap: 1rem;
}
footer .social a {
  color: #aaa;
  width: 32px;
  height: 32px;
  border: 1px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}
footer .social a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
footer .copyright {
  text-align: center;
  color: #777;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Media Queries */
@media (min-width: 768px) {
  .why-it-works .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .cta-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }
  .social-proof {
    flex-direction: column;
    gap: 1rem;
  }
  .price-card {
    padding: 2rem 1rem;
  }

  /* Center social proof items on small screens */
  .social-proof .proof-item {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }
}