:root {
  --help-color: rgb(255, 255, 255);
  --main-back: rgb(199, 204, 146);
  --journalwrite-color: rgb(78, 171, 233);
  --dreamframe-color: rgb(156, 125, 196);

}

.developer {
  width: 65px;
  border-radius: 40px;
  border: 1px solid blue;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.developer:hover {
  transform: scale(1.02);
}

#apps {
  color: rgb(7, 7, 233);
}

.padding {
  padding-top: 12px;
  padding-bottom: 12px;
}

.QA {
  padding: 10px;
}

.jwsupport {
  margin: 3%;
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  background-color: #f9f9f9;
  max-width: 100%;
  justify-content: center;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease;
  overflow: hidden;
  position: relative;
}

.app-card:hover {
  transform: translateY(-5px);
}

.app-logo {
  width: 80px;
  margin-bottom: 1rem;
  border-radius: 40px;
  border-bottom: ridge;
}

.app-link {
  align-self: center;
  margin-top: auto;
  padding: 0.5rem 1rem;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  transition: background-color 0.2s ease;
}

.app-link:hover {
  background-color: #005fa3;
}

.main-body {
  background: linear-gradient(to bottom right, #6cc8dc, #95dedb);
  position: relative;
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.4;
}

.main-body-journalwrite {
  background: linear-gradient(to bottom right, rgb(150, 205, 222), var(--journalwrite-color));
  position: relative;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.4;
}

.page-wrapper {
  background: rgba(253, 253, 253, 0.6);
  backdrop-filter: blur(10px);
  padding: 2rem;
}

.welcome {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  margin: 20px auto 60px;
  background: linear-gradient(90deg, #02080a, #12262c, #1f4757);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0077ff; /* fallback */
  opacity: 0;
  transform: translateX(-60px);
  animation: slideFadeIn 1s ease-out forwards;
  animation-delay: 1s; /* starts after brand-opener finishes */
}

@keyframes  slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-opener {
  position: relative;
  color: #0077ff;
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, #0077ff, #c0c0c0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0077ff; /* fallback */
  margin: 40px auto;
  animation: forgeReveal 1s ease-out forwards;
  transform: translateY(40px);
  opacity: 0;
}

.brand-opener::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #083d79, #2b5a70);
}

@keyframes forgeReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.welcome-dev-story {
  font-family: 'Share Tech Mono', monospace;
  font-size: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00bfff;
  margin: 80px auto 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.welcome-dev-story .word {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.02em;
}

.welcome-dev-story .word span {
  display: inline-block;
  opacity: 0;
  animation: pulseIn 0.6s ease-out forwards;
}

/* Staggered delays for each letter */
.welcome-dev-story .word span:nth-child(1) { animation-delay: 0.1s; }
.welcome-dev-story .word span:nth-child(2) { animation-delay: 0.21s; }
.welcome-dev-story .word span:nth-child(3) { animation-delay: 0.33s; }
.welcome-dev-story .word span:nth-child(4) { animation-delay: 0.46s; }
.welcome-dev-story .word span:nth-child(5) { animation-delay: 0.60s; }
.welcome-dev-story .word span:nth-child(6) { animation-delay: 0.75s; }
.welcome-dev-story .word span:nth-child(7) { animation-delay: 0.91s; }
.welcome-dev-story .word span:nth-child(8) { animation-delay: 1.08s; }
.welcome-dev-story .word span:nth-child(9) { animation-delay: 1.26s; }

/* Second word delays */
.welcome-dev-story .word:nth-child(2) span:nth-child(1) { animation-delay: 1.45s; }
.welcome-dev-story .word:nth-child(2) span:nth-child(2) { animation-delay: 1.65s; }
.welcome-dev-story .word:nth-child(2) span:nth-child(3) { animation-delay: 1.86s; }
.welcome-dev-story .word:nth-child(2) span:nth-child(4) { animation-delay: 2.08s; }
.welcome-dev-story .word:nth-child(2) span:nth-child(5) { animation-delay: 2.31s; }

@keyframes pulseIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
    color: #444;
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
    color: #00ffff;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    color: #00bfff;
  }
}


.call {
  text-align: center;
}

.check-apps-call {
  display: inline;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.2s ease;
  overflow: hidden;
  position: static;
  top: 20px;
  right: 50%;
  left: 50%;
}

.app-showcase-text-center {
  border-radius: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #f9f9f9;
}

.story-link {
  color: #0f5739;
  text-align: right;
}

.story-link:hover {
  color: #058248;
}

.main-footer {
  background-color: gray;
  padding: 1rem;
  margin-top: 1rem;
}

.support-link-journalwrite {
  color: blue;
}

.support-link-dreamframe {
  color: purple;
}

.footer-links {
  background-color: gray;
  text-align: center;
  transition: transform 0.2s ease;
}

.dreamframe-list {
  padding-left: 1rem;
  padding-right: 1rem;
  color: purple;
  position: relative;
  right: 10%;
}

.list-item-journalwrite {
  color: blue;
  padding: 0.3rem;
}

.list-item-dreamframe {
  color: purple;
  padding: 0.3rem;
}

.journalwrite-list {
  color: blue;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  right: 30%;
}

