:root{
  --dg-bg:#0b0f17;
  --dg-card:#111827;
  --dg-text:#e5e7eb;
  --dg-muted:#a7b0c0;
  --dg-accent:#22c55e;
  --dg-border:rgba(255,255,255,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 20% 0%, rgba(34,197,94,.18), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(59,130,246,.18), transparent 60%),
              var(--dg-bg);
  color:var(--dg-text);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.dg-wrap{max-width:1100px;margin:0 auto;padding:24px 16px}

.dg-skip{
  position:absolute;left:-999px;top:auto;
  width:1px;height:1px;overflow:hidden;
}
.dg-skip:focus{
  left:16px;top:16px;width:auto;height:auto;
  padding:10px 12px;border-radius:10px;
  background:#fff;color:#000;z-index:9999;
}

/* ===== Header ===== */
.dg-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11,15,23,.75);
  border-bottom: 1px solid var(--dg-border);
}

.dg-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  gap: 14px;
}

/* LEFT */
.dg-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .2px;
  white-space: nowrap;
}
.dg-logo img{
  width:50px;
  height:50px;
  object-fit: contain;
}

/* CENTER */
.dg-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex: 1;                 /* nav center me rahe */
}
.dg-nav a{
  opacity:.9;
  padding: 8px 10px;
  border-radius: 12px;
}
.dg-nav a:hover{
  opacity:1;
  background: rgba(255,255,255,.06);
  border:1px solid var(--dg-border);
}

/* RIGHT */
.dg-auth{
  display:flex;
  align-items:center;
  gap:10px;
  white-space: nowrap;
}
.dg-btn--sm{ padding: 9px 12px; border-radius: 12px; font-weight: 800; }

/* Mobile menu button */
.dg-navbtn{
  display:none;
  border:1px solid var(--dg-border);
  background:transparent;
  color:var(--dg-text);
  padding:8px 12px;
  border-radius:12px;
  cursor:pointer;
}

/* ===== Mobile ===== */
@media (max-width: 820px){
  .dg-navbtn{ display:inline-flex; }

  /* nav dropdown */
  .dg-nav{
    display:none;
    position:absolute;
    left:16px;
    right:16px;
    top:64px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;

    background: rgba(17,24,39,.98);
    border:1px solid var(--dg-border);
    border-radius:16px;
    padding:12px;
  }
  .dg-nav.dg-open{ display:flex; }

  .dg-nav a{
    text-align:center;
    border:1px solid var(--dg-border);
    background: rgba(255,255,255,.04);
  }

  /* hide right auth on mobile (we will MOVE it into nav via JS) */
  .dg-auth{ display:none; }

  .dg-auth.dg-auth--mobile{
    display:flex;
    justify-content:center;
    gap:10px;
    padding-top:6px;
  }
}



/* ===== HERO ===== */
.dg-hero{
  padding: 26px 0 10px;
}

.dg-hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: stretch;
}

.dg-hero__content{
  background: rgba(17,24,39,.45);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

/* glow */
.dg-hero__content::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 240px at 20% 10%, rgba(34,197,94,.20), transparent 60%),
              radial-gradient(700px 240px at 90% 0%, rgba(59,130,246,.18), transparent 60%);
  z-index:0;
}
.dg-hero__content > *{ position:relative; z-index:1; }

.dg-badge{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--dg-border);
  color: var(--dg-muted);
  margin: 0 0 10px;
  background: rgba(255,255,255,.03);
}

.dg-h1{
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 10px 0 12px;
  letter-spacing: -0.2px;
}

.dg-lead{
  color: var(--dg-muted);
  font-size: 16px;
  margin: 0 0 16px;
}

.dg-hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 10px;
}

.dg-hero__points{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--dg-muted);
}

