:root {
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --background: #F9FAFB;
    --surface: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
    --border: #E5E7EB;
    --accent: #10B981;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --container: 1200px;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  
  .container {
    width: min(100% - 2rem, var(--container));
    margin: 0 auto;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  
  .navbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .logo {
    height: 40px;
    width: auto;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
  }

  .brand-text {
    display: inline-block;
  }
  
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #4F46E5);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    color: white;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
  }
  
  .nav-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
  }
  
  .hero {
    padding: 7rem 0 5rem;
  }
  
  .hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    font-weight: 800;
  }
  
  .hero p {
    max-width: 760px;
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
  }
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0.95rem 1.4rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
  }
  
  .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.22);
  }
  
  .tools-section {
    padding: 1rem 0 6rem;
  }
  
  .section-heading {
    text-align: center;
    margin-bottom: 2.2rem;
  }
  
  .section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
  }
  
  .section-heading p {
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto;
  }
  
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
  }
  
  .tool-card {
    background: var(--surface);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: block; /* Makes the whole area clickable */
    text-decoration: none; /* Removes underlines */
    color: inherit; /* Keeps your text color */
    cursor: pointer;
  }
  
  .tool-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.18);
  }
  
  .tool-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #EFF6FF;
    color: var(--primary);
  }
  
  .tool-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
    color: var(--primary);
  }
  
  .tool-card p {
    color: var(--muted);
    font-size: 0.96rem;
  }
  
  .about-section {
    padding-bottom: 5rem;
    text-align: center;
  }
  
  .about-section p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
  }
  
  .site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
  }
  
  .footer-inner {
    text-align: center;
    padding: 1.4rem 0;
    color: var(--muted);
    font-size: 0.95rem;
  }
  
  @media (max-width: 1100px) {
    .tools-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 780px) {
    .navbar {
      min-height: auto;
      padding: 1rem 0;
      flex-direction: column;
      justify-content: center;
    }
  
    .nav-links {
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .hero {
      padding: 5rem 0 3.5rem;
    }
  
    .tools-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 520px) {
    .container {
      width: min(100% - 1.25rem, var(--container));
    }
  
    .hero h1 {
      font-size: 2.25rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .tools-grid {
      grid-template-columns: 1fr;
    }
  
    .tool-card {
      padding: 1.5rem 1.1rem;
    }
  }
  