.reserved {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

.about-journalwrite {
  font-family: 'Times New Roman', Times, serif;
}

.journalwrite-header {
  text-align: center;
  color: #1b1a1a;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.journalwrite-header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 500px) {
  .journalwrite-header h1 {
    font-size: 2.5rem;
  }
}

.journalwrite-header p {
  font-size: 1.3rem;
}

.journal-key {
  color: #484343;
  letter-spacing: 1px;
}

.journal-accent {
  color: #0029e0;
  font-style: italic;
  text-shadow: -1px 3px 7px rgba(0, 65, 204, 0.8);
}

.journalwrite-feature-pitch {
  text-align: center;
  font-weight: 500;
}

@media (max-width: 600px) {
  .nav-links a:nth-child(3),
  .nav-links a:nth-child(4) {
    display: none;
  }
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0.75rem 0;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-family: "Inter";
  z-index: 5;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 1rem;
  padding-right: 2rem;
}

.nav-links a {
  margin: 0 1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.nav-links a:hover {
  color: #007aff;
}

.navbar a:hover {
  text-decoration: underline;
}

.brand-image {
  width: 50px;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
}

.brand-text {
  color: black;
  font-size: 1rem;
  margin: 0;
  padding: 0 1rem;
  font-size: 26px;
}

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

.brand-image-link:hover {
  color: #007aff;
}

.brand {
  display: flex;
  align-items: center;
}

.brand:hover {
  color: #007aff;

  .brand-text {
    color: #007aff;
  }
}

.brand:hover {
  transform: scale(1.05) translateY(-1px);
  transition: transform 0.3s ease;
}


main {
  padding: 2rem;
}

.padd-sect {
  padding: 1rem 1rem;
}

.app-store-download {
  height: 50px;
  display: block;
}

.app-store-link {
  padding: 1px;
}

/* In the app showcase, forcing the app store badge to the right */
.app-store-download-nav {
  position: absolute;
  right: 12px;
  top: 12px;
}

.app-store-wrapper {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.app-store-wrapper-nav {
  text-align: left;
}

.app-store-download-img {
  width: 100px;
}

.app-download-sect {
  text-align: right;
}

.screenshot-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1rem;
  padding-bottom: 1rem;
}

.screenshot {
  width: 100%;
  max-width: 200px;
  border-radius: 16px;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.screenshot:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .screenshot-stack {
    flex-direction: column;
    align-items: center;
  }
}

.screenshot-text-top {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 20px;
  gap: 15px;
}

.feature {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 15px;
  max-width: 300px;
  text-align: center;
}

.feature h3 {
  margin-bottom: 10px;
  color: #2575fc;
}

.text-up-journalwrite {
  background: linear-gradient(135deg, #003cff 0%, #05ebd0 100%);
  color: rgb(0, 0, 0);
  padding: 4rem 1rem;
  text-align: center;
  border-radius: 10px;
}

.text-up-journalwrite p {
  font-weight: 500;
}

/* footer */
.main-footer {
  background-color: #121212;
  color: #e0e0e0;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  text-align: center;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.footer-section ul li {
  margin: 8px 0;
  padding-bottom: 0.5rem;
}

.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: rgb(3, 129, 247);
}

.footer-bottom {
  width: 100%;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 14px;
  color: #999;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .main-footer {
    flex-direction: column;
    align-items: center;
  }
}

.footer-social {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.footer-social a {
  padding: 0 2rem;
  color: #e0e0e0;
  font-size: 30px;
  transition: color 0.3s ease;
  display: inline-block;
  line-height: 1;
}

.footer-social a:hover {
  color: rgb(3, 129, 247);
}

body.jwsupport {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.support-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

section {
  margin-bottom: 2.5rem;
}

.faq {
  font-family: 'Segoe UI', sans-serif;
}

.faq ul {
  list-style: none;
  line-height: 1.5;
  padding-left: 0;
}

.faq li {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contact input[type="email"],

.contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact button {
  background-color: #4a90e2;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #357ab8;
}

.support-em {
  color: #666;
  font-size: 0.9rem;
}

.story-back {
  padding: 2rem;
  background-color: #f4f4f4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 2rem auto;
}

.dev-story-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.dev-story-text {
  flex: 1;
  min-width: 200px;
  font-size: 1.6rem;
  line-height: 0.8;
  padding-right: 1rem;
}

.dev-story-image {
  max-width: 130px;
  flex-shrink: 0;
}

.dev-story-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .dev-story-row {
    flex-direction: column;
    text-align: center;
  }

  .dev-story-text {
    padding-right: 0px;
    margin-bottom: 1rem;
  }

  .dev-story-image {
    margin-bottom: 1rem;
  }
}

.dev-story-title {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.dev-story-title h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  text-align: center;
}

.dev-story-title p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  text-align: center;
}

.journal-call {
  font-weight: 700;
  color: #1544df;
  text-shadow: -1px 1px 2px rgba(42, 42, 53, 0.6);
}

.journalwrite-app-name {
  text-align: center;
  color: rgb(34, 102, 220);
}

.app-name {
  font-size: 35px;
  text-shadow: 0px 0px 5px #0b1562;
  font-family: 'Segoe UI', sans-serif
}

.app-name {
  padding-bottom: 2rem;
  text-align: center;
}

.journalwrite-app-name {
  font-size: 4rem;
  font-weight: 900;
  color: #222;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #9caafd, 2px 2px 0 #838583;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 500px) {
  .journalwrite-app-name {
    font-size: 3.3rem;
  }
}

.journalwrite-hero {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.question {
  font-style: italic;
  font-weight: 700;
}