/* ===============================
   REMEMBER WHEN PRESS - MAIN STYLESHEET
   Production-ready CSS with all required classes
   =============================== */

/* ===============================
   CSS Variables - Brand Colors
   =============================== */
:root {
  --primary-orange: #FF6B35;
  --primary-teal: #4ECDC4;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-color: #e1e8ed;
  --bg-light: #f8f9fa;
}

/* ===============================
   Base & Reset
   =============================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f3f0;
  color: #2d2d2d;
  line-height: 1.6;
}

/* ===============================
   Layout
   =============================== */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

main.container {
  margin-top: 20px;
}

/* ===============================
   Typography
   =============================== */
h1 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

h2 {
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 15px;
}

h3 {
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  line-height: 1.8;
}

/* ===============================
   Header
   =============================== */
.site-header {
  background: transparent;
  border-bottom: none;
  margin: 0;
  padding: 8px 0;
}

.site-header .container {
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header img {
  height: 50px;
  width: auto;
  margin-right: 6px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 18px;
}

.header-nav a {
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dark);
  opacity: 0.85;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.header-nav a:hover {
  text-decoration: underline;
  opacity: 1;
  color: var(--primary-orange);
}

@media (max-width: 480px) {
  .site-header .header-inner {
    padding: 6px 10px;
    gap: 30px;
  }

  .site-header img {
    height: 32px;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav a {
    font-size: 0.85rem;
  }
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: transparent;
  border-top: none;
  margin-top: 60px;
  padding: 20px 0;
}

.site-footer .container {
  text-align: center;
  padding: 10px 0;
}

.footer-links {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--primary-orange);
}

.footer-copy {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

/* ===============================
   Hero Section
   =============================== */
.hero {
  text-align: center;
  padding: 5px 20px 5px;
}

.hero h1 {
  font-size: 3rem;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .intro {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 10px;
}

.hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .intro {
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  .hero {
    padding: 40px 15px 30px;
  }

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

  .hero .intro {
    font-size: 1rem;
  }
}

/* ===============================
   Navigation & Links
   =============================== */
.hub-link {
  margin: 18px 0 28px;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.hub-link a {
  font-weight: 600;
  color: var(--primary-orange);
  text-decoration: none;
}

.hub-link a:hover {
  text-decoration: underline;
}

/* ===============================
   Content Sections
   =============================== */
.authority {
  margin: 30px 0;
}

.authority h2 {
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 15px;
}

.authority h3 {
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 12px;
}

.authority p {
  margin: 12px 0;
  line-height: 1.7;
}

.authority ul {
  margin: 12px 0;
  padding-left: 30px;
}

.authority li {
  margin: 8px 0;
}

.muted {
  color: #777;
  font-size: 0.9rem;
  font-style: italic;
}

/* ===============================
   Tool/Primary Section
   =============================== */
.primary-tool {
  margin: 30px 0;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.primary-tool__label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-orange);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ===============================
   Tool Lists (Sitemap, etc.)
   =============================== */
.tool-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.tool-list li {
  margin: 10px 0;
  padding-left: 0;
}

.tool-list a {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 500;
}

.tool-list a:hover {
  text-decoration: underline;
}

/* ===============================
   Tips Section (Contact Page)
   =============================== */
.tips-section {
  margin: 40px 0;
}

.tips-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.tip-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-left: 3px solid var(--primary-orange);
}

.tip-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.tip-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===============================
   CTA Buttons Section
   =============================== */
.calculator-cta {
  text-align: center;
  margin: 40px 0;
}

/* ===============================
   Buttons
   =============================== */
.btn-primary {
  background: var(--primary-orange);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: #e55a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background: var(--text-light);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-secondary:hover:not(:disabled) {
  background: #6c7a7d;
  text-decoration: none;
}

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

/* ===============================
   PRODUCT GRID
   =============================== */
.products-section {
  margin: 5px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1400px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===============================
   PRODUCT CARDS
   =============================== */
.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.product-card.published {
  border: 2px solid var(--primary-orange);
}

.product-card.coming-soon {
  opacity: 0.85;
}

/* Product Image */
.product-image {
  position: relative;
  aspect-ratio: 10 / 13;
  overflow: hidden;
  background: var(--bg-light);
}

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

.placeholder-cover {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decade-text {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Badge */
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.available {
  background: var(--primary-orange);
  color: white;
}

.badge.coming {
  background: var(--text-light);
  color: white;
}

/* Product Content */
.product-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 1.5rem;
  margin: 0 0 8px 0;
  color: var(--text-dark);
}

.product-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0 0 16px 0;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0 0 16px 0;
  flex-grow: 1;
}

/* Product Features */
.product-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.product-features span {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* Product Footer */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.product-footer .btn-primary,
.product-footer .btn-secondary {
  flex: 1;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.95rem;
}

/* ===============================
   FEATURES SECTION
   =============================== */
.features-section {
  margin: 80px 0;
  padding: 60px 0;
  background: var(--bg-light);
  text-align: center;
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

/* ===============================
   NEWSLETTER SECTION
   =============================== */
.newsletter-section {
  margin: 60px auto;
  max-width: 600px;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-teal) 100%);
  border-radius: 12px;
  color: white;
}

.newsletter-section h2 {
  margin: 0 0 12px 0;
  color: white;
}

.newsletter-section p {
  margin: 0 0 24px 0;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form button {
  white-space: nowrap;
}

.newsletter-section .muted {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
  color: white;
  font-style: normal;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-section {
    padding: 30px 20px;
  }
}

/* ===============================
   Forms & Inputs
   =============================== */
input[type="number"],
input[type="date"],
input[type="text"],
input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--primary-orange);
}

select {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  appearance: none;
}

select:focus {
  outline: none;
  border-color: var(--primary-orange);
}

label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  color: #2d2d2d;
}

/* ===============================
   Mobile Optimization
   =============================== */
@media (max-width: 400px) {
  .container {
    margin: 25px auto;
    padding: 0 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .products-grid {
    gap: 15px;
  }

  .product-content {
    padding: 18px;
  }

  .features-grid {
    gap: 25px;
  }
}

/* ===============================
   Print Styles
   =============================== */
@media print {
  .site-header,
  .site-footer,
  .newsletter-section,
  .calculator-cta {
    display: none;
  }

  body {
    background: white;
  }

  .container {
    max-width: 100%;
    margin: 0;
  }
}

/* ===============================
   Accessibility
   =============================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* ===============================
   Utility Classes
   =============================== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ===============================
   END OF STYLESHEET
   =============================== */
