:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;

  --bg: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;

  --border: #cbd5e1;
  --input-bg: #ffffff;

  --success: #15803d;
  --danger: #b91c1c;

  --shadow: rgba(15, 23, 42, 0.08);
}

.dark {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;

  --bg: #090d16;
  --surface: #151e32;
  --text: #f8fafc;
  --text-secondary: #94a3b8;

  --border: #24334f;
  --input-bg: #1c2740;

  --success: #34b262;
  --danger: #f87171;

  --shadow: rgba(0, 0, 0, 0.4);
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.hero .container .text {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.hero .container .text .top {
  padding: 5px 25px;
  background: var(--surface);
  border-radius: 22px;
  width: max-content;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero .container .text .top span {
  font-size: 12px;
  color: var(--text-secondary);
}
.hero .container .text .top .circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  animation: scale 1.1s infinite;
}
.hero .container .text h1 {
  font-size: 60px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.hero .container .text h1 span {
  background: linear-gradient(55deg, #7b3ff4, var(--primary-hover));
  color: transparent;
  padding-bottom: 14px;
  background-clip: text;
  /* display: block; */
}
.hero .container .text p {
  color: var(--text-secondary);
}
.hero .container .text .btns {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 23px;
}
.hero .container .text .btns button {
  border-radius: 8px;
  border: none;
  outline: none;
  transition: 0.5s;
  padding: 14px 22px;
  font-family: "cairo";
  font-weight: 700;
  cursor: pointer;
}
.hero .container .text .btns button:first-child {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0px transparent;
}
.hero .container .text .btns button:last-child {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.hero .container .text .btns button:first-child:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 18px #4393f5a2;
}
.hero .container .text .btns button:last-child:hover {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.hero .container .text .btns button i {
  transition: 0.5s;
  margin-right: 5px;
}
.hero .container .text .btns button:hover i {
  transform: rotate(90deg);
}
.hero .container .text ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero .container .text ul li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero .container .text ul li span {
  color: var(--text-secondary);
}
.hero .container .text ul li i {
  color: var(--success);
}
.hero .container .image {
  height: 500px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
  animation: upSlow 3s infinite alternate linear;
}
@keyframes upSlow {
    100%{
        transform: translateY(-8px);
    }
}
.hero .container .image img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero .container .image .end {
    position: absolute;
    bottom: 0;
    background: var(--surface);
    right: -20px;
    z-index: 2;
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 18px;
  animation: upFast 0.6s infinite alternate ease-in;
}
@keyframes upFast {
    100%{
        transform: translateY(12px);
    }
}
.hero .container .image .end .icon {
    background: #7df86428;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero .container .image .end .icon i {
    color: var(--success);
}

.hero .container .image .end div h3 {
    color: var(--text);
    line-height: 1.2;
}
.hero .container .image .end div span {
    color: var(--success);
    font-weight: 500;
}

.heading{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.heading h2{
    font-size: 36px;
    color: var(--text);
}
.heading span{
    color: var(--primary);
    font-size: 13px;
}
.heading p{
    color: var(--text-secondary);
}

.bests{
    background: var(--surface);
}
.common .con{
    display: grid;
    grid-template-columns: repeat(3 , 1fr);
    gap: 20px;
    padding: 70px 0;
}
.common .con .box{
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: 0.5s;
}
.common .con .box:hover  {
    border: 1px solid var(--primary);
    transform: scale(1.01) translateY(-3px);
}
.common .con .box .icon{
    background: #1d4fd82d;
    width: 43px;
    height: 43px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}
.common .con .box:hover .icon {
    transform: scale(1.1) rotate(-4deg);
}
.common .con .box .icon i,
.howWork .con .box .icon span{
    color: var(--primary);
    font-size: 18px;
    transition: 0.5s;
    font-weight: 600;
}
.common .con .box:hover .icon i,
.howWork .con .box:hover .icon span{
    color: var(--text);
}

.common .con .box .text h4{
    color: var(--text);
    font-size: 20px;
    margin-bottom: 9px ;
}
.common .con .box .text p{
    color: var(--text-secondary);
    font-size: 14px;
}
.howWork .con{
    grid-template-columns: repeat(4 , 1fr);
}
.howWork .con .box{
    align-items: center;
    text-align: center;
}
.howWork .con .box:last-child .icon{
    background: #52da6d25;
}
.howWork .con .box:last-child .icon span{
    color: var(--success);
}
.howWork .con .box .arrow{
    display: none;
    color: var(--primary);
    margin-top: 20px;
    font-size: 20px;
}

.bulid .container{
    background: linear-gradient(100deg , var(--primary)  , #4f14c6);
    padding: 40px;
    border-radius: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bulid .container .text h3{
    color: #fff;
    font-size: 36px;
}
.bulid .container .text p{
    font-size: 20px;
    color: #eff0f0;
    font-weight: 500;
}
.bulid .container .btn button{
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    background: #fff;
    font-family: 'cairo';
    font-weight: 700;
    cursor: pointer;
    transition: 0.5s;
    font-size: 18px;
}
.bulid .container .btn button:hover{
    background: #ecf0f5;
}