/* ==========================================================================
   SCCSMM – Combined Styles for Minimal, Advanced & Professional Templates
   ========================================================================== */

/* — Reset & Base — */
body[class^="sccsmm-"] {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
}

/* — Shared Container — */
.sccsmm-container {
  max-width: 600px;
  margin: 80px auto;
  padding: 2.5em 2em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sccsmm-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* — Shared Headings & Text — */
.sccsmm-container h1 {
  margin-bottom: 0.5em;
  font-size: 2rem;
  line-height: 1.2;
}
.sccsmm-container p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

/* — Shared Form Elements — */
.sccsmm-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sccsmm-container input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1em;
  transition: border-color 0.3s ease;
}
.sccsmm-container input[type="email"]:focus {
  border-color: #2477e3;
  outline: none;
}
.sccsmm-container button.subscribe-btn {
  padding: 0.75em 2em;
  background: #2477e3;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sccsmm-container button.subscribe-btn:hover {
  background: #155bb5;
}

/* — Shared Countdown — */
#sccsmm-countdown {
  font-size: 1.75em;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 0.5em;
}

/* ==========================================================================
   1) Minimal Template
   ========================================================================== */
body.sccsmm-minimal-template {
  background: #f6fafd;
}
body.sccsmm-minimal-template h1 {
  color: #2477e3;
}
body.sccsmm-minimal-template p {
  color: #444;
}
body.sccsmm-minimal-template #sccsmm-countdown {
  color: #ee1a3b;
}

/* ==========================================================================
   2) Advanced Template
   ========================================================================== */
body.sccsmm-advanced-template {
  /* a bold, full‑screen gradient */
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background-attachment: fixed;
}
body.sccsmm-advanced-template .sccsmm-container {
  background: rgba(255, 255, 255, 0.9);
}
body.sccsmm-advanced-template h1 {
  color: #f5576c;
  text-transform: uppercase;
  letter-spacing: 2px;
}
body.sccsmm-advanced-template p {
  color: #333;
}
body.sccsmm-advanced-template #sccsmm-countdown {
  color: #f093fb;
}

/* ==========================================================================
   3) Professional Template
   ========================================================================== */
body.sccsmm-professional-template {
  /* dark, textured background */
  background: #1d2631 url("assets/pattern.svg") repeat;
}
body.sccsmm-professional-template .sccsmm-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
body.sccsmm-professional-template h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
}
body.sccsmm-professional-template p {
  color: #7f8c8d;
  font-size: 1rem;
}
body.sccsmm-professional-template #sccsmm-countdown {
  color: #c0392b;
  font-size: 2em;
  margin-top: 1em;
}

/* ==========================================================================
   Responsive Tweaks
   ========================================================================== */
@media (max-width: 480px) {
  .sccsmm-container {
    margin: 50px 20px;
    padding: 2em;
  }
  .sccsmm-container h1 {
    font-size: 1.75rem;
  }
  #sccsmm-countdown {
    font-size: 1.5em;
  }
}
