/* Base Styles & Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #fdfdfd;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Navigation */
.softstep-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 50px;
  width: auto;
}

.header-nav-links a {
  margin-left: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #444;
  transition: color 0.2s ease;
}

.header-nav-links a:hover {
  color: #2e7d32;
}

/* Hero Section */
.hero-section {
  background-color: #f4f6f4;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #1b1b1b;
}

.hero-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #2e7d32;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #215a24;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background-color: #d0d0d0;
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: auto;
}

/* Article Blocks */
.article-block {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.article-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
  border-bottom: 2px solid #2e7d32;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.article-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #444;
  max-width: 800px;
}

/* Notebook / Journal Cards */
.notebook-section {
  padding: 1rem 0;
}

.notebook-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.notebook-card {
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 1.25rem;
  background-color: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.notebook-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-tag {
  background-color: #2e7d32;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.notebook-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.notebook-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1b1b1b;
}

.card-desc {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Journal Pricing Display Block */
.pricing-display {
  background-color: #f8f9f8;
  border: 1px solid #e2e8e2;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.single-price {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0.3rem;
}

.single-price span {
  font-weight: bold;
  color: #1b1b1b;
}

.bundle-price {
  font-size: 0.95rem;
  font-weight: bold;
  color: #2e7d32;
}

.bundle-price span {
  font-size: 1.05rem;
}

.bundle-price small {
  display: inline-block;
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

/* Multi-Buy Discount Banner Widget */
.multibuy-widget {
  background-color: #ffffff;
  border: 2px solid #2e7d32;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.widget-header {
  font-size: 1.1rem;
  color: #2e7d32;
  margin-bottom: 1rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tier-box {
  background-color: #f4f6f4;
  border: 1px solid #dcdcdc;
  padding: 0.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.tier-box.highlight {
  background-color: #e8f5e9;
  border-color: #2e7d32;
  font-weight: bold;
}

.tier-box .qty {
  font-size: 0.85rem;
  color: #666;
}

.tier-box .price {
  font-size: 1rem;
  font-weight: 700;
  color: #1b1b1b;
}

.tier-box small {
  display: block;
  font-size: 0.75rem;
  color: #2e7d32;
}

.widget-footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
}

/* Premium / High-Value Singles Grid */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.premium-card {
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.premium-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.premium-card p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.price-range {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 1.2rem;
}

/* Web Design Portfolio Grid */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.2s ease;
}

.portfolio-item:hover {
  transform: translateY(-3px);
}

.pyr-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.pyr-title {
  padding: 1rem;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
}

/* Logo Design Grid */
.logo-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  align-items: center;
}

.logo-item {
  border: 1px solid #eee;
  padding: 0.5rem;
  border-radius: 4px;
  text-align: center;
  background-color: #fff;
}

.logo-img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

/* Footer */
.softstep-footer {
  background-color: #1b1b1b;
  color: #bbbbbb;
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

.footer-tagline {
  max-width: 600px;
  margin: 0.8rem auto 0 auto;
  font-size: 0.85rem;
  color: #888888;
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .header-nav-links a {
    margin: 0 0.5rem;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }
}
