/* Bringing App Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Global Layout */
.min-h-screen {
    min-height: 100vh;
}

/* Index Page Styles */
.hero-section {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-logo {
    margin-bottom: .1rem;
    display: flex;
    justify-content: center;
}

.hero-logo-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
}

.hero-logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f08a5d;
}

.hero-description {
    font-size: 1.125rem;
    color: #666666;
    max-width: 70rem;
    margin: 0 auto;
    line-height: 1.75;
}
.hero-description-promo {
    font-size: 1.5rem;
    color: #2a9d8f;
    max-width: 70rem;
    /*margin: 0 auto;*/
    margin-top: 20px;
    line-height: 1.2;
    font-weight: 500;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-box {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.logo-text {
    color: #f3bd6f;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-logo-text {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Category Card */
.category-card {
    background-color: rgba(243, 189, 111, 0.05);
    border: 2px solid rgba(243, 189, 111, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.category-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #f3bd6f;
    background-color: rgba(243, 189, 111, 0.1);
}

.category-header {
    padding: 1.5rem 1.5rem 0.75rem;
}

.category-name {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000000;
    text-align: center;
    margin-bottom: 0.5rem;
}

.category-description {
    font-size: 0.875rem;
    color: #666666;
    text-align: center;
}

.category-content {
    padding: 0 1.5rem 1.5rem;
}

.category-button {
    width: 100%;
    background-color: #f08a5d;
    color: #ffffff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-button:hover {
    background-color: rgba(240, 138, 93, 0.9);
}

.category-button:focus {
    outline: 2px solid #f08a5d;
    outline-offset: 2px;
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    border-top: 1px solid rgba(243, 189, 111, 0.2);
}

.footer-content {
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #000000;
}

.page {
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem .5rem;
    padding-bottom: .1rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f3bd6f;
}

.back-button {
    background: transparent;
    border: none;
    color: #666666;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease;
}

.back-button:hover {
    color: #000000;
}

.back-button:focus {
    outline: 2px solid #f3bd6f;
    outline-offset: 2px;
}

/* Main Content */
.main-content {
    padding: 0 1rem 2rem;
}

.container {
    max-width: 70rem;
    margin: 0 auto;
}

/* Category Title */
.category-title {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #000000;
}

/* Prompt Card */
.prompt-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(243, 189, 111, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Prompt Section */
.prompt-section {
    text-align: center;
}

.prompt-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: #666666;
    margin-bottom: 1rem;
}

.prompt-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    line-height: 1.6;
}

/* Feedback Section */
.feedback-section {
    text-align: center;
}

.feedback-button {
    background-color: #2a9d8f;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.feedback-button:hover {
    background-color: rgba(42, 157, 143, 0.9);
}

.feedback-button:focus {
    outline: 2px solid #2a9d8f;
    outline-offset: 2px;
}

.feedback-button-dislike {
    background-color: #ee6c7e   ;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.feedback-button-dislike:hover {
    background-color: rgba(238, 108, 126, 0.9);
}

.feedback-button-dislike:focus {
    outline: 2px solid #ee6c7e;
    outline-offset: 2px;
}


.feedback-thanks {
    color: #666666;
    font-weight: 500;
}

/* Content Sections */
.content-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blur-block h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
}

.blur-target {
    transition: filter 0.3s ease;
}

.blur-target.blurred {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    position: relative;
}

.blur-target.blurred::after {
    /*content: "🔒";*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    opacity: 1;
    pointer-events: none;
}

.blur-target p {
    color: #666666;
    margin-bottom: 0.5rem;
}

/* Email Form */
.unlock-form {
    background-color: rgba(243, 189, 111, 0.05);
    border: 1px solid rgba(243, 189, 111, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.unlock-form h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    text-align: center;
}

.unlock-form h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-description {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(243, 189, 111, 0.2);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background-color: #ffffff;
    color: #000000;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #f3bd6f;
    box-shadow: 0 0 0 2px rgba(243, 189, 111, 0.2);
}

.submit-button {
    width: 100%;
    background-color: #2a9d8f;
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: rgba(240, 138, 93, 0.9);
}

.submit-button:focus {
    outline: 2px solid #f08a5d;
    outline-offset: 2px;
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 1rem;
}

.success-message p {
    color: #f08a5d;
    font-weight: 500;
}

/* Tips Section */
.tips-section {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(243, 189, 111, 0.1);
    border: 1px solid rgba(243, 189, 111, 0.2);
    border-radius: 0.5rem;
}

.tips-section p {
    font-size: 0.875rem;
    color: #666666;
    text-align: center;
}

/* Hidden state */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-logo-text {
        font-size: 2.75rem;
    }
    #generateMore .feedback-button {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem; /* adds space between stacked buttons */
  }

  /* remove bottom margin on the last one so it doesn't push extra space */
  #generateMore .feedback-button:last-child {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
    .header {
        padding: 1.5rem 1.5rem;
    }
    
    .main-content {
        padding: 0 1.5rem 3rem;
    }
    
    .category-title h1 {
        font-size: 2.25rem;
    }
    
    .prompt-text {
        font-size: 1.5rem;
    }
}

/**************************************************/
/* AI Thinking Loader Styles */
.thinking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.thinking-overlay.fade-out {
    opacity: 0;
}

.thinking-container {
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

.ai-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: spin 2s linear infinite;
    color: #f08a5d;
    /* Better emoji rendering on mobile */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Color Emoji', sans-serif;
    line-height: 1;
}

.thinking-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666666;
    margin-bottom: 0.5rem;
}

.thinking-subtext {
    font-size: 1rem;
    color: #f08a5d;
    font-weight: 400;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Dots animation for "thinking..." effect */
.thinking-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Alternative brain icon animation */
.ai-icon.brain {
    animation: brainPulse 1.5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Initially hide main content */
.main-content.loading {
    display: none !important;
    opacity: 0 !important;
}
/**************************************************/
/* Roadmap Section */
.Roadmap {
  width: 100%;
  background-color: rgba(243, 189, 111, 0.05); /* subtle background */
  padding: 3rem 1rem;
  margin-top: 3rem;
}

.Roadmap-container {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.Roadmap-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.Roadmap-subtitle {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 2rem;
}

.Roadmap-steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .Roadmap-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.Roadmap-step {
  background: #ffffff;
  border: 1px solid rgba(243, 189, 111, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.Roadmap-step:hover {
  transform: translateY(-4px);
}

.Roadmap-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f08a5d;
  margin-bottom: 0.75rem;
}

.Roadmap-step-text {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 1rem;
}

.Roadmap-button {
  background-color: #2a9d8f;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.Roadmap-button:hover {
  background-color: rgba(42, 157, 143, 0.9);
  transform: scale(1.05);
}

.Roadmap-thanks {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2a9d8f;
  margin-top: 0.5rem;
}
/********** End Roadmap CSS *************/

