    :root {
      --primary: #6a5cff; /* primary color */
      --secondary: #4fc3f7; /* secondary color */
      --bg: #f6f8fc;
      --card: #ffffff;
      --text: #1e293b;
      --muted: #64748b;
      --nav-bg: rgba(255,255,255,0.15);
      --radius: 16px;
    }

    [data-theme="dark"] {
      --primary: #1e1b4b; /* deep indigo */
      --secondary: #0f172a; /* near-black blue */      
      --bg: #0f172a;
      --card: #1e293b;
      --text: #e5e7eb;
      --muted: #94a3b8;
      --nav-bg: rgba(15,23,42,0.6);
    }

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

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    html {
      scroll-behavior: smooth;
    }

    /* ---------- NAVBAR ---------- */

    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      backdrop-filter: blur(10px);
      background: var(--nav-bg);
      transition: background 0.3s;
    }

    .nav-inner {
      max-width: 1100px;
      margin: auto;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #fff;
    }

    .brand {
      font-weight: 700;
      font-size: 1.1rem;
    }

    .brand-gold {
      color: #FFD700; /* Gold / yellow color */
    }

    .nav-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .toggle {
      cursor: pointer;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(255,255,255,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: background 0.25s, transform 0.25s;
    }

    .toggle:hover {
      background: rgba(255,255,255,0.4);
      transform: rotate(15deg) scale(1.1);
    }

    .toggle.rotate {
      animation: spin 0.4s ease-in-out;
    }

    @keyframes spin {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    /* ---------- HERO ---------- */

    header {
      background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
      );
      color: #fff;
      padding: 130px 20px 90px;
      text-align: center;
    }

    header h1 {
      font-size: 3rem;
      margin-bottom: 14px;
    }

    header p {
      max-width: 720px;
      margin: 0 auto 32px;
      font-size: 1.2rem;
      opacity: 0.95;
    }

    .cta {
      display: inline-block;
      background: #fff;
      color: var(--primary);
      padding: 14px 30px;
      border-radius: 999px;
      font-weight: 600;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .cta:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 36px rgba(0,0,0,0.22);
    }


    /* ---------- MAIN ---------- */

    main {
      max-width: 1100px;
      margin: 70px auto;
      padding: 0 20px;
    }

    .section-title {
      text-align: center;
      margin-bottom: 50px;
    }

    .section-title h2 {
      font-size: 2.3rem;
      margin-bottom: 10px;
    }

    .section-title p {
      color: var(--muted);
    }

    .tools {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 26px;
    }

    .tool-card {
      background: var(--card);
      border-radius: var(--radius);
      padding: 26px;
      box-shadow: 0 10px 28px rgba(0,0,0,0.06);
      transition: transform 0.25s, box-shadow 0.25s;
    }

    .tool-card {
      position: relative;
      overflow: hidden;
    }

    .tool-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        120deg,
        transparent,
        rgba(106,92,255,0.12),
        transparent
      );
      opacity: 0;
      transition: opacity 0.3s;
    }

    .tool-card:hover::after {
      opacity: 1;
    }

    .tool-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 28px 55px rgba(0,0,0,0.12);
    }


    .tool-icon {
      font-size: 2.1rem;
      margin-bottom: 12px;
    }

    .tool-card h3 {
      font-size: 1.25rem;
      margin-bottom: 8px;
    }

    .tool-card p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .why {
      margin-top: 90px;
      text-align: center;
    }

    .why p {
      max-width: 760px;
      margin: auto;
      color: var(--muted);
    }


    /* ---------- SINGLE PAGE ---------- */

    .card {
      background: var(--card);
      border-radius: var(--radius);
      padding: 26px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    }

    .button-container {
      display: flex;
      justify-content: center;  /* Centers horizontally */
    }

    /* Button style (light mode) */
    button {
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 999px;
      padding: 12px 24px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
      margin-bottom: 20px; /* More space under the button */
    }

    /* Hover effect for all themes */
    button:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    }

    /* Dark mode override */
    [data-theme="dark"] button {
      background: #f1f5f9;  /* light gray / near-white */
      color: #0f172a;       /* dark text for contrast */
    }

    [data-theme="dark"] button:hover {
      background: #e2e8f0;  /* slightly darker on hover */
    }

    textarea {
      width: 100%;
      min-height: 180px;
      padding: 14px;
      border-radius: 12px;
      border: 1px solid #c7d2fe;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-size: 0.95rem;
      margin-bottom: 16px;
      resize: vertical;
    }

    .info {
      margin-top: 18px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    /* ---------- FOOTER ---------- */

    footer {
      background: #020617;
      color: #94a3b8;
      padding: 40px 20px;
    }

    .footer-inner {
      max-width: 1100px;
      margin: auto;
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 22px;
      flex-wrap: wrap;
      margin-bottom: 14px;
    }

    .footer-links a {
      color: #c7d2fe;
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: #ffffff;
    }

    .footer-copy {
      font-size: 0.85rem;
      opacity: 0.7;
    }


/* ---------- MOBILE RESPONSIVE ---------- */

@media (max-width: 600px) {
  header {
    padding: 110px 16px 70px;
  }

  header h1 {
    font-size: 2.1rem;
  }

  header p {
    font-size: 1rem;
  }

  .cta {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .nav-inner {
    padding: 12px 16px;
  }

  .brand {
    font-size: 1rem;
  }

  .toggle {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  main {
    margin: 50px auto;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .tools {
    gap: 18px;
  }

  .tool-card {
    padding: 20px;
  }

  /* Disable hover lift on touch devices */
  .tool-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  }

  button {
    width: 100%;
    max-width: 320px;
  }

  textarea {
    font-size: 1rem;
  }
}


/* Social Icons on footer */
.social-links {
  display: block;
  margin-top: 0.6rem;   /* moves icons down from text above */
  text-align: center;
}

.social-links a {
  margin: 0 0.25rem;    /* keeps icons close together */
  color: #BDC3C7;
  text-decoration: none;
  transition: color 0.25s, transform 0.25s;
}

.social-links svg {
  width: 22px;                /* consistent icon size */
  height: 22px;
  vertical-align: middle;
}