/* =========================
RESET
========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;

  min-height:100vh;

  background:
  linear-gradient(
    135deg,
    #eff6ff 0%,
    #f8fbff 45%,
    #eef4ff 100%
  );

  overflow-x:hidden;

  position:relative;

  color:#0f172a;
}

/* =========================
BACKGROUND
========================= */

.bg-circle{
  position:absolute;
  border-radius:50%;
  filter:blur(60px);
  z-index:0;
}

.circle1{
  width:320px;
  height:320px;

  background:rgba(37,99,235,.12);

  top:-120px;
  left:-100px;
}

.circle2{
  width:260px;
  height:260px;

  background:rgba(16,185,129,.10);

  bottom:-100px;
  right:-80px;
}

/* =========================
TOPBAR
========================= */

.topbar{
  width:100%;
  height:78px;

  padding:0 24px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  background:rgba(255,255,255,.75);

  backdrop-filter:blur(14px);

  border-bottom:1px solid #e2e8f0;

  position:sticky;
  top:0;

  z-index:100;
}

.logo{
  font-size:1.4rem;
  font-weight:800;

  color:#2563eb;
}

.back-btn{
  text-decoration:none;

  background:#eff6ff;

  color:#2563eb;

  padding:12px 18px;

  border-radius:14px;

  font-weight:700;

  transition:.3s;
}

.back-btn:hover{
  background:#2563eb;
  color:white;
}

/* =========================
MAIN
========================= */

.settings-wrapper{
  position:relative;
  z-index:2;

  width:100%;
  max-width:1100px;

  margin:auto;

  padding:50px 20px 70px;
}

/* =========================
HERO
========================= */

.settings-hero{
  text-align:center;

  margin-bottom:40px;
}

.hero-badge{
  display:inline-block;

  background:#dbeafe;

  color:#2563eb;

  padding:10px 18px;

  border-radius:999px;

  font-size:13px;
  font-weight:700;

  margin-bottom:22px;
}

.settings-hero h1{
  font-size:3rem;

  font-weight:800;

  margin-bottom:18px;
}

.settings-hero p{
  max-width:700px;

  margin:auto;

  line-height:1.8;

  color:#64748b;

  font-size:1rem;
}

/* =========================
CONTAINER
========================= */

.settings-container{
  display:flex;
  flex-direction:column;

  gap:25px;
}

/* =========================
CARD
========================= */

.settings-card{
  background:white;

  border-radius:32px;

  padding:32px;

  border:1px solid #e2e8f0;

  box-shadow:
  0 15px 35px rgba(15,23,42,.05);
}

/* =========================
CARD HEADER
========================= */

.card-header{
  display:flex;
  align-items:center;

  gap:18px;

  margin-bottom:30px;
}

.card-icon{
  width:58px;
  height:58px;

  border-radius:18px;

  background:#eff6ff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:1.5rem;
}

.card-header h2{
  font-size:1.4rem;

  margin-bottom:5px;
}

.card-header p{
  color:#64748b;

  line-height:1.6;
}

/* =========================
SETTING ITEM
========================= */

.setting-item{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:20px;

  padding:22px;

  border-radius:22px;

  background:#f8fafc;

  border:1px solid #e2e8f0;
}

.setting-left{
  display:flex;
  align-items:center;
  gap:18px;
}

.setting-info h3{
  font-size:1rem;

  margin-bottom:6px;
}

.setting-info p{
  color:#64748b;

  line-height:1.6;

  font-size:.95rem;
}

/* =========================
CLICKABLE
========================= */

.clickable{
  cursor:pointer;

  transition:.3s;
}

.clickable:hover{
  background:#eff6ff;

  border-color:#bfdbfe;
}

.arrow{
  font-size:2rem;

  color:#2563eb;
}

/* =========================
SWITCH
========================= */

.switch{
  position:relative;

  width:65px;
  height:34px;
}

.switch input{
  opacity:0;
  width:0;
  height:0;
}

.slider{
  position:absolute;
  inset:0;

  background:#cbd5e1;

  border-radius:999px;

  cursor:pointer;

  transition:.3s;
}

.slider::before{
  content:"";

  position:absolute;

  width:26px;
  height:26px;

  left:4px;
  top:4px;

  background:white;

  border-radius:50%;

  transition:.3s;
}

.switch input:checked + .slider{
  background:#2563eb;
}

.switch input:checked + .slider::before{
  transform:translateX(31px);
}

/* =========================
SECURITY
========================= */

.security-box{
  display:flex;
  flex-direction:column;

  gap:16px;
}

.security-item{
  background:#f8fafc;

  border:1px solid #e2e8f0;

  padding:18px 20px;

  border-radius:18px;

  font-weight:600;

  color:#334155;
}

/* =========================
MODAL
========================= */

.modal-overlay{
  position:fixed;
  inset:0;

  background:rgba(15,23,42,.55);

  backdrop-filter:blur(6px);

  display:none;
  align-items:center;
  justify-content:center;

  z-index:999;
}

.modal-box{
  width:100%;
  max-width:420px;

  background:white;

  border-radius:28px;

  padding:30px;

  box-shadow:
  0 25px 50px rgba(0,0,0,.18);

  animation:modalShow .3s ease;
}

@keyframes modalShow{

  from{
    opacity:0;
    transform:translateY(20px) scale(.96);
  }

  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }

}

.modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:25px;
}

.modal-top h2{
  font-size:1.3rem;
}

.close-btn{
  border:none;

  width:38px;
  height:38px;

  border-radius:12px;

  background:#f1f5f9;

  cursor:pointer;

  font-size:1rem;

  transition:.3s;
}

.close-btn:hover{
  background:#e2e8f0;
}

.language-option{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:18px 20px;

  border-radius:18px;

  background:#f8fafc;

  border:1px solid #e2e8f0;

  margin-bottom:15px;

  cursor:pointer;

  transition:.3s;

  font-weight:600;
}

.language-option:hover{
  background:#eff6ff;

  border-color:#bfdbfe;
}

.language-option span{
  color:#2563eb;

  font-size:.9rem;
  font-weight:700;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px){

  .topbar{
    height:65px;
    padding:0 14px;
  }

  .logo{
    font-size:1rem;
  }

  .back-btn{
    padding:9px 12px;
    font-size:.8rem;
  }

  .settings-wrapper{
    padding:25px 12px 40px;
  }

  .settings-hero{
    margin-bottom:25px;
  }

  .settings-hero h1{
    font-size:1.9rem;
  }

  .settings-hero p{
    font-size:.9rem;
  }

  .settings-card{
    padding:22px 18px;
    border-radius:24px;
  }

  .card-header{
    gap:14px;
    margin-bottom:22px;
  }

  .card-icon{
    width:48px;
    height:48px;

    font-size:1.2rem;

    border-radius:14px;
  }

  .card-header h2{
    font-size:1.1rem;
  }

  .card-header p{
    font-size:.85rem;
  }

  .setting-item{
    padding:18px 16px;
    border-radius:18px;
  }

  .setting-info h3{
    font-size:.95rem;
  }

  .setting-info p{
    font-size:.82rem;
  }

  .switch{
    width:58px;
    height:30px;
  }

  .slider::before{
    width:22px;
    height:22px;
  }

  .switch input:checked + .slider::before{
    transform:translateX(28px);
  }

  .modal-box{
    width:92%;
    padding:24px 20px;
    border-radius:22px;
  }

}

.hidden{
display:none;
}