/* Right side */
.dg-hero__side{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.dg-hero__card{
  padding: 18px;
}

.dg-hero__mini{
  margin-top: 12px;
}

.dg-mini__title{
  margin: 0 0 8px;
  color: var(--dg-muted);
  font-weight: 700;
}

.dg-stat{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  text-align:center;
}

.dg-stat__num{
  display:block;
  font-weight: 900;
  font-size: 18px;
}

.dg-stat__label{
  display:block;
  color: var(--dg-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 900px){
  .dg-hero__grid{ grid-template-columns: 1fr; }
  .dg-stat{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px){
  .dg-stat{ grid-template-columns: 1fr; text-align:left; }
  .dg-stat__item{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    border-top:1px solid var(--dg-border);
    padding-top:10px;
  }
  .dg-stat__item:first-child{ border-top:0; padding-top:0; }
}



/* ===== AI Tools Section ===== */
.dg-tools__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dg-toolcard{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.dg-toolcard:hover{
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.35);
}

.dg-toolcard__img{
  height: 160px;
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
}
.dg-toolcard__img img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* logo-based images hain to 'contain' kar do */
}

.dg-toolcard__body{
  padding: 14px 16px 16px;
}

.dg-toolcard__title{
  margin: 0 0 6px;
}

/* Responsive */
@media (max-width: 900px){
  .dg-tools__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dg-tools__grid{ grid-template-columns: 1fr; }
  .dg-toolcard__img{ height: 180px; }
}



/* ===== Solutions Section ===== */
.dg-solutions__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dg-solcard{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease;
  position: relative;
  overflow: hidden;
}
.dg-solcard:hover{
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.35);
}

.dg-solcard__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--dg-border);
  background: rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.dg-solcard__icon svg{
  width: 22px;
  height: 22px;
  fill: rgba(34,197,94,.95);
}

.dg-solutions__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top: 14px;
}

/* Large CTA button */
.dg-btn--lg{
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
  box-shadow: 0 10px 30px rgba(34,197,94,.25);
}

.dg-btn--lg:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(34,197,94,.35);
}


/* Responsive */
@media (max-width: 900px){
  .dg-solutions__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dg-solutions__grid{ grid-template-columns: 1fr; }
}



/* ===== Resources (Heavy) ===== */
.dg-resource-feature{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-top: 10px;
  align-items: stretch;
}

/* LEFT */
.dg-resource-feature__content{
  background: rgba(17,24,39,.50);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.dg-resource-feature__content::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(750px 260px at 25% 0%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(750px 260px at 90% 10%, rgba(59,130,246,.16), transparent 60%);
  z-index:0;
}
.dg-resource-feature__content > *{ position:relative; z-index:1; }

.dg-feature__title{ margin-top: 8px; }

.dg-feature__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 12px 0 10px;
}
.dg-feature__meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

/* chips */
.dg-chip{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--dg-border);
  background: rgba(255,255,255,.03);
  color: var(--dg-muted);
  font-size: 12px;
  font-weight: 700;
}

/* RIGHT IMAGE BOX */
.dg-resource-feature__visual{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 10px;
  display:flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 260px;
}
.dg-resource-img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* logo/UI ho to contain kar dena */
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

/* chips links */
.dg-resource-chips{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 10px;
}
.dg-chiplink{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--dg-border);
  background: rgba(255,255,255,.03);
  color: var(--dg-muted);
  font-weight: 800;
}
.dg-chiplink:hover{
  color: var(--dg-text);
  border-color: rgba(34,197,94,.30);
}

/* Resource cards */
.dg-resources__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.dg-rescard{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease;
}
.dg-rescard:hover{
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.35);
}

.dg-rescard__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--dg-border);
  background: rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.dg-rescard__icon svg{
  width: 22px;
  height: 22px;
  fill: rgba(59,130,246,.90);
}

.dg-rescard__meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top: 10px;
}

.dg-resources__cta{
  display:flex;
  justify-content:center;
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 900px){
  .dg-resource-feature{ grid-template-columns: 1fr; }
  .dg-resource-feature__visual{ min-height: 220px; }
  .dg-resources__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dg-resources__grid{ grid-template-columns: 1fr; }
}



