/* JS & Co — Tools Page Styles */

/* ===== TOOLS PAGE ===== */
  #tools-page {
    display: none; position: fixed; inset: 0;
    z-index: 2000; background: #fff; overflow-y: auto; padding-top: 68px;
  }

  .tools-hero {
    background: var(--navy); padding: 100px 60px 80px; position: relative; overflow: hidden;
  }
  .tools-hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212,160,23,0.06) 0%, transparent 60%);
  }
  .tools-back {
    display: inline-flex; align-items: center; gap: 8px; color: var(--gold);
    font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; cursor: pointer; background: none; border: none;
    margin-bottom: 40px; transition: gap 0.2s;
  }
  .tools-back:hover { gap: 12px; }
  .tools-h1 { font-family: 'Playfair Display', serif; font-size: 60px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
  .tools-h1 em { color: var(--gold); font-style: normal; }
  .tools-sub { color: var(--text-muted); font-size: 17px; line-height: 1.7; max-width: 580px; }

  .tools-section { background: var(--cream-light); padding: 80px 60px; }
  .tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
  .tool-card {
    background: var(--white); border-radius: 12px; padding: 28px;
    border: 1px solid rgba(0,0,0,0.07); position: relative; overflow: hidden;
    transition: all 0.3s; cursor: pointer;
  }
  .tool-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
  .tool-card:hover .tool-try { opacity: 1; transform: translateY(0); }
  .tool-badge {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 12px; border-radius: 20px; font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 4px;
  }
  .badge-live { background: rgba(16,185,129,0.1); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
  .badge-soon { background: rgba(245,158,11,0.1); color: #F59E0B; border: 1px solid rgba(245,158,11,0.2); }
  .tool-icon {
    width: 48px; height: 48px; background: #EDF0F5; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    margin-bottom: 20px; color: var(--navy);
  }
  .tool-name { font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 10px; }
  .tool-desc { color: #64748B; font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
  .tool-try {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gold); color: var(--navy); border: none;
    padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 12px;
    cursor: pointer; opacity: 0; transform: translateY(6px);
    transition: all 0.25s; letter-spacing: 0.3px;
  }
  .tool-try-disabled {
    display: inline-flex; align-items: center; gap: 6px;
    background: #E2E8F0; color: #94A3B8; border: none;
    padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 12px;
    cursor: not-allowed; opacity: 0; transform: translateY(6px);
    transition: all 0.25s; letter-spacing: 0.3px;
  }
  .tool-card:hover .tool-try-disabled { opacity: 1; transform: translateY(0); }

  .tools-coming { background: var(--white); border-radius: 16px; padding: 40px; text-align: center; max-width: 560px; margin: 48px auto 0; border: 1px solid rgba(0,0,0,0.06); }
  .tools-coming-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
  .tools-coming p { color: #64748B; font-size: 14px; line-height: 1.75; }
  .tools-coming a { color: var(--gold); text-decoration: none; font-weight: 600; }

  /* ===== CALCULATOR MODALS ===== */
  .calc-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 3000;
    display: none; align-items: center; justify-content: center; padding: 20px;
    backdrop-filter: blur(4px);
  }
  .calc-overlay.active { display: flex; }
  .calc-box {
    background: var(--white); border-radius: 16px; width: 100%; max-width: 480px;
    overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  }
  .calc-header {
    background: var(--navy); padding: 24px 28px;
    display: flex; align-items: center; gap: 14px;
  }
  .calc-header-icon {
    width: 44px; height: 44px; background: rgba(212,160,23,0.15); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
  }
  .calc-header-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--white); }
  .calc-close {
    margin-left: auto; background: rgba(255,255,255,0.1); border: none;
    color: var(--white); width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  }
  .calc-body { padding: 28px; }
  .calc-field { margin-bottom: 20px; }
  .calc-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
  .calc-input, .calc-select {
    width: 100%; padding: 12px 16px; border: 1.5px solid #E2E8F0; border-radius: 8px;
    font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--navy);
    outline: none; background: #FAFBFC; transition: border-color 0.2s;
  }
  .calc-input:focus, .calc-select:focus { border-color: var(--gold); }
  .calc-toggle { display: flex; gap: 0; border: 1.5px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
  .calc-toggle-btn {
    flex: 1; padding: 10px; border: none; background: transparent; cursor: pointer;
    font-size: 13px; font-weight: 600; color: #94A3B8; transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
  }
  .calc-toggle-btn.active { background: var(--gold); color: var(--navy); }
  .calc-btn {
    width: 100%; background: var(--gold); color: var(--navy); border: none;
    padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px;
    cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
    margin-top: 8px;
  }
  .calc-btn:hover { background: #E6B520; }
  .calc-result {
    background: var(--navy); border-radius: 10px; padding: 20px; margin-top: 20px;
    display: none;
  }
  .calc-result.show { display: block; }
  .calc-result-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
  .calc-result-label { color: var(--text-muted); font-size: 13px; }
  .calc-result-value { color: var(--white); font-weight: 700; font-size: 14px; }
  .calc-result-main { color: var(--gold); font-size: 22px; font-weight: 800; }
  .calc-result-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0; }

  /* Tools footer */
  .tools-footer { background: var(--navy); padding: 28px 60px; display: flex; justify-content: space-between; align-items: center; }
  .tools-footer p { color: #475569; font-size: 13px; }
  .tools-footer a { color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 600; }

  /* ===== HOW IT WORKS ===== */
  #howitworks { background: var(--cream-light); padding: 100px 60px; }
  .hiw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1100px; margin: 48px auto 0; position: relative; }
  .hiw-grid::before { content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(to right, var(--gold), rgba(212,160,23,0.2)); z-index: 0; }
  .hiw-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
  .hiw-num { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--gold); box-shadow: 0 4px 20px rgba(212,160,23,0.2); }
  .hiw-icon { font-size: 26px; margin-bottom: 10px; }
  .hiw-title { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
  .hiw-desc { color: #64748B; font-size: 13px; line-height: 1.7; }

  /* ===== INDUSTRIES ===== */
  #industries { background: var(--navy); padding: 100px 60px; }
  #industries .section-h2 { color: var(--white); }
  #industries .section-sub { color: var(--text-muted); }
  .ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 48px auto 0; }
  .ind-card { background: var(--navy-card); border: 1px solid rgba(212,160,23,0.1); border-radius: 12px; padding: 28px 20px; text-align: center; transition: all 0.3s; cursor: default; }
  .ind-card:hover { border-color: rgba(212,160,23,0.4); transform: translateY(-4px); background: rgba(26,39,64,0.9); }
  .ind-icon { font-size: 34px; margin-bottom: 14px; }
  .ind-name { font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 8px; }
  .ind-desc { color: var(--text-muted); font-size: 12px; line-height: 1.6; }

  /* ===== TESTIMONIALS ===== */
  #testimonials { background: #EDF0F5; padding: 100px 60px; }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 48px auto 0; }
  .testi-card { background: var(--white); border-radius: 16px; padding: 32px; border: 1px solid rgba(0,0,0,0.06); position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
  .testi-quote { font-size: 48px; line-height: 1; color: var(--gold); opacity: 0.25; font-family: 'Playfair Display', serif; position: absolute; top: 16px; right: 24px; }
  .testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
  .testi-star { color: var(--gold); font-size: 15px; }
  .testi-text { color: #475569; font-size: 14px; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 800; color: var(--gold); font-size: 16px; flex-shrink: 0; }
  .testi-name { font-weight: 700; font-size: 14px; color: var(--navy); }
  .testi-role { font-size: 12px; color: #94A3B8; margin-top: 2px; }

  /* ===== PRICING ===== */
  #pricing { background: var(--cream-light); padding: 100px 60px; }
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 48px auto 0; }
  .pricing-card { background: var(--white); border-radius: 16px; padding: 36px; border: 1px solid rgba(0,0,0,0.08); position: relative; transition: all 0.3s; }
  .pricing-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.1); }
  .pricing-card.popular { background: var(--navy); border-color: var(--gold); box-shadow: 0 16px 48px rgba(212,160,23,0.2); }
  .pricing-popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 18px; border-radius: 20px; white-space: nowrap; }
  .pricing-tier { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .pricing-name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
  .pricing-card.popular .pricing-name { color: var(--white); }
  .pricing-price { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
  .pricing-card.popular .pricing-price { color: var(--gold); }
  .pricing-price span { font-size: 16px; font-weight: 400; }
  .pricing-note { color: #94A3B8; font-size: 12px; margin-bottom: 28px; }
  .pricing-divider { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 20px 0; }
  .pricing-card.popular .pricing-divider { border-color: rgba(255,255,255,0.1); }
  .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #475569; line-height: 1.5; }
  .pricing-card.popular .pricing-features li { color: var(--text-light); }
  .pricing-features li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
  .pricing-cta { width: 100%; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; border: 2px solid var(--gold); background: transparent; color: var(--gold); }
  .pricing-cta:hover { background: var(--gold); color: var(--navy); }
  .pricing-card.popular .pricing-cta { background: var(--gold); color: var(--navy); }
  .pricing-card.popular .pricing-cta:hover { background: transparent; color: var(--gold); }
  .pricing-disclaimer { text-align: center; color: #94A3B8; font-size: 13px; margin-top: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }

  /* ===== COMPLIANCE CALENDAR ===== */
  #calendar { background: var(--navy); padding: 100px 60px; }
  #calendar .section-h2 { color: var(--white); }
  #calendar .section-sub { color: var(--text-muted); }
  .cal-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 36px; margin-bottom: 32px; }
  .cal-tab { padding: 8px 20px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; border: 1px solid rgba(212,160,23,0.25); background: transparent; color: var(--text-muted); transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
  .cal-tab.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
  .cal-item { background: var(--navy-card); border-radius: 10px; padding: 18px 20px; border-left: 3px solid var(--gold); display: flex; gap: 16px; align-items: flex-start; }
  .cal-item.urgent { border-left-color: #EF4444; }
  .cal-item.done { border-left-color: #10B981; opacity: 0.6; }
  .cal-date { background: rgba(212,160,23,0.12); border-radius: 8px; padding: 8px 12px; text-align: center; flex-shrink: 0; min-width: 52px; }
  .cal-item.urgent .cal-date { background: rgba(239,68,68,0.12); }
  .cal-date-day { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1; }
  .cal-item.urgent .cal-date-day { color: #EF4444; }
  .cal-date-month { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
  .cal-info-title { font-weight: 700; font-size: 13px; color: var(--white); margin-bottom: 4px; }
  .cal-info-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
  .cal-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: rgba(212,160,23,0.12); color: var(--gold); }
  .cal-item.urgent .cal-tag { background: rgba(239,68,68,0.12); color: #EF4444; }

  /* ===== FAQ ===== */
  #faq { background: var(--cream-light); padding: 100px 60px; }
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; margin: 48px auto 0; }
  .faq-item { background: var(--white); border-radius: 12px; border: 1px solid rgba(0,0,0,0.07); }
  .faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; gap: 16px; }
  .faq-q-text { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.5; }
  .faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: #EDF0F5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; color: var(--navy); font-size: 18px; font-weight: 300; }
  .faq-item.open .faq-toggle { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
  .faq-item.open .faq-a { max-height: 500px; }
  .faq-a-inner { padding: 0 24px 20px; color: #64748B; font-size: 14px; line-height: 1.8; border-top: 1px solid rgba(0,0,0,0.06); padding-top: 16px; }


  /* ===== SCROLL REVEAL replaced */

  /* ===== SCROLL REVEAL — pure CSS, no JS dependency ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Every .reveal element plays the animation once automatically */
  .reveal {
    animation: fadeUp 0.6s ease both;
  }
  /* Stagger delays for grid children */
  .reveal-d1 { animation-delay: 0.1s; }
  .reveal-d2 { animation-delay: 0.2s; }
  .reveal-d3 { animation-delay: 0.3s; }
  .reveal-d4 { animation-delay: 0.4s; }
  /* Grid stagger — nth-child delays */
  .services-grid .reveal:nth-child(1)  { animation-delay: 0.05s; }
  .services-grid .reveal:nth-child(2)  { animation-delay: 0.10s; }
  .services-grid .reveal:nth-child(3)  { animation-delay: 0.15s; }
  .services-grid .reveal:nth-child(4)  { animation-delay: 0.20s; }
  .services-grid .reveal:nth-child(5)  { animation-delay: 0.25s; }
  .services-grid .reveal:nth-child(6)  { animation-delay: 0.30s; }
  .services-grid .reveal:nth-child(7)  { animation-delay: 0.35s; }
  .services-grid .reveal:nth-child(8)  { animation-delay: 0.40s; }
  .testi-grid .reveal:nth-child(1)     { animation-delay: 0.05s; }
  .testi-grid .reveal:nth-child(2)     { animation-delay: 0.15s; }
  .testi-grid .reveal:nth-child(3)     { animation-delay: 0.25s; }
  .testi-grid .reveal:nth-child(4)     { animation-delay: 0.05s; }
  .testi-grid .reveal:nth-child(5)     { animation-delay: 0.15s; }
  .testi-grid .reveal:nth-child(6)     { animation-delay: 0.25s; }
  .ind-grid .reveal:nth-child(n)       { animation-delay: calc(0.05s * var(--i,1)); }
  .pricing-grid .reveal:nth-child(1)   { animation-delay: 0.05s; }
  .pricing-grid .reveal:nth-child(2)   { animation-delay: 0.18s; }
  .pricing-grid .reveal:nth-child(3)   { animation-delay: 0.30s; }
  .hiw-grid .reveal:nth-child(1)       { animation-delay: 0.05s; }
  .hiw-grid .reveal:nth-child(2)       { animation-delay: 0.15s; }
  .hiw-grid .reveal:nth-child(3)       { animation-delay: 0.25s; }
  .hiw-grid .reveal:nth-child(4)       { animation-delay: 0.35s; }

  /* ===== ADMIN PORTAL ===== */
  .admin-login {
    max-width: 420px; margin: 80px auto; background: #1A2740;
    border-radius: 16px; padding: 48px; border: 1px solid rgba(212,160,23,0.2);
    text-align: center;
  }
  .admin-login-icon { font-size: 48px; margin-bottom: 16px; }
  .admin-login-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 8px; }
  .admin-login-sub { color: #94A3B8; font-size: 14px; margin-bottom: 32px; }
  .admin-input {
    width: 100%; padding: 13px 16px; background: #0B1527;
    border: 1px solid rgba(212,160,23,0.25); border-radius: 8px;
    color: #fff; font-size: 15px; font-family: 'DM Sans', sans-serif;
    margin-bottom: 16px; outline: none;
  }
  .admin-input:focus { border-color: #D4A017; }
  .admin-btn {
    width: 100%; padding: 14px; background: #D4A017; color: #0B1527;
    border: none; border-radius: 8px; font-weight: 700; font-size: 15px;
    cursor: pointer; font-family: 'DM Sans', sans-serif; transition: opacity 0.2s;
  }
  .admin-btn:hover { opacity: 0.88; }
  .admin-error { color: #EF4444; font-size: 13px; margin-top: 10px; display: none; }

  .admin-dashboard { max-width: 1100px; margin: 0 auto; padding: 40px 40px 80px; }
  .admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
  .admin-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: #fff; }
  .admin-title span { color: #D4A017; }
  .admin-header-btns { display: flex; gap: 10px; }
  .admin-refresh-btn, .admin-logout-btn {
    padding: 9px 18px; border-radius: 6px; font-size: 13px; font-weight: 700;
    cursor: pointer; border: none; font-family: 'DM Sans', sans-serif;
  }
  .admin-refresh-btn { background: rgba(212,160,23,0.15); color: #D4A017; border: 1px solid rgba(212,160,23,0.3); }
  .admin-refresh-btn:hover { background: rgba(212,160,23,0.25); }
  .admin-logout-btn { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
  .admin-logout-btn:hover { background: rgba(239,68,68,0.25); }

  .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
  .admin-stat { background: #1A2740; border-radius: 12px; padding: 20px 24px; border: 1px solid rgba(212,160,23,0.1); }
  .admin-stat-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 800; color: #D4A017; }
  .admin-stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #94A3B8; margin-top: 4px; }

  .admin-table-wrap { background: #1A2740; border-radius: 16px; border: 1px solid rgba(212,160,23,0.1); overflow: hidden; }
  .admin-table-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .admin-table-title { font-weight: 700; font-size: 16px; color: #fff; }
  .admin-search { padding: 8px 14px; background: #0B1527; border: 1px solid rgba(212,160,23,0.2); border-radius: 6px; color: #fff; font-size: 13px; font-family: 'DM Sans', sans-serif; outline: none; width: 220px; }
  .admin-search:focus { border-color: #D4A017; }
  .admin-table { width: 100%; border-collapse: collapse; }
  .admin-table th { text-align: left; padding: 12px 16px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #94A3B8; background: rgba(0,0,0,0.2); font-weight: 600; }
  .admin-table td { padding: 14px 16px; font-size: 13px; color: #CBD5E1; border-top: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
  .admin-table tr:hover td { background: rgba(212,160,23,0.04); }
  .admin-table .td-name { font-weight: 700; color: #fff; }
  .admin-table .td-msg { max-width: 240px; color: #94A3B8; line-height: 1.5; }
  .admin-table .td-date { white-space: nowrap; color: #64748B; font-size: 12px; }
  .admin-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(16,185,129,0.15); color: #10B981; }
  .admin-empty { text-align: center; padding: 60px 24px; color: #94A3B8; }
  .admin-empty-icon { font-size: 40px; margin-bottom: 12px; }
  .admin-loading { text-align: center; padding: 60px; color: #D4A017; font-size: 14px; }
  @media (max-width: 768px) {
    .admin-stats { grid-template-columns: repeat(2,1fr); }
    .admin-dashboard { padding: 24px 16px 60px; }
    .admin-search { width: 140px; }
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-grid::before { display: none; }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .cal-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* ===== SCROLL REVEAL — pure CSS, no JS dependency ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Every .reveal element plays the animation once automatically */
  .reveal {
    animation: fadeUp 0.6s ease both;
  }
  /* Stagger delays for grid children */
  .reveal-d1 { animation-delay: 0.1s; }
  .reveal-d2 { animation-delay: 0.2s; }
  .reveal-d3 { animation-delay: 0.3s; }
  .reveal-d4 { animation-delay: 0.4s; }
  /* Grid stagger — nth-child delays */
  .services-grid .reveal:nth-child(1)  { animation-delay: 0.05s; }
  .services-grid .reveal:nth-child(2)  { animation-delay: 0.10s; }
  .services-grid .reveal:nth-child(3)  { animation-delay: 0.15s; }
  .services-grid .reveal:nth-child(4)  { animation-delay: 0.20s; }
  .services-grid .reveal:nth-child(5)  { animation-delay: 0.25s; }
  .services-grid .reveal:nth-child(6)  { animation-delay: 0.30s; }
  .services-grid .reveal:nth-child(7)  { animation-delay: 0.35s; }
  .services-grid .reveal:nth-child(8)  { animation-delay: 0.40s; }
  .testi-grid .reveal:nth-child(1)     { animation-delay: 0.05s; }
  .testi-grid .reveal:nth-child(2)     { animation-delay: 0.15s; }
  .testi-grid .reveal:nth-child(3)     { animation-delay: 0.25s; }
  .testi-grid .reveal:nth-child(4)     { animation-delay: 0.05s; }
  .testi-grid .reveal:nth-child(5)     { animation-delay: 0.15s; }
  .testi-grid .reveal:nth-child(6)     { animation-delay: 0.25s; }
  .ind-grid .reveal:nth-child(n)       { animation-delay: calc(0.05s * var(--i,1)); }
  .pricing-grid .reveal:nth-child(1)   { animation-delay: 0.05s; }
  .pricing-grid .reveal:nth-child(2)   { animation-delay: 0.18s; }
  .pricing-grid .reveal:nth-child(3)   { animation-delay: 0.30s; }
  .hiw-grid .reveal:nth-child(1)       { animation-delay: 0.05s; }
  .hiw-grid .reveal:nth-child(2)       { animation-delay: 0.15s; }
  .hiw-grid .reveal:nth-child(3)       { animation-delay: 0.25s; }
  .hiw-grid .reveal:nth-child(4)       { animation-delay: 0.35s; }

  /* ===== ADMIN PORTAL ===== */
  .admin-login {
    max-width: 420px; margin: 80px auto; background: #1A2740;
    border-radius: 16px; padding: 48px; border: 1px solid rgba(212,160,23,0.2);
    text-align: center;
  }
  .admin-login-icon { font-size: 48px; margin-bottom: 16px; }
  .admin-login-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 8px; }
  .admin-login-sub { color: #94A3B8; font-size: 14px; margin-bottom: 32px; }
  .admin-input {
    width: 100%; padding: 13px 16px; background: #0B1527;
    border: 1px solid rgba(212,160,23,0.25); border-radius: 8px;
    color: #fff; font-size: 15px; font-family: 'DM Sans', sans-serif;
    margin-bottom: 16px; outline: none;
  }
  .admin-input:focus { border-color: #D4A017; }
  .admin-btn {
    width: 100%; padding: 14px; background: #D4A017; color: #0B1527;
    border: none; border-radius: 8px; font-weight: 700; font-size: 15px;
    cursor: pointer; font-family: 'DM Sans', sans-serif; transition: opacity 0.2s;
  }
  .admin-btn:hover { opacity: 0.88; }
  .admin-error { color: #EF4444; font-size: 13px; margin-top: 10px; display: none; }

  .admin-dashboard { max-width: 1100px; margin: 0 auto; padding: 40px 40px 80px; }
  .admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
  .admin-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: #fff; }
  .admin-title span { color: #D4A017; }
  .admin-header-btns { display: flex; gap: 10px; }
  .admin-refresh-btn, .admin-logout-btn {
    padding: 9px 18px; border-radius: 6px; font-size: 13px; font-weight: 700;
    cursor: pointer; border: none; font-family: 'DM Sans', sans-serif;
  }
  .admin-refresh-btn { background: rgba(212,160,23,0.15); color: #D4A017; border: 1px solid rgba(212,160,23,0.3); }
  .admin-refresh-btn:hover { background: rgba(212,160,23,0.25); }
  .admin-logout-btn { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
  .admin-logout-btn:hover { background: rgba(239,68,68,0.25); }

  .admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
  .admin-stat { background: #1A2740; border-radius: 12px; padding: 20px 24px; border: 1px solid rgba(212,160,23,0.1); }
  .admin-stat-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 800; color: #D4A017; }
  .admin-stat-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #94A3B8; margin-top: 4px; }

  .admin-table-wrap { background: #1A2740; border-radius: 16px; border: 1px solid rgba(212,160,23,0.1); overflow: hidden; }
  .admin-table-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .admin-table-title { font-weight: 700; font-size: 16px; color: #fff; }
  .admin-search { padding: 8px 14px; background: #0B1527; border: 1px solid rgba(212,160,23,0.2); border-radius: 6px; color: #fff; font-size: 13px; font-family: 'DM Sans', sans-serif; outline: none; width: 220px; }
  .admin-search:focus { border-color: #D4A017; }
  .admin-table { width: 100%; border-collapse: collapse; }
  .admin-table th { text-align: left; padding: 12px 16px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #94A3B8; background: rgba(0,0,0,0.2); font-weight: 600; }
  .admin-table td { padding: 14px 16px; font-size: 13px; color: #CBD5E1; border-top: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
  .admin-table tr:hover td { background: rgba(212,160,23,0.04); }
  .admin-table .td-name { font-weight: 700; color: #fff; }
  .admin-table .td-msg { max-width: 240px; color: #94A3B8; line-height: 1.5; }
  .admin-table .td-date { white-space: nowrap; color: #64748B; font-size: 12px; }
  .admin-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(16,185,129,0.15); color: #10B981; }
  .admin-empty { text-align: center; padding: 60px 24px; color: #94A3B8; }
  .admin-empty-icon { font-size: 40px; margin-bottom: 12px; }
  .admin-loading { text-align: center; padding: 60px; color: #D4A017; font-size: 14px; }
  @media (max-width: 768px) {
    .admin-stats { grid-template-columns: repeat(2,1fr); }
    .admin-dashboard { padding: 24px 16px 60px; }
    .admin-search { width: 140px; }
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .hiw-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-grid::before { display: none; }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .cal-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
  }
  /* Live badge */
  .badge-live { background: rgba(16,185,129,0.12); color: #059669; border: 1px solid rgba(16,185,129,0.25); }

  /* Income Tax — active gold button */
  .tool-try-it {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gold); color: var(--navy); border: none;
    padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 12px;
    cursor: pointer; opacity: 0; transform: translateY(6px);
    transition: all 0.25s; letter-spacing: 0.3px;
  }
  .tool-try-it:hover { opacity: 0.88; }
  .tool-card:hover .tool-try-it { opacity: 1; transform: translateY(0); }
