/*
Theme Name: Urdu Nova Tools
Theme URI: https://example.org/urdu-nova
Author: Urdu Nova
Description: Modern Urdu typing, phonetic keyboard, Roman Urdu helper and Unicode utilities.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: urdu-nova
*/
:root{--ink:#14243c;--teal:#087f78;--mint:#e7f7f3;--line:#dbe6e9;--muted:#63758a}*{box-sizing:border-box}body{margin:0;background:#f5f8fb;color:var(--ink);font:16px/1.6 system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:1180px;margin:auto;padding:0 22px}.top{background:#fff;border-bottom:1px solid var(--line)}.nav{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:78px}.brand{font-weight:850;font-size:25px;letter-spacing:-1px}.brand b{color:var(--teal)}.menu{display:flex;flex-wrap:wrap;gap:18px;font-size:14px}.menu a:hover{color:var(--teal)}.hero{background:linear-gradient(125deg,#0a655f,#0b9088 60%,#15566c);color:white;padding:65px 0 90px}.hero h1{font-size:clamp(33px,5vw,60px);line-height:1.15;max-width:780px;margin:0 0 18px}.hero p{max-width:650px;opacity:.93}.pill{display:inline-block;background:#ffffff24;border:1px solid #ffffff50;padding:7px 14px;border-radius:99px;margin-bottom:17px}.workspace{margin-top:-52px;position:relative}.panel{background:white;border:1px solid var(--line);border-radius:19px;box-shadow:0 18px 45px #133c4b12;padding:25px;margin-bottom:25px}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.heading h2{margin:0 0 14px;font-size:24px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab{background:#eff5f6;border:1px solid var(--line);color:var(--ink)}button,select{font:inherit}button{border:0;cursor:pointer;border-radius:10px;padding:10px 15px;font-weight:650}button.primary,.tab.active{background:var(--teal);color:white}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0}.toolbar select{border:1px solid var(--line);padding:10px;border-radius:9px;background:white}.editor{display:block;width:100%;min-height:265px;padding:22px;border:1px solid #cddcde;border-radius:12px;resize:vertical;font-size:25px;line-height:2.15;background:#fff;color:#111;outline-color:var(--teal)}.nastaleeq{font-family:'Jameel Noori Nastaleeq','Noto Nastaliq Urdu',serif}.naskh{font-family:'Noto Naskh Arabic',serif}.keyboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;margin:15px 0}.keyboard button{padding:9px 0;background:#edf4f6;border:1px solid #d7e4e8;border-radius:7px;font-size:19px}.keyboard button:hover{background:#d4f0e9}.help{color:var(--muted);font-size:14px}.stats{color:var(--muted);font-size:13px;margin-left:auto}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:28px 0 55px}.card{background:white;padding:25px;border:1px solid var(--line);border-radius:15px}.card h3{margin:0 0 8px}.card p{color:var(--muted)}.card a{color:var(--teal);font-weight:700}.input{width:100%;border:1px solid var(--line);border-radius:10px;padding:15px;min-height:100px;font:20px/1.8 system-ui}.footer{background:#14243c;color:#d7e6ec;padding:35px 0;margin-top:35px}.hidden{display:none!important}.notice{background:#fff9e6;border:1px solid #ead8a4;padding:13px;border-radius:10px;font-size:14px;color:#70571a}.page-content{padding:40px 0;min-height:50vh}@media(max-width:750px){.nav{align-items:flex-start;flex-direction:column;padding:15px 0}.hero{padding:45px 0 80px}.cards{grid-template-columns:1fr}.panel{padding:16px}.keyboard{grid-template-columns:repeat(8,minmax(0,1fr))}.editor{font-size:21px}}/* Premium studio redesign */
:root{--teal:#7856f7;--ink:#17203d;--line:#e5e8f4;--muted:#75809a}body{background:#f5f6fd;color:var(--ink)}.wrap{max-width:1320px}.top{background:#fff;box-shadow:0 6px 28px #1713390b;position:relative;z-index:5}.nav{min-height:88px}.brand{font-size:29px}.brand b{color:#7856f7}.menu{font-weight:650}.menu a:hover{color:#7856f7}.hero{overflow:hidden;position:relative;background:radial-gradient(circle at 75% 25%,#6b46df 0%,transparent 38%),linear-gradient(120deg,#101938,#20225c 55%,#3d2582);padding:90px 0 132px}.hero:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#ffffff30 1px,transparent 1px);background-size:27px 27px;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:55px;position:relative}.hero h1{font-size:clamp(42px,4.5vw,72px);letter-spacing:-2px;line-height:1.18;margin:10px 0 25px}.hero h1 em{font-style:normal;color:#b4a1ff}.hero h1 span{font-family:'Jameel Noori Nastaleeq','Noto Nastaliq Urdu',serif;font-size:.72em;color:#fff;letter-spacing:0}.hero p{font-size:17px;line-height:1.9;color:#d5d8f5;max-width:600px}.pill{font-size:12px;font-weight:850;letter-spacing:1.8px;color:#d9d1ff;background:#ffffff13;padding:10px 18px}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:30px 0 42px}.hero-button{background:#fff;color:#352174;padding:15px 22px;border-radius:14px;font-weight:850;box-shadow:0 12px 32px #0a092e45}.hero-button span{margin-left:15px}.hero-outline{font-weight:750;color:white}.hero-metrics{display:flex;gap:28px;flex-wrap:wrap}.hero-metrics span{border-right:1px solid #ffffff30;padding-right:27px}.hero-metrics span:last-child{border:0}.hero-metrics b,.hero-metrics small{display:block}.hero-metrics b{font-size:17px}.hero-metrics small{font-size:12px;color:#bcbde1}.hero-art{position:relative;min-height:385px;display:grid;place-items:center}.orb{position:absolute;border-radius:50%;filter:blur(2px)}.orb-one{width:290px;height:290px;background:linear-gradient(130deg,#926dff,#f06ae8);opacity:.5;right:0;top:0}.orb-two{width:180px;height:180px;background:#49d8ff;opacity:.35;bottom:0;left:0}.art-window{position:relative;width:min(100%,480px);padding:22px 26px 34px;background:linear-gradient(145deg,#ffffffef,#e5e4ffed);border:1px solid #fff;border-radius:28px;box-shadow:0 35px 85px #0d093c99;transform:rotate(-4deg);text-align:center}.art-dots{text-align:left;color:#ff9c9b;font-size:14px;letter-spacing:4px}.art-dots span{float:right;font-size:10px;color:#726a9c;letter-spacing:2px;font-weight:800}.art-letter{font-family:'Jameel Noori Nastaleeq','Noto Nastaliq Urdu',serif;font-size:clamp(90px,10vw,160px);line-height:1.6;color:#33236d;text-shadow:3px 7px 0 #d3c8ff}.art-caption{font-size:11px;letter-spacing:3px;font-weight:800;color:#7e71ae}.art-keys{display:flex;gap:8px;justify-content:center;margin-top:20px}.art-keys i{font:normal 24px serif;color:#5c43ac;background:white;border:1px solid #ddd4ff;box-shadow:0 4px 0 #c8c0ed;padding:6px 11px;border-radius:9px}.floating-tag{position:absolute;bottom:2px;right:-10px;background:#fff;color:#5637bc;padding:14px 20px;border-radius:12px;font-size:13px;font-weight:850;box-shadow:0 14px 36px #12103355;transform:rotate(5deg)}.workspace{margin-top:-65px}.panel{border:1px solid #e9eafa;border-radius:25px;padding:34px;box-shadow:0 20px 60px #171c4b10;margin-bottom:28px}.heading h2,.panel h2{font-size:27px;letter-spacing:-.7px}.tab{background:#f0f0fc;border-color:#e4e3f7;padding:12px 20px}.tab.active,button.primary{background:linear-gradient(125deg,#7354ee,#9a62f3);box-shadow:0 5px 15px #7454e52c}.toolbar button:not(.primary){background:#f0f1fb;color:#3d3974}.toolbar button:hover,.tab:hover{filter:brightness(.96)}.toolbar select{border-color:#e0e2f0}.editor{background:#fcfcff;border:2px solid #e6e6f4;border-radius:16px;min-height:250px;box-shadow:inset 0 2px 10px #2b226008}.editor:focus,.input:focus{border-color:#9478ff;outline:none}.keyboard-shell{background:linear-gradient(155deg,#232a40,#111827);border:1px solid #48516b;border-radius:22px;padding:19px;margin:24px 0;box-shadow:0 20px 38px #10172d3a,inset 0 1px #ffffff35}.keyboard-top,.keyboard-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#dbe2fa}.keyboard-top{padding:0 5px 15px}.keyboard-top strong{font-size:12px;letter-spacing:1.5px}.keyboard-top small{display:block;font-size:11px;color:#8d9ab8;margin:3px 0 0 19px}.keyboard-led{display:inline-block;width:8px;height:8px;border-radius:50%;background:#55e7ad;box-shadow:0 0 10px #55e7ad;margin-right:9px}.keyboard-controls{display:flex;align-items:center;gap:10px}.keyboard-controls span{font-size:10px;font-weight:900;color:#81f4cf;background:#1b4e4a;border:1px solid #306e63;border-radius:6px;padding:5px 10px}.keyboard-controls button{font-size:11px;color:#cbd5ee;background:#343c54;padding:7px 11px}.keyboard-scroll{overflow-x:auto;padding-bottom:8px}.keyboard{display:flex;flex-direction:column;gap:7px;margin:0;min-width:780px}.key-row{display:flex;gap:6px;width:100%}.keyboard .win-key{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;height:53px;padding:3px 2px;border-radius:7px;border:1px solid #555e76;border-bottom:3px solid #070c17;background:linear-gradient(#424c65,#2a3349);color:white;box-shadow:inset 0 1px #ffffff26,0 2px 3px #0008;transition:transform .08s,background .08s;overflow:hidden}.keyboard .win-key:hover{background:linear-gradient(#6553aa,#423477);border-color:#9985ed}.keyboard .win-key:active{transform:translateY(2px);border-bottom-width:1px}.key-en{position:absolute;top:3px;left:7px;color:#aab6d1;font:10px Arial,sans-serif}.key-ur{font:21px/1.4 'Noto Naskh Arabic',serif;color:#fff;margin-top:8px}.keyboard .special-key{font-size:11px;font-weight:800;color:#e3e9fa;background:linear-gradient(#3a455c,#20293b)}.keyboard .key-active{background:linear-gradient(#8166e8,#533db0);border-color:#ac9af5}.keyboard-bottom{padding:11px 5px 0;color:#9ca9c3;font-size:11px}.keyboard-bottom span:first-child{color:#67dfae}.guide-keyboard .keyboard-top{padding-bottom:12px}.section-kicker{text-align:center;color:#7958f4;font-size:12px;letter-spacing:3px;font-weight:900;margin-top:52px}.section-title{text-align:center;font-size:34px;margin:10px 0 30px}.cards{gap:23px}.card{border-radius:21px;padding:30px;box-shadow:0 15px 45px #1e204b0b;border-color:#e9e8f7}.card h3{font-size:22px}.card a{color:#7755ec}.footer{background:#151c36}.notice{border-radius:14px}.hidden{display:none!important}@media(max-width:950px){.hero-grid{grid-template-columns:1fr}.hero-art{min-height:320px}.hero{padding-top:55px}.hero-copy{max-width:740px}}@media(max-width:750px){.hero h1{font-size:41px}.hero-art{min-height:290px}.art-window{max-width:370px}.panel{padding:18px}.keyboard-shell{padding:11px;border-radius:15px}.keyboard-top{flex-wrap:wrap}.keyboard-bottom{flex-wrap:wrap}.hero-metrics{gap:13px}.hero-metrics span{padding-right:13px}.section-title{font-size:27px}}
