/*
Theme Name: MRA Cyber Security & Recovery
Theme URI: https://muktadirrahmanantar.site/
Author: Muktadir Rahman Antar
Description: Bilingual (Bangla/English) theme for cyber security & social media recovery specialists, with an editable Works portfolio (with comments). Design matches the site's proven static version exactly.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mra-cyber
*/

  :root{
    --bg: #0d1b2a;
    --bg-soft: #0a1622;
    --surface: #142a3f;
    --surface-2: #1a3450;
    --border: #23405c;
    --text: #eaf1f8;
    --text-muted: #93a9c2;
    --teal: #38c9a3;
    --teal-dim: #2a9b7d;
    --gold: #e8a33d;
    --gold-dim: #c98a2c;
    --danger: #e0654f;
    --radius: 14px;
    --max: 1160px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
  }
  body{
    background: var(--bg);
    background-image:
      radial-gradient(ellipse 900px 500px at 85% -10%, rgba(56,201,163,0.10), transparent 60%),
      radial-gradient(ellipse 700px 500px at 0% 20%, rgba(232,163,61,0.06), transparent 55%);
    color: var(--text);
    font-family: 'Hind Siliguri', 'Segoe UI', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
  }
  body.lang-en{ font-family: 'Segoe UI', sans-serif; }
  h1,h2,h3,h4{ font-family: 'Baloo Da 2', 'Hind Siliguri', sans-serif; font-weight: 700; line-height: 1.25; letter-spacing: 0.2px;}
  body.lang-en h1, body.lang-en h2, body.lang-en h3, body.lang-en h4{ font-family: 'Segoe UI', sans-serif; }
  .mono{ font-family: 'JetBrains Mono', monospace; }
  a{ color: inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  .wrap{ max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .eyebrow{
    display:inline-flex; align-items:center; flex-wrap:wrap; gap:8px; row-gap:4px;
    font-family:'JetBrains Mono',monospace; font-size:12.5px; letter-spacing:1px;
    color: var(--teal); text-transform:uppercase; margin-bottom:16px;
  }
  .eyebrow::before{ content:"//"; color: var(--gold); }
  .eyebrow-tag{ white-space:nowrap; }
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding: 14px 26px; border-radius: 999px; font-weight:600; font-size:15.5px;
    border:1px solid transparent; cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space:nowrap; flex-shrink:0;
  }
  .btn-primary{ background: linear-gradient(135deg, var(--teal), var(--teal-dim)); color:#052a20; box-shadow: 0 8px 24px -8px rgba(56,201,163,0.55);}
  .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(56,201,163,0.65);}
  .btn-ghost{ background: transparent; border-color: var(--border); color: var(--text);}
  .btn-ghost:hover{ border-color: var(--teal); color: var(--teal); transform: translateY(-2px);}

  /* HEADER */
  header{
    position: sticky; top:0; z-index:50;
    background: rgba(13,27,42,0.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav{ display:flex; align-items:center; justify-content:space-between; padding: 16px 24px; gap:12px; flex-wrap: wrap; row-gap: 12px; }
  .logo{ display:flex; align-items:center; gap:10px; font-family:'Baloo Da 2'; font-weight:700; font-size:19px; cursor:pointer; background:none; border:none; color:inherit; padding:0; min-width:0; flex-shrink:1; }
  body.lang-en .logo{ font-family:'Segoe UI'; }
  .logo:hover{ opacity:0.85; }
  .logo-mark{ width:34px; height:34px; border-radius:9px; background:linear-gradient(135deg,var(--teal),var(--gold)); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono'; font-weight:700; color:#0d1b2a; font-size:15px; flex-shrink:0;}
  .logo-text{ line-height:1.15; }
  @media (max-width: 640px){
    .logo-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; }
  }
  nav ul{ list-style:none; display:flex; gap:30px; }
  nav ul a{ font-size:15px; color: var(--text-muted); transition:color .15s; }
  nav ul a:hover{ color: var(--teal); }
  .nav-right{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
  .lang-switch{
    display:flex; align-items:center; border:1px solid var(--border); border-radius:999px; padding:3px; gap:2px;
    font-family:'JetBrains Mono'; font-size:12.5px; flex-shrink:0; white-space:nowrap;
  }
  .lang-switch button{
    background:none; border:none; color: var(--text-muted); padding:6px 12px; border-radius:999px; cursor:pointer; font-family:'JetBrains Mono'; font-weight:600; transition: background .15s, color .15s; white-space:nowrap;
  }
  .lang-switch button.active{ background: var(--teal); color:#052a20; }
  .menu-toggle{ display:none; background:none; border:none; color:var(--text); font-size:26px; cursor:pointer; }
  @media (max-width: 880px){
    nav ul{ display:none; }
    .menu-toggle{ display:block; }
  }
  @media (max-width: 420px){
    .logo-text{ display:none; }
  }

  /* HERO */
  .hero{ padding: 90px 0 70px; }
  .hero-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:60px; align-items:center; }
  @media (max-width: 900px){ .hero-grid{ grid-template-columns:1fr; } }
  .hero h1{ font-size: clamp(32px, 5vw, 52px); margin-bottom:20px; }
  .hero h1 .accent{ color: var(--teal); }
  .hero p.lead{ font-size:18px; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
  .hero-trust{ display:flex; gap:28px; flex-wrap:wrap; }
  .hero-trust div{ font-family:'JetBrains Mono'; }
  .hero-trust .num{ font-size:22px; font-weight:700; color: var(--gold); }
  .hero-trust .lbl{ font-size:12.5px; color: var(--text-muted); }

  /* Signature: status card stack */
  .status-stack{ position:relative; }
  .status-card{
    background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
    padding: 20px 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  }
  .status-card + .status-card{ margin-top: -14px; }
  .status-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
  .status-title{ font-size:14.5px; color: var(--text-muted); }
  .status-badge{ font-family:'JetBrains Mono'; font-size:11.5px; padding:4px 10px; border-radius:999px; font-weight:600; letter-spacing:0.5px;}
  .badge-danger{ background: rgba(224,101,79,0.15); color: var(--danger); border:1px solid rgba(224,101,79,0.4); }
  .badge-success{ background: rgba(56,201,163,0.15); color: var(--teal); border:1px solid rgba(56,201,163,0.4); }
  .status-name{ font-size:20px; font-weight:600; margin-bottom:4px; }
  .status-meta{ font-family:'JetBrains Mono'; font-size:12px; color: var(--text-muted); }
  .status-card.top{ transform: rotate(-2deg); opacity:0.75; }
  .status-card.bottom{ transform: rotate(1deg); position:relative; z-index:2; }
  @keyframes pulse-dot{ 0%,100%{opacity:1;} 50%{opacity:0.3;} }
  .live-dot{ width:8px; height:8px; border-radius:50%; background: var(--teal); display:inline-block; animation: pulse-dot 1.6s infinite; margin-left:6px;}

  /* SECTIONS shared */
  section{ padding: 80px 0; }
  .section-head{ max-width: 640px; margin-bottom: 48px; }
  .section-head h2{ font-size: clamp(26px, 3.4vw, 36px); }
  .section-head p{ color: var(--text-muted); font-size:16.5px; margin-top:14px; }
  .divider{ height:1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

  /* ABOUT */
  .about-grid{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap:56px; align-items:center; }
  @media (max-width:880px){ .about-grid{ grid-template-columns:1fr; } }
  .about-photo{ aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border:1px solid var(--border); overflow:hidden; display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-family:'JetBrains Mono'; font-size:13px; text-align:center; padding:20px;}
  .about-photo img{ width:100%; height:100%; object-fit:cover; }
  .about-copy p{ color: var(--text-muted); margin-bottom:16px; font-size:16px; }
  .about-copy strong{ color: var(--text); }
  .credentials{ display:flex; gap:24px; margin-top:28px; flex-wrap:wrap; }
  .credential{ border-left:2px solid var(--teal); padding-left:14px; }
  .credential .num{ font-family:'JetBrains Mono'; font-size:24px; font-weight:700; color: var(--gold); }
  .credential .lbl{ font-size:13px; color: var(--text-muted); }

  /* SERVICES */
  .services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
  @media (max-width:900px){ .services-grid{ grid-template-columns: repeat(2,1fr);} }
  @media (max-width:600px){ .services-grid{ grid-template-columns: 1fr;} }
  .service-card{
    background: var(--surface); border:1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
  }
  .service-card:hover{ transform: translateY(-5px); border-color: var(--teal); background: var(--surface-2); }
  .service-icon{ width:46px; height:46px; border-radius:12px; background: rgba(56,201,163,0.12); display:flex; align-items:center; justify-content:center; margin-bottom:18px; font-size:22px; }
  .service-card h3{ font-size:18.5px; margin-bottom:10px; }
  .service-card p{ color: var(--text-muted); font-size:14.5px; }
  .service-tag{ display:inline-block; margin-top:14px; font-family:'JetBrains Mono'; font-size:11px; color: var(--gold); letter-spacing:0.5px; }

  /* WHY CHOOSE */
  .why{ background: var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
  .why-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
  @media (max-width:900px){ .why-grid{ grid-template-columns: repeat(2,1fr);} }
  @media (max-width:560px){ .why-grid{ grid-template-columns: 1fr;} }
  .why-item{ padding:22px; }
  .why-check{ width:36px; height:36px; border-radius:50%; background: rgba(232,163,61,0.15); color: var(--gold); display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:14px; }
  .why-item h4{ font-size:16.5px; margin-bottom:8px; }
  .why-item p{ font-size:14px; color: var(--text-muted); }

  /* STATS */
  .stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; text-align:center; }
  @media (max-width:700px){ .stats-grid{ grid-template-columns: repeat(2,1fr); } }
  .stat{ padding: 30px 16px; border:1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .stat .num{ font-family:'JetBrains Mono'; font-size: clamp(28px,4vw,38px); font-weight:700; color: var(--teal); }
  .stat .lbl{ margin-top:8px; color: var(--text-muted); font-size:13.5px; }

  /* FAQ */
  .faq-list{ max-width: 760px; }
  details{ border-bottom:1px solid var(--border); padding: 20px 0; }
  summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; font-weight:600; font-size:16.5px; }
  summary::-webkit-details-marker{ display:none; }
  summary::after{ content:"+"; font-family:'JetBrains Mono'; font-size:22px; color: var(--teal); transition: transform .2s ease; }
  details[open] summary::after{ transform: rotate(45deg); }
  details p{ color: var(--text-muted); margin-top:14px; font-size:15px; max-width: 680px; }

  /* CONTACT */
  .contact{
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border-radius: 24px; border:1px solid var(--border);
    padding: 56px 44px; display:grid; grid-template-columns: 1.1fr 0.9fr; gap:40px; align-items:center;
  }
  @media (max-width:880px){ .contact{ grid-template-columns:1fr; padding: 40px 26px;} }
  .contact h2{ font-size: clamp(24px,3vw,32px); margin-bottom:14px; }
  .contact p{ color: var(--text-muted); margin-bottom: 26px; }
  .contact-links{ display:flex; flex-direction:column; gap:14px; }
  .contact-link{ display:flex; align-items:center; gap:14px; padding:14px 18px; background: rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:12px; transition: border-color .15s, background .15s; }
  .contact-link:hover{ border-color: var(--teal); background: rgba(56,201,163,0.06); }
  .contact-link .ic{ width:38px; height:38px; border-radius:10px; background: rgba(56,201,163,0.15); display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
  .contact-link .t{ font-size:12px; color: var(--text-muted); font-family:'JetBrains Mono'; }
  .contact-link .v{ font-size:15.5px; font-weight:600; }

  /* MESSAGE FORM CARD */
  .msg-card{
    background: var(--surface); border:1px solid var(--border); border-radius: 20px;
    padding: 36px 32px; margin-top: 28px;
  }
  @media (max-width:640px){ .msg-card{ padding: 26px 20px; } }
  .msg-card h3{ font-size: 21px; margin-bottom:18px; }
  .msg-alert{
    display:flex; align-items:flex-start; gap:10px;
    background: rgba(56,201,163,0.08); border:1px solid rgba(56,201,163,0.35); color: var(--teal);
    padding:12px 16px; border-radius:12px; font-size:14px; margin-bottom:26px; line-height:1.5;
  }
  .msg-alert .ic{ flex-shrink:0; margin-top:1px; }
  .form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
  @media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
  .form-field{ display:flex; flex-direction:column; gap:8px; margin-bottom:18px; }
  .form-field label{ font-size:13.5px; font-weight:600; color: var(--text); }
  .form-field input, .form-field select, .form-field textarea{
    background: rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:10px;
    padding:12px 14px; color: var(--text); font-family:'Hind Siliguri', sans-serif; font-size:14.5px;
    outline:none; transition: border-color .15s; color-scheme: dark; width:100%;
  }
  body.lang-en .form-field input, body.lang-en .form-field select, body.lang-en .form-field textarea{ font-family:'Segoe UI', sans-serif; }
  .form-field input::placeholder, .form-field textarea::placeholder{ color: var(--text-muted); opacity:0.7; }
  .form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color: var(--teal); }
  .form-field textarea{ resize: vertical; min-height:110px; font-family:inherit; }
  .form-actions{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:6px; }
  .form-note{ font-size:13.5px; color: var(--text-muted); }
  .form-note a{ color: var(--teal); font-weight:600; }
  .btn-submit{ border:none; }

  /* FOOTER */
  footer{ border-top:1px solid var(--border); padding: 40px 0; }
  .footer-grid{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
  footer ul{ list-style:none; display:flex; gap:22px; flex-wrap:wrap; }
  footer ul a{ color: var(--text-muted); font-size:14px; }
  footer ul a:hover{ color: var(--teal); }
  .footer-copy{ color: var(--text-muted); font-size:13px; font-family:'JetBrains Mono'; }

  .fade-in{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .fade-in.visible{ opacity:1; transform:none; }

  /* language visibility helper */
  [data-lang]{ }
  body.lang-bn [data-lang="en"]{ display:none !important; }
  body.lang-en [data-lang="bn"]{ display:none !important; }

/* ============ WORKS / PORTFOLIO PAGES (added for the theme) ============ */
.page-hero{ padding: 70px 0 40px; }
.page-hero h1{ font-size: clamp(28px, 4.2vw, 44px); margin-bottom:16px; }
.page-hero p.lead{ font-size:17px; color: var(--text-muted); max-width:640px; }
.mini-stats{ display:flex; gap:32px; flex-wrap:wrap; margin-top:28px; }
.mini-stats .num{ font-family:'JetBrains Mono'; font-size:24px; font-weight:700; color: var(--gold); }
.mini-stats .lbl{ font-size:12.5px; color: var(--text-muted); font-family:'JetBrains Mono'; }

.cat-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.cat-tab{
  font-family:'JetBrains Mono'; font-size:13px; padding:10px 18px; border-radius:999px;
  border:1px solid var(--border); background: transparent; color: var(--text-muted); cursor:pointer;
  transition: all .15s ease; white-space:nowrap; display:inline-block;
}
.cat-tab:hover{ border-color: var(--teal); color: var(--teal); }
.cat-tab.active, .cat-tab.current{ background: var(--teal); border-color: var(--teal); color:#052a20; font-weight:600; }

.proof-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
@media (max-width:900px){ .proof-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:640px){ .proof-grid{ grid-template-columns: 1fr;} }
.proof-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; transition: transform .2s ease, border-color .2s ease; }
.proof-card:hover{ transform: translateY(-4px); border-color: var(--teal); }
.proof-img{ aspect-ratio: 16/10; background: repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 10px, var(--surface) 10px, var(--surface) 20px); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; color: var(--text-muted); font-family:'JetBrains Mono'; font-size:12px; line-height:1.6; overflow:hidden; }
.proof-img img{ width:100%; height:100%; object-fit:cover; }
.proof-body{ padding:20px; }
.proof-tag{ display:inline-block; font-family:'JetBrains Mono'; font-size:10.5px; letter-spacing:0.5px; color: var(--teal); background: rgba(56,201,163,0.12); padding:4px 10px; border-radius:999px; margin-bottom:12px; }
.proof-body h4{ font-size:16px; margin-bottom:8px; }
.proof-body h4 a{ color:inherit; }
.proof-body p{ font-size:13.5px; color: var(--text-muted); margin-bottom:10px; }
.proof-date{ font-family:'JetBrains Mono'; font-size:11px; color: var(--text-muted); opacity:0.8; }
.proof-comment-count{ font-family:'JetBrains Mono'; font-size:11px; color: var(--gold); margin-top:6px; display:inline-block; }

.single-work-hero{ padding: 50px 0 20px; }
.single-work-img{ width:100%; border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); margin-bottom:30px; }
.single-work-body{ max-width: 760px; color: var(--text-muted); font-size:16px; line-height:1.8; }
.single-work-body p{ margin-bottom: 16px; }

.comments-area{ max-width:760px; margin-top:50px; padding-top:40px; border-top:1px solid var(--border); }
.comments-area h3{ font-size:20px; margin-bottom:24px; }
.comment-list{ list-style:none; }
.comment-list li{ margin-bottom:20px; }
.comment-body{ background: var(--surface); border:1px solid var(--border); border-radius:12px; padding:18px 20px; }
.comment-author{ font-weight:600; font-size:14.5px; margin-bottom:4px; }
.comment-meta{ font-family:'JetBrains Mono'; font-size:11.5px; color: var(--text-muted); margin-bottom:10px; }
.comment-text p{ color: var(--text-muted); font-size:14.5px; }
.comment-respond{ margin-top:30px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea{
  background: rgba(255,255,255,0.03); border:1px solid var(--border); border-radius:10px; padding:12px 14px; color: var(--text);
  font-family:'Hind Siliguri', sans-serif; font-size:14.5px; outline:none; width:100%; margin-bottom:14px; color-scheme:dark;
}
.comment-respond textarea{ min-height:100px; resize:vertical; }
.comment-respond label{ font-size:13px; color: var(--text-muted); display:block; margin-bottom:6px; }

.testimonial-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .testimonial-grid{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:640px){ .testimonial-grid{ grid-template-columns: 1fr;} }
.testimonial-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius); padding:24px; }
.testimonial-quote{ font-size:14.5px; color: var(--text-muted); font-style:italic; margin-bottom:18px; line-height:1.7; }
.testimonial-author{ display:flex; align-items:center; gap:12px; }
.testimonial-avatar{ width:38px; height:38px; border-radius:50%; background: linear-gradient(135deg,var(--teal),var(--gold)); display:flex; align-items:center; justify-content:center; font-family:'JetBrains Mono'; font-weight:700; color:#0d1b2a; font-size:13px; flex-shrink:0; overflow:hidden; }
.testimonial-avatar img{ width:100%; height:100%; object-fit:cover; }
.testimonial-name{ font-size:14px; font-weight:600; }
.testimonial-meta{ font-size:12px; color: var(--text-muted); }

.cta-strip{ background: linear-gradient(135deg, var(--surface), var(--surface-2)); border:1px solid var(--border); border-radius:20px; padding:40px; text-align:center; margin-top:20px; }
.cta-strip h3{ font-size:22px; margin-bottom:10px; }
.cta-strip p{ color: var(--text-muted); margin-bottom:22px; }
