/* =========================================================
   DNI CENTRAL ECOSYSTEM - CLEAN CORE STYLESHEET (SINGLE SOURCE)
   ========================================================= */

/* =========================================================
   SECTION 1: GLOBAL TOP RESET (WordPress Header/Margin Kill Switch)
   ========================================================= */
html, 
body.home, 
body.home #page, 
body.home #content, 
body.home .site-content, 
body.home .entry-content, 
body.home main, 
body.home article,
body.home .wp-site-blocks,
body.home .is-layout-constrained {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* Hide WP Default Theme Header & Entry Titles */
body.home header:not(.dni-header),
body.home .site-header,
body.home .entry-title,
body.home .page-header,
body.home .entry-header {
  display: none !important;
}


/* =========================================================
   SECTION 2: MAIN HERO CONTAINER
   ========================================================= */
.dni-hero-wrapper {
  background: radial-gradient(circle at top left, #1e293b 0%, #0f172a 70%, #080d1a 100%);
  color: #ffffff;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding: 24px;
  border-radius: 24px;
  max-width: 1320px;
  margin: 0 auto 20px auto !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}


/* =========================================================
   SECTION 3: HERO INNER HEADER & BRANDING
   ========================================================= */
.dni-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.dni-brand-wrap { display: flex; align-items: center; gap: 14px; }
.dni-logo-img { height: 48px; width: auto; object-fit: contain; }
.dni-brand-text { display: flex; flex-direction: column; justify-content: center; }
.dni-brand-title { font-size: 20px; font-weight: 800; color: #ffffff; line-height: 1.1; letter-spacing: 0.5px; }
.dni-brand-tagline { font-size: 11px; color: #38bdf8; font-weight: 600; margin-top: 2px; letter-spacing: 0.3px; }

.dni-header-utilities { display: flex; align-items: center; gap: 16px; }
.dni-util-link { color: #94a3b8; text-decoration: none; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.dni-util-link:hover { color: #38bdf8; }
.dni-lang-badge { background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }


/* =========================================================
   SECTION 4: HERO LAYOUT GRID & LEFT COMPONENTS
   ========================================================= */
.dni-main-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: stretch; }
.dni-hero-left, .dni-hero-right { display: flex; flex-direction: column; justify-content: space-between; }

.dni-badge-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  width: fit-content;
}

.dni-title-main { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.15; margin: 0 0 10px 0; }
.dni-text-white { color: #ffffff; }
.dni-text-gradient { background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.dni-subtext-highlight {
  color: #e2e8f0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #38bdf8;
  padding: 8px 14px;
  border-radius: 0 8px 8px 0;
}

.dni-shakti-section-title { font-size: 14px; font-weight: 800; color: #f8fafc; margin-bottom: 12px; }
.dni-shakti-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
.dni-shakti-chip { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 10px 12px; border-radius: 12px; text-decoration: none; display: flex; flex-direction: column; gap: 3px; transition: all 0.25s; }
.dni-shakti-chip:hover { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.5); transform: translateY(-3px); }
.dni-s-name { font-size: 13px; font-weight: 700; color: #38bdf8; }
.dni-s-status { font-size: 10px; color: #94a3b8; font-weight: 500; }

.dni-search-box { display: flex; background: rgba(15, 23, 42, 0.95); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 40px; padding: 5px 6px 5px 18px; }
.dni-search-box input { background: transparent; border: none; color: #fff; width: 100%; font-size: 14px; outline: none; }
.dni-search-box button { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; border: none; padding: 10px 22px; border-radius: 30px; font-weight: 700; font-size: 13px; cursor: pointer; }


/* =========================================================
   SECTION 5: HERO RIGHT COMPONENTS (Login & AI Assistant)
   ========================================================= */
.dni-hero-right { gap: 16px; }
.dni-card-box { background: rgba(15, 23, 42, 0.75); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 20px; }
.dni-form-input { width: 100%; background: #090d16; border: 1px solid #334155; color: #fff; padding: 11px 14px; border-radius: 10px; font-size: 13px; box-sizing: border-box; margin-bottom: 10px; outline: none; }
.dni-btn-login { width: 100%; background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; border: none; padding: 11px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }

.dni-ai-card { background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.8) 100%); border: 1px solid rgba(56, 189, 248, 0.3); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.dni-ai-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dni-ai-profile { display: flex; align-items: center; gap: 10px; }
.dni-ai-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #38bdf8; }
.dni-ai-title { font-size: 14px; font-weight: 800; color: #ffffff; display: block; }
.dni-ai-status { font-size: 10px; color: #10b981; font-weight: 600; }

.dni-ai-chips-wrap { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.dni-ai-suggest-chip { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #94a3b8; padding: 4px 10px; border-radius: 12px; font-size: 10px; cursor: pointer; }

.dni-ai-input-group { display: flex; gap: 8px; background: #090d16; border: 1px solid #334155; border-radius: 12px; padding: 4px 4px 4px 12px; }
.dni-ai-input-group input { background: transparent; border: none; color: #fff; width: 100%; font-size: 12px; outline: none; }
.dni-ai-input-group button { background: #2563eb; color: #fff; border: none; padding: 8px 14px; border-radius: 8px; font-weight: bold; cursor: pointer; }


/* =========================================================
   SECTION 6: HERO BOTTOM METRICS BAR
   ========================================================= */
.dni-hero-metrics-bar { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.dni-metric-item { display: flex; flex-direction: column; }
.dni-m-number { font-size: 18px; font-weight: 900; color: #38bdf8; line-height: 1; }
.dni-m-label { font-size: 11px; color: #94a3b8; font-weight: 600; margin-top: 3px; }

.dni-bharat-badge { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 10px; }
.dni-bb-text { font-size: 12px; font-weight: 700; color: #e2e8f0; }
.dni-bb-sub { font-size: 10px; color: #fbbf24; font-weight: 600; display: block; }


/* =========================================================
   SECTION 7: ECOSYSTEM FEATURE RIBBON (3 Pillars)
   ========================================================= */
.dni-feature-ribbon {
  max-width: 1320px;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dni-ribbon-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dni-ribbon-icon { font-size: 24px; }
.dni-ribbon-item strong { color: #f8fafc; font-size: 14px; display: block; }
.dni-ribbon-item p { color: #94a3b8; font-size: 11px; margin: 2px 0 0 0; }


/* =========================================================
   SECTION 8: SHAKTI INDIVIDUAL STORYTELLING ROWS (Single Segment Layout)
   ========================================================= */
.dni-story-container {
  max-width: 1320px;
  margin: 40px auto;
  padding: 0 10px;
}

.dni-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.dni-story-row.reverse { direction: rtl; }
.dni-story-row.reverse .dni-story-content,
.dni-story-row.reverse .dni-story-media { direction: ltr; }

.dni-story-media {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.dni-preview-box {
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 40px 20px;
}

.dni-box-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.dni-preview-box h4 { color: #ffffff; font-size: 20px; margin: 0 0 6px 0; font-weight: 800; }
.dni-box-tag { color: #38bdf8; font-size: 12px; font-weight: 600; margin: 0; }

.dni-story-content h2 { font-size: 24px; color: #ffffff; font-weight: 800; margin: 10px 0 12px 0; }
.dni-story-content p { color: #94a3b8; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.dni-shakti-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
}

.dni-shakti-tag.live { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.dni-shakti-tag.upcoming { background: rgba(251, 191, 36, 0.15); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }

.dni-feature-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.dni-feature-list li { color: #cbd5e1; font-size: 13px; margin-bottom: 8px; font-weight: 500; }

.dni-story-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.dni-story-btn.disabled { background: rgba(255, 255, 255, 0.05); color: #64748b; cursor: not-allowed; }


/* =========================================================
   SECTION 9: ADVERTISEMENT & SPONSORSHIP STRIPS
   ========================================================= */
.dni-ad-space-strip {
  background: rgba(15, 23, 42, 0.4);
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  text-align: center;
  padding: 18px 20px;
  margin: 35px 0;
  transition: border-color 0.3s;
}

.dni-ad-space-strip:hover {
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(15, 23, 42, 0.6);
}

.dni-ad-label {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.dni-ad-space-strip p {
  color: #64748b;
  font-size: 12px;
  margin: 0;
  font-weight: 500;
}


/* =========================================================
   SECTION 10: BOTTOM CORE ZONE (Vision Banner & Newsletter Connect Card)
   ========================================================= */
.dni-vision-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  margin: 50px 0 30px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dni-vb-badge {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.dni-vision-banner h3 { color: #ffffff; font-size: 24px; font-weight: 800; margin: 15px 0 10px 0; }
.dni-vision-banner p { color: #cbd5e1; font-size: 14px; max-width: 800px; margin: 0 auto; line-height: 1.6; }

.dni-connect-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.dni-cc-left h4 { color: #ffffff; font-size: 18px; font-weight: 800; margin: 0 0 6px 0; }
.dni-cc-left p { color: #94a3b8; font-size: 12px; margin: 0; }

.dni-subscribe-form {
  display: flex;
  gap: 8px;
  background: #090d16;
  border: 1px solid #334155;
  border-radius: 30px;
  padding: 4px 4px 4px 16px;
  width: 380px;
  max-width: 100%;
}

.dni-subscribe-form input { background: transparent; border: none; color: #fff; width: 100%; font-size: 13px; outline: none; }
.dni-subscribe-form button { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff; border: none; padding: 9px 20px; border-radius: 24px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }


/* =========================================================
   SECTION 11: GLOBAL RESPONSIVENESS & MEDIA QUERIES
   ========================================================= */
@media (max-width: 960px) {
  .dni-main-grid { grid-template-columns: 1fr; }
  .dni-shakti-grid { grid-template-columns: repeat(2, 1fr); }
  .dni-hero-metrics-bar { justify-content: center; text-align: center; }
  .dni-feature-ribbon { grid-template-columns: 1fr; }
  .dni-story-row, .dni-story-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}

@media (max-width: 768px) {
  .dni-connect-card { flex-direction: column; text-align: center; }
  .dni-subscribe-form { width: 100%; }
}

@media (max-width: 580px) {
  .dni-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dni-header-utilities { width: 100%; justify-content: space-between; }
}