/*
    Made with Heart by: Hamed, Nima, & their pet AI
*/
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1b1b1b;
    --accent-color: #4fc3f7;
    --dark-color: #000000;
    --light-color: #f8f9fa;
    --success-color: #4669d1;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Vazir, sans-serif;
}
a {
    text-decoration: none;
}
body {
    position: fixed;
    background: radial-gradient(ellipse at 50% 50%, #0f0f0f 0%, #000 100%);
    color: #f8f9fa;
    padding: 4rem 0;
    text-align: right;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
html {
    overflow: hidden;
    height: 100vh;
    background-color: #000;
}
#loading-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.circle {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--glass-bg);
    z-index: 0;
}
.circle1 {
    bottom: -100vw;
    right: -60vw;
    width: 180vw;
    padding-top: 180vw;
    animation: float 20s ease-in-out infinite reverse;
}
  
.circle2 {
    top: -140vw;
    left: -70vw;
    width: 200vw;
    padding-top: 200vw;
    animation: float 16s ease-in-out infinite;
}
.circle3 {
    top: -40vw;
    left: -50vw;
    width: 120vw;
    padding-top: 120vw;
    animation: float 10s ease-in-out infinite reverse;
}

.circle4 {
    bottom: -110vw;
    right: -60vw;
    width: 200vw;
    padding-top: 200vw;
    animation: float 12s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(7vw, 6vw); }
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    transform: translateY(-100px);
}

.logo svg {
    width: 200px;
    height: 200px;
}

.input-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    padding: 12px 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    margin-top: -100px;
}
  
.input-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 5px 0;
    color: white;
    font-size: 1rem;
}
  
.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.paste-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.2s;
}

.paste-btn svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.actions-container {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 0;
    transform: translateY(-10px);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    padding: 15px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.action-btn:active {
    transform: translateY(0);
}
#newCallBtn {
    background-color: rgba(46, 204, 113, 0.3);
    backdrop-filter: blur(10px);
}

.tos {
    margin-top: 150px;
    text-align: center;
    width: 100%;
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-decoration: none;
}
.tos a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}
.tos i {
    color: #C0392B;
    animation: heartbeat 1.2s infinite;
    transform-origin: center;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
@media screen and (max-width: 980px) {
    .tos {
        margin-top: 70px;
    }
    .education {
        margin-top: 35px;
    }
}
.section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
.container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20vh; /* فاصله از بالای صفحه */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* فاصله بین المان‌ها */
}


@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

body, * {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none;     /* IE/Edge */
}
.install-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1e1e1e;
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 18px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 80%;
  text-align: center;
  line-height: 1.6;
}
.install-box .fa-long-arrow-up {
    border-radius: 5px;
    border: 2px #fff solid;
    border-top: 0px transparent solid;
    padding-bottom: 5px;
    transform: translateY(-2px) scale(0.8);
}
.install-box.show {
  opacity: 1;
}


.hidden {
  display: none;
}

.education {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    padding: 19px 17px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
    display: block;
    cursor: pointer;
    animation: edufloat 7s ease-in-out infinite reverse;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@keyframes edufloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px,3px); }
}