@import url('../../assets/footer/footer.css');
/* style.css */
:root {
  --primary-color: #6c63ff;
  --primary-light: #a29bfe;
  --primary-dark: #4b44cc;
  --secondary-color: #ff6584;
  --accent-color: #63ff9e;
  --pro-color: #ff9f43;
  --text-color: #2d3436;
  --text-light: #636e72;
  --text-lighter: #b2bec3;
  --bg-color: #f9f9ff;
  --bg-secondary: #ffffff;
  --border-color: #dfe6e9;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(108, 99, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --gradient: linear-gradient(135deg, #6c63ff 0%, #a29bfe 100%);
  --pro-gradient: linear-gradient(135deg, #ff9f43 0%, #ffcc29 100%);
}

[data-theme="dark"] {
  --text-color: #f5f6fa;
  --text-light: #dcdde1;
  --text-lighter: #7f8fa6;
  --bg-color: #1e272e;
  --bg-secondary: #2f3640;
  --border-color: #353b48;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 12px 40px rgba(108, 99, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Premium Header Styles */
.tool-header {
  background: var(--gradient);
  padding: 2rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.15);
}

.tool-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
  background-size: cover;
}

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

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-3px);
}

.tool-meta {
  position: relative;
}

.tool-meta h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-weight: 700;
}

.tool-meta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 600px;
}

.badge {
  position: absolute;
  top: -1rem;
  right: 0;
  background: var(--pro-gradient);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 159, 67, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Main Tool Styles */
.tool-main {
  padding-bottom: 3rem;
}

.tool-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 3rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.tool-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

/* Section Styles */
.input-section, 
.font-styles, 
.output-section {
  padding: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
}

.input-actions, 
.output-actions, 
.style-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.styles-count {
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary-color);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.scroll-buttons {
  display: flex;
  gap: 0.5rem;
}

.scroll-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
}

/* Textarea Styles */
textarea {
  width: 100%;
  min-height: 120px;
  padding: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  resize: vertical;
  background-color: var(--bg-secondary);
  color: var(--text-color);
  transition: var(--transition);
  line-height: 1.7;
}

textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
}

/* Font Styles Grid */
.style-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.font-style {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-size: 1.5rem;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.font-style:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.font-style.pro {
  position: relative;
  overflow: hidden;
}

.font-style.pro::after {
  content: "PRO";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--pro-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

/* Output Section */
.output-content {
  min-height: 150px;
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
  font-size: 1.75rem;
  line-height: 2.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  transition: var(--transition);
  outline: none;
}

.output-content:empty::before {
  content: "Your styled text will appear here...";
  color: var(--text-lighter);
  font-size: 1rem;
}

.output-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-light);
}

.char-count {
  font-weight: 500;
}

.watermark {
  opacity: 0.7;
  font-style: italic;
}

/* Button Styles */
.btn-primary, 
.btn-secondary, 
.btn-tertiary, 
.btn-copy {
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(108, 99, 255, 0.05);
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-tertiary:hover {
  background-color: rgba(255, 101, 132, 0.05);
  transform: translateY(-2px);
}

.btn-copy {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

.btn-copy:hover {
  background-color: rgba(108, 99, 255, 0.05);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .style-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .tool-meta h1 {
    font-size: 2rem;
  }
  
  .tool-meta p {
    font-size: 1.1rem;
  }
  
  .input-section, 
  .font-styles, 
  .output-section {
    padding: 1.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .style-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .font-style {
    padding: 1rem;
    font-size: 1.25rem;
    min-height: 80px;
  }
  
  .output-content {
    font-size: 1.5rem;
    line-height: 2.2rem;
  }
}

@media (max-width: 480px) {
  .tool-header {
    padding: 1.5rem 0;
  }
  
  .tool-meta h1 {
    font-size: 1.75rem;
    gap: 0.75rem;
  }
  
  .back-button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .badge {
    top: -0.5rem;
    font-size: 0.7rem;
  }
  
  textarea {
    min-height: 100px;
    font-size: 1rem;
  }
  
  .style-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .btn-primary, 
  .btn-secondary, 
  .btn-tertiary {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .output-content {
    font-size: 1.3rem;
    line-height: 2rem;
    padding: 1.25rem;
  }
  
  .output-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Add this to your HTML head to load Inter font */
/* <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> */