/* ================= BLOG SECTION ================= */
.blog-section{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

/* Header */
.section-header{
  text-align: center;
  margin-bottom: 26px;
}

.section-header h2{
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  margin-bottom: 8px;
  color: #ffffff;
}

.section-header p{
  color: #a7b0c0;
  font-size: 15px;
}

/* Cards Grid */
.blog-cards-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Blog Card */
.blog-card{
  background: rgba(17,24,39,.60);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-card:hover{
  transform: translateY(-4px);
  border-color: rgba(34,197,94,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* Image */
.blog-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #0b0f17;
}

/* Content */
.card-content{
  padding: 16px;
}

.card-content h3{
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-content p{
  font-size: 14px;
  color: #a7b0c0;
  margin-bottom: 14px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read Article Button */
.read-article-btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  color: #061018;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.read-article-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(34,197,94,.35);
}

/* Explore More */
.explore-more-container{
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.explore-more-btn{
  padding: 14px 24px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .5px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.explore-more-btn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(34,197,94,.45);
  transform: translateY(-1px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px){
  .blog-cards-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .blog-cards-container{
    grid-template-columns: 1fr;
  }

  .blog-card img{
    height: 200px;
  }
}




/* ================================
   FOOTER – DigenAI THEME
================================ */

.dg-footer{
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(34,197,94,.10), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(59,130,246,.10), transparent 60%),
    #0b0f17;
  color: #e5e7eb;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ---------- TOP AREA ---------- */
.dg-footer__top{
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 16px 36px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.dg-footer__col h3{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
  color: #ffffff;
}

.dg-footer__col p{
  font-size: 14px;
  line-height: 1.7;
  color: #a7b0c0;
  margin-bottom: 10px;
}

/* Lists */
.dg-footer__col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.dg-footer__col ul li{
  margin-bottom: 10px;
}

.dg-footer__col ul li a{
  font-size: 14px;
  color: #a7b0c0;
  text-decoration: none;
  transition: color .15s ease;
}

.dg-footer__col ul li a:hover{
  color: #22c55e;
}

/* Email */
.dg-footer__email{
  margin-top: 8px;
}

.dg-footer__email a{
  color: #38bdf8;
  font-weight: 800;
  text-decoration: none;
}

.dg-footer__email a:hover{
  text-decoration: underline;
}

/* ---------- DIVIDER ---------- */
.dg-footer__divider{
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* ---------- BOTTOM AREA ---------- */
.dg-footer__bottom{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ---------- SOCIAL ICONS ---------- */
.dg-footer__social{
  display: flex;
  gap: 14px;
}

.dg-footer__social a{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #e5e7eb;
  font-size: 16px;
  text-decoration: none;

  transition: background .15s ease,
              border-color .15s ease,
              transform .15s ease;
}

.dg-footer__social a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(34,197,94,.45);
  transform: translateY(-2px);
}

.dg-footer__social i{
  line-height: 1;
}

/* ---------- COPYRIGHT ---------- */
.dg-footer__copy{
  font-size: 13px;
  color: #a7b0c0;
  text-align: center;
}

/* ================================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 900px){
  .dg-footer__top{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 560px){
  .dg-footer__top{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dg-footer__col ul{
    display: inline-block;
  }

  .dg-footer__social{
    justify-content: center;
  }
}




/* ===== AI TOOLS PAGE ===== */
.dg-pagehead{
  padding: 24px 0 10px;
}
.dg-pagehead__inner{
  background: rgba(17,24,39,.45);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dg-pagehead__inner::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(750px 260px at 25% 0%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(750px 260px at 90% 10%, rgba(59,130,246,.16), transparent 60%);
  z-index:0;
}
.dg-pagehead__inner > *{ position:relative; z-index:1; }

/* grid */
.dg-toolsgrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

/* card */
.dg-toolx{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.dg-toolx:hover{
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.35);
}

.dg-toolx__img{
  height: 160px;
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
}
.dg-toolx__img img{
  width:100%;
  height:100%;
  object-fit: cover; /* logo images ho to contain */
}

/* If your images are logos, uncomment this:
.dg-toolx__img img{
  object-fit: contain;
  padding: 18px;
}
*/

.dg-toolx__body{
  padding: 14px 16px 16px;
}

.dg-toolx__list{
  margin: 10px 0 12px;
  padding-left: 18px;
  color: var(--dg-muted);
  font-size: 14px;
}

.dg-toolx__cta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* responsive */
@media (max-width: 900px){
  .dg-toolsgrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dg-toolsgrid{ grid-template-columns: 1fr; }
  .dg-toolx__img{ height: 190px; }
}



/* ===== SOLUTIONS PAGE ===== */

.dg-pagehero{
  padding: 26px 0 14px;
}
.dg-pagehero__inner{
  background: rgba(17,24,39,.45);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dg-pagehero__inner::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(750px 260px at 25% 0%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(750px 260px at 90% 10%, rgba(59,130,246,.16), transparent 60%);
  z-index:0;
}
.dg-pagehero__inner > *{ position:relative; z-index:1; }

/* Grid */
.dg-solgrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

/* Card */
.dg-solx{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 18px;
  transition: transform .15s ease, border-color .15s ease;
}
.dg-solx:hover{
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.35);
}

.dg-solx ul{
  padding-left: 18px;
  margin: 10px 0 14px;
  color: var(--dg-muted);
  font-size: 14px;
}

/* CTA */
.dg-solcta{
  margin-top: 28px;
  padding: 28px 18px;
  border-radius: 18px;
  text-align: center;
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
}

.dg-solcta__btns{
  margin-top: 12px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Responsive */
@media (max-width: 900px){
  .dg-solgrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .dg-solgrid{ grid-template-columns: 1fr; }
}



/* ===== RESOURCES PAGE ===== */
.dg-respage{ padding-top: 6px; }

.dg-featuredl{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: stretch;
}

.dg-featuredl__content{
  background: rgba(17,24,39,.50);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.dg-featuredl__content::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(750px 260px at 25% 0%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(750px 260px at 90% 10%, rgba(59,130,246,.16), transparent 60%);
  z-index:0;
}
.dg-featuredl__content > *{ position:relative; z-index:1; }

.dg-featuredl__stats{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 12px 0 10px;
}

.dg-featuredl__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 10px;
}

.dg-small{ font-size: 13px; }

/* right image */
.dg-featuredl__visual{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 10px;
  display:flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 260px;
}
.dg-featuredl__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}

/* filters */
.dg-filterbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.dg-filterbtn{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--dg-border);
  background: rgba(255,255,255,.03);
  color: var(--dg-muted);
  font-weight: 900;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.dg-filterbtn:hover{
  border-color: rgba(34,197,94,.35);
  color: var(--dg-text);
  transform: translateY(-1px);
}
.dg-filterbtn.is-active{
  background: rgba(34,197,94,.12);
  border-color: rgba(34,197,94,.45);
  color: #ffffff;
}

/* grid */
.dg-resgrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.dg-resitem{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease, opacity .15s ease;
}
.dg-resitem:hover{
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.35);
}

/* icon */
.dg-resitem__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--dg-border);
  background: rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}
.dg-resitem__icon svg{
  width: 22px;
  height: 22px;
  fill: rgba(59,130,246,.90);
}

.dg-resitem__meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top: 10px;
}

/* hidden items */
.dg-hidden{ display:none !important; }

/* FAQ */
.dg-faq__grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.dg-faq__item{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 14px 16px;
}

.dg-faq__item summary{
  cursor:pointer;
  font-weight: 900;
  color: #ffffff;
}
.dg-faq__item p{
  color: var(--dg-muted);
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* responsive */
@media (max-width: 900px){
  .dg-featuredl{ grid-template-columns: 1fr; }
  .dg-featuredl__visual{ min-height: 220px; }
  .dg-resgrid{ grid-template-columns: repeat(2, 1fr); }
  .dg-faq__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .dg-resgrid{ grid-template-columns: 1fr; }
}




/* ===== LEGAL PAGES (Privacy / Terms / Disclaimer / Write for Us) ===== */
.dg-legal{
  padding: 26px 0 10px;
}

.dg-legal__head{
  background: rgba(17,24,39,.45);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}

.dg-legal__head::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(750px 260px at 25% 0%, rgba(34,197,94,.14), transparent 60%),
    radial-gradient(750px 260px at 90% 10%, rgba(59,130,246,.14), transparent 60%);
  z-index:0;
}
.dg-legal__head > *{ position:relative; z-index:1; }

.dg-legal__box{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 18px;
}

.dg-legal__box .dg-h2{
  margin-top: 18px;
}

.dg-legal__list{
  padding-left: 18px;
  color: var(--dg-muted);
  line-height: 1.8;
}

.dg-wfu-cta{
  margin-top: 14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* mobile */
@media (max-width: 560px){
  .dg-wfu-cta{
    flex-direction: column;
    align-items: stretch;
  }
}


/* ===== CONTACT PAGE ===== */
.dg-contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.dg-contact__info,
.dg-contact__form{
  background: rgba(17,24,39,.55);
  border: 1px solid var(--dg-border);
  border-radius: 18px;
  padding: 18px;
}

.dg-contact__card{
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.dg-contact__email{
  display:inline-block;
  margin-top: 6px;
  font-weight: 900;
  color: #38bdf8;
  text-decoration: none;
}
.dg-contact__email:hover{ text-decoration: underline; }

/* Form */
.dg-form{
  margin-top: 10px;
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.dg-label{
  display:flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 800;
  color: #ffffff;
  font-size: 14px;
}

.dg-input,
.dg-textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  color: #e5e7eb;
  outline: none;
}

.dg-input:focus,
.dg-textarea:focus{
  border-color: rgba(34,197,94,.45);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.dg-textarea{
  resize: vertical;
  min-height: 140px;
}

/* responsive */
@media (max-width: 900px){
  .dg-contact{ grid-template-columns: 1fr; }
}



