/* info.css - Styling for How Patent Filtering Works page */
/* ===== Base Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Roboto:wght@400;500&display=swap');

:root {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --accent: #ff3e9d;
  --text: #2d3748;
  --light: #f8f9fa;
  --dark: #212529;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
  padding-top: 80px; /* For fixed navbar */
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: var(--dark);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary);
}

h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: var(--secondary);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

/* ===== Navigation ===== */
header {
  margin-bottom: 2rem;
}

nav {
  text-align: center;
  margin-bottom: 2rem;
}

nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border: 2px solid var(--primary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: var(--primary);
  color: white;
}

/* ===== Content Sections ===== */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

section {
  margin-bottom: 3rem;
}

article {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* ===== Lists ===== */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ===== Code/Pre Blocks ===== */
pre, code {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
}

/* ===== Highlighted Text ===== */
.highlight {
  color: var(--accent);
  font-weight: bold;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  background-color: white;
  border-top: 1px solid #eee;
}

footer p {
  margin-bottom: 1rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  main {
    padding: 0 1.5rem 2rem;
  }
}

/* ===== Special Components ===== */
.tip-box {
  background-color: rgba(106, 17, 203, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.example-box {
  background-color: rgba(37, 117, 252, 0.1);
  border-left: 4px solid var(--secondary);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}