/*
Theme Name: mtcodes (Hello Elementor Child)
Theme URI: https://mtcodes.com/
Description: Child theme of Hello Elementor for the mtcodes agency landing page. Includes the multi-language (EN/BiH/FR/DE) front page, Coupandi plugin section and built-in SEO meta + structured data. Requires the free Hello Elementor parent theme. Homepage content is edited in Elementor (no front-page.php).
Author: Milkan Trninić
Author URI: https://mtcodes.com/
Template: hello-elementor
Version: 1.1.1
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: mtcodes-hello-child
*/

/* ===== mtcodes landing design ===== */
:root{
  --bg:#f6f8fe;
  --bg-2:#ffffff;
  --card:#ffffff;
  --card-2:#f3f6ff;
  --line:rgba(16,24,64,.10);
  --txt:#1a2240;
  --muted:#5b6488;
  --brand:#4f46e5;
  --brand-2:#6366f1;
  --accent:#0891b2;
  --grad:linear-gradient(135deg,#4f46e5 0%,#6366f1 45%,#22d3ee 100%);
  --shadow:0 18px 50px -22px rgba(79,70,229,.40);
  --radius:18px;
}
.mtcodes *{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body.mtcodes{
  font-family:'Segoe UI',system-ui,-apple-system,Roboto,Arial,sans-serif;
  background:radial-gradient(1200px 700px at 80% -10%,rgba(99,102,241,.14),transparent 60%),
             radial-gradient(900px 600px at 0% 10%,rgba(34,211,238,.12),transparent 55%),
             var(--bg);
  color:var(--txt);
  line-height:1.6;
  overflow-x:hidden;
}
.mtcodes a{color:inherit;text-decoration:none}
.mtcodes .wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.mtcodes .btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--grad);color:#fff;font-weight:600;
  padding:14px 26px;border-radius:999px;border:0;cursor:pointer;
  box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease;
  font-size:15px;
}
.mtcodes .btn:hover{transform:translateY(-2px);box-shadow:0 26px 70px -18px rgba(79,70,229,.6)}
.mtcodes .btn.ghost{background:transparent;border:1px solid var(--line);box-shadow:none;color:var(--txt)}
.mtcodes .btn.ghost:hover{border-color:var(--brand-2);background:rgba(99,102,241,.08)}

/* Header */
.mtcodes .site-head{position:sticky;top:0;z-index:50;backdrop-filter:blur(12px);
  background:rgba(255,255,255,.78);border-bottom:1px solid var(--line)}
