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

body {
  font-family: 'Inter', sans-serif;
  background: #f4f6f8;
  padding: 30px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  color: #0A66C2;
  margin-bottom: 10px;
}

.tool-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-box,
.preview-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
}

textarea {
  width: 100%;
  height: 350px;
  margin-top: 15px;
  padding: 15px;
  resize: vertical;
  font-size: 16px;
}

.buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  background: #0A66C2;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

#characterCount {
  margin-top: 15px;
  color: #555;
}

#previewContent {
  min-height: 350px;
  margin-top: 15px;
  padding: 15px;
  background: #fafafa;
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.6;
}

#copyBtn {
  margin-top: 15px;
}

@media (max-width: 768px) {

  .tool-section {
    grid-template-columns: 1fr;
  }

}
.linkedin-card {
  margin-top: 15px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  
  box-shadow:
    0 4px 12px rgba(0,0,0,0.08);
}

.linkedin-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0A66C2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.linkedin-header p {
  margin-top: 4px;
  color: #666;
  font-size: 14px;
}

.linkedin-card h3 {
  margin-top: 15px;
  margin-bottom: 10px;
}

.seo-content,
.faq-section {
  margin-top: 50px;
  background: white;
  padding: 25px;
  border-radius: 12px;
}

.seo-content h2,
.faq-section h2 {
  margin-bottom: 15px;
}

.seo-content p,
.faq-section p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.faq-section h3 {
  margin-top: 20px;
}

.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}

.hero-buttons {
  margin-top: 25px;
}

.hero-buttons a {
  background: #0A66C2;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.future-tools {
  margin-top: 60px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tool-card {
    display: block;
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-4px);
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #ddd;
  border-radius: 50px;
  margin-top: 10px;
  overflow: hidden;
}

#progressFill {
  height: 100%;
  width: 0%;
  background: #0A66C2;
  transition: width 0.3s ease;
}

.dark-mode {
  background: #121212;
  color: white;
}

.dark-mode .input-box,
.dark-mode .preview-box,
.dark-mode .seo-content,
.dark-mode .faq-section,
.dark-mode .tool-card,
.dark-mode .linkedin-card,
.dark-mode .disclaimer {
  background: #1e1e1e;
  color: white;
}

.dark-mode textarea {
  background: #2a2a2a;
  color: white;
  border: 1px solid #444;
}

.dark-mode #previewContent {
  background: #2a2a2a;
}

.dark-mode footer {
  border-top: 1px solid #333;
}

.dark-mode .footer-links a {
  color: #66aaff;
}

footer {
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer-brand h3 {
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 600px;
  margin: auto;
  line-height: 1.7;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  margin: 0 10px;
  text-decoration: none;
  color: #0A66C2;
}

.copyright {
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.disclaimer {
  margin-top: 50px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  text-align: center;
  line-height: 1.6;
}

.tagline {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}



.dark-mode .container {
  color: white;
}

.dark-mode .tool-card {
  border: 1px solid #333;
}

.dark-mode .progress-bar {
  background: #333;
}

.dark-mode .linkedin-header p {
  color: #bbb;
}

.dark-mode .copyright {
  color: #bbb;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #0A66C2;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 20px;
}

.site-header nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.site-header nav a:hover {
  color: #0A66C2;
}

.tool-navigation {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.tool-navigation a {
  text-decoration: none;
  color: #0A66C2;
  font-weight: 600;
}

.related-links {
  margin-top: 50px;
  background: white;
  padding: 25px;
  border-radius: 12px;
}

.related-links h2 {
  margin-bottom: 15px;
}

.related-links ul {
  padding-left: 20px;
}

.related-links li {
  margin-bottom: 10px;
}

.related-links a {
  color: #0A66C2;
  text-decoration: none;
}

.dark-mode .related-links,
.dark-mode .tool-hub {
  background: #1e1e1e;
  color: white;
}

.dark-mode .site-header {
  border-color: #333;
}

.dark-mode .site-header nav a {
  color: white;
}

.dark-mode .tool-navigation a,
.dark-mode .related-links a {
  color: #66aaff;
}

@media (max-width: 768px) {

  .site-header {
    flex-direction: column;
    gap: 15px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

}

.tool-hub {
  margin-top: 60px;
}

.tool-hub h2 {
  text-align: center;
  margin-bottom: 25px;
}