/* Custom Styles for Stop Stress RESET²¹ Theme */

#reset-system {
  position: relative;
  overflow: hidden;
}

.youtube-lazy {
    position: relative;
    width: 60%;
    margin-left: 20%;
	cursor:pointer;
}
.youtube-lazy img {
  width: 100%;
  height: auto;
}
.youtube-lazy .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../img/play-button.png') no-repeat center center;
  background-size: 64px 64px;
  width: 64px;
  height: 64px;
  border: none;
  cursor: pointer;
}


iframe {
	 border-radius: 20px;
  width: 800px;
  height: 400px;
}

@media (max-width: 768px) {
  iframe {
	border-radius: 20px;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}


.section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.flying-icon {
  position: absolute;
  color: var(--primary);
  opacity: 0.6;
  animation: floatUpDown 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 10;
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
	  color: var(--white);
}

.hero-mission h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-mission p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 15rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.shape-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 100px;
}

.shape-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.shape-divider svg path,
.shape-divider svg polygon {
  transition: fill 0.3s ease-in-out;
}

/* Post Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
  position: relative;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.category-tag {
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.post-content {
  padding: 1.5rem;
}

.entry-title {
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--primary);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.post-meta i {
  margin-right: 0.25rem;
}

.entry-excerpt {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.entry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-read-more {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-read-more:hover {
  background: var(--accent);
  transform: translateX(5px);
}

.tags-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 15px;
  font-size: 0.75rem;
}

/* Mindfulness Test Section */
.mindfulness-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.section-content {
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.test-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.benefit-item i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
}

.benefit-item:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(27, 127, 204, 0.6);
}


.benefit-item h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.test-cta {
  max-width: 800px;
  margin: 0 auto;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
}


.comparison-item:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(27, 127, 204, 0.6);
}


.comparison-item.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.comparison-item h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-item li:last-child {
  border-bottom: none;
}

.test-action {
  margin-top: 3rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 50px;
}

.test-note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 1rem;
}


.success-page {
  padding: 60px 20px;
  background: #f0f4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.success-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0073e6;
  margin-bottom: 20px;
}


.success-subtitle {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

.download-button {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 25px;
}

.download-button:hover {
  background: #218838;
}

.additional-content {
  font-size: 16px;
  color: #444;
  margin-top: 20px;
  line-height: 1.6;
}

.back-to-home {
  margin-top: 40px;
}

.cta-button {
  display: inline-block;
  background: #0073e6;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #005bb5;
}


/* Stress Causes Section */
.stress-causes-section {
  padding: 4rem 0;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.animate {
  opacity: 0;
  transform: translateY(50);
  transition: opacity 1s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
	 transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), 
     box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cause-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
}

.cause-item:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(27, 127, 204, 0.6);
}

.cause-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.cause-item h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Reset System Section */
.reset-system-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.system-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow;
}


.benefit-card:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(27, 127, 204, 0.6);
}

.benefit-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.system-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--primary);
  color: var(--white);
}

.form-container {
  width: 100%;
}


.form-group {
  margin-bottom: 20px;
}


.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.2);
  outline: none;
}


.submit-button {
  display: inline-block;
  width: 100%;
  background: #0073e6;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.submit-button:hover {
  background: #005bb5;
}

#form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  font-size: 16px;
  display: none;
}

.form-container .test-note {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
  text-align: center;
}


/* Movement Section */
.movement-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  color: var(--white);
}

.movement-section h2 {
  color: var(--white);
}

.movement-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.stat-item i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

.movement-cta {
  text-align: center;
  margin-top: 3rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-social {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-social.facebook {
  background: #4267B2;
  color: var(--white);
}

.btn-social.twitter {
  background: #1DA1F2;
  color: var(--white);
}

.btn-social.linkedin {
  background: #0077B5;
  color: var(--white);
}

.btn-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Enhancements */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo a {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-description {
  color: var(--text-light);
  margin-top: 1rem;
}

.footer-cta {
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.footer-badges > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-badges i {
  color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Pagination */
.pagination-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.page-numbers {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-numbers a,
.page-numbers span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.page-numbers a:hover,
.page-numbers .current {
  background: var(--primary);
  color: var(--white);
}

/* No Posts Section */
.no-posts {
  text-align: center;
  padding: 4rem 0;
}

.no-posts-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-posts i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.helpful-links {
  margin-top: 2rem;
}

.helpful-links ul {
  list-style: none;
  padding: 0;
}

.helpful-links li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

	.reset-system-section {
		background: var(--bg-light);
    	padding: 1rem 0;
	}
	
	.stress-causes-section {
		padding: 1rem 0;
	}
	
	.hero-actions {
		flex-direction: column;
		align-items: center;
		gap:1rem;
	}

  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .test-benefits,
  .causes-grid,
  .system-benefits {
    grid-template-columns: 1fr;
  }
  
  .comparison {
    grid-template-columns: 1fr;
  }
  
  .movement-stats {
    grid-template-columns: 1fr;
  }
  
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 1rem;
  }
  
  .main-navigation.open ul {
    display: flex;
  }
}