.mtcodes .nav{display:flex;align-items:center;justify-content:space-between;height:72px}
.mtcodes .logo{display:flex;align-items:center}
.mtcodes .logo img{height:44px;display:block}
.mtcodes .site-foot .logo img{height:40px}
.mtcodes nav ul{display:flex;gap:28px;list-style:none;align-items:center}
.mtcodes nav ul a{color:var(--muted);font-size:15px;font-weight:500;transition:color .2s}
.mtcodes nav ul a:hover{color:var(--txt)}
.mtcodes .nav-right{display:flex;align-items:center;gap:16px}
.mtcodes .lang{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}
.mtcodes .lang button,.mtcodes .lang a{display:inline-block;background:transparent;color:var(--muted);border:0;padding:7px 12px;cursor:pointer;font-weight:600;font-size:13px;text-decoration:none;transition:all .2s}
.mtcodes .lang button.active,.mtcodes .lang a.active{background:var(--grad);color:#fff}
.mtcodes .menu-toggle{display:none;background:transparent;border:0;color:var(--txt);font-size:26px;cursor:pointer}

/* Hero */
.mtcodes .hero{padding:90px 0 70px;position:relative}
.mtcodes .hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.mtcodes .badge{display:inline-flex;align-items:center;gap:8px;background:rgba(99,102,241,.12);
  border:1px solid var(--line);color:var(--accent);padding:7px 16px;border-radius:999px;
  font-size:13px;font-weight:600;margin-bottom:22px}
.mtcodes .badge .pulse{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 rgba(34,211,238,.6);animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(34,211,238,.5)}70%{box-shadow:0 0 0 10px rgba(34,211,238,0)}100%{box-shadow:0 0 0 0 rgba(34,211,238,0)}}
.mtcodes .hero h1{font-size:clamp(34px,5vw,56px);line-height:1.08;letter-spacing:-1.5px;font-weight:800;margin-bottom:20px}
.mtcodes .hero h1 .g{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.mtcodes .hero p.lead{color:var(--muted);font-size:19px;max-width:560px;margin-bottom:32px}
.mtcodes .hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.mtcodes .hero-stats{display:flex;gap:36px;margin-top:46px;flex-wrap:wrap}
.mtcodes .hero-stats .s b{display:block;font-size:30px;font-weight:800;background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.mtcodes .hero-stats .s span{color:var(--muted);font-size:14px}

/* Hero visual */
.mtcodes .hero-visual{position:relative;height:420px}
.mtcodes .orb{position:absolute;border-radius:50%;filter:blur(8px);opacity:.6}
.mtcodes .float-card{position:absolute;background:linear-gradient(160deg,var(--card),var(--card-2));
  border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--shadow);backdrop-filter:blur(8px)}
.mtcodes .fc1{top:20px;left:0;width:230px;animation:floaty 6s ease-in-out infinite}
.mtcodes .fc2{top:150px;right:0;width:250px;animation:floaty 7s ease-in-out infinite .6s}
.mtcodes .fc3{bottom:10px;left:40px;width:240px;animation:floaty 6.5s ease-in-out infinite 1.2s}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
.mtcodes .float-card .ico{width:38px;height:38px;border-radius:10px;background:var(--grad);display:grid;place-items:center;font-size:18px;margin-bottom:10px}
.mtcodes .float-card h4{font-size:15px;margin-bottom:3px}
.mtcodes .float-card p{font-size:13px;color:var(--muted)}
.mtcodes .codeblock{font-family:'Consolas',monospace;font-size:12.5px;color:#c7d2fe;background:#0a0f24;
  border:1px solid var(--line);border-radius:12px;padding:14px 16px;position:absolute;top:90px;left:30px;width:300px;box-shadow:var(--shadow)}
.mtcodes .codeblock .k{color:#c084fc}.mtcodes .codeblock .s{color:#7dd3fc}.mtcodes .codeblock .c{color:#64748b}

/* Section */
.mtcodes section.block{padding:80px 0}
.mtcodes .eyebrow{color:var(--accent);font-weight:700;letter-spacing:1.5px;text-transform:uppercase;font-size:13px;text-align:center;margin-bottom:12px}
.mtcodes .h2{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-1px;text-align:center;margin-bottom:14px}
.mtcodes .sub{color:var(--muted);text-align:center;max-width:620px;margin:0 auto 50px;font-size:17px}

/* Services */
.mtcodes .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.mtcodes .card{background:linear-gradient(160deg,var(--card),var(--card-2));border:1px solid var(--line);
  border-radius:var(--radius);padding:30px;transition:transform .25s,border-color .25s}
.mtcodes .card:hover{transform:translateY(-6px);border-color:var(--brand-2)}
.mtcodes .card .ic{width:54px;height:54px;border-radius:14px;background:rgba(99,102,241,.14);
  display:grid;place-items:center;font-size:26px;margin-bottom:18px}
.mtcodes .card h3{font-size:20px;margin-bottom:10px}
.mtcodes .card p{color:var(--muted);font-size:15px}

/* Plugin showcase */
.mtcodes .plugin{background:linear-gradient(160deg,rgba(99,102,241,.10),rgba(34,211,238,.05));
  border:1px solid var(--line);border-radius:28px;padding:54px;overflow:hidden;position:relative}
.mtcodes .plugin-grid{display:grid;grid-template-columns:1fr 1fr;gap:46px;align-items:center}
.mtcodes .plugin .tag{display:inline-block;background:var(--grad);color:#fff;font-weight:700;font-size:12px;
  letter-spacing:1px;text-transform:uppercase;padding:6px 14px;border-radius:999px;margin-bottom:18px}
.mtcodes .plugin h2{font-size:34px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.mtcodes .plugin .pv{color:var(--muted);font-size:14px;margin-bottom:18px}
.mtcodes .plugin p.desc{color:var(--muted);font-size:16px;margin-bottom:26px}
.mtcodes .feat-list{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px;margin-bottom:30px}
.mtcodes .feat{display:flex;gap:10px;font-size:14.5px;align-items:flex-start}
.mtcodes .feat .ck{color:var(--accent);font-weight:900;margin-top:1px}
.mtcodes .plugin-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.mtcodes .plugin-cta small{color:var(--muted);font-size:13px}
.mtcodes .mock{background:#ffffff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.mtcodes .mock .bar{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid var(--line);background:#eef2fb}
.mtcodes .mock .bar i{width:11px;height:11px;border-radius:50%;display:block}
.mtcodes .mock .bar i:nth-child(1){background:#ff5f57}.mtcodes .mock .bar i:nth-child(2){background:#febc2e}.mtcodes .mock .bar i:nth-child(3){background:#28c840}
.mtcodes .mock .body{padding:20px}
.mtcodes .statgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}
.mtcodes .stat{background:var(--card-2);border:1px solid var(--line);border-radius:12px;padding:14px}
.mtcodes .stat .lbl{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.mtcodes .stat .val{font-size:22px;font-weight:800;margin-top:4px}
.mtcodes .stat .val.on{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.mtcodes .row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 10px;background:var(--card-2);border:1px solid var(--line);border-radius:10px;padding:11px 14px;margin-bottom:8px;font-size:13px}
.mtcodes .pill{font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap}
.mtcodes .pill.green{background:rgba(34,197,94,.15);color:#15803d}
.mtcodes .pill.blue{background:rgba(59,130,246,.15);color:#1d4ed8}
.mtcodes .pill.purple{background:rgba(168,85,247,.15);color:#7e22ce}
.mtcodes .pill.gray{background:rgba(100,116,139,.15);color:#475569}

/* Process */
.mtcodes .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.mtcodes .step{position:relative;background:linear-gradient(160deg,var(--card),var(--card-2));border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.mtcodes .step .num{font-size:42px;font-weight:900;background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;line-height:1;margin-bottom:12px}
.mtcodes .step h4{font-size:18px;margin-bottom:8px}
.mtcodes .step p{color:var(--muted);font-size:14px}

/* CTA band */
.mtcodes .ctaband{background:var(--grad);border-radius:28px;padding:56px;text-align:center;position:relative;overflow:hidden;box-shadow:var(--shadow)}
.mtcodes .ctaband h2{font-size:clamp(26px,3.5vw,38px);font-weight:800;color:#fff;margin-bottom:12px;letter-spacing:-.5px}
.mtcodes .ctaband p{color:rgba(255,255,255,.9);font-size:18px;margin-bottom:28px}
.mtcodes .ctaband .btn{background:#fff;color:var(--brand)}
.mtcodes .ctaband .btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.5);color:#fff}

/* Footer */
.mtcodes .site-foot{border-top:1px solid var(--line);padding:54px 0 30px;margin-top:40px}
.mtcodes .foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;margin-bottom:40px}
.mtcodes .site-foot h5{font-size:14px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:16px}
.mtcodes .site-foot ul{list-style:none}
.mtcodes .site-foot li{margin-bottom:10px}
.mtcodes .site-foot a{color:var(--muted);font-size:14px;transition:color .2s}
.mtcodes .site-foot a:hover{color:var(--txt)}
.mtcodes .foot-about p{color:var(--muted);font-size:14px;max-width:280px;margin-top:14px}
.mtcodes .foot-bottom{border-top:1px solid var(--line);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:13px}

/* Inner pages (non-Elementor content, e.g. Contact Us) */
.mtcodes .site-main{padding:60px 24px 80px}
.mtcodes .page-header{margin-bottom:34px}
.mtcodes .page-header .entry-title{font-size:clamp(30px,4.5vw,44px);font-weight:800;letter-spacing:-1px}
.mtcodes .page-content{max-width:720px}
.mtcodes .page-content p{margin-bottom:1em}
.mtcodes .page-content p.lead{color:var(--muted);font-size:18px;margin-bottom:1.4em}
.mtcodes .page-content h2{font-size:26px;font-weight:800;letter-spacing:-.5px;margin:40px 0 12px}
.mtcodes .page-content h3{font-size:19px;font-weight:700;margin:26px 0 8px}
.mtcodes .page-content ul{margin:0 0 1.2em;padding-left:22px}
.mtcodes .page-content li{margin-bottom:6px;color:var(--muted)}
.mtcodes .page-content .btn{margin:10px 12px 0 0}

@media(max-width:900px){
  .mtcodes .hero-grid,.mtcodes .plugin-grid{grid-template-columns:1fr}
  .mtcodes .hero-visual{display:none}
  .mtcodes .cards{grid-template-columns:1fr 1fr}
  .mtcodes .steps{grid-template-columns:1fr 1fr}
  .mtcodes .foot-grid{grid-template-columns:1fr 1fr}
  .mtcodes nav ul{display:none}
  .mtcodes .menu-toggle{display:block}
  .mtcodes nav.open ul{display:flex;position:absolute;top:72px;left:0;right:0;flex-direction:column;background:var(--bg-2);padding:20px 24px;border-bottom:1px solid var(--line);gap:16px}
  .mtcodes .plugin{padding:34px}
  .mtcodes .nav-right{gap:10px}
}
@media(max-width:560px){
  .mtcodes .cards,.mtcodes .steps,.mtcodes .feat-list,.mtcodes .statgrid,.mtcodes .foot-grid{grid-template-columns:1fr}
  .mtcodes .plugin{padding:26px 22px}
  .mtcodes .nav-right .btn{display:none}
}
