:root {
    --p: #C92A52;
    --p2: #E91E63;
    --grad: linear-gradient(135deg, #C92A52, #E91E63);
    --gradt: linear-gradient(135deg, #C92A52 0%, #E91E63 55%, #9C27B0 100%);
    --bg: #fff;
    --bg2: #FDF2F5;
    --bg3: #FCE4EC;
    --card: #fff;
    --border: #F8BBD0;
    --border2: #F48FB1;
    --text: #2D0C16;
    --muted: #880E4F;
    --sh: 0 2px 16px rgba(201, 42, 82, .08);
    --sh2: 0 8px 40px rgba(201, 42, 82, .14);
    --nav: rgba(255, 255, 255, .92);
}

[data-theme=dark] {
    --bg: #0A0507;
    --bg2: #12080B;
    --bg3: #1A0C11;
    --card: #150A0D;
    --border: #2D0C16;
    --border2: #3D121E;
    --text: #FCE4EC;
    --muted: #AD1457;
    --sh: 0 2px 20px rgba(0, 0, 0, .85);
    --sh2: 0 8px 40px rgba(201, 42, 82, .2);
    --nav: rgba(10, 5, 7, .94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .35s, color .35s;
    overflow-x: hidden;
}

[dir=rtl] body, [dir=rtl] * {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

.pbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 200;
}

@keyframes bA { 0%, 100% { transform: translate(0, 0) scale(1) } 40% { transform: translate(40px, -40px) scale(1.07) } 70% { transform: translate(-20px, 30px) scale(.95) } }
@keyframes bB { 0%, 100% { transform: translate(0, 0) scale(1) } 30% { transform: translate(-50px, 25px) scale(1.06) } 65% { transform: translate(35px, -20px) scale(.97) } }
@keyframes bC { 0%, 100% { transform: translate(0, 0) scale(1) } 50% { transform: translate(25px, 45px) scale(1.09) } }
@keyframes rise { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: translateY(0) } }
@keyframes shim { 0% { background-position: -400% center } 100% { background-position: 400% center } }
@keyframes dot { 0%, 60%, 100% { opacity: .15 } 30% { opacity: 1 } }
@keyframes flt { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.rv.on {
    opacity: 1;
    transform: translateY(0);
}

.rv-s {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

.rv-s.on {
    opacity: 1;
    transform: scale(1);
}

.gt {
    background: var(--gradt);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shim 6s linear infinite;
}

nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(14px, 4vw, 40px);
    transition: background .3s, box-shadow .3s, border-color .3s;
}

nav.sk {
    background: var(--nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--sh);
    border-bottom: 1px solid var(--border);
}

.nlogo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.nlogo span {
    font-weight: 800;
    font-size: 17px;
    color: var(--text);
    letter-spacing: -.3px;
}

.nctr {
    display: flex;
    gap: 2px;
}

@media (max-width: 740px) {
    .nctr { display: none; }
}

.nl {
    padding: 7px 13px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background .2s, color .2s;
}

.nl:hover {
    color: var(--text);
    background: var(--bg3);
}

.nend {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ib {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--card);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    font-size: 11.5px;
    font-weight: 700;
}

.ib:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--bg2);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s cubic-bezier(.22, 1, .36, 1);
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.bp {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 3px 16px rgba(201, 42, 82, .3);
}

.bp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .13), transparent);
    opacity: 0;
    transition: opacity .25s;
}

.bp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 42, 82, .42);
}

.bp:hover::after {
    opacity: 1;
}

.bs {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border2);
}

.bs:hover {
    transform: translateY(-2px);
    border-color: var(--p);
    color: var(--p);
    background: var(--bg2);
}

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 104px clamp(14px, 4vw, 40px) 80px;
}

.grd {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: .38;
}

[data-theme=dark] .grd {
    opacity: .12;
}

.blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bl {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .48;
}

[data-theme=dark] .bl {
    opacity: .25;
}

.b1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(201, 42, 82, .2), transparent 70%); top: -100px; left: -100px; animation: bA 14s ease-in-out infinite; }
.b2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(233, 30, 99, .16), transparent 70%); bottom: -80px; right: -80px; animation: bB 18s ease-in-out infinite; }
.b3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(156, 39, 176, .12), transparent 70%); top: 40%; left: 40%; animation: bC 20s ease-in-out infinite; }

.hi {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 860px) {
    .hi { grid-template-columns: 1fr; text-align: center; }
    .chside { display: none; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px 5px 7px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(201, 42, 82, .08), rgba(233, 30, 99, .08));
    border: 1px solid rgba(201, 42, 82, .18);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--p);
    margin-bottom: 22px;
    animation: rise .7s ease both;
}

.bdot {
    width: 18px;
    height: 18px;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht {
    font-size: clamp(36px, 6.5vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    animation: rise .7s .08s ease both;
}

.hs {
    font-size: clamp(14.5px, 1.8vw, 17px);
    color: var(--muted);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 36px;
    animation: rise .7s .16s ease both;
}

.hb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    animation: rise .7s .24s ease both;
}

@media (max-width: 860px) {
    .hb { justify-content: center; }
    .hs { margin-inline: auto; }
}

.cw {
    animation: flt 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(201, 42, 82, .16));
}

.cc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    max-width: 330px;
    box-shadow: var(--sh2);
    margin: 0 auto;
}

.ch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
}

