/* Common Tool Styles - Shared across ChatGPT Prompt Builder Tools */

/* Body & Container */
body {
  padding-top: 60px;
}

.tool-container {
  max-width: 900px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

.tool-header {
  text-align: center;
  margin-bottom: 50px;
}

.tool-header h1 {
  color: var(--accent1);
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.tool-header h1 .material-icons {
  font-size: 48px;
  color: var(--accent1);
}

/* Prompt Generator Section */
.prompt-generator-section {
  margin: 0px 0 50px 0;
  background: linear-gradient(120deg, var(--accent1) 0%, var(--accent2) 100%);
  padding: 32px 36px;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 8px 28px -6px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.prompt-generator-section:before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 70%);
  opacity: .5;
}

.prompt-generator-section h1 {
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  font-weight: 800;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.prompt-generator-section h1 .material-icons {
  font-size: 48px;
  flex-shrink: 0;
  animation: sparkle 2s ease-in-out infinite;
  display: flex;
  align-items: center;
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 1;
    transform: rotate(-2deg);
  }
  50% { 
    opacity: 0.8;
    transform: rotate(0deg);
  }
}

.prompt-generator-section > p,
.prompt-generator-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 12px 0 25px 0;
}

/* Tool Content */
.tool-content {
  margin: 40px 0;
}

.tool-section {
  margin-bottom: 30px;
}

.tool-section h2 {
  color: var(--accent1);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tool-section p {
  line-height: 1.7;
  margin-bottom: 15px;
}

/* New Tool Callout */
.new-tool-callout {
  background: var(--light-bg);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 20px 24px 0px 24px;
  margin: 30px 0;
}

.new-tool-callout .badge {
  display: inline-block;
  background: var(--accent1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.tool-callout-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

.tool-callout-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.new-tool-callout h3 {
  color: var(--accent1);
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}

.new-tool-callout p {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.new-tool-callout .try-it-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 3px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
  opacity: 0.9;
}

.new-tool-callout .try-it-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 127, 80, 0.3);
  opacity: 1;
}

/* Hidden tools container */
.hidden-tools {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.hidden-tools.expanded {
  max-height: 2000px; /* Large enough for content */
}

.show-more-tools-container {
  text-align: center;
  padding: 10px 0 20px 0;
}

.show-more-tools-btn {
  background: white;
  color: var(--accent1);
  border: 2px solid var(--accent1);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.show-more-tools-btn:hover {
  background: var(--accent1);
  color: white;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.benefit-item {
  background: var(--light-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
}

.benefit-item h3 {
  color: var(--accent1);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin: 30px 0 40px;
  padding: 40px 20px;
  background: var(--light-bg);
  border-radius: 8px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
