/* Esmaeeli Elementor Kit — exact port of stage1 HTML styles */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root{--em-navy:#101c31;--em-navy2:#182b47;--em-navy3:#294363;--em-gold:#c9a15b;--em-goldL:#e6c27c;--em-ink:#192438;--em-muted:#758196;--em-paper:#f5f6f8;--em-line:#e6e9ef;--em-white:#fff}

.em-page{background:var(--em-paper);color:var(--em-ink);line-height:1.9}
.em-page button{font-family:inherit;cursor:pointer;border:0}
.em-page a{text-decoration:none;color:inherit}

.em-sec{margin:38px 0}

/* Hero */
.em-hero{background:radial-gradient(circle at 75% 15%,#345173 0,transparent 38%),linear-gradient(115deg,#0b1425,#1c3555);color:white;border-radius:28px;min-height:500px;position:relative;overflow:hidden;padding:54px;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:28px}
.em-hero:after{content:'';position:absolute;left:-120px;bottom:-180px;width:460px;height:460px;border:1px solid #d5b16a25;border-radius:50%;box-shadow:0 0 0 50px #d5b16a08,0 0 0 100px #d5b16a05}
.em-hero-copy{position:relative;z-index:2}
.em-kicker{color:var(--em-goldL);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:9px}
.em-kicker:before{content:'';width:25px;height:1px;background:var(--em-gold)}
.em-hero h1{font-size:clamp(29px,4.2vw,52px);line-height:1.55;margin:15px 0 18px;font-weight:800;color:#fff}
.em-hero h1 span{color:var(--em-goldL)}
.em-hero p{color:#d5deeb;font-size:15px;max-width:590px}
.em-hero-buttons{display:flex;gap:11px;flex-wrap:wrap;margin-top:27px}
.em-hero-visual{position:relative;z-index:2;min-height:340px;display:flex;align-items:center;justify-content:center}
.em-portrait{height:380px;width:min(340px,100%);border-radius:160px 160px 26px 26px;background:linear-gradient(160deg,#8a9aaf,#344a66 50%,#162740);border:1px solid #d5b16a55;position:relative;overflow:hidden;box-shadow:0 25px 55px #0003}
.em-portrait:before{content:'\200B';position:absolute;inset:0;display:grid;place-items:center;color:#ffffff80;font-size:14px;background:linear-gradient(0deg,#0c192c88,transparent)}
.em-portrait .em-portrait-label{position:absolute;inset:0;display:grid;place-items:center;color:#ffffff80;font-size:14px;z-index:1}
.em-orbit{position:absolute;border:1px solid #c9a15b55;border-radius:50%;width:410px;height:410px;left:50%;top:50%;transform:translate(-50%,-50%)}
.em-orbit:after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:var(--em-goldL);top:22%;right:8%}
.em-hero-note{position:absolute;bottom:15px;right:0;background:#ffffff12;border:1px solid #ffffff2a;backdrop-filter:blur(8px);padding:13px 17px;border-radius:15px;font-size:12px;color:#e8edf5}

/* Buttons */
.em-btn{border-radius:12px;padding:11px 18px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s;cursor:pointer}
.em-btn:hover{transform:translateY(-2px)}
.em-btn.gold{background:linear-gradient(135deg,#e4c47f,#c69a50);color:#182338}
.em-btn.dark{background:var(--em-navy);color:white}
.em-btn.ghost{background:transparent;color:white;border:1px solid #ffffff50}
.em-btn.white{background:white;color:var(--em-navy)}

/* Timer bar */
.em-timerbar{background:#fff;border-radius:20px;box-shadow:0 15px 40px #0b142615;margin:-27px 26px 35px;position:relative;z-index:3;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.em-timerleft{display:flex;align-items:center;gap:12px}
.em-timerbadge{width:44px;height:44px;background:#f7ecd9;color:#9b742f;border-radius:15px;display:grid;place-items:center;font-size:20px}
.em-timerleft b{font-size:14px}
.em-timerleft small{display:block;color:var(--em-muted);font-size:11px}
.em-digits{display:flex;gap:10px}
.em-digits div{background:#f4f6f9;padding:5px 12px;border-radius:11px;text-align:center;min-width:55px}
.em-digits strong{display:block;color:var(--em-navy);font-size:18px}
.em-digits small{font-size:9px;color:var(--em-muted)}

/* Section head */
.em-sectionhead{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px}
.em-sectionhead h2{margin:0;font-size:23px;color:var(--em-ink)}
.em-sectionhead p{margin:3px 0;color:var(--em-muted);font-size:12px}
.em-more{font-size:12px;font-weight:700;color:#94702e}

/* Paths */
.em-pathgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.em-path{background:white;border:1px solid var(--em-line);border-radius:19px;padding:20px;min-height:180px;transition:.2s;position:relative;overflow:hidden;display:block}
.em-path:hover{transform:translateY(-3px);box-shadow:0 15px 35px #0b142615}
.em-pathicon{width:47px;height:47px;background:#f6eddd;color:#9b742f;border-radius:15px;display:grid;place-items:center;font-size:22px;margin-bottom:14px}
.em-path h3{margin:0 0 5px;font-size:15px;color:var(--em-ink)}
.em-path p{margin:0;font-size:12px;color:var(--em-muted)}
.em-path .arrow{position:absolute;left:18px;bottom:18px;color:var(--em-gold);font-size:18px}

/* Features */
.em-featuregrid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.em-featuregrid.em-single{grid-template-columns:1fr}
.em-feature{border-radius:23px;padding:30px;min-height:270px;overflow:hidden}
.em-feature.darkfeature{background:linear-gradient(120deg,#0b1425,#254363);color:white}
.em-feature.goldfeature{background:linear-gradient(120deg,#e6c27c,#c69a50);color:#17243a}
.em-feature h2{font-size:22px;margin:10px 0}
.em-feature.darkfeature h2{color:#fff}
.em-feature.goldfeature h2{color:#17243a}
.em-feature p{font-size:13px;max-width:550px;opacity:.82}
.em-feature .label{font-size:11px;font-weight:700;letter-spacing:.3px}

/* Course cards */
.em-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.em-course{background:#fff;border-radius:20px;overflow:hidden;border:1px solid var(--em-line);transition:.2s;display:flex;flex-direction:column}
.em-course:hover{transform:translateY(-3px);box-shadow:0 15px 30px #0b142615}
.em-cover{height:170px;background:linear-gradient(140deg,#172b46,#496587);position:relative;display:flex;align-items:end;padding:18px;color:white}
.em-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0b1425b5,transparent)}
.em-cover h3{position:relative;z-index:1;margin:0;font-size:17px;color:#fff}
.em-cover .covericon{position:absolute;top:16px;left:16px;color:var(--em-goldL);font-size:25px;z-index:1}
.em-coursebody{padding:17px;display:flex;flex-direction:column;flex:1}
.em-coursebody p{font-size:12px;color:var(--em-muted);margin:7px 0 13px}
.em-coursebody .price{font-size:13px;font-weight:800}
.em-coursebody .em-btn{width:100%;margin-top:auto}
.em-coursebody .em-btn + .em-btn, .em-coursebody .price + .em-btn{margin-top:13px}
.em-badge{display:inline-block;background:#f6eddd;color:#94702e;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:700}

/* Story rail */
.em-storyrail{display:flex;gap:14px;overflow:auto;padding:4px 2px 12px}
.em-story{min-width:155px;height:220px;border-radius:20px;padding:17px;color:white;display:flex;align-items:end;font-weight:700;background:linear-gradient(160deg,#182b47,#c9a15b);position:relative;overflow:hidden}
.em-story:nth-child(2){background:linear-gradient(160deg,#14213a,#5c779b)}
.em-story:nth-child(3){background:linear-gradient(160deg,#293b58,#b68b49)}
.em-story:nth-child(4){background:linear-gradient(160deg,#0b1425,#547190)}
.em-story:nth-child(5){background:linear-gradient(160deg,#182b47,#c9a15b)}
.em-story:before{content:'\25B6';position:absolute;top:15px;left:15px;border:1px solid #fff9;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}

/* Community */
.em-community{background:#fff;border:1px solid var(--em-line);border-radius:24px;padding:28px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.em-communityvisual{background:linear-gradient(140deg,#0b1425,#284a70);border-radius:20px;min-height:230px;color:white;padding:28px;display:flex;flex-direction:column;justify-content:end}
.em-communityvisual strong{font-size:22px}
.em-community p{font-size:13px;color:var(--em-muted)}
.em-communityvisual p{color:#d5deeb}
.em-community h2{color:var(--em-ink)}
.em-stats{display:flex;gap:12px;margin-top:18px}
.em-stat{background:#f5f6f8;border-radius:13px;padding:10px 15px}
.em-stat b{display:block;font-size:16px;color:var(--em-ink)}
.em-stat small{font-size:10px;color:var(--em-muted)}

/* Articles */
.em-articles{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}
.em-articlebig{background:linear-gradient(135deg,#152a46,#536f91);border-radius:23px;padding:28px;min-height:290px;color:white;display:flex;flex-direction:column;justify-content:end}
.em-articlebig h2{color:#fff}
.em-articlebig p{color:#dce4ef;font-size:12px}
.em-articlelist{background:white;border:1px solid var(--em-line);border-radius:23px;padding:18px}
.em-articleitem{padding:13px 0;border-bottom:1px solid var(--em-line);display:flex;gap:12px;align-items:center}
.em-articleitem:last-child{border:0}
.em-articlethumb{width:72px;height:60px;border-radius:12px;background:linear-gradient(140deg,#243d5c,#d5ae6a);flex-shrink:0}
.em-articleitem b{font-size:13px;color:var(--em-ink)}
.em-articleitem small{display:block;color:var(--em-muted);font-size:10px}

/* Testimonial */
.em-testimonial{background:#101c31;color:white;border-radius:23px;padding:29px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.em-testimonial blockquote{margin:0;font-size:16px;max-width:750px}
.em-testimonial small{color:#c6d1df}

/* Responsive */
@media(max-width:1050px){.em-pathgrid{grid-template-columns:repeat(2,1fr)}.em-hero{grid-template-columns:1fr 360px}}
@media(max-width:760px){.em-hero{grid-template-columns:1fr;padding:30px;min-height:0}.em-hero-visual{min-height:280px}.em-portrait{height:270px;width:250px}.em-orbit{width:300px;height:300px}.em-timerbar{margin:-15px 0 25px;flex-wrap:wrap;padding:16px}.em-featuregrid,.em-community,.em-articles{grid-template-columns:1fr}.em-cards{grid-template-columns:repeat(2,1fr)}.em-testimonial{flex-direction:column;align-items:start}}
@media(max-width:520px){.em-hero{padding:24px 20px}.em-hero h1{font-size:29px}.em-hero p{font-size:13px}.em-hero-visual{min-height:240px}.em-portrait{height:240px;width:220px}.em-hero-note{font-size:10px}.em-timerleft b{font-size:12px}.em-digits{gap:5px}.em-digits div{min-width:45px;padding:4px 7px}.em-digits strong{font-size:15px}.em-pathgrid{grid-template-columns:1fr 1fr;gap:10px}.em-path{padding:15px;min-height:160px}.em-path h3{font-size:13px}.em-path p{font-size:11px}.em-cards{grid-template-columns:1fr}.em-sectionhead h2{font-size:18px}.em-sec{margin:28px 0}.em-feature{padding:23px}.em-community{padding:18px}.em-story{min-width:135px;height:190px}}
/* پرتره با تصویر واقعی */
.em-portrait--photo{background:linear-gradient(160deg,#8a9aaf,#344a66 50%,#162740);background-repeat:no-repeat}
.em-portrait--photo:before{display:none}
.em-portrait--photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;z-index:1;filter:drop-shadow(0 12px 25px #0006)}
