/* ============================
   ToolsIndia — Global Stylesheet
   ============================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: #6C63FF;
  --primary-dark: #4F46E5;
  --primary-light: #EDE9FE;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;

  --bg: #0F0F1A;
  --bg2: #16162A;
  --bg3: #1E1E35;
  --card: #1A1A2E;
  --card-border: rgba(108, 99, 255, 0.2);

  --text: #F0F0FF;
  --text-muted: #9090B0;
  --text-dim: #6060A0;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 20px rgba(108, 99, 255, 0.12);
  --glow: 0 0 20px rgba(108, 99, 255, 0.3);

  --font: 'Inter', sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a5b4fc;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ========== HEADER ========== */
.site-header {
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0 1rem;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.logo span {
  -webkit-text-fill-color: var(--accent);
}

nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--text);
  background: rgba(108, 99, 255, 0.15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media(max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--card-border);
    padding: 0.5rem;
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

/* ========== AD SLOTS ========== */
.ad-slot {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), rgba(6, 182, 212, 0.05));
  border: 1px dashed rgba(108, 99, 255, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.ad-slot-header {
  width: 100%;
  min-height: 90px;
  margin: 0.5rem 0;
}

.ad-slot-content {
  width: 100%;
  min-height: 250px;
  margin: 1.5rem 0;
}

.ad-slot-sidebar {
  width: 300px;
  min-height: 250px;
  flex-shrink: 0;
}

.ad-slot-tool {
  width: 100%;
  min-height: 250px;
  margin: 1.5rem 0;
}

/* ========== HERO ========== */
.hero {
  padding: 5rem 1rem 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236C63FF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: #a5b4fc;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== SECTION ========== */
.section {
  padding: 3rem 1rem;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.view-all {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

/* ========== TOOL CARDS GRID ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.tool-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--glow);
  color: var(--text);
}

.tool-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(6, 182, 212, 0.2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.tool-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.tool-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tool-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

/* Category badge */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cat-text {
  color: #a5b4fc;
  border-color: rgba(108, 99, 255, 0.3);
  background: rgba(108, 99, 255, 0.1);
}

.cat-image {
  color: var(--secondary);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.1);
}

.cat-pdf {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}

.cat-seo {
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
}

.cat-finance {
  color: var(--accent);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
}

/* ========== BLOG CARDS ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  color: var(--text);
}

.blog-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-cat {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.blog-banner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(6, 182, 212, 0.15));
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ========== TOOL PAGE LAYOUT ========== */
.tool-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2rem 1rem;
}

@media(max-width: 900px) {
  .tool-page-wrap {
    grid-template-columns: 1fr;
  }

  .ad-slot-sidebar {
    display: none;
  }
}

.tool-main {}

.tool-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tool-header {
  margin-bottom: 2rem;
}

.tool-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tool-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Tool UI Box */
.tool-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

textarea,
input[type="text"],
input[type="number"],
input[type="email"],
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg3);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media(max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-action {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-action:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-action:active {
  transform: scale(0.98);
}

.btn-copy,
.btn-clear,
.btn-download {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-copy:hover,
.btn-clear:hover,
.btn-download:hover {
  background: rgba(108, 99, 255, 0.25);
}

.result-box {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  min-height: 80px;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-box.hidden {
  display: none;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.stat-item .val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item .key {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Range slider */
input[type=range] {
  -webkit-appearance: none;
  background: var(--bg3);
  border: none;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

/* Calc results */
.calc-result {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.calc-result .main-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.calc-result .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.calc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.calc-detail-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.calc-detail-item .d-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.calc-detail-item .d-key {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Button groups */
.btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  border-color: rgba(108, 99, 255, 0.3);
}

.btn-sm:hover,
.btn-sm.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}

th {
  background: rgba(108, 99, 255, 0.15);
  color: var(--primary);
  padding: 0.65rem 0.75rem;
  text-align: left;
}

td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(108, 99, 255, 0.08);
  color: var(--text-muted);
}

tr:hover td {
  background: rgba(108, 99, 255, 0.05);
  color: var(--text);
}

/* Progress bar */
.progress {
  height: 8px;
  background: var(--bg3);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.4s;
}

/* Image preview */
.img-preview {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--card-border);
  display: none;
}

.upload-zone {
  border: 2px dashed rgba(108, 99, 255, 0.3);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(108, 99, 255, 0.04);
}

.upload-zone:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.upload-zone .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.upload-zone p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.upload-zone small {
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ========== ARTICLE PAGE ========== */
.article-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
}

@media(max-width: 900px) {
  .article-wrap {
    grid-template-columns: 1fr;
  }
}

.article {
  max-width: 800px;
}

.article h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.article p {
  margin-bottom: 1.25rem;
  color: #C0C0E0;
  line-height: 1.8;
}

.article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--primary);
}

.article ul,
.article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article li {
  color: #C0C0E0;
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.article .highlight-box {
  background: rgba(108, 99, 255, 0.08);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--text-muted);
}

/* Author box */
.author-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== SPONSORED ========== */
.sponsored-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.03));
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.sponsored-box .sp-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sponsored-box p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.newsletter h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
}

@media(max-width:480px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Premium teaser */
.premium-teaser {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.premium-teaser .lock {
  font-size: 1.5rem;
}

.premium-teaser h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.premium-teaser p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.badge-soon {
  margin-left: auto;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ========== SIDEBAR WIDGETS ========== */
.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sidebar-widget h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--card-border);
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tools-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.tools-list a:hover {
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
}

.tools-list a span {
  font-size: 1rem;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .sep {
  color: var(--text-dim);
}

.breadcrumb .cur {
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media(max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-langs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-langs a {
  font-size: 0.78rem;
  color: var(--text-dim);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.footer-langs a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== UTILITY ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 0.5rem;
}

.hidden {
  display: none !important;
}

.chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(108, 99, 255, 0.2);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fade-up {
  animation: fadeUp 0.4s ease both;
}

.fade-up-2 {
  animation: fadeUp 0.4s 0.1s ease both;
}

.fade-up-3 {
  animation: fadeUp 0.4s 0.2s ease both;
}

/* Notification toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--success);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
  pointer-events: none;
}

.toast.show {
  transform: none;
  opacity: 1;
}

/* Image info bar */
.img-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.img-info strong {
  color: var(--text);
}

/* Language notice */
.lang-notice {
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* SEO content section */
.seo-content {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2rem;
}

.seo-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.seo-content p,
.seo-content li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.seo-content ul {
  padding-left: 1.25rem;
}

.seo-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
}

.faq-q {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: none;
  line-height: 1.7;
}

.faq-a.open {
  display: block;
}

/* Alert */
.alert {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.88rem;
}

.alert-info {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--secondary);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--success);
}

.alert-warn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--danger);
}

/* Anchor buttons (used in hero section, Hindi pages) */
a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
  transition: all 0.25s;
  text-decoration: none;
}

a.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
  color: #fff !important;
}

a.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted) !important;
  transition: all 0.25s;
  text-decoration: none;
}

a.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

/* Read more link */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
  transition: gap 0.2s;
}

.read-more:hover {
  gap: 0.6rem;
  color: #a5b4fc;
}