:root{
    --bg: #0b0f19;
    --card: rgba(255,255,255,0.06);
    --card2: rgba(255,255,255,0.10);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.70);
    --line: rgba(255,255,255,0.10);
    --accent: #7bdff2; /* subtle cyan */
    --accent2:#f2b5d4; /* subtle pink */
    --max: 1100px;
    --radius: 18px;
  }
  
  *{ box-sizing:border-box; }
  html,body{ height:100%; }
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: radial-gradient(1200px 900px at 15% 10%, rgba(123,223,242,0.12), transparent 55%),
                radial-gradient(1200px 900px at 85% 20%, rgba(242,181,212,0.12), transparent 55%),
                var(--bg);
    color: var(--text);
  }
  
  a{ color: inherit; text-decoration: none; }
  a:hover{ opacity:0.9; }
  
  .container{ max-width: var(--max); margin:0 auto; padding: 0 18px; }
  
  .nav{
    position: sticky; top:0; z-index:10;
    backdrop-filter: blur(10px);
    background: rgba(11,15,25,0.65);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner{
    height: 64px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
  }
  .brand{
    display:flex; align-items:center; gap:10px;
    font-weight: 650;
    letter-spacing: 0.2px;
  }
  .brand-dot{
    width:10px; height:10px; border-radius:999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 18px rgba(123,223,242,0.35);
  }
  
  .nav-links{
    display:flex; gap: 14px; flex-wrap:wrap;
    font-size: 0.95rem;
    color: var(--muted);
  }
  .nav-links a{
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
  }
  .nav-links a:hover{
    border-color: var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text);
  }
  
  .hero{
    padding: 46px 0 18px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
  }
  @media (max-width: 920px){
    .hero-grid{ grid-template-columns: 1fr; }
  }
  
  .card{
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
  }
  
  .h1{
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 10px;
    line-height: 1.05;
    letter-spacing: -0.5px;
  }
  .lead{
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.55;
  }
  
  .badges{ display:flex; gap:10px; flex-wrap:wrap; margin: 14px 0 0; }
  .badge{
    display:inline-flex; align-items:center; gap:8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    font-size: 0.9rem;
  }
  
  .actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
  .btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font-weight: 600;
  }
  .btn:hover{ background: rgba(255,255,255,0.10); }
  .btn-primary{
    border-color: rgba(123,223,242,0.35);
    background: linear-gradient(135deg, rgba(123,223,242,0.18), rgba(242,181,212,0.14));
  }
  
  .section{
    padding: 18px 0 30px;
  }
  .section h2{
    margin: 0 0 10px;
    font-size: 1.35rem;
    letter-spacing: -0.2px;
  }
  .grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  @media (max-width: 900px){
    .grid{ grid-template-columns: 1fr; }
  }
  
  .tool-card{
    padding: 14px;
  }
  .tool-card h3{ margin: 0 0 8px; font-size: 1.05rem; }
  .tool-card p{ margin: 0 0 10px; color: var(--muted); line-height:1.5; }
  .tool-meta{ display:flex; gap:8px; flex-wrap:wrap; }
  .tag{
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    border-radius: 999px;
    padding: 6px 8px;
  }
  
  .footer{
    border-top: 1px solid var(--line);
    padding: 18px 0;
    color: var(--muted);
    font-size: 0.95rem;
  }
  
  .small{ font-size:0.95rem; color: var(--muted); }
  hr.sep{ border:0; border-top:1px solid var(--line); margin: 14px 0; }

  .footer {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer-right a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--muted);
    transition: opacity 0.2s ease;
  }
  
  .footer-right a:hover {
    opacity: 0.7;
  }

  .footer {
    margin-top: 5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-left strong {
    font-weight: 600;
    color: var(--text);
  }
  
  .footer-tagline {
    opacity: 0.6;
  }
  
  .footer-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  
  .footer-right a {
    text-decoration: none;
    color: var(--muted);
    transition: opacity 0.2s ease;
  }
  
  .footer-right a:hover {
    opacity: 0.7;
  }
  
  .footer-dot {
    opacity: 0.4;
  }

  .footer-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
  }
  
  .footer-left{
    font-size:0.95rem;
  }
  
  .footer-right{
    display:flex;
    gap:16px;
    font-size:0.9rem;
  }
  
  .footer-right a{
    color: var(--muted);
  }
  
  .footer-right a:hover{
    color: var(--text);
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
  }
  
  .brand-icon {
    width: 40px;     /* ← control size here */
    height: 40px;
    object-fit: contain;
    display: block;
  }

  /* Mobile nav */
.nav-toggle{
  display:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.05rem;
  cursor: pointer;
}

@media (max-width: 820px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav-inner{
    position: relative;
  }

  /* hide links by default on mobile */
  .nav-links{
    display:none;
    position:absolute;
    top: 64px;               /* matches nav height */
    right: 18px;
    left: 18px;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(11,15,25,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  }

  .nav-links a{
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text);
  }

  .nav-links a:hover{
    background: rgba(255,255,255,0.08);
  }

  /* when open */
  .nav-links.is-open{
    display:flex;
  }
}

/* Brand icon */
.brand-icon{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Mobile nav toggle button */
.nav-toggle{
  display:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.05rem;
  cursor: pointer;
}

@media (max-width: 820px){
  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  /* hide links by default on mobile */
  .nav-links{
    display:none;
    position:absolute;
    top: 64px; /* same as nav height */
    left: 18px;
    right: 18px;

    flex-direction: column;
    gap: 8px;
    padding: 12px;

    border-radius: 16px;
    background: rgba(11,15,25,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  }

  .nav-links a{
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text);
  }

  .nav-links.is-open{
    display:flex;
  }
}

/* Tool conceptual illustration inside cards */
.tool-illus{
  width: 100%;
  height: 150px;                 /* adjust: 130–180 works well */
  margin: 10px 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.tool-illus img{
  width: 100%;
  height: 100%;
  object-fit: contain;           /* keeps entire image visible */
  object-position: center;
  display:block;
  padding: 10px;                 /* avoids touching borders */
}

/* Optional: slightly taller on larger screens */
@media (min-width: 900px){
  .tool-illus{ height: 165px; }
}

/* Dropdown/accordion cards (native <details>) */
.dd {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10); /* similar to your separators */
}

.dd summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.25rem; /* close to your h2 feel */
  color: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.dd summary::-webkit-details-marker {
  display: none;
}

/* Chevron */
.dd summary::after {
  content: "▾";
  opacity: 0.75;
  transform: rotate(0deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

.dd[open] summary::after {
  transform: rotate(180deg);
  opacity: 0.95;
}

/* Optional: subtle hover */
.dd summary:hover {
  opacity: 0.95;
}

/* Reduce spacing inside dropdown lists */
.dd ul.small {
  margin-bottom: 0;
}