.cav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cn {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}

.cs {
    font-size: 11px;
    color: #22C55E;
    font-weight: 500;
}

.cb {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: var(--bg2);
}

.msg {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.5;
}

.mu {
    align-self: flex-end;
    background: var(--grad);
    color: #fff;
    border-radius: 14px 14px 3px 14px;
}

.mb {
    align-self: flex-start;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px 14px 14px 3px;
}

.mc {
    color: var(--p);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.dts span {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--muted);
    border-radius: 50%;
    animation: dot 1.4s ease infinite;
    margin-right: 3px;
}

.dts span:nth-child(2) { animation-delay: .2s; }
.dts span:nth-child(3) { animation-delay: .4s; }

.sind {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: var(--muted); font-size: 11.5px; cursor: pointer;
    animation: rise 1s 1s ease both;
}

.sind svg { animation: flt 2s ease-in-out infinite; }

section { padding: 96px clamp(14px, 4vw, 40px); }
.sin { max-width: 1200px; margin: 0 auto; }

.stag {
    display: inline-block; padding: 4px 13px; border-radius: 50px;
    font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    background: linear-gradient(135deg, rgba(201, 42, 82, .07), rgba(233, 30, 99, .07));
    border: 1px solid rgba(201, 42, 82, .14); color: var(--p); margin-bottom: 14px;
}

.stitle { font-size: clamp(24px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.18; margin-bottom: 10px; }
.ssub { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-bottom: 52px; }

.bento { display: grid; gap: 13px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

.bc {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 26px; transition: all .35s cubic-bezier(.22, 1, .36, 1);
    cursor: default; position: relative; overflow: hidden;
}

.bc::after {
    content: ''; position: absolute; inset: 0; background: var(--grad);
    opacity: 0; transition: opacity .35s; border-radius: inherit;
}

.bc:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: rgba(201, 42, 82, .25); }
.bc:hover::after { opacity: .04; }

.bci {
    width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--p); background: linear-gradient(135deg, rgba(201, 42, 82, .1), rgba(233, 30, 99, .1));
    transition: all .35s; position: relative; z-index: 1;
}

.bc:hover .bci { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.bct { font-size: 15px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.bcd { font-size: 13px; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

.sc {
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 30px; transition: all .35s cubic-bezier(.22, 1, .36, 1);
    position: relative; overflow: hidden;
}

.sc:hover { transform: translateY(-4px); box-shadow: var(--sh2); border-color: rgba(201, 42, 82, .25); }
.sn {
    font-size: 50px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace; background: var(--gradt);
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.st { font-size: 16.5px; font-weight: 700; margin-bottom: 9px; }
.sd { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.term { background: #0D0507; border-radius: 16px; overflow: hidden; border: 1px solid #2D0C16; }
.th { background: #1A0C11; padding: 13px 18px; display: flex; align-items: center; gap: 7px; }
.td_ { width: 11px; height: 11px; border-radius: 50%; }
.tn { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #AD1457; margin-inline-start: 10px; }
.tb { padding: 18px 22px; }
.cr { display: flex; align-items: flex-start; gap: 18px; padding: 9px 0; border-bottom: 1px solid #2D0C16; }
.cr:last-child { border-bottom: none; }
.cmd { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #E91E63; font-weight: 600; min-width: 120px; }
.cds { font-size: 13px; color: #AD1457; line-height: 1.55; }

.dcard {
    background: var(--card); border: 1px solid var(--border); border-radius: 24px;
    padding: 40px; max-width: 500px; margin: 0 auto; text-align: center;
}

.dav {
    width: 86px; height: 86px; border-radius: 50%; background: var(--grad);
    margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800; color: #fff; position: relative;
}

.don {
    position: absolute; bottom: 3px; right: 3px; width: 17px; height: 17px;
    border-radius: 50%; background: #22C55E; border: 3px solid var(--card);
}

.dname { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.drole {
    font-size: 12.5px; font-weight: 700; color: var(--p); padding: 4px 12px;
    background: var(--bg3); border-radius: 50px; display: inline-block; margin-bottom: 16px;
}

.dbio { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 26px; }
.dlinks { display: flex; gap: 10px; justify-content: center; }

.ctas { padding: 80px 24px; background: var(--bg2); text-align: center; border-top: 1px solid var(--border); }
.ctat { font-size: clamp(24px, 3.6vw, 44px); font-weight: 900; margin-bottom: 16px; }
.ctas_ { font-size: 15.5px; color: var(--muted); margin-bottom: 34px; }

footer { padding: 48px 24px; border-top: 1px solid var(--border); text-align: center; }
.fl { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
.fl span { font-weight: 800; font-size: 16px; }
.flinks { display: flex; gap: 18px; justify-content: center; margin-bottom: 24px; }
.flinks a { color: var(--muted); text-decoration: none; font-size: 13px; transition: .2s; }
.flinks a:hover { color: var(--p); }
footer p { font-size: 12px; color: var(--muted); }

/* Ensure all icons use the primary color */
svg[data-lucide] {
    color: var(--p);
}

/* Override for buttons to keep icons white */
.btn.bp svg[data-lucide] {
    color: #fff;
}

/* Ensure social icons in developer card are visible */
.dlinks a svg[data-lucide] {
    color: var(--muted);
}
.dlinks a:hover svg[data-lucide] {
    color: var(--p);
}
