:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-light: #f0fdfa; 
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1e293b;
    --text-light: #fff;
    --text-dark: #0f172a;
    --text-hover: #60a5fa;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --card:#fff;
    --panel: #f8fafc; 
    --border: #e2e8f0;
    --muted: #94a3b8;
} 
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: var(--panel);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }
pre {
 background: #f8fafc;
    color: #0f172a; 
    padding: 1rem 1.2rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: Consolas, Menlo, Monaco, 'Courier New', monospace;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    white-space: pre-wrap;             /* wrap long lines */
    word-break: break-word;
     
}
ol li, ul li{
    padding:5px 0 5px 0;
}
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            
            color: var(--accent);
            text-decoration: none;
        }

        .logo i {
            
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a.active {
            color: var(--accent);
        }

        .nav-links a.active::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            
            color: var(--text);
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            padding: 5rem 0;
            text-align: center;
            background: var(--panel);
        }

        .hero h1 {
            
            margin-bottom: 1rem;
            color: var(--text);
        }

        .hero p {
            
            color: var(--muted);
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .cta-button {
            display: inline-block;
            background-color: #C5CFD8;
            color: black;
            padding: 12px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            
            transition: all 0.3s;
            box-shadow: var(--shadow);
        }

        .cta-button:hover {
            background-color: #0d9488;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Features Section */
        .features {
            padding: 5rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 { 
            margin-bottom: 1rem;
            color: var(--text);
        }

        .section-title p {
            color: var(--muted);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background-color: var(--panel);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
            text-align: center;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background-color: var(--accent-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--accent);
            
        }

        .feature-card h3 {
            margin-bottom: 1rem;
            color: var(--text);
        }

        .feature-card p {
            color: var(--muted);
        }

        /* Roadmap Preview */
        .roadmap-preview {
            padding: 5rem 0;
           background: var(--panel);
        }

        .preview-container {
            display: flex;
            align-items: center;
            gap: 3rem;
        }

        .preview-image {
            flex: 1;
            background-color: var(--panel);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            text-align: center;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .preview-image i {
            
            color: var(--accent);
            margin-bottom: 1rem;
        }

        .preview-content {
            flex: 1;
        }

        .preview-content h2 {
            
            margin-bottom: 1.5rem;
            color: var(--text);
        }

        .preview-content p {
            color: var(--muted);
            margin-bottom: 1.5rem;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }

        .tech-item {
            background-color: var(--panel);
            padding: 8px 16px;
            border-radius: 20px;
            
            color: var(--accent);
            border: 1px solid var(--border);
        }

        /* Pages Grid */
        .pages-grid {
            padding: 5rem 0;
        }

        .pages-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .page-card {
            background-color: var(--panel);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.3s;
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .page-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .page-icon {
            width: 60px;
            height: 60px;
            background-color: var(--accent-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--accent);
            
        }

        .page-card h3 {
            margin-bottom: 1rem;
            color: var(--text);
        }

        .page-card p {
            color: var(--muted);
            
        }

        /* Footer */
        footer {
              background: var(--panel);
            color: white;
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-column h3 {
            margin-bottom: 1.5rem;
            color: white;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: #cbd5e1;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-bottom-links {
            display: flex;
            gap: 1.5rem;
        }

        .footer-bottom-links a {
            color: #cbd5e1;
            text-decoration: none;
            
            transition: color 0.3s;
        }

        .footer-bottom-links a:hover {
            color: white;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--panel);
                flex-direction: column;
                padding: 1rem;
                box-shadow: var(--shadow);
            }

            .nav-links.active {
                display: flex;
            }

            .hero h1 {
                
            }

            .preview-container {
                flex-direction: column;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
/* MAIN LAYOUT */
.main {
  display: grid;
  grid-template-rows: 30px 1fr;
  height: 100vh;
  background: linear-gradient(180deg,#001018 0%, #081827 100%);
  padding: 0;
  box-sizing: border-box;
  overflow: hidden; /* prevent internal scroll */
}

/* TOOLBAR */
.toolbar {background: #fff;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.toolbar button.active {
  background: #f97316;
  color: #081021;
}

/* APP GRID */
.app {
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  gap: 0;
  height: 100%;
  background: var(--bg);
  padding: 0;
  box-sizing: border-box;
  overflow: hidden; /* prevent scroll inside the grid itself */
}

/* ONLY SIDEBARS SCROLL */
.sidebar,
.rightpanel {
  width:100%;
  padding: 5px;
  background: var(--card);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow-y: auto; /* only these scroll */
  overflow-x: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* CENTER PANEL NEVER SCROLLS */
.centerpanel {
  overflow: hidden;  /* prevents accidental scroll */
}
.page-content {
  padding: 20px 30px;
  width:100%;
  overflow-y: auto; 
  margin: 0 auto;
}

.page-content h1 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
  font-weight: 750; 
  position: relative;
  padding-bottom: 15px;
}

.page-content h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.page-content h2 {
  color: var(--text);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500; 
  padding-left: 15px;
  border-left: 4px solid var(--accent);;
}

.page-content p {
  margin-bottom: 20px;
  color: var(--text); 
}
 
.topbar{position:absolute;left:12px;top:12px;display:flex;gap:6px;z-index:6}
.topbar button{padding:6px 8px;border-radius:6px;background:rgba(255,255,255,0.03);border:0;color:#fff}
.hint{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,0.5);padding:8px;border-radius:6px;color:#fff;font-size:13px}
.canvasWrap{background:linear-gradient(180deg,#02121a,#051726);border-radius:10px;position:relative;overflow:hidden}
#svg{width:100%;height:100%;display:block;cursor:grab;touch-action:none;overflow:hidden}
 
.sidebar {
  border-right: 1px solid var(--border); 
}
.sidebar h1{
 
text-align: center;
}
.rightpanel {
  border-left: 1px solid var(--border);
  gap: 15px;
  padding:15px;
}

.logo {
  height: 40px;
  margin-bottom: 20px; 
  border-radius: 8px;
  padding: 8px;
  color: white;
  text-align: center;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;  
  padding: 8px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.controls ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.controls li {
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border:1px solid var(--border);
}

.controls li:hover {
  background: var(--card);
  color: var(--accent);
}

.controls li.active {
  background: var(--accent);
  color: white;
}
.controls a {
    display:flex;align-items:center;gap:8px;
            width:100%;height:100%;
            color:inherit;text-decoration:none;
            padding:8px 12px;
} 
.footer-section {
  flex-shrink: 0;
  padding-top: 15px;
  border-top: 1px dashed var(--border);
  
  color: var(--text);
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.footer-left {
  white-space: nowrap;
}

.footer-right {
  display: flex;
  gap: 5px;
}

.footer-section a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.canvas-wrap {
  position: relative;
  overflow: auto;
  background: linear-gradient(180deg, rgba(2,6,23,0.02), transparent);
}

canvas, svg {
  width: 100%;
  height: 100%;
  display: block;
}

.muted {
  color: var(--warning);
  
}

.list {
  margin: 10px 0;
  padding-left: 18px;
  color: var(--muted);
  
}

.node-label {
  pointer-events: none;
  
  text-anchor: middle;
}
  .toggle-sidebar-btn, .toggle-rightpanel-btn {
   display:none;
  }
  .zoom-controls {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2000;
}

.zoom-controls button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ---------------- Mobile Styles ---------------- */
@media screen and (max-width: 968px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar, .rightpanel {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 1000;
    width: 260px;
    transform: translateX(-100%);
    background: var(--panel);
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  }

  .rightpanel {
    right: 0;
    left: auto;
    transform: translateX(100%);
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  }

  .canvas-wrap {
    grid-column: 1 / -1;
  }

  .toggle-sidebar-btn, .toggle-rightpanel-btn {
       display:block;
    position: fixed;
    top: 10px;
    z-index: 1100;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    
  }

  .toggle-sidebar-btn { left: 10px; }
  .toggle-rightpanel-btn { right: 10px; }
}
 
.rightpanel h3 {
  
  margin: 0;
  padding: 12px 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.rightpanel h3:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.rightpanel h3.active {
  background: var(--accent);
  color: white;
}

.toggle-sidebar-btn, .toggle-rightpanel-btn {
  display: none;
  position: fixed;
  top: 15px;
  z-index: 1100;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.toggle-sidebar-btn:hover, .toggle-rightpanel-btn:hover {
  background: #0d9493;
  transform: translateY(-2px);
}

@media screen and (max-width: 968px) {
  .app {
    grid-template-columns: 1fr;
  }
  
  .sidebar, .rightpanel {
    position: fixed;
    top: 0;
    height: 100vh;
    z-index: 1000;
    width: 260px;
    transform: translateX(-100%);
    background: var(--panel);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .rightpanel {
    right: 0;
    left: auto;
    transform: translateX(100%);
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .toggle-sidebar-btn, .toggle-rightpanel-btn {
    display: block;
  }
  
  .toggle-sidebar-btn {
    left: 15px;
  }
  
  .toggle-rightpanel-btn {
    right: 15px;
  }
  
  .page-content {
    padding: 60px 20px 30px;
  }
  
  .page-content h1 {
    
  }
}
     /* Error Content */
        .error-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 0;
            text-align: center;
        }

        .error-card {
            background-color: var(--panel);
            border-radius: 12px;
            padding: 3rem;
            box-shadow: var(--shadow);
            max-width: 500px;
            width: 100%;
        }

        .error-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #fef3c7, #f59e0b);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;
            color: #d97706;
            
        }

        .error-title {
            
            font-weight: 700;
            color: var(--text);
            margin-bottom: 1rem;
        }

        .error-subtitle {
            
            color: var(--muted);
            margin-bottom: 1.5rem;
        }

        .error-description {
            color: var(--muted);
            margin-bottom: 2rem;
            line-height: 1.6;
        } 

        .button-secondary {
            background-color: var(--panel);
            color: var(--text);
            border: 1px solid var(--border);
        }

        .button-secondary:hover {
            background-color: var(--bg);
            transform: translateY(-2px);
        }

        /* Quick Links */
        .quick-links {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .quick-links h3 {
            margin-bottom: 1rem;
            color: var(--text);
        }

        .link-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .link-item {
            color: var(--accent);
            text-decoration: none;
            padding: 0.5rem;
            border-radius: 6px;
            transition: background-color 0.3s;
        }

        .link-item:hover {
            background-color: var(--accent-light);
        }

        @media (max-width: 768px) {
            .error-card {
                padding: 2rem;
                margin: 1rem;
            }

            .error-title {
                
            }

            .error-subtitle {
                
            }
        }
.sidebar.show, .rightpanel.show {
  transform: translateX(0);
}

/* Content cards for better visual separation */
.content-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.content-card p{
 color:var(--text);
}
.content-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
} 

.content-card p {
  margin-bottom: 20px;
  color: var(--text); 
}
.content-card h2 { 
  color: var(--text);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500; 
  padding-left: 15px;
  border-left: 4px solid var(--accent);
}
.content-card h3 { 
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 400; 
  padding-left: 10px; 
  text-decoration:underline;
}
.content-card h2 i {
  color: var(--primary); 
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  width: 0%;
  z-index: 1001;
  transition: width 0.3s ease;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0d9493;
  transform: translateY(-3px);
}
 

/* Resource grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.resource-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.resource-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
  
}

.resource-card p {
  color: var(--muted);
  
  flex-grow: 1;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  
  transition: all 0.2s ease;
}

.resource-link:hover {
  gap: 12px;
  text-decoration: underline;
}

/* FAQ styles */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: var(--card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--panel);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
 background: var(--bg);
}

.faq-answer.open {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Contact form styles */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  grid-column: 1 / -1;
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  background: #0d9493;
  transform: translateY(-2px);
}

/* Contact info cards */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  background: var(--card);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--accent);
  
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 15px;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  text-decoration: underline;
}

 .roots {background:transparent;padding:6px;border-radius:6px;}
  .roots ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
  .roots li{padding:8px 10px;border-radius:6px;cursor:pointer;background:#071826;color:#fff}
  .roots li.active{background:#f97316;color:#081021;font-weight:700}
   .controls {display:flex;gap:6px; }
  .controls button{padding:5px}
  .muted{color:var(--warning);font-size:13px} 
  /* Right panel */ 
  .field{margin-bottom:8px}
  .field label{display:block;margin-bottom:4px;color:var(--text)}
  .field input,.field textarea{width:100%;box-sizing:border-box;padding:8px;border-radius:6px;border:1px solid var(--secondary);background: #f5f5f5;color:var(--text)}
  .small{color:var(--text)}
  .jsonWrapper {     
  display: flex;
  flex-direction: column;
}
  .jsonBox{flex:1;border:1px solid var(--secondary);background: #f5f5f5;padding:8px;border-radius:6px;color:var(--text);font-family:monospace;max-height:200px;overflow:auto} 
 
.subtitle {
  
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  color: var(--text-dark);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tool-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid var(--accent);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  color: var(--text);
}

.tool-card:hover { 
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tool-card h4 {
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.tool-card p {
  color: var(--text);
  
  line-height: 1.5;
}

.usage-steps {
    display: grid;
    grid-template-rows: auto 1fr; 
    padding: 1rem; 
    border-radius: 12px; 
    max-width: 900px;
    margin:1rem auto;
    font-family: Arial, sans-serif;
}

.usage-steps h3 { 
    color: #2563eb; 
} 

.keyboard-shortcuts { 
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  border-left: 5px solid #fc8181;
  color: var(--text);
  border: 2px dashed var(--primary);
}

.shortcut-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #2d3748;
}

.shortcut-item:last-child {
  border-bottom: none;
}

.key {
  background: var(--bg);
  color: var(--text);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  
  font-weight: bold;
  min-width: 60px;
  text-align: center;
  border: 1px solid var(--border);
}

.feature-highlight {
    background: linear-gradient(135deg, var(--card) 0%, var(--panel) 100%);
  color: #ecfeff;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid #0e7490;
}

.feature-highlight h3 {
  color: orange;
  margin-bottom: 15px;
  
}

.code-block {
  background: var(--panel);
  color: var(--text);
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  margin: 20px 0;
  overflow-x: auto;
  border-left: 5px solid var(--accent);
  line-height: 1.4;
  border: 1px solid var(--border);
}

.cta-section {
  text-align: center;
  padding: 40px;
  color: var(--text);
}

.tip-box {
  background: linear-gradient(135deg, #ff2 0%, #ff8 100%);
  border-left: 5px solid #d97706;
  padding: 20px;
  border-radius: 8px;
  margin: 10px 0;
  color: #fef3c7;
  border: 1px solid #713f12;
}

.tip-box h4 {
  color:red;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
} 

@media (max-width: 768px